|
|
|
@ -6,6 +6,7 @@ |
|
|
|
</scroll-view> |
|
|
|
</view> |
|
|
|
<view class="body"> |
|
|
|
<!-- 全部订单 --> |
|
|
|
<template v-if="isList==true && scroll_active==0"> |
|
|
|
<view class="" v-for="(item,idnex) in orderList" :key="item.order_id"> |
|
|
|
<view class="order" @click="goDetails(item,item.order_id)"> |
|
|
|
@ -82,52 +83,106 @@ |
|
|
|
<!-- 已完成订单 --> |
|
|
|
<template v-if="item.pay_status_code==2 && item.shipping_status_code==2"> |
|
|
|
<button class="cancel" @click.stop="openTips(item.order_id,1)">DELETE ORDER</button> |
|
|
|
<button class="pay">COMMENT</button> |
|
|
|
<button class="pay" @click.stop="goComment(item)" v-if="item.comment_status_code==0">COMMENT</button> |
|
|
|
</template> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<!-- 已取消订单 --> |
|
|
|
<!-- <view class="order" v-if="item.order_status_code==2" @click="goDetails(1,item.order_id)"> |
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
</template> |
|
|
|
<!-- 待支付订单 --> |
|
|
|
<template v-if="isList==true && scroll_active==1"> |
|
|
|
<view class="" v-for="(item,idnex) in orderList" :key="item.order_id"> |
|
|
|
<view class="order" @click="goDetails(item,item.order_id)" v-if="item.pay_status_code==0 && item.order_status_code==0"> |
|
|
|
<view class="order_title"> |
|
|
|
<text>cancelled</text> |
|
|
|
<text >Waiting for payment</text> |
|
|
|
<view class="order_title_right"> |
|
|
|
<text>order#{{item.order_sn}}</text> |
|
|
|
<image src="../../static/img/right.png" mode=""></image> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="order_content"> |
|
|
|
<view class="good_info"> |
|
|
|
<view class="good_info_left"> |
|
|
|
<view class="good_info_image" v-for="(item1,index1) in item.order_goods" :key="index1"> |
|
|
|
<image :src="item1.goods_img" mode=""></image> |
|
|
|
<template v-if="item.order_goods.length==1"> |
|
|
|
<view class="good_info" v-for="(item1,index1) in item.order_goods" :key="index1"> |
|
|
|
<view class="good_info_left "> |
|
|
|
<view class="good_info_image" > |
|
|
|
<image :src="item1.goods_img" mode=""></image> |
|
|
|
</view> |
|
|
|
<view class="left_info"> |
|
|
|
<view class="info_name">{{item1.goods_name}}</view> |
|
|
|
<view class="left_info_bottom"> |
|
|
|
<view class="info_lable"> |
|
|
|
<text>{{item1.goods_attr |goodsAttr}}</text> |
|
|
|
<image src="/static/img/bottom.png" mode=""></image> |
|
|
|
</view> |
|
|
|
<text>×{{item1.goods_number}}</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="good_info_right"> |
|
|
|
<text>{{item.order_goods.length}} ltems</text> |
|
|
|
<image src="../../static/img/right.png" mode=""></image> |
|
|
|
</template> |
|
|
|
<template v-else> |
|
|
|
<view class="good_info" @click.stop="showGoods(item.order_goods,1)"> |
|
|
|
<view class="good_info_left"> |
|
|
|
<view class="good_info_image" v-for="(item1,index1) in item.order_goods" :key="index1"> |
|
|
|
<image :src="item1.goods_img" mode=""></image> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="good_info_right"> |
|
|
|
<text>{{item.order_goods.length}} ltems</text> |
|
|
|
<image src="../../static/img/right.png" mode=""></image> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</template> |
|
|
|
<view class="good_price">total:US${{item.total_fee_o}}</view> |
|
|
|
<view class="good_points" v-if="item.pay_status_code==0 && item.order_status_code==0"> |
|
|
|
<image src="/static/img/gantan1.png" mode=""></image> |
|
|
|
<text>Reward 10 points</text> |
|
|
|
</view> |
|
|
|
<view class="order_button"> |
|
|
|
<button class="cancel" @click.stop="openTips(item.order_id,1)">DELETE ORDER</button> |
|
|
|
<button class="cancel" @click.stop="openTips(item.order_id,0)">CANCEL ORDER</button> |
|
|
|
<button class="pay" @click.stop="payNow(item.order_id,0)">PAY NOW</button> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> --> |
|
|
|
</view> |
|
|
|
|
|
|
|
<!-- 待发货订单 --> |
|
|
|
<!-- <view class="order" v-if="item.pay_status_code==2 && item.shipping_status_code==0" @click="goDetails(0,item.order_id)"> |
|
|
|
<view class="order_title"> |
|
|
|
<text>To be shipped</text> |
|
|
|
<view class="order_title_right"> |
|
|
|
<text>order#{{item.order_sn}}</text> |
|
|
|
<image src="../../static/img/right.png" mode=""></image> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</template> |
|
|
|
|
|
|
|
<!-- 待发货订单 --> |
|
|
|
<template v-if="isList==true && scroll_active==2"> |
|
|
|
<view class="order" v-if="item.pay_status_code==2 && item.shipping_status_code==0" @click="goDetails(0,item.order_id)"> |
|
|
|
<view class="order_title"> |
|
|
|
<text>To be shipped</text> |
|
|
|
<view class="order_title_right"> |
|
|
|
<text>order#{{item.order_sn}}</text> |
|
|
|
<image src="../../static/img/right.png" mode=""></image> |
|
|
|
</view> |
|
|
|
<view class="order_content"> |
|
|
|
<view class="good_info"> |
|
|
|
</view> |
|
|
|
<view class="order_content"> |
|
|
|
<template v-if="item.order_goods.length==1"> |
|
|
|
<view class="good_info" v-for="(item1,index1) in item.order_goods" :key="index1"> |
|
|
|
<view class="good_info_left "> |
|
|
|
<view class="good_info_image" > |
|
|
|
<image :src="item1.goods_img" mode=""></image> |
|
|
|
</view> |
|
|
|
<view class="left_info"> |
|
|
|
<view class="info_name">{{item1.goods_name}}</view> |
|
|
|
<view class="left_info_bottom"> |
|
|
|
<view class="info_lable"> |
|
|
|
<text>{{item1.goods_attr |goodsAttr}}</text> |
|
|
|
<image src="/static/img/bottom.png" mode=""></image> |
|
|
|
</view> |
|
|
|
<text>×{{item1.goods_number}}</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</template> |
|
|
|
<template v-else> |
|
|
|
<view class="good_info" @click.stop="showGoods(item.order_goods,1)"> |
|
|
|
<view class="good_info_left"> |
|
|
|
<view class="good_info_image" v-for="(item1,index1) in item.order_goods" :key="index1"> |
|
|
|
<image :src="item1.goods_img" mode=""></image> |
|
|
|
@ -138,20 +193,23 @@ |
|
|
|
<image src="../../static/img/right.png" mode=""></image> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="good_price">total:US${{item.total_fee_o}}</view> |
|
|
|
</view> |
|
|
|
</view> --> |
|
|
|
|
|
|
|
<!-- 运输中订单 --> |
|
|
|
<!-- <view class="order" v-if="item.pay_status_code==2 && item.shipping_status_code==1 || item.shipping_status_code==4" @click="goDetails(4,item.order_id)"> |
|
|
|
<view class="order_title"> |
|
|
|
<text>Shipped</text> |
|
|
|
<view class="order_title_right"> |
|
|
|
<text>order#{{item.order_sn}}</text> |
|
|
|
<image src="../../static/img/right.png" mode=""></image> |
|
|
|
</view> |
|
|
|
</template> |
|
|
|
<view class="good_price">total:US${{item.total_fee_o}}</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</template> |
|
|
|
<!-- 运输中订单 --> |
|
|
|
<template v-if="isList==true && scroll_active==3"> |
|
|
|
<view class="order" v-if="item.pay_status_code==2 && item.shipping_status_code==1 || item.shipping_status_code==4" @click="goDetails(4,item.order_id)"> |
|
|
|
<view class="order_title"> |
|
|
|
<text>Shipped</text> |
|
|
|
<view class="order_title_right"> |
|
|
|
<text>order#{{item.order_sn}}</text> |
|
|
|
<image src="../../static/img/right.png" mode=""></image> |
|
|
|
</view> |
|
|
|
<view class="order_content"> |
|
|
|
</view> |
|
|
|
<view class="order_content"> |
|
|
|
<template v-if="item.order_goods.length==1"> |
|
|
|
<view class="good_info" v-for="(item1,index1) in item.order_goods" :key="index1"> |
|
|
|
<view class="good_info_left "> |
|
|
|
<view class="good_info_image" > |
|
|
|
@ -169,26 +227,11 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="good_price">total:US${{item.total_fee_o}}</view> |
|
|
|
<view class="order_button"> |
|
|
|
<button class="cancel" @click.stop="goLogistics(item.order_id)">LOGISTICS</button> |
|
|
|
<button class="pay" @click.stop="openTips(item.order_id,2)">CONFIRM RECEIPT</button> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> --> |
|
|
|
<!-- 已完成订单 --> |
|
|
|
<!-- <view class="order " v-if="item.pay_status_code==2 && item.shipping_status_code==2" @click="goDetails(2,item.order_id)"> |
|
|
|
<view class="order_title"> |
|
|
|
<text>Completed</text> |
|
|
|
<view class="order_title_right"> |
|
|
|
<text>order#{{item.order_sn}}</text> |
|
|
|
<image src="../../static/img/right.png" mode=""></image> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="order_content"> |
|
|
|
<view class="good_info" v-for="(item1,index1) in item.order_goods" :key="index1"> |
|
|
|
</template> |
|
|
|
<template v-else> |
|
|
|
<view class="good_info" @click.stop="showGoods(item.order_goods,1)"> |
|
|
|
<view class="good_info_left"> |
|
|
|
<view class="good_info_image" > |
|
|
|
<view class="good_info_image" v-for="(item1,index1) in item.order_goods" :key="index1"> |
|
|
|
<image :src="item1.goods_img" mode=""></image> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
@ -197,160 +240,166 @@ |
|
|
|
<image src="../../static/img/right.png" mode=""></image> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="good_price">total:US${{item.total_fee_o}}</view> |
|
|
|
<view class="order_button"> |
|
|
|
<button class="cancel" @click.stop="openTips(item.order_id,1)">DELETE ORDER</button> |
|
|
|
<button class="pay">COMMENT</button> |
|
|
|
</view> |
|
|
|
</template> |
|
|
|
<view class="good_price">total:US${{item.total_fee_o}}</view> |
|
|
|
<view class="order_button"> |
|
|
|
<button class="cancel" @click.stop="goLogistics(item.order_id)">LOGISTICS</button> |
|
|
|
<button class="pay" @click.stop="openTips(item.order_id,2)">CONFIRM RECEIPT</button> |
|
|
|
</view> |
|
|
|
</view> --> |
|
|
|
|
|
|
|
<!-- 退换货订单 --> |
|
|
|
<!-- <view class="order" v-if="item.order_status_code==4" @click="goDetails(2,item.order_id)"> |
|
|
|
<view class="order_title"> |
|
|
|
<text>Return and exchange</text> |
|
|
|
<view class="order_title_right"> |
|
|
|
<text>order#{{item.order_sn}}</text> |
|
|
|
<image src="../../static/img/right.png" mode=""></image> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</template> |
|
|
|
<!-- 已完成订单 --> |
|
|
|
<template v-if="isList==true && scroll_active==4"> |
|
|
|
<view class="order " v-if="item.pay_status_code==2 && item.shipping_status_code==2" @click="goDetails(2,item.order_id)"> |
|
|
|
<view class="order_title"> |
|
|
|
<text>Completed</text> |
|
|
|
<view class="order_title_right"> |
|
|
|
<text>order#{{item.order_sn}}</text> |
|
|
|
<image src="../../static/img/right.png" mode=""></image> |
|
|
|
</view> |
|
|
|
<view class="order_content"> |
|
|
|
</view> |
|
|
|
<view class="order_content"> |
|
|
|
<template v-if="item.order_goods.length==1"> |
|
|
|
<view class="good_info" v-for="(item1,index1) in item.order_goods" :key="index1"> |
|
|
|
<view class="good_info_left"> |
|
|
|
<view class="good_info_left "> |
|
|
|
<view class="good_info_image" > |
|
|
|
<image :src="item1.goods_img" mode=""></image> |
|
|
|
</view> |
|
|
|
<view class="left_info"> |
|
|
|
<view class="info_name">{{item1.goods_name}}</view> |
|
|
|
<view class="left_info_bottom"> |
|
|
|
<view class="info_lable"> |
|
|
|
<text>{{item1.goods_attr |goodsAttr}}</text> |
|
|
|
<image src="/static/img/bottom.png" mode=""></image> |
|
|
|
</view> |
|
|
|
<text>×{{item1.goods_number}}</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</template> |
|
|
|
<template v-else> |
|
|
|
<view class="good_info" @click.stop="showGoods(item.order_goods,1)"> |
|
|
|
<view class="good_info_left"> |
|
|
|
<view class="good_info_image" v-for="(item1,index1) in item.order_goods" :key="index1"> |
|
|
|
<image :src="item1.goods_img" mode=""></image> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="good_info_right"> |
|
|
|
<text>{{item.order_goods.length}} ltems</text> |
|
|
|
<image src="../../static/img/right.png" mode=""></image> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="good_price">total:US${{item.total_fee_o}}</view> |
|
|
|
<view class="order_button"> |
|
|
|
<button class="pay">CANCEL RETURN</button> |
|
|
|
</view> |
|
|
|
</template> |
|
|
|
<view class="good_price">total:US${{item.total_fee_o}}</view> |
|
|
|
<view class="order_button"> |
|
|
|
<button class="cancel" @click.stop="openTips(item.order_id,1)">DELETE ORDER</button> |
|
|
|
<button class="pay" @click.stop="goComment(item)" v-if="item.comment_status_code==0">COMMENT</button> |
|
|
|
</view> |
|
|
|
</view> --> |
|
|
|
|
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
</template> |
|
|
|
<!-- 待支付订单 --> |
|
|
|
<template v-if="isList==true && scroll_active==1"> |
|
|
|
<view class="" v-for="(item,idnex) in orderList" :key="item.order_id"> |
|
|
|
|
|
|
|
<view class="order" @click="goDetails(item,item.order_id)" v-if="item.pay_status_code==0 && item.order_status_code==0"> |
|
|
|
<view class="order_title"> |
|
|
|
<text >Waiting for payment</text> |
|
|
|
<view class="order_title_right"> |
|
|
|
<text>order#{{item.order_sn}}</text> |
|
|
|
<image src="../../static/img/right.png" mode=""></image> |
|
|
|
</view> |
|
|
|
<!-- 退换货订单 --> |
|
|
|
<template v-if="isList==true && scroll_active==5"> |
|
|
|
<view class="order" v-if="item.order_status_code==4" @click="goDetails(2,item.order_id)"> |
|
|
|
<view class="order_title"> |
|
|
|
<text>Return and exchange</text> |
|
|
|
<view class="order_title_right"> |
|
|
|
<text>order#{{item.order_sn}}</text> |
|
|
|
<image src="../../static/img/right.png" mode=""></image> |
|
|
|
</view> |
|
|
|
<view class="order_content"> |
|
|
|
<template v-if="item.order_goods.length==1"> |
|
|
|
<view class="good_info" v-for="(item1,index1) in item.order_goods" :key="index1"> |
|
|
|
<view class="good_info_left "> |
|
|
|
<view class="good_info_image" > |
|
|
|
<image :src="item1.goods_img" mode=""></image> |
|
|
|
</view> |
|
|
|
<view class="left_info"> |
|
|
|
<view class="info_name">{{item1.goods_name}}</view> |
|
|
|
<view class="left_info_bottom"> |
|
|
|
<view class="info_lable"> |
|
|
|
<text>{{item1.goods_attr |goodsAttr}}</text> |
|
|
|
<image src="/static/img/bottom.png" mode=""></image> |
|
|
|
</view> |
|
|
|
<text>×{{item1.goods_number}}</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="order_content"> |
|
|
|
<template v-if="item.order_goods.length==1"> |
|
|
|
<view class="good_info" v-for="(item1,index1) in item.order_goods" :key="index1"> |
|
|
|
<view class="good_info_left "> |
|
|
|
<view class="good_info_image" > |
|
|
|
<image :src="item1.goods_img" mode=""></image> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</template> |
|
|
|
<template v-else> |
|
|
|
<view class="good_info" @click.stop="showGoods(item.order_goods,1)"> |
|
|
|
<view class="good_info_left"> |
|
|
|
<view class="good_info_image" v-for="(item1,index1) in item.order_goods" :key="index1"> |
|
|
|
<image :src="item1.goods_img" mode=""></image> |
|
|
|
<view class="left_info"> |
|
|
|
<view class="info_name">{{item1.goods_name}}</view> |
|
|
|
<view class="left_info_bottom"> |
|
|
|
<view class="info_lable"> |
|
|
|
<text>{{item1.goods_attr |goodsAttr}}</text> |
|
|
|
<image src="/static/img/bottom.png" mode=""></image> |
|
|
|
</view> |
|
|
|
<text>×{{item1.goods_number}}</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="good_info_right"> |
|
|
|
<text>{{item.order_goods.length}} ltems</text> |
|
|
|
<image src="../../static/img/right.png" mode=""></image> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</template> |
|
|
|
<view class="good_price">total:US${{item.total_fee_o}}</view> |
|
|
|
<view class="good_points" v-if="item.pay_status_code==0 && item.order_status_code==0"> |
|
|
|
<image src="/static/img/gantan1.png" mode=""></image> |
|
|
|
<text>Reward 10 points</text> |
|
|
|
</view> |
|
|
|
<view class="order_button"> |
|
|
|
<button class="cancel" @click.stop="openTips(item.order_id,0)">CANCEL ORDER</button> |
|
|
|
<button class="pay" @click.stop="payNow(item.order_id,0)">PAY NOW</button> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
</view> |
|
|
|
</template> |
|
|
|
<template v-if="isList==true && scroll_active==2"> |
|
|
|
<navigator url="/pages/order/details?details_index=3"> |
|
|
|
<view class="order"> |
|
|
|
<view class="order_title"> |
|
|
|
<text>Waiting for payment</text> |
|
|
|
<view class="order_title_right"> |
|
|
|
<text>order#20245512141212</text> |
|
|
|
<image src="../../static/img/right.png" mode=""></image> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="order_content"> |
|
|
|
<view class="good_info"> |
|
|
|
</template> |
|
|
|
<template v-else> |
|
|
|
<view class="good_info" @click.stop="showGoods(item.order_goods,1)"> |
|
|
|
<view class="good_info_left"> |
|
|
|
<view class="good_info_image" v-for="(item,index) in 4" :key="index"></view> |
|
|
|
<view class="good_info_image" v-for="(item1,index1) in item.order_goods" :key="index1"> |
|
|
|
<image :src="item1.goods_img" mode=""></image> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="good_info_right"> |
|
|
|
<text>4 ltems</text> |
|
|
|
<text>{{item.order_goods.length}} ltems</text> |
|
|
|
<image src="../../static/img/right.png" mode=""></image> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="good_price">total:US$12.5</view> |
|
|
|
<view class="order_button"> |
|
|
|
<button class="cancel">CANCEL ORDER</button> |
|
|
|
<button class="pay">PAY NOW</button> |
|
|
|
</view> |
|
|
|
</template> |
|
|
|
<view class="good_price">total:US${{item.total_fee_o}}</view> |
|
|
|
<view class="order_button"> |
|
|
|
<button class="pay">CANCEL RETURN</button> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</navigator> |
|
|
|
<view class="order"> |
|
|
|
</view> |
|
|
|
</template> |
|
|
|
<!-- 已取消订单 --> |
|
|
|
<template v-if="isList==true && scroll_active==6"> |
|
|
|
<view class="order" v-if="item.order_status_code==2" @click="goDetails(1,item.order_id)"> |
|
|
|
<view class="order_title"> |
|
|
|
<text>Waiting for payment</text> |
|
|
|
<text>cancelled</text> |
|
|
|
<view class="order_title_right"> |
|
|
|
<text>order#20245512141212</text> |
|
|
|
<text>order#{{item.order_sn}}</text> |
|
|
|
<image src="../../static/img/right.png" mode=""></image> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="order_content"> |
|
|
|
<view class="good_info"> |
|
|
|
<view class="good_info_left"> |
|
|
|
<view class="good_info_image" v-for="(item,index) in 4" :key="index"></view> |
|
|
|
<template v-if="item.order_goods.length==1"> |
|
|
|
<view class="good_info" v-for="(item1,index1) in item.order_goods" :key="index1"> |
|
|
|
<view class="good_info_left "> |
|
|
|
<view class="good_info_image" > |
|
|
|
<image :src="item1.goods_img" mode=""></image> |
|
|
|
</view> |
|
|
|
<view class="left_info"> |
|
|
|
<view class="info_name">{{item1.goods_name}}</view> |
|
|
|
<view class="left_info_bottom"> |
|
|
|
<view class="info_lable"> |
|
|
|
<text>{{item1.goods_attr |goodsAttr}}</text> |
|
|
|
<image src="/static/img/bottom.png" mode=""></image> |
|
|
|
</view> |
|
|
|
<text>×{{item1.goods_number}}</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="good_info_right"> |
|
|
|
<text>4 ltems</text> |
|
|
|
<image src="../../static/img/right.png" mode=""></image> |
|
|
|
</template> |
|
|
|
<template v-else> |
|
|
|
<view class="good_info" @click.stop="showGoods(item.order_goods,1)"> |
|
|
|
<view class="good_info_left"> |
|
|
|
<view class="good_info_image" v-for="(item1,index1) in item.order_goods" :key="index1"> |
|
|
|
<image :src="item1.goods_img" mode=""></image> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="good_info_right"> |
|
|
|
<text>{{item.order_goods.length}} ltems</text> |
|
|
|
<image src="../../static/img/right.png" mode=""></image> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="good_price">total:US$12.5</view> |
|
|
|
</template> |
|
|
|
<view class="good_price">total:US${{item.total_fee_o}}</view> |
|
|
|
<view class="order_button"> |
|
|
|
<button class="cancel">CANCEL ORDER</button> |
|
|
|
<button class="pay">PAY NOW</button> |
|
|
|
<button class="cancel" @click.stop="openTips(item.order_id,1)">DELETE ORDER</button> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</template> |
|
|
|
|
|
|
|
<template v-if="isList==false"> |
|
|
|
<view class="order1"> |
|
|
|
<image src="../../static/img/order_nodate.png" mode=""></image> |
|
|
|
@ -475,6 +524,12 @@ |
|
|
|
} |
|
|
|
}, |
|
|
|
methods:{ |
|
|
|
// 跳转评论页面 |
|
|
|
goComment(item){ |
|
|
|
uni.navigateTo({ |
|
|
|
url:'../productDetails/review?data='+JSON.stringify(item) |
|
|
|
}) |
|
|
|
}, |
|
|
|
showGoods(goodsList,type){ |
|
|
|
this.isShow=true |
|
|
|
this.showType=type |
|
|
|
@ -529,7 +584,7 @@ |
|
|
|
orderInfo: res.data.prepay_data.order_info, //支付宝订单数据 |
|
|
|
success: function (res) { |
|
|
|
console.log('success:' + JSON.stringify(res)); |
|
|
|
uni.redirectTo({ |
|
|
|
uni.navigateTo({ |
|
|
|
url: 'paySuccess?order_id='+this.payQuery.order_id |
|
|
|
}); |
|
|
|
}, |
|
|
|
@ -601,7 +656,7 @@ |
|
|
|
// this.getList() |
|
|
|
}, |
|
|
|
}, |
|
|
|
onLoad() { |
|
|
|
onShow() { |
|
|
|
this.getList() |
|
|
|
}, |
|
|
|
filters:{ |
|
|
|
|