From 9dfbc038667839631578c12ff748534e5939bc82 Mon Sep 17 00:00:00 2001
From: zhuguifei <zhuguifei@zhuguifeideiMac.local>
Date: 星期二, 02 九月 2025 14:34:23 +0800
Subject: [PATCH] 1.修复微信小程序canvans显示在最上层问题

---
 colorui/components/cu-custom.vue |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/colorui/components/cu-custom.vue b/colorui/components/cu-custom.vue
index b09f70d..c4c36cf 100644
--- a/colorui/components/cu-custom.vue
+++ b/colorui/components/cu-custom.vue
@@ -9,7 +9,11 @@
 				<view class="content" :style="[{top:StatusBar + 'px'}]">
 					<slot name="content"></slot>
 				</view>
-				<slot name="right"></slot>
+				<!-- <slot name="right"></slot> -->
+				<view class="right" @tap="HandleRight" v-if="isRight">
+					<text class="cuIcon-discover"></text>
+					<slot name="rihjtText"></slot>
+				</view>
 			</view>
 		</view>
 	</view>
@@ -44,6 +48,10 @@
 			isBack: {
 				type: [Boolean, String],
 				default: false
+			},
+			isRight: {
+				type: [Boolean, String],
+				default: false
 			},
 			bgImage: {
 				type: String,
@@ -55,6 +63,9 @@
 				uni.navigateBack({
 					delta: 1
 				});
+			},
+			HandleRight(){
+				 this.$emit('rightclick'); // 瑙﹀彂鑷畾涔変簨浠�
 			}
 		}
 	}

--
Gitblit v1.9.3