From e20583a097bb3c1533dcad9b7a872289787561fe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=BE=90=E9=A3=9E=E6=B4=8B?=
<15778543+xufeiyang6017@user.noreply.gitee.com>
Date: Wed, 3 Dec 2025 15:40:42 +0800
Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E9=97=AD=E8=87=AA=E5=8A=A8=E6=8F=90?=
=?UTF-8?q?=E4=BA=A4=E5=8A=9F=E8=83=BD=EF=BC=8C=E4=BC=98=E5=8C=96=E5=AE=A1?=
=?UTF-8?q?=E6=A0=B8=E5=A4=B1=E8=B4=A5=E9=A1=B5=E9=9D=A2=E6=98=BE=E7=A4=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/seller/index.js | 2 +-
pages/settlement/index.js | 49 ++++---------------------------------
pages/settlement/index.wxml | 6 -----
pages/settlement/index.wxss | 25 -------------------
4 files changed, 6 insertions(+), 76 deletions(-)
diff --git a/pages/seller/index.js b/pages/seller/index.js
index 22929c3..1d53273 100644
--- a/pages/seller/index.js
+++ b/pages/seller/index.js
@@ -3509,7 +3509,7 @@ Page({
} else if (partnerstatus === 'reviewfailed') {
// 审核失败状态,进入审核失败页面
wx.navigateTo({
- url: '/pages/settlement/index?status=reviewfailed'
+ url: '/pages/settlement/index'
});
} else {
// 其他状态进入入驻页面
diff --git a/pages/settlement/index.js b/pages/settlement/index.js
index 17e4651..fc11394 100644
--- a/pages/settlement/index.js
+++ b/pages/settlement/index.js
@@ -76,7 +76,7 @@ Page({
// 检查是否是从首页登录返回的
const pendingReturnPath = wx.getStorageSync('pendingReturnPath');
if (pendingReturnPath === 'settlement') {
- console.log('检测到从首页登录返回,清除标记并自动提交申请');
+ console.log('检测到从首页登录返回,清除标记');
// 清除返回路径标记
wx.removeStorageSync('pendingReturnPath');
@@ -85,11 +85,11 @@ Page({
// 检查是否有保存的表单数据
const savedProgress = wx.getStorageSync('settlementProgress');
if (savedProgress && savedProgress.formData) {
- console.log('发现保存的表单数据,自动提交申请');
+ console.log('发现保存的表单数据,不自动提交申请');
// 恢复表单数据
this.setData(savedProgress.formData);
- // 自动提交申请
- this.submitApplication();
+ // 自动提交申请已关闭
+ // this.submitApplication();
}
}, 500);
}
@@ -1183,9 +1183,7 @@ Page({
// 更新页面状态
this.setData({
partnerstatus: userData.partnerstatus || '', // 使用数据库字段名,不设置默认值
- auditFailedReason: userData.reasonforfailure || '暂无详细的审核失败原因,请联系客服了解详情。',
- // 添加审核失败相关的URL
- reviewGuideUrl: 'https://youniao.icu/guide/settlement-review'
+ auditFailedReason: userData.reasonforfailure || '暂无详细的审核失败原因,请联系客服了解详情。'
});
console.log('已同步服务器入驻状态:', userData.partnerstatus);
@@ -1201,42 +1199,5 @@ Page({
} catch (error) {
console.error('同步入驻状态失败:', error);
}
- },
-
- // 打开审核指南
- openReviewGuide() {
- const { reviewGuideUrl } = this.data;
- if (reviewGuideUrl) {
- wx.openUrl({
- url: reviewGuideUrl,
- success: () => {
- console.log('已在系统浏览器打开审核指南');
- },
- fail: (err) => {
- console.error('打开审核指南失败:', err);
- // 如果openUrl失败,尝试使用旧版本API
- if (wx.openLink) {
- wx.openLink({
- url: reviewGuideUrl,
- success: () => {
- console.log('已使用openLink打开审核指南');
- },
- fail: (linkErr) => {
- console.error('使用openLink打开审核指南失败:', linkErr);
- wx.showToast({
- title: '打开审核指南失败',
- icon: 'none'
- });
- }
- });
- } else {
- wx.showToast({
- title: '打开审核指南失败',
- icon: 'none'
- });
- }
- }
- });
- }
}
});
\ No newline at end of file
diff --git a/pages/settlement/index.wxml b/pages/settlement/index.wxml
index 47a80ee..46fc908 100644
--- a/pages/settlement/index.wxml
+++ b/pages/settlement/index.wxml
@@ -292,12 +292,6 @@
{{auditFailedReason}}
-
-
- 了解审核要求:
- 审核指南
-
-
diff --git a/pages/settlement/index.wxss b/pages/settlement/index.wxss
index 4932b51..2eae155 100644
--- a/pages/settlement/index.wxss
+++ b/pages/settlement/index.wxss
@@ -1363,31 +1363,6 @@ picker {
margin-top: 32rpx;
}
-/* 审核指南样式 */
-.audit-guide {
- margin: 32rpx 0;
- text-align: center;
- font-size: 26rpx;
- color: #666;
-}
-
-.guide-text {
- margin-right: 8rpx;
-}
-
-.guide-link {
- color: #1890FF;
- text-decoration: underline;
- cursor: pointer;
- padding: 8rpx 16rpx;
- border-radius: 8rpx;
- transition: background-color 0.2s ease;
-}
-
-.guide-link:active {
- background-color: rgba(24, 144, 255, 0.1);
-}
-
.protocol-header {
padding: 32rpx;