From 49e4f844a45637b85abc8afc06e64e4bc3e9972f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E6=AF=85?= <1335909236@qq.com> Date: Wed, 29 Oct 2025 08:59:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=95=86=E5=AE=B6=E5=85=A5=E9=A9=BB=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E6=B7=BB=E5=8A=A0=E5=BF=85=E5=A1=AB=E6=A0=87=E8=AF=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/shopEnter/index/index.css | 5 +++ packages/shopEnter/index/index.vue | 55 +++++++++++++++--------------- 2 files changed, 32 insertions(+), 28 deletions(-) diff --git a/packages/shopEnter/index/index.css b/packages/shopEnter/index/index.css index 184f60eb..1fcf677b 100644 --- a/packages/shopEnter/index/index.css +++ b/packages/shopEnter/index/index.css @@ -32,6 +32,11 @@ page { width: 180rpx; } +.red { + color: #FF370B; + margin-left: 5rpx; +} + .row_con { flex: 1; padding-bottom: 30rpx; diff --git a/packages/shopEnter/index/index.vue b/packages/shopEnter/index/index.vue index 2b335bd6..574e7418 100644 --- a/packages/shopEnter/index/index.vue +++ b/packages/shopEnter/index/index.vue @@ -2,52 +2,52 @@ - 门店名称 + 门店名称* - 所在省 + 所在省* - 所在市 + 所在市* - 所在区 + 所在区* - 详细地址 + 详细地址* - 联系人 + 联系人* - 手机号 + 手机号* - 商家分类 + 商家分类* @@ -93,7 +93,7 @@ - 营业执照 + 营业执照* @@ -205,7 +205,6 @@ export default { clickClassify(e) { this.show4 = false; this.confirmClassify = e.value[0] - console.log("🚀 ~ this.confirmClassify:", this.confirmClassify) }, chooseCity() { this.show = true; @@ -259,30 +258,12 @@ export default { }, submit() { let that = this - if (!that.contact_name) { - return uni.showToast({ - title: '请输入联系人姓名', - duration: 2000 - }); - } - if (!that.contact_phone) { - return uni.showToast({ - title: '请输入联系人手机号', - duration: 2000 - }); - } if (!that.store_name) { return uni.showToast({ title: '请输入门店名称', duration: 2000 }); } - if (!that.address) { - return uni.showToast({ - title: '请输入address', - duration: 2000 - }); - } if (!that.confirmProv.ad_code) { return uni.showToast({ title: '请选择所在省', @@ -301,6 +282,24 @@ export default { duration: 2000 }); } + if (!that.address) { + return uni.showToast({ + title: '请输入详细地址', + duration: 2000 + }); + } + if (!that.contact_name) { + return uni.showToast({ + title: '请输入联系人姓名', + duration: 2000 + }); + } + if (!that.contact_phone) { + return uni.showToast({ + title: '请输入联系人手机号', + duration: 2000 + }); + } if (!that.confirmClassify.id) { return uni.showToast({ title: '请选择商家分类',