From 025e46e11cb2962fd7692adfa401333758cc779b Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期二, 02 九月 2025 14:00:34 +0800 Subject: [PATCH] 修改组件 --- src/pages/cooperativeOffice/collaborativeApproval/contactSelect.vue | 103 +-------------------------------------------------- 1 files changed, 3 insertions(+), 100 deletions(-) diff --git a/src/pages/cooperativeOffice/collaborativeApproval/contactSelect.vue b/src/pages/cooperativeOffice/collaborativeApproval/contactSelect.vue index 88282db..920ab79 100644 --- a/src/pages/cooperativeOffice/collaborativeApproval/contactSelect.vue +++ b/src/pages/cooperativeOffice/collaborativeApproval/contactSelect.vue @@ -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> @@ -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% { @@ -387,56 +341,5 @@ transform: scale(1.2); opacity: 0; } -} -</style> - -<style lang="scss"> -/* 鏇存柊鏍峰紡绫诲悕 */ -:deep(.u-radio) { - .u-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; - } - } - - &.u-radio--checked { - .u-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; - } - } - } } </style> \ No newline at end of file -- Gitblit v1.9.3