|
|
|
@ -65,12 +65,12 @@ |
|
|
|
<view class="address_left"> |
|
|
|
<view class="address_title"> |
|
|
|
<image src="../../static/img/address.png" mode=""></image> |
|
|
|
<view class="address_title_name">Nathanael</view> |
|
|
|
<text>5838590290</text> |
|
|
|
<view class="address_title_name">{{goodsDate.consignee}}</view> |
|
|
|
<text>{{goodsDate.mobile}}</text> |
|
|
|
</view> |
|
|
|
<view class="address_content"> |
|
|
|
<text>B Oakdale Mall</text> |
|
|
|
<view >Johnson City NEW YORKUnitedStates13790-1294</view> |
|
|
|
<text>{{goodsDate.sign_building}}</text> |
|
|
|
<view >{{goodsDate.address_detail}}</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<image src="../../static/img/right.png" class="address_more"></image> |
|
|
|
@ -78,20 +78,22 @@ |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="order_popup_commodity"> |
|
|
|
<view class="good_info" v-for="(item,index) in 3 " :key="index"> |
|
|
|
<view class="good_info" v-for="(item,index) in goods_list " :key="index"> |
|
|
|
<view class="good_info_left "> |
|
|
|
<view class="good_info_image" v-for="(item,index) in 1" :key="index"></view> |
|
|
|
<view class="good_info_image" > |
|
|
|
<image :src="item.goods_thumb" mode=""></image> |
|
|
|
</view> |
|
|
|
<view class="left_info"> |
|
|
|
<view class="info_name">Adidas Yeezy Boost 350 V2 DazzlingBlue Black GY7164 Men's</view> |
|
|
|
<view class="info_name">{{item.goods_name}}</view> |
|
|
|
<view class="left_info_bottom"> |
|
|
|
<view class="info_lable"> |
|
|
|
<text>Multicolor;41</text> |
|
|
|
<text>{{item.goods_attr |goodsAttr}}</text> |
|
|
|
<image src="/static/img/bottom.png" mode=""></image> |
|
|
|
</view> |
|
|
|
<text>x1</text> |
|
|
|
<text>x{{item.goods_number}}</text> |
|
|
|
</view> |
|
|
|
<view class="info_price"> |
|
|
|
<text>US$314.00</text> |
|
|
|
<text>US${{item.subtotal}}</text> |
|
|
|
<button v-if="details_index!=3 && details_index!=1">RREFUND</button> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
@ -107,23 +109,23 @@ |
|
|
|
Subtotal |
|
|
|
<text :class="details_index==4?'summary_item_text1':'summary_item_text'">(Tax included)</text> |
|
|
|
</view> |
|
|
|
<view class="summary_item_right">US$12.5</view> |
|
|
|
<view class="summary_item_right">US${{goodsDate.goods_amount}}</view> |
|
|
|
</view> |
|
|
|
<view class="summary_item"> |
|
|
|
<view>Shipping</view> |
|
|
|
<view class="summary_item_right">US$12.5</view> |
|
|
|
<view class="summary_item_right">US${{goodsDate.shipping_fee}}</view> |
|
|
|
</view> |
|
|
|
<view class="summary_item"> |
|
|
|
<view>Coupon</view> |
|
|
|
<view class="summary_item_right1">-US$12.5</view> |
|
|
|
<view class="summary_item_right1">-US${{goodsDate.discount}}</view> |
|
|
|
</view> |
|
|
|
<view class="summary_item"> |
|
|
|
<view>Order total</view> |
|
|
|
<view>US$12.5</view> |
|
|
|
<view>US${{goodsDate.order_amount}}</view> |
|
|
|
</view> |
|
|
|
<view class="summary_tips" v-if="details_index==3"> |
|
|
|
<image src="../../static/img/gantan1.png" mode=""></image> |
|
|
|
<text>Reward 10 points</text> |
|
|
|
<text>Reward {{goodsDate.integral}} points</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
@ -132,17 +134,17 @@ |
|
|
|
<view class="summary_item"> |
|
|
|
<view>Order id</view> |
|
|
|
<view class="summary_item_right"> |
|
|
|
<text>2013461121212</text> |
|
|
|
<text>{{goodsDate.order_sn}}</text> |
|
|
|
<button>copy</button> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="summary_item"> |
|
|
|
<view>Shipping</view> |
|
|
|
<view class="summary_item_right">standard shipping</view> |
|
|
|
<view class="summary_item_right">{{goodsDate.shipping_name}}</view> |
|
|
|
</view> |
|
|
|
<view class="summary_item"> |
|
|
|
<view>Coupon</view> |
|
|
|
<view class="summary_item_right">21/04/2022 15:42:31</view> |
|
|
|
<view>Order Time</view> |
|
|
|
<view class="summary_item_right">{{goodsDate.formated_add_time}}</view> |
|
|
|
</view> |
|
|
|
<view class="summary_item" v-if="details_index!=3"> |
|
|
|
<view>Payment time</view> |
|
|
|
@ -175,19 +177,42 @@ |
|
|
|
</template> |
|
|
|
|
|
|
|
<script> |
|
|
|
import {defaultRequest2} from '../../api/index.js' |
|
|
|
export default { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
// 0、代发货 1、已取消 2、已完成 3、待支付 4、运输中 |
|
|
|
details_index:4 |
|
|
|
details_index:4, |
|
|
|
query:{ |
|
|
|
_action:'getorder', |
|
|
|
order_id:'', |
|
|
|
order_sn:'' |
|
|
|
}, |
|
|
|
goodsDate:{}, |
|
|
|
goods_list:[] |
|
|
|
} |
|
|
|
}, |
|
|
|
methods:{ |
|
|
|
|
|
|
|
getDate(){ |
|
|
|
defaultRequest2(this.query).then(res=>{ |
|
|
|
console.info(res) |
|
|
|
if(res.error==0){ |
|
|
|
this.goodsDate=res.data |
|
|
|
this.goods_list=res.goods_list |
|
|
|
} |
|
|
|
}) |
|
|
|
} |
|
|
|
}, |
|
|
|
onLoad(e){ |
|
|
|
console.info(e) |
|
|
|
this.details_index=e.details_index |
|
|
|
this.query.order_id=e.id |
|
|
|
this.getDate() |
|
|
|
}, |
|
|
|
filters:{ |
|
|
|
goodsAttr(e){ |
|
|
|
return e.replace(/\s\n/g,';'); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
</script> |
|
|
|
|