diff --git a/yudao-mall-uniapp-master/.env.development b/yudao-mall-uniapp-master/.env.development
index f3d3497..7854d99 100644
--- a/yudao-mall-uniapp-master/.env.development
+++ b/yudao-mall-uniapp-master/.env.development
@@ -1,2 +1,5 @@
# SHOPRO_DEV_BASE_URL = https://yanghaodong.51vip.biz
- SHOPRO_DEV_BASE_URL = http://192.168.1.118:48080
\ No newline at end of file
+# SHOPRO_DEV_BASE_URL = http://192.168.1.114:48080
+
+ # 线上地址
+ SHOPRO_DEV_BASE_URL = https://zda.huamar.com
\ No newline at end of file
diff --git a/yudao-mall-uniapp-master/.env.production b/yudao-mall-uniapp-master/.env.production
index f58a6bc..cb1b513 100644
--- a/yudao-mall-uniapp-master/.env.production
+++ b/yudao-mall-uniapp-master/.env.production
@@ -1,2 +1,2 @@
-SHOPRO_DEV_BASE_URL = https://123456789.shopro.cn
+SHOPRO_DEV_BASE_URL = https://zda.huamar.com
\ No newline at end of file
diff --git a/yudao-mall-uniapp-master/README.md b/yudao-mall-uniapp-master/README.md
index 2aeb2e4..7fbf94e 100644
--- a/yudao-mall-uniapp-master/README.md
+++ b/yudao-mall-uniapp-master/README.md
@@ -15,7 +15,7 @@
## 🐯 商城简介
-**芋道商城**,基于 [芋道开发平台](https://github.com/YunaiV/ruoyi-vue-pro) 构建,以开发者为中心,打造中国第一流的 Java 开源商城系统,全部开源,个人与企业可 100% 免费使用。
+**郑大钒水**,基于 [郑大钒水平台](https://github.com/YunaiV/ruoyi-vue-pro) 构建,以开发者为中心,打造中国第一流的 Java 开源商城系统,全部开源,个人与企业可 100% 免费使用。
> 有任何问题,或者想要的功能,可以在 Issues 中提给艿艿。
>
diff --git a/yudao-mall-uniapp-master/manifest.json b/yudao-mall-uniapp-master/manifest.json
index abb3b87..f210bb0 100644
--- a/yudao-mall-uniapp-master/manifest.json
+++ b/yudao-mall-uniapp-master/manifest.json
@@ -184,7 +184,7 @@
"versionCode": 100
},
"mp-weixin": {
- "appid": "wx53b5ac263b9cdb5b",
+ "appid": "wx879300e525dc9847",
"setting": {
"urlCheck": false,
"minified": true,
diff --git a/yudao-mall-uniapp-master/package.json b/yudao-mall-uniapp-master/package.json
index d83ca3a..643da9a 100644
--- a/yudao-mall-uniapp-master/package.json
+++ b/yudao-mall-uniapp-master/package.json
@@ -1,9 +1,9 @@
{
"id": "shopro",
"name": "shopro",
- "displayName": "芋道商城",
+ "displayName": "郑大钒水",
"version": "2.1.0",
- "description": "芋道商城,一套代码,同时发行到iOS、Android、H5、微信小程序多个平台,请使用手机扫码快速体验强大功能",
+ "description": "郑大钒水,一套代码,同时发行到iOS、Android、H5、微信小程序多个平台,请使用手机扫码快速体验强大功能",
"scripts": {
"prettier": "prettier --write \"{pages,sheep}/**/*.{js,json,tsx,css,less,scss,vue,html,md}\""
},
diff --git a/yudao-mall-uniapp-master/pages/order/confirm.vue b/yudao-mall-uniapp-master/pages/order/confirm.vue
index 908cc97..9b2fbcf 100644
--- a/yudao-mall-uniapp-master/pages/order/confirm.vue
+++ b/yudao-mall-uniapp-master/pages/order/confirm.vue
@@ -186,8 +186,8 @@
items: [], // 商品项列表
price: {}, // 价格信息
},
- deliType:2,
- pickUpInfo:{},//门店信息
+ deliType:2,
+ pickUpInfo:{},//门店信息
addressInfo: {}, // 选择的收货地址
showCoupon: false, // 是否展示优惠劵
couponInfo: [], // 优惠劵列表
@@ -230,9 +230,18 @@
// 提交订单
function onConfirm() {
- if (!state.addressInfo.id) {
- sheep.$helper.toast('请选择收货地址');
- return;
+ console.log(state.deliType, '11111111111111111');
+
+ if (state.deliType == 1) {
+ if (!state.addressInfo.id) {
+ sheep.$helper.toast('请选择收货地址');
+ return;
+ }
+ }else{
+ if (!state.pickUpInfo.id) {
+ sheep.$helper.toast('请选择自提门店');
+ return;
+ }
}
submitOrder();
}
@@ -250,7 +259,7 @@
items: state.orderPayload.items,
couponId: state.orderPayload.couponId,
addressId: state.deliType === 1 ? state.addressInfo.id: null,
- pickUpStoreId:state.deliType === 2 ? state.pickUpInfo.id : null,
+ pickUpStoreId:state.deliType === 2 ? state.pickUpInfo.id : null,
deliveryType: state.deliType, // TODO 芋艿:需要支持【门店自提】
pointStatus: false, // TODO 芋艿:需要支持【积分选择】
combinationActivityId: state.orderPayload.combinationActivityId,
diff --git a/yudao-mall-uniapp-master/pages/pay/index.vue b/yudao-mall-uniapp-master/pages/pay/index.vue
index 46e3eaf..db937c1 100644
--- a/yudao-mall-uniapp-master/pages/pay/index.vue
+++ b/yudao-mall-uniapp-master/pages/pay/index.vue
@@ -17,7 +17,7 @@
选择支付方式