From d2f0fae1021cd6bb0e541d259fea81ae47d78617 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 13 十月 2025 14:30:12 +0800
Subject: [PATCH] 打包修改
---
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