From e23a1db0b60437f17d09d65c65f8fd0c8a5d88c7 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期一, 26 八月 2024 18:11:07 +0800
Subject: [PATCH] 最新版本

---
 h5/pages/staff/memberSel.vue |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/h5/pages/staff/memberSel.vue b/h5/pages/staff/memberSel.vue
index 8a51c0a..d4d2c99 100644
--- a/h5/pages/staff/memberSel.vue
+++ b/h5/pages/staff/memberSel.vue
@@ -10,7 +10,7 @@
         v-model="param.name"
         @blur="initData()"
         type="text"
-        placeholder="鎼滅储"
+        placeholder="璇疯緭鍏ュ鍚嶈繘琛屾悳绱�"
         placeholder-style="color: #999999;"
       />
     </view>
@@ -21,7 +21,7 @@
             :src="
               item.faceImgFull
                 ? item.faceImgFull
-                : require('@/static/logo@2x.png')
+                : require('@/static/default_avatar.png')
             "
             class="avatar"
             mode=""
@@ -105,7 +105,8 @@
       isShowSelMem: false
     }
   },
-  onLoad() {
+  onLoad(option) {
+    this.$set(this.param, 'id', option.areaId || '')
     this.initData()
   },
   methods: {
@@ -116,15 +117,14 @@
 			console.log( e.detail.value[0]);
 			const id = Number(e.detail.value[0])
 			const item = this.memberList.find(i => i.id === id)
-			console.log('item', item);
-			uni.navigateTo({
-				url: `/pages/staff/snapshot?id=${item.id}&name=${item.name}`
-			})
+      this.$eventBus.$emit('snapshotSel', item)
+			uni.navigateBack()
     },
     initData() {
       const { param } = this
       findHiddenAreaMemberList({
-        name: param.name
+        name: param.name,
+        id: param.id
       }).then(res => {
         this.memberList = res.data || []
       })
@@ -144,7 +144,7 @@
       font-weight: 600;
     }
     .btn {
-      color: #279baa;
+      color: $uni-color-primary;
     }
   }
   .modal_mem_list {
@@ -199,7 +199,7 @@
     align-items: center;
     .members {
       width: 500rpx;
-      color: #4d98a7;
+      color: $uni-color-primary;
       white-space: nowrap;
       overflow: hidden; //鏂囨湰瓒呭嚭闅愯棌
       text-overflow: ellipsis;
@@ -214,7 +214,7 @@
     width: 690rpx;
     height: 88rpx;
     line-height: 88rpx;
-    background: #279baa;
+    background: $uni-color-primary;
     border-radius: 44rpx;
     color: #fff;
     text-align: center;

--
Gitblit v1.9.3