From f0485e3c276ccdfb5aad33b19a00406a55d5d075 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 05 九月 2025 11:30:22 +0800
Subject: [PATCH] 协同审批真机测试,bug修改

---
 src/pages/cooperativeOffice/collaborativeApproval/contactSelect.vue |   64 ++++---------------------------
 1 files changed, 9 insertions(+), 55 deletions(-)

diff --git a/src/pages/cooperativeOffice/collaborativeApproval/contactSelect.vue b/src/pages/cooperativeOffice/collaborativeApproval/contactSelect.vue
index 9259068..d767ad9 100644
--- a/src/pages/cooperativeOffice/collaborativeApproval/contactSelect.vue
+++ b/src/pages/cooperativeOffice/collaborativeApproval/contactSelect.vue
@@ -30,7 +30,7 @@
         <view class="contact-details">
           <text class="contact-name">{{ selectedContact.nickName }}</text>
         </view>
-        <van-icon name="cross" size="16" color="#999" @click="clearSelected" />
+        <u-icon name="close" size="16" color="#999" @click="clearSelected" />
       </view>
     </view>
 
@@ -40,7 +40,7 @@
         <text class="list-title">鍏ㄩ儴鑱旂郴浜�</text>
       </view>
       
-      <van-list
+      <u-list
         v-model:loading="loading"
         :finished="finished"
         finished-text="娌℃湁鏇村浜�"
@@ -63,7 +63,7 @@
             </view>
           </view>
         </view>
-      </van-list>
+      </u-list>
     </view>
   </view>
 </template>
@@ -81,11 +81,10 @@
 const stepIndex = ref(0)
 
 onMounted(() => {
-  // 鑾峰彇椤甸潰鍙傛暟
-  const pages = getCurrentPages()
-  const currentPage = pages[pages.length - 1]
-  if (currentPage.options.stepIndex !== undefined) {
-    stepIndex.value = parseInt(currentPage.options.stepIndex)
+  // 浠庢湰鍦板瓨鍌ㄨ幏鍙栧弬鏁�
+  const storedStepIndex = uni.getStorageSync('stepIndex');
+  if (storedStepIndex !== undefined && storedStepIndex !== null) {
+    stepIndex.value = parseInt(storedStepIndex)
   }
   
   // 鍒濆鍖栬仈绯讳汉鏁版嵁
@@ -121,6 +120,7 @@
 }
 
 const goBack = () => {
+  uni.removeStorageSync('stepIndex');
   uni.navigateBack()
 }
 
@@ -330,53 +330,7 @@
 }
 
 // 鑷畾涔夊崟閫夋寜閽牱寮�
-:deep(.van-radio) {
-  .van-radio__icon {
-    width: 20px;
-    height: 20px;
-    border: 2px solid #ddd;
-    border-radius: 50%;
-    background: #fff;
-    position: relative;
-    transition: all 0.2s;
-    
-    &::before {
-      content: '';
-      position: absolute;
-      top: 50%;
-      left: 50%;
-      transform: translate(-50%, -50%) scale(0);
-      width: 8px;
-      height: 8px;
-      background: #006cfb;
-      border-radius: 50%;
-      transition: transform 0.2s;
-    }
-  }
-  
-  &.van-radio--checked {
-    .van-radio__icon {
-      border-color: #006cfb;
-      background: #fff;
-      
-      &::before {
-        transform: translate(-50%, -50%) scale(1);
-      }
-      
-      &::after {
-        content: '';
-        position: absolute;
-        top: -2px;
-        left: -2px;
-        right: -2px;
-        bottom: -2px;
-        border: 2px solid rgba(0, 108, 251, 0.2);
-        border-radius: 50%;
-        animation: ripple 0.6s ease-out;
-      }
-    }
-  }
-}
+/* uview-plus鐨剅adio缁勪欢鏍峰紡涓嶉渶瑕侀澶栫殑deep鏍峰紡绌块�忥紝淇濇寔鍘熸湁鏍峰紡 */
 
 @keyframes ripple {
   0% {

--
Gitblit v1.9.3