Browse Source

上传跳转预约订单

master
前端-胡立永 6 months ago
parent
commit
dd33805638
5 changed files with 48 additions and 6 deletions
  1. +6
    -0
      api/api.js
  2. +38
    -1
      config.js
  3. +1
    -1
      manifest.json
  4. +1
    -1
      pages_order/components/product/submit.vue
  5. +2
    -3
      pages_order/mine/address.vue

+ 6
- 0
api/api.js View File

@ -162,6 +162,12 @@ const config = {
method: 'POST',
showLoading: true,
},
// 修改默认地址
updateDefaultAddress: {
url: '/user/updateDefaultAddress',
method: 'POST',
showLoading: true,
},
// 查询地址
queryAddress: {
url: '/user/queryAddress',


+ 38
- 1
config.js View File

@ -23,7 +23,7 @@ const config = {
// 默认配置
const defaultConfig = {
mapKey : 'XMBBZ-BCPCV-SXPPQ-5Y7MY-PHZXK-YFFVU',
mapKey : 'SNGBZ-K6AKJ-5X2FI-XYKCM-DEZXZ-FGBA3',
aliOss : {
url : 'https://tennis-oss.xzaiyp.top/',
config : {
@ -38,6 +38,43 @@ const defaultConfig = {
endpoint:'oss-cn-guangzhou.aliyuncs.com',
}
},
dict : {
course : {//申遗历程
title : '申遗历程',
},
Inheritance : {//遗产概况
title : '遗产概况',
},
tell : {//遗产讲述
title : '遗产讲述',
},
travel : {//达人同游
title : '达人同游',
},
path : {//遗产路径
title : '遗产路径',
},
follow : {//我要跟拍
title : '我要跟拍',
},
experience : {//非遗体验
title : '非遗体验',
},
Study : {//我要研学
title : '我要研学',
},
good : {//文创好物
title : '文创好物',
},
}
}


+ 1
- 1
manifest.json View File

@ -84,7 +84,7 @@
"sdkConfigs" : {
"maps" : {
"qqmap" : {
"key" : "XMBBZ-BCPCV-SXPPQ-5Y7MY-PHZXK-YFFVU"
"key" : "SNGBZ-K6AKJ-5X2FI-XYKCM-DEZXZ-FGBA3"
}
}
},


+ 1
- 1
pages_order/components/product/submit.vue View File

@ -25,7 +25,7 @@
</button>
</view>
<view class=""
@click="$utils.navigateTo('/page_order/mine/cart')">
@click="$utils.navigateTo('/pages_order/mine/cart')">
<button
class="share">
<uv-icon


+ 2
- 3
pages_order/mine/address.vue View File

@ -93,9 +93,8 @@
//
editDefault(id) {
this.$api('updateAddress', {
id: id,
addressDefault : 1,
this.$api('updateDefaultAddress', {
addressId: id,
}, res => {
if (res.code == 200) {
this.$refs.addressPopup.close()


Loading…
Cancel
Save