Commit 8ac20eb9 authored by 王建威's avatar 王建威

bug fix

parent 4423c7cc
......@@ -51,7 +51,7 @@
"mode": "history",
"base": "/uni"
},
"publicPath": "https://dbc-static.oss-cn-beijing.aliyuncs.com/dbc-shop/uni/mirror/1.0.12/",
"publicPath": "https://dbc-static.oss-cn-beijing.aliyuncs.com/dbc-shop/uni/test/1.0.12/",
"optimization": {
"treeShaking": {
"enable": true
......
......@@ -38,7 +38,7 @@
<view class="vertical_line2"></view>
<view class="logistics_address">
<text class="get" :class="{'get_icon': data.deliverystatus !== '3', 'get_icon_act': data.deliverystatus === '3'}">收</text>
【收货地址】{{address}}
【收货地址】{{region_name + ' ' + address}}
</view>
<view class="logistics_list_item" v-for="(item, index) in data.list" :key="index" :class="{
'important': index !== 0
......@@ -111,18 +111,21 @@
courier: '',
courierPhone: '',
},
address: '',
address: '',
region_name: '',
recommend_goods: [],
isLogin: ''
}
},
onLoad(options) {
let num = options.invoice_no;
let num = options.invoice_no,
order_id = options.order_id;
uni.request({
url: '/uni/api/alibaba/get_express_info',
method: 'POST',
data: {
no: num
no: num,
order_id: order_id
},
dataType: 'json',
success: (res) => {
......@@ -136,6 +139,7 @@
// #endif
this.data = res.data.data.result;
this.address = res.data.data.address;
this.region_name = res.data.data.region_name;
}
this.recommend_goods = res.data.data.recommend_goods;
this.isLogin = res.data.data.login_flg;
......@@ -409,7 +413,8 @@
font-size: 26rpx;
color: #aeaeae;
line-height: 34rpx;
padding-left: 30rpx;
padding-left: 30rpx;
padding-right: 32rpx;
margin-left: 116rpx;
position: relative;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment