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

bug fix

parent 4423c7cc
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
"mode": "history", "mode": "history",
"base": "/uni" "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": { "optimization": {
"treeShaking": { "treeShaking": {
"enable": true "enable": true
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
<view class="vertical_line2"></view> <view class="vertical_line2"></view>
<view class="logistics_address"> <view class="logistics_address">
<text class="get" :class="{'get_icon': data.deliverystatus !== '3', 'get_icon_act': data.deliverystatus === '3'}">收</text> <text class="get" :class="{'get_icon': data.deliverystatus !== '3', 'get_icon_act': data.deliverystatus === '3'}">收</text>
【收货地址】{{address}} 【收货地址】{{region_name + ' ' + address}}
</view> </view>
<view class="logistics_list_item" v-for="(item, index) in data.list" :key="index" :class="{ <view class="logistics_list_item" v-for="(item, index) in data.list" :key="index" :class="{
'important': index !== 0 'important': index !== 0
...@@ -111,18 +111,21 @@ ...@@ -111,18 +111,21 @@
courier: '', courier: '',
courierPhone: '', courierPhone: '',
}, },
address: '', address: '',
region_name: '',
recommend_goods: [], recommend_goods: [],
isLogin: '' isLogin: ''
} }
}, },
onLoad(options) { onLoad(options) {
let num = options.invoice_no; let num = options.invoice_no,
order_id = options.order_id;
uni.request({ uni.request({
url: '/uni/api/alibaba/get_express_info', url: '/uni/api/alibaba/get_express_info',
method: 'POST', method: 'POST',
data: { data: {
no: num no: num,
order_id: order_id
}, },
dataType: 'json', dataType: 'json',
success: (res) => { success: (res) => {
...@@ -136,6 +139,7 @@ ...@@ -136,6 +139,7 @@
// #endif // #endif
this.data = res.data.data.result; this.data = res.data.data.result;
this.address = res.data.data.address; this.address = res.data.data.address;
this.region_name = res.data.data.region_name;
} }
this.recommend_goods = res.data.data.recommend_goods; this.recommend_goods = res.data.data.recommend_goods;
this.isLogin = res.data.data.login_flg; this.isLogin = res.data.data.login_flg;
...@@ -409,7 +413,8 @@ ...@@ -409,7 +413,8 @@
font-size: 26rpx; font-size: 26rpx;
color: #aeaeae; color: #aeaeae;
line-height: 34rpx; line-height: 34rpx;
padding-left: 30rpx; padding-left: 30rpx;
padding-right: 32rpx;
margin-left: 116rpx; margin-left: 116rpx;
position: relative; 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