diff --git a/framework/0-conf.js b/framework/0-conf.js index 71ffc4b..560a293 100644 --- a/framework/0-conf.js +++ b/framework/0-conf.js @@ -16,11 +16,11 @@ const baseUrl = debug ? proxyApi : "https://wxcashiertest.sxczgkj.cn/cashierServ const baseUrlwws = 'ws://cashier.sxczgkj.cn/cashierService' // #endif // #ifdef APP || MP-WEIXIN -// const baseUrl = 'https://cashier.sxczgkj.cn/cashierService'// 线上 -// const baseUrlwws = 'wss://cashier.sxczgkj.cn/cashierService' // 线上 +const baseUrl = 'https://cashier.sxczgkj.cn/cashierService'// 线上 +const baseUrlwws = 'wss://cashier.sxczgkj.cn/cashierService' // 线上 // const baseUrl = 'http://192.168.2.42:9888/cashierService'// 测试-w -const baseUrlwws ='wss://192.168.2.42:9999/cashierService' // 测试-w -const baseUrl = 'https://wxcashiertest.sxczgkj.cn/cashierService'// 测试 +// const baseUrlwws ='wss://192.168.2.42:9999/cashierService' // 测试-w +// const baseUrl = 'https://wxcashiertest.sxczgkj.cn/cashierService'// 测试 // const baseUrlwws ='wss://wxcashiertest.sxczgkj.cn/cashierService' // 测试 // #endif diff --git a/pages/index/index.vue b/pages/index/index.vue index 120ddba..82abbb3 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -93,7 +93,8 @@ - + @@ -509,7 +510,9 @@ if (item.isChild) { this.form.type = '' //先清空后赋值 - this.showproductlist = true + setTimeout(()=> { + this.showproductlist = true + }, 500); } else { this.showproductlist = false // 以下没有多选处理 diff --git a/pages/login/login.vue b/pages/login/login.vue index 42823a5..e5db7b8 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -135,7 +135,7 @@ console.log(e) try { - this.types = e.type + this.types = e.types } catch (e) { //TODO handle the exception } diff --git a/pages/order/order.vue b/pages/order/order.vue index e65c961..87b2898 100644 --- a/pages/order/order.vue +++ b/pages/order/order.vue @@ -2,38 +2,39 @@ - - 团购订单 - - + 到店订单 + + 团购订单 + - - - {{ item.name }} + + + {{ item.name }} + + + + + + {{ item.name }} - - - - {{ item.name }} - - + src="https://czg-qr-order.oss-cn-beijing.aliyuncs.com/index/today/dgs.png" + mode="aspectFill"> - + 快递 @@ -46,8 +47,8 @@ 待发货 - - + + 订单完成 @@ -98,7 +99,7 @@ - + @@ -117,10 +118,8 @@ 实付:¥{{item.payAmount}} - - + + { + uni.pro.switchTab('index/index') + },1000) } + // try { + // if (res.data) { + // let time = new Date + // console.log(time, '时间戳') + // uni.cache.set('shopUser', res.data) + // this.handlemessage() + // } + // } catch (e) { + // //TODO handle the exception + // } }, getMessage(msg) { //wss 回显数据 if (msg.status != 'success') {