From b806c4ad52a661a1e5f0695650ec1a7e42f01633 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期三, 20 五月 2026 23:08:48 +0800
Subject: [PATCH] 提交
---
small-program/pages/store-apply/store-apply.vue | 25 +++++++++++++++++--------
1 files changed, 17 insertions(+), 8 deletions(-)
diff --git a/small-program/pages/store-apply/store-apply.vue b/small-program/pages/store-apply/store-apply.vue
index 7a0f981..c656f8f 100644
--- a/small-program/pages/store-apply/store-apply.vue
+++ b/small-program/pages/store-apply/store-apply.vue
@@ -32,7 +32,7 @@
<view class="form-group select-group">
<view class="label-row"><text class="label">鎵�鍦ㄥ煄甯�</text><text class="required">*</text></view>
- <view class="select-row" @click="showAreaPicker = true">
+ <view class="select-row" :class="{ disabled: isShopRejected }" @click="!isShopRejected && (showAreaPicker = true)">
<text class="select-text" :class="{ placeholder: !fullAreaName }">{{ fullAreaName || '璇烽�夋嫨鐪佸競鍖�' }}</text>
<u-icon name="arrow-right" size="18" color="#9FA6B2"></u-icon>
</view>
@@ -132,9 +132,9 @@
<view class="form-group subject-first-group">
<view class="label-row"><text class="label">闂ㄥ簵绫诲瀷</text><text class="required">*</text></view>
- <view class="switch-row type-switch-row">
- <view class="switch-pill" :class="{ active: form.companyType ===0 }" @tap="form.companyType =0">涓汉</view>
- <view class="switch-pill" :class="{ active: form.companyType ===1}" @tap="form.companyType =1">浼佷笟</view>
+ <view class="switch-row type-switch-row" :class="{ disabled: isShopRejected }">
+ <view class="switch-pill" :class="{ active: form.companyType ===0 }" @tap="!isShopRejected && (form.companyType =0)">涓汉</view>
+ <view class="switch-pill" :class="{ active: form.companyType ===1}" @tap="!isShopRejected && (form.companyType =1)">浼佷笟</view>
</view>
</view>
@@ -266,11 +266,11 @@
<image class="agree-icon" :src="agreed ? '/static/icon/ic_accept_sel@2x.png' : '/static/icon/ic_accept@2x.png'" mode="aspectFit" @tap="agreed = !agreed"></image>
<view class="agreement-text-wrap">
<text class="agreement-text">鎴戝凡闃呰骞跺悓鎰�</text>
- <text class="agreement-link" @click="goToService(5)">銆婇闄╂壙璇恒��</text>
+ <text class="agreement-link" @click="goToService(6)">銆婇闄╂壙璇恒��</text>
<text class="agreement-text">銆�</text>
- <text class="agreement-link" @click="goToService(6)">銆婅鏉庡瘎瀛橀』鐭ャ��</text>
+ <text class="agreement-link" @click="goToService(7)">銆婅鏉庡瘎瀛橀』鐭ャ��</text>
<text class="agreement-text">鍙�</text>
- <text class="agreement-link" @click="goToService(7)">銆婁唬鐞嗙偣鍚堜綔鍗忚銆�</text>
+ <text class="agreement-link" @click="goToService(8)">銆婁唬鐞嗙偣鍚堜綔鍗忚銆�</text>
</view>
</view>
</view>
@@ -295,6 +295,9 @@
fullAreaName() {
const arr = [this.form.provinceName, this.form.cityName, this.form.areaName].filter(Boolean)
return arr.join('/')
+ },
+ isShopRejected() {
+ return this.userInfo && this.userInfo.shopAuditStatus === 5
}
},
data() {
@@ -503,7 +506,7 @@
uni.navigateBack()
}, 1500)
}else {
- uni.showToast({ title: res.msg || '鎻愪氦澶辫触', icon: 'none' })
+ uni.showToast({ title: res.message || '鎻愪氦澶辫触', icon: 'none' })
}
} catch (error) {
uni.hideLoading()
@@ -1267,6 +1270,12 @@
.type-switch-row {
margin-top: 32rpx;
}
+
+ .type-switch-row.disabled,
+ .select-row.disabled {
+ opacity: 0.5;
+ pointer-events: none;
+ }
.switch-pill {
width: 208rpx;
--
Gitblit v1.9.3