fix(withdraw): remove alipay/bank channels and enhance rules card text contrast in warm theme

这个提交包含在:
xcbyy
2026-10-13 09:58:16 +08:00
父节点 d93a68d47c
当前提交 cf11d5654b
共有 7 个文件被更改,包括 954 次插入 和 691 次删除

查看文件

@@ -320,58 +320,6 @@
</view>
</view>
<!-- 1. 我的收藏弹窗 -->
<view class="profile-edit-modal-mask" v-if="showFavoritesModal" @click="showFavoritesModal = false">
<view class="profile-edit-modal fav-modal-box" @click.stop>
<view class="modal-header">
<view class="modal-title-wrap">
<text class="modal-title">我的收藏陪玩</text>
<text class="modal-sub">实时高亮接单在线状态</text>
</view>
<view class="btn-close btn-active" @click="showFavoritesModal = false">
<image class="close-svg" :src="ICONS.close" mode="aspectFit" />
</view>
</view>
<view class="modal-body fav-modal-body">
<scroll-view scroll-y class="fav-list-scroll" v-if="favoriteList.length > 0">
<view class="fav-item-card" v-for="item in favoriteList" :key="item.id">
<view class="fav-item-left" @click="goToExpertDetail(item.id)">
<view class="fav-avatar-wrap">
<image class="fav-avatar" :src="item.avatar" mode="aspectFill" />
<view class="status-indicator" :class="{ online: item.isOnline }">
<view class="dot"></view>
<text class="status-lbl">{{ item.isOnline ? '接单中' : '休息中' }}</text>
</view>
</view>
<view class="fav-meta">
<view class="fav-name-row">
<text class="fav-name">{{ item.nickname }}</text>
<text class="fav-track-tag">{{ item.track }}</text>
</view>
<text class="fav-rank">{{ item.rankName || '金牌陪伴师' }}</text>
<view class="fav-price-row">
<text class="fav-price">¥{{ item.hourlyRate }}</text>
<text class="fav-unit">/小时</text>
<text class="fav-rating">评分 {{ item.rating || '5.0' }}</text>
</view>
</view>
</view>
<view class="fav-item-actions">
<button class="btn-action-book btn-active" @click="goToExpertDetail(item.id)">立即约玩</button>
<button class="btn-action-unfav btn-active" @click="handleRemoveFavorite(item.id)">移除</button>
</view>
</view>
</scroll-view>
<view class="empty-fav-box" v-else>
<image class="empty-icon-svg" :src="ICONS.starOutline" mode="aspectFit" />
<text class="empty-fav-txt">暂未收藏心仪的陪玩大神</text>
<button class="btn-go-discover btn-active" @click="goToDiscover">去大厅发现</button>
</view>
</view>
</view>
</view>
<!-- 2. 系统与隐私设置弹窗 -->
<view class="profile-edit-modal-mask" v-if="showSettingsModal" @click="showSettingsModal = false">
<view class="profile-edit-modal settings-modal-box" @click.stop>
@@ -650,7 +598,6 @@ const isLoggedIn = ref(true);
const showLoginModal = ref(false);
// 我的收藏
const showFavoritesModal = ref(false);
const favoriteList = ref([]);
const loadingFavorites = ref(false);
@@ -1208,11 +1155,12 @@ const displayPhone = computed(() => {
return phone;
});
// 1. 我的收藏业务逻辑
const openFavoritesModal = async () => {
// 1. 我的收藏业务逻辑(跳转独立页面)
const openFavoritesModal = () => {
if (!ensureLoggedIn()) return;
showFavoritesModal.value = true;
await loadFavorites();
uni.navigateTo({
url: '/pages/user/favorites'
});
};
const loadFavorites = async () => {
@@ -1227,30 +1175,6 @@ const loadFavorites = async () => {
}
};
const handleRemoveFavorite = async (expertId) => {
try {
await removeFavorite(expertId, user.value.id || 1001);
favoriteList.value = favoriteList.value.filter(item => item.id !== expertId);
uni.showToast({ title: '已取消收藏', icon: 'none' });
} catch (err) {
uni.showToast({ title: err.message || '操作失败', icon: 'none' });
}
};
const goToExpertDetail = (expertId) => {
showFavoritesModal.value = false;
uni.navigateTo({
url: `/pages/expert/detail?id=${expertId}`
});
};
const goToDiscover = () => {
showFavoritesModal.value = false;
uni.switchTab({
url: '/pages/index/index'
});
};
// 2. 系统与隐私设置业务逻辑
const updateCacheSize = () => {
try {
@@ -2686,204 +2610,6 @@ const navTo = (url) => {
font-weight: 600;
}
// 1. 我的收藏弹窗样式
.fav-modal-box {
max-width: 680rpx;
max-height: 85vh;
.fav-modal-body {
padding: 10rpx 0 20rpx;
}
.fav-list-scroll {
max-height: 600rpx;
.fav-item-card {
display: flex;
justify-content: space-between;
align-items: center;
background: #0F172A;
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 16rpx;
padding: 16rpx 20rpx;
margin-bottom: 16rpx;
.fav-item-left {
flex: 1;
display: flex;
gap: 16rpx;
align-items: center;
.fav-avatar-wrap {
position: relative;
width: 90rpx;
height: 90rpx;
flex-shrink: 0;
.fav-avatar {
width: 100%;
height: 100%;
border-radius: 45rpx;
}
.status-indicator {
position: absolute;
bottom: -4rpx;
right: -4rpx;
display: flex;
align-items: center;
gap: 4rpx;
background: #475569;
padding: 2rpx 8rpx;
border-radius: 10rpx;
.dot {
width: 8rpx;
height: 8rpx;
border-radius: 50%;
background: #94A3B8;
}
.status-lbl {
font-size: 16rpx;
color: #FFFFFF;
}
&.online {
background: #059669;
.dot {
background: #34D399;
box-shadow: 0 0 6rpx #34D399;
}
}
}
}
.fav-meta {
flex: 1;
.fav-name-row {
display: flex;
align-items: center;
gap: 8rpx;
margin-bottom: 4rpx;
.fav-name {
font-size: 26rpx;
font-weight: 700;
color: #F8FAFC;
}
.fav-track-tag {
font-size: 18rpx;
color: #818CF8;
background: rgba(99, 102, 241, 0.15);
padding: 2rpx 8rpx;
border-radius: 6rpx;
}
}
.fav-rank {
font-size: 20rpx;
color: #94A3B8;
display: block;
margin-bottom: 4rpx;
}
.fav-price-row {
display: flex;
align-items: baseline;
gap: 4rpx;
.fav-price {
font-size: 28rpx;
font-weight: 700;
color: #10B981;
}
.fav-unit {
font-size: 18rpx;
color: #64748B;
}
.fav-rating {
font-size: 20rpx;
color: #F59E0B;
font-weight: 600;
margin-left: 12rpx;
}
}
}
}
.fav-item-actions {
display: flex;
flex-direction: column;
gap: 10rpx;
flex-shrink: 0;
.btn-action-book {
height: 52rpx;
line-height: 50rpx;
font-size: 22rpx;
font-weight: 600;
color: #FFFFFF;
background: linear-gradient(135deg, #6366F1, #4F46E5);
border-radius: 26rpx;
padding: 0 20rpx;
margin: 0;
}
.btn-action-unfav {
height: 48rpx;
line-height: 46rpx;
font-size: 20rpx;
color: #94A3B8;
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 24rpx;
padding: 0 16rpx;
margin: 0;
}
}
}
}
.empty-fav-box {
padding: 60rpx 0;
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
.empty-icon-svg {
width: 64rpx;
height: 64rpx;
margin-bottom: 16rpx;
opacity: 0.5;
}
.empty-fav-txt {
font-size: 24rpx;
color: #64748B;
margin-bottom: 24rpx;
}
.btn-go-discover {
font-size: 24rpx;
font-weight: 600;
color: #6366F1;
background: rgba(99, 102, 241, 0.12);
border: 1px solid rgba(99, 102, 241, 0.3);
border-radius: 30rpx;
height: 60rpx;
line-height: 58rpx;
padding: 0 32rpx;
}
}
}
// 2. 系统设置弹窗样式
.settings-modal-box {
max-width: 660rpx;
@@ -3439,20 +3165,6 @@ const navTo = (url) => {
}
}
.fav-modal-box {
.fav-list-scroll .fav-item-card {
background: #FAFAF9;
border-color: #E7E5E4;
.fav-item-left .fav-meta .fav-name-row .fav-name {
color: #1C1917;
}
.fav-item-actions .btn-action-book {
background: linear-gradient(135deg, #F97316, #EA580C);
}
}
}
.settings-modal-box {
.settings-modal-body .settings-group {
.settings-row, .settings-info-row {