diff --git a/api/newFun.js b/api/newFun.js index 1bae1db..5f4194a 100644 --- a/api/newFun.js +++ b/api/newFun.js @@ -1,5 +1,14 @@ import request from '@/utils/request' +// // 上门回收 门店列表 +// export const storeList = (param) => { +// return request.get('upload/image', param) +// } +// 上门回收 门店列表 +export const storeList = (param) => { + return request.get('shop/list', param) +} + // 上门回收 回收列表 export const recoveryRecoveryList = (param) => { return request.post('recovery/recoveryList', param) diff --git a/pages.json b/pages.json index aea3a67..0569802 100644 --- a/pages.json +++ b/pages.json @@ -757,6 +757,13 @@ "navigationBarTitleText": "确认服务订单", "enablePullDownRefresh": false } + }, + { + "path": "recycling/confirm1", + "style": { + "navigationBarTitleText": "确认订单", + "enablePullDownRefresh": false + } },{ "path": "recycling/orderList", "style": { diff --git a/pages/login/index.vue b/pages/login/index.vue index f791be1..6ba1011 100644 --- a/pages/login/index.vue +++ b/pages/login/index.vue @@ -125,6 +125,7 @@ refereeId: false }).then(res => { uni.setStorageSync('token', res.data.token) + uni.setStorageSync('userInfo', res.data) uni.showToast({ title: res.message }) diff --git a/pages/news/recycling/confirm.vue b/pages/news/recycling/confirm.vue index 32fdbcb..3280fa1 100644 --- a/pages/news/recycling/confirm.vue +++ b/pages/news/recycling/confirm.vue @@ -86,20 +86,6 @@ - - - 联系人微信 - - - - - - 发件地址 - - - 请选择所在人城市 - - 所在城市 @@ -118,29 +104,6 @@ - - 门牌号 - - - - - - 期待卖价 - - - - - - - - - 备注 : diff --git a/pages/news/recycling/confirm - 副本.vue b/pages/news/recycling/confirm1.vue similarity index 60% rename from pages/news/recycling/confirm - 副本.vue rename to pages/news/recycling/confirm1.vue index 4e3a051..8206bdd 100644 --- a/pages/news/recycling/confirm - 副本.vue +++ b/pages/news/recycling/confirm1.vue @@ -5,46 +5,43 @@ - + + - - - - - - - - + + + + - 京送家电武隆路店 + {{storeInfo.shop_name}} - + - 13770577307 - 杭州市萧山区宏达路234号 国际中心 - 营业时间:10:00-18:00 + {{storeInfo.linkman}}{{storeInfo.phone}} + {{storeInfo.address}} + 营业时间:{{storeInfo.shop_hours}} - + 电话 - + 导航 - + - 手机回收 - ¥4189234 + {{info.recovery_name}} + 免支付预约 x1 @@ -52,18 +49,30 @@ - + + + 品牌 + + + + + + 型号 + + + + 服务时间 - - 请选择预约到店时间 - + + {{server_time?server_time:(tabIndex <= 1?'请选择预约到店时间':'请选择预计寄出商品的时间')}} + 联系人 - + 先生 @@ -75,37 +84,40 @@ 联系电话 - + - + 联系人微信 - + - + 发件地址 - - 请选择所在人城市 + + + {{ + region.length > 0?region[0]+region[1]+region[2]:'请选择所在人城市' + }} - + 门牌号 - + 期待卖价 - + - - + + -