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: '请选择商家分类',