From 86dbe3eb4f21a1356b9ca7b0a815c53097f280ea Mon Sep 17 00:00:00 2001
From: wangfukang <15630117759@163.com>
Date: Tue, 2 Jan 2024 09:11:31 +0800
Subject: [PATCH] 11
---
.../uni-popup-share/uni-popup-share.vue | 27 +++++++++++++------
.../components/u-notice-bar/u-notice-bar.vue | 2 +-
2 files changed, 20 insertions(+), 9 deletions(-)
diff --git a/uni_modules/uni-popup/components/uni-popup-share/uni-popup-share.vue b/uni_modules/uni-popup/components/uni-popup-share/uni-popup-share.vue
index d81c676..4ecaf5d 100644
--- a/uni_modules/uni-popup/components/uni-popup-share/uni-popup-share.vue
+++ b/uni_modules/uni-popup/components/uni-popup-share/uni-popup-share.vue
@@ -3,11 +3,14 @@
{{shareTitleText}}
-
@@ -65,10 +68,18 @@
/**
* 选择内容
*/
- select(index) {
- this.$emit('select', {
- index
- })
+ select(index) {
+ if(index == 1){
+ uni.showModal({
+ title: "提示",
+ content: "请点击右上角“...”转发朋友圈"
+ })
+ }else{
+ this.$emit('select', {
+ index
+ })
+ }
+
this.close()
},
diff --git a/uni_modules/uview-ui/components/u-notice-bar/u-notice-bar.vue b/uni_modules/uview-ui/components/u-notice-bar/u-notice-bar.vue
index 833d6a5..91d81ca 100644
--- a/uni_modules/uview-ui/components/u-notice-bar/u-notice-bar.vue
+++ b/uni_modules/uview-ui/components/u-notice-bar/u-notice-bar.vue
@@ -95,7 +95,7 @@
.u-notice-bar {
overflow: hidden;
- padding: 9px 12px;
+ // padding: 9px 12px;
flex: 1;
}