From d2e0df9f3a5b180f88e19fa63dd638eb92ec625e Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期二, 28 四月 2026 22:03:45 +0800
Subject: [PATCH] 支付宝支付ddd

---
 small-program/unpackage/dist/dev/mp-weixin/pages/store-apply/store-apply.js |   58 +++++++++++++++++++++++++++++++++++++---------------------
 1 files changed, 37 insertions(+), 21 deletions(-)

diff --git a/small-program/unpackage/dist/dev/mp-weixin/pages/store-apply/store-apply.js b/small-program/unpackage/dist/dev/mp-weixin/pages/store-apply/store-apply.js
index c8414fe..80f9227 100644
--- a/small-program/unpackage/dist/dev/mp-weixin/pages/store-apply/store-apply.js
+++ b/small-program/unpackage/dist/dev/mp-weixin/pages/store-apply/store-apply.js
@@ -314,10 +314,9 @@
         return;
       }
       var mobileRegex = /^1\d{10}$/;
-      var landlineRegex = /^\d{3,4}-?\d{7,8}$/;
-      if (!mobileRegex.test(this.form.linkPhone) && !landlineRegex.test(this.form.linkPhone)) {
+      if (!mobileRegex.test(this.form.linkPhone)) {
         uni.showToast({
-          title: '璇疯緭鍏ユ纭殑鎵嬫満鍙锋垨鍥哄畾鐢佃瘽',
+          title: '璇疯緭鍏ユ纭殑鎵嬫満鍙�',
           icon: 'none'
         });
         return;
@@ -325,6 +324,13 @@
       if (!this.form.idcard) {
         uni.showToast({
           title: '璇疯緭鍏ヨ仈绯讳汉韬唤璇佸彿',
+          icon: 'none'
+        });
+        return;
+      }
+      if (!/^\d{18}$/.test(this.form.idcard)) {
+        uni.showToast({
+          title: '璇疯緭鍏�18浣嶈韩浠借瘉鍙�',
           icon: 'none'
         });
         return;
@@ -422,7 +428,7 @@
                 });
                 return _context.abrupt("return");
               case 19:
-                _context.next = 50;
+                _context.next = 53;
                 break;
               case 21:
                 if (_this.form.legalPersonName) {
@@ -487,8 +493,18 @@
                 });
                 return _context.abrupt("return");
               case 41:
-                if (_this.form.idcardImg) {
+                if (/^\d{18}$/.test(_this.form.legalPersonCard)) {
                   _context.next = 44;
+                  break;
+                }
+                uni.showToast({
+                  title: '璇疯緭鍏�18浣嶈韩浠借瘉鍙�',
+                  icon: 'none'
+                });
+                return _context.abrupt("return");
+              case 44:
+                if (_this.form.idcardImg) {
+                  _context.next = 47;
                   break;
                 }
                 uni.showToast({
@@ -496,9 +512,9 @@
                   icon: 'none'
                 });
                 return _context.abrupt("return");
-              case 44:
+              case 47:
                 if (_this.form.idcardImgBack) {
-                  _context.next = 47;
+                  _context.next = 50;
                   break;
                 }
                 uni.showToast({
@@ -506,9 +522,9 @@
                   icon: 'none'
                 });
                 return _context.abrupt("return");
-              case 47:
+              case 50:
                 if (_this.form.businessImg) {
-                  _context.next = 50;
+                  _context.next = 53;
                   break;
                 }
                 uni.showToast({
@@ -516,9 +532,9 @@
                   icon: 'none'
                 });
                 return _context.abrupt("return");
-              case 50:
+              case 53:
                 if (_this.agreed) {
-                  _context.next = 53;
+                  _context.next = 56;
                   break;
                 }
                 uni.showToast({
@@ -526,15 +542,15 @@
                   icon: 'none'
                 });
                 return _context.abrupt("return");
-              case 53:
+              case 56:
                 uni.showLoading({
                   title: '鎻愪氦涓�...',
                   mask: true
                 });
-                _context.prev = 54;
-                _context.next = 57;
+                _context.prev = 57;
+                _context.next = 60;
                 return _this.$u.api.applyShop(_this.form);
-              case 57:
+              case 60:
                 res = _context.sent;
                 uni.hideLoading();
                 if (res.code === 200) {
@@ -551,22 +567,22 @@
                     icon: 'none'
                   });
                 }
-                _context.next = 66;
+                _context.next = 69;
                 break;
-              case 62:
-                _context.prev = 62;
-                _context.t0 = _context["catch"](54);
+              case 65:
+                _context.prev = 65;
+                _context.t0 = _context["catch"](57);
                 uni.hideLoading();
                 uni.showToast({
                   title: '鎻愪氦澶辫触',
                   icon: 'none'
                 });
-              case 66:
+              case 69:
               case "end":
                 return _context.stop();
             }
           }
-        }, _callee, null, [[54, 62]]);
+        }, _callee, null, [[57, 65]]);
       }))();
     },
     getMyShopData: function getMyShopData() {

--
Gitblit v1.9.3