|
|
@ -2,7 +2,8 @@ |
|
|
<view> |
|
|
<view> |
|
|
<view class="order_nav"> |
|
|
<view class="order_nav"> |
|
|
<scroll-view class="scroll-view_H" scroll-x="true" :show-scrollbar="false"> |
|
|
<scroll-view class="scroll-view_H" scroll-x="true" :show-scrollbar="false"> |
|
|
<view :class="scroll_active==index?'scroll_active':''" v-for="(item,index) in scrollList" @click="scrollChange(index)" :key="index">{{item.text}}</view> |
|
|
<view :class="scroll_active==index?'scroll_active':''" v-for="(item,index) in scrollList" |
|
|
|
|
|
@click="scrollChange(index)" :key="index">{{item.text}}</view> |
|
|
</scroll-view> |
|
|
</scroll-view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
@ -18,9 +19,11 @@ |
|
|
<!-- 已取消订单 --> |
|
|
<!-- 已取消订单 --> |
|
|
<text v-else-if="item.order_status_code==2">cancelled</text> |
|
|
<text v-else-if="item.order_status_code==2">cancelled</text> |
|
|
<!-- 待发货订单 --> |
|
|
<!-- 待发货订单 --> |
|
|
<text v-else-if="item.pay_status_code==2 && item.shipping_status_code==0">To be shipped</text> |
|
|
<text v-else-if="item.pay_status_code==2 && item.shipping_status_code==0">To be |
|
|
|
|
|
shipped</text> |
|
|
<!-- 运输中订单 --> |
|
|
<!-- 运输中订单 --> |
|
|
<text v-else-if="item.pay_status_code==2 && item.shipping_status_code==1 || item.shipping_status_code==4">Shipped</text> |
|
|
<text |
|
|
|
|
|
v-else-if="item.pay_status_code==2 && item.shipping_status_code==1 || item.shipping_status_code==4">Shipped</text> |
|
|
<!-- 已完成订单 --> |
|
|
<!-- 已完成订单 --> |
|
|
<text v-else-if="item.pay_status_code==2 && item.shipping_status_code==2">Completed</text> |
|
|
<text v-else-if="item.pay_status_code==2 && item.shipping_status_code==2">Completed</text> |
|
|
|
|
|
|
|
|
@ -31,9 +34,10 @@ |
|
|
</view> |
|
|
</view> |
|
|
<view class="order_content"> |
|
|
<view class="order_content"> |
|
|
<template v-if="item.order_goods.length==1"> |
|
|
<template v-if="item.order_goods.length==1"> |
|
|
<view class="good_info" v-for="(item1,index1) in item.order_goods" :key="index1" @click.stop="goGoodsDetails(item1.goods_id)"> |
|
|
<view class="good_info" v-for="(item1,index1) in item.order_goods" :key="index1" |
|
|
|
|
|
@click.stop="goGoodsDetails(item1.goods_id)"> |
|
|
<view class="good_info_left "> |
|
|
<view class="good_info_left "> |
|
|
<view class="good_info_image" > |
|
|
<view class="good_info_image"> |
|
|
<image :src="item1.goods_img" mode=""></image> |
|
|
<image :src="item1.goods_img" mode=""></image> |
|
|
</view> |
|
|
</view> |
|
|
<view class="left_info"> |
|
|
<view class="left_info"> |
|
|
@ -52,7 +56,8 @@ |
|
|
<template v-else> |
|
|
<template v-else> |
|
|
<view class="good_info" @click.stop="showGoods(item.order_goods,1)"> |
|
|
<view class="good_info" @click.stop="showGoods(item.order_goods,1)"> |
|
|
<view class="good_info_left"> |
|
|
<view class="good_info_left"> |
|
|
<view class="good_info_image" v-for="(item1,index1) in item.order_goods" :key="index1"> |
|
|
<view class="good_info_image" v-for="(item1,index1) in item.order_goods" |
|
|
|
|
|
:key="index1"> |
|
|
<image :src="item1.goods_img" mode=""></image> |
|
|
<image :src="item1.goods_img" mode=""></image> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
@ -76,9 +81,11 @@ |
|
|
<button class="pay" @click.stop="payNow(item.order_id,0)">PAY NOW</button> |
|
|
<button class="pay" @click.stop="payNow(item.order_id,0)">PAY NOW</button> |
|
|
</template> |
|
|
</template> |
|
|
<!-- 已取消订单 --> |
|
|
<!-- 已取消订单 --> |
|
|
<button v-if="item.order_status_code==2" class="cancel" @click.stop="openTips(item.order_id,1)">DELETE ORDER</button> |
|
|
<button v-if="item.order_status_code==2" class="cancel" |
|
|
|
|
|
@click.stop="openTips(item.order_id,1)">DELETE ORDER</button> |
|
|
<!-- 待发货订单 --> |
|
|
<!-- 待发货订单 --> |
|
|
<template v-if="item.pay_status_code==2 && item.shipping_status_code==1 || item.shipping_status_code==4"> |
|
|
<template |
|
|
|
|
|
v-if="item.pay_status_code==2 && item.shipping_status_code==1 || item.shipping_status_code==4"> |
|
|
<button class="cancel" @click.stop="goLogistics(item.order_id)">LOGISTICS</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> |
|
|
<button class="pay" @click.stop="openTips(item.order_id,2)">CONFIRM RECEIPT</button> |
|
|
</template> |
|
|
</template> |
|
|
@ -86,7 +93,8 @@ |
|
|
<template v-if="item.pay_status_code==2 && item.shipping_status_code==2"> |
|
|
<template v-if="item.pay_status_code==2 && item.shipping_status_code==2"> |
|
|
<button class="cancel" @click.stop="goLogistics(item.order_id)">LOGISTICS</button> |
|
|
<button class="cancel" @click.stop="goLogistics(item.order_id)">LOGISTICS</button> |
|
|
<button class="cancel" @click.stop="openTips(item.order_id,1)">DELETE 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> |
|
|
<button class="pay" @click.stop="goComment(item)" |
|
|
|
|
|
v-if="item.comment_status_code==0">COMMENT</button> |
|
|
</template> |
|
|
</template> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
@ -98,9 +106,10 @@ |
|
|
<!-- 待支付订单 --> |
|
|
<!-- 待支付订单 --> |
|
|
<template v-if="isList==true && scroll_active==1"> |
|
|
<template v-if="isList==true && scroll_active==1"> |
|
|
<view class="" v-for="(item,idnex) in orderList" :key="item.order_id"> |
|
|
<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" @click="goDetails(item,item.order_id)" |
|
|
|
|
|
v-if="item.pay_status_code==0 && item.order_status_code==0"> |
|
|
<view class="order_title"> |
|
|
<view class="order_title"> |
|
|
<text >Waiting for payment</text> |
|
|
<text>Waiting for payment</text> |
|
|
<view class="order_title_right"> |
|
|
<view class="order_title_right"> |
|
|
<text>order#{{item.order_sn}}</text> |
|
|
<text>order#{{item.order_sn}}</text> |
|
|
<image src="../../static/img/right.png" mode=""></image> |
|
|
<image src="../../static/img/right.png" mode=""></image> |
|
|
@ -108,9 +117,10 @@ |
|
|
</view> |
|
|
</view> |
|
|
<view class="order_content"> |
|
|
<view class="order_content"> |
|
|
<template v-if="item.order_goods.length==1"> |
|
|
<template v-if="item.order_goods.length==1"> |
|
|
<view class="good_info" v-for="(item1,index1) in item.order_goods" :key="index1" @click.stop="goGoodsDetails(item1.goods_id)"> |
|
|
<view class="good_info" v-for="(item1,index1) in item.order_goods" :key="index1" |
|
|
|
|
|
@click.stop="goGoodsDetails(item1.goods_id)"> |
|
|
<view class="good_info_left "> |
|
|
<view class="good_info_left "> |
|
|
<view class="good_info_image" > |
|
|
<view class="good_info_image"> |
|
|
<image :src="item1.goods_img" mode=""></image> |
|
|
<image :src="item1.goods_img" mode=""></image> |
|
|
</view> |
|
|
</view> |
|
|
<view class="left_info"> |
|
|
<view class="left_info"> |
|
|
@ -129,7 +139,8 @@ |
|
|
<template v-else> |
|
|
<template v-else> |
|
|
<view class="good_info" @click.stop="showGoods(item.order_goods,1)"> |
|
|
<view class="good_info" @click.stop="showGoods(item.order_goods,1)"> |
|
|
<view class="good_info_left"> |
|
|
<view class="good_info_left"> |
|
|
<view class="good_info_image" v-for="(item1,index1) in item.order_goods" :key="index1"> |
|
|
<view class="good_info_image" v-for="(item1,index1) in item.order_goods" |
|
|
|
|
|
:key="index1"> |
|
|
<image :src="item1.goods_img" mode=""></image> |
|
|
<image :src="item1.goods_img" mode=""></image> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
@ -159,7 +170,8 @@ |
|
|
<!-- 待发货订单 --> |
|
|
<!-- 待发货订单 --> |
|
|
<template v-if="isList==true && scroll_active==2"> |
|
|
<template v-if="isList==true && scroll_active==2"> |
|
|
<view v-for="(item,idnex) in orderList" :key="item.order_id"> |
|
|
<view v-for="(item,idnex) in orderList" :key="item.order_id"> |
|
|
<view class="order" v-if="item.pay_status_code==2 && item.shipping_status_code==0" @click="goDetails(item,item.order_id)"> |
|
|
<view class="order" v-if="item.pay_status_code==2 && item.shipping_status_code==0" |
|
|
|
|
|
@click="goDetails(item,item.order_id)"> |
|
|
<view class="order_title"> |
|
|
<view class="order_title"> |
|
|
<text>To be shipped</text> |
|
|
<text>To be shipped</text> |
|
|
<view class="order_title_right"> |
|
|
<view class="order_title_right"> |
|
|
@ -169,9 +181,10 @@ |
|
|
</view> |
|
|
</view> |
|
|
<view class="order_content"> |
|
|
<view class="order_content"> |
|
|
<template v-if="item.order_goods.length==1"> |
|
|
<template v-if="item.order_goods.length==1"> |
|
|
<view class="good_info" v-for="(item1,index1) in item.order_goods" :key="index1" @click.stop="goGoodsDetails(item1.goods_id)"> |
|
|
<view class="good_info" v-for="(item1,index1) in item.order_goods" :key="index1" |
|
|
|
|
|
@click.stop="goGoodsDetails(item1.goods_id)"> |
|
|
<view class="good_info_left "> |
|
|
<view class="good_info_left "> |
|
|
<view class="good_info_image" > |
|
|
<view class="good_info_image"> |
|
|
<image :src="item1.goods_img" mode=""></image> |
|
|
<image :src="item1.goods_img" mode=""></image> |
|
|
</view> |
|
|
</view> |
|
|
<view class="left_info"> |
|
|
<view class="left_info"> |
|
|
@ -190,7 +203,8 @@ |
|
|
<template v-else> |
|
|
<template v-else> |
|
|
<view class="good_info" @click.stop="showGoods(item.order_goods,1)"> |
|
|
<view class="good_info" @click.stop="showGoods(item.order_goods,1)"> |
|
|
<view class="good_info_left"> |
|
|
<view class="good_info_left"> |
|
|
<view class="good_info_image" v-for="(item1,index1) in item.order_goods" :key="index1"> |
|
|
<view class="good_info_image" v-for="(item1,index1) in item.order_goods" |
|
|
|
|
|
:key="index1"> |
|
|
<image :src="item1.goods_img" mode=""></image> |
|
|
<image :src="item1.goods_img" mode=""></image> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
@ -210,7 +224,9 @@ |
|
|
<!-- 运输中订单 --> |
|
|
<!-- 运输中订单 --> |
|
|
<template v-if="isList==true && scroll_active==3"> |
|
|
<template v-if="isList==true && scroll_active==3"> |
|
|
<view v-for="(item,idnex) in orderList" :key="item.order_id"> |
|
|
<view v-for="(item,idnex) in orderList" :key="item.order_id"> |
|
|
<view class="order" v-if="item.pay_status_code==2 && item.shipping_status_code==1 || item.shipping_status_code==4" @click="goDetails(item,item.order_id)"> |
|
|
<view class="order" |
|
|
|
|
|
v-if="item.pay_status_code==2 && item.shipping_status_code==1 || item.shipping_status_code==4" |
|
|
|
|
|
@click="goDetails(item,item.order_id)"> |
|
|
<view class="order_title"> |
|
|
<view class="order_title"> |
|
|
<text>Shipped</text> |
|
|
<text>Shipped</text> |
|
|
<view class="order_title_right"> |
|
|
<view class="order_title_right"> |
|
|
@ -220,9 +236,10 @@ |
|
|
</view> |
|
|
</view> |
|
|
<view class="order_content"> |
|
|
<view class="order_content"> |
|
|
<template v-if="item.order_goods.length==1"> |
|
|
<template v-if="item.order_goods.length==1"> |
|
|
<view class="good_info" v-for="(item1,index1) in item.order_goods" :key="index1" @click.stop="goGoodsDetails(item1.goods_id)"> |
|
|
<view class="good_info" v-for="(item1,index1) in item.order_goods" :key="index1" |
|
|
|
|
|
@click.stop="goGoodsDetails(item1.goods_id)"> |
|
|
<view class="good_info_left "> |
|
|
<view class="good_info_left "> |
|
|
<view class="good_info_image" > |
|
|
<view class="good_info_image"> |
|
|
<image :src="item1.goods_img" mode=""></image> |
|
|
<image :src="item1.goods_img" mode=""></image> |
|
|
</view> |
|
|
</view> |
|
|
<view class="left_info"> |
|
|
<view class="left_info"> |
|
|
@ -241,7 +258,8 @@ |
|
|
<template v-else> |
|
|
<template v-else> |
|
|
<view class="good_info" @click.stop="showGoods(item.order_goods,1)"> |
|
|
<view class="good_info" @click.stop="showGoods(item.order_goods,1)"> |
|
|
<view class="good_info_left"> |
|
|
<view class="good_info_left"> |
|
|
<view class="good_info_image" v-for="(item1,index1) in item.order_goods" :key="index1"> |
|
|
<view class="good_info_image" v-for="(item1,index1) in item.order_goods" |
|
|
|
|
|
:key="index1"> |
|
|
<image :src="item1.goods_img" mode=""></image> |
|
|
<image :src="item1.goods_img" mode=""></image> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
@ -265,7 +283,8 @@ |
|
|
<!-- 已完成订单 --> |
|
|
<!-- 已完成订单 --> |
|
|
<template v-if="isList==true && scroll_active==5"> |
|
|
<template v-if="isList==true && scroll_active==5"> |
|
|
<view class="" v-for="(item,idnex) in orderList" :key="item.order_id"> |
|
|
<view class="" v-for="(item,idnex) in orderList" :key="item.order_id"> |
|
|
<view class="order " v-if="item.pay_status_code==2 && item.shipping_status_code==2" @click="goDetails(item,item.order_id)"> |
|
|
<view class="order " v-if="item.pay_status_code==2 && item.shipping_status_code==2" |
|
|
|
|
|
@click="goDetails(item,item.order_id)"> |
|
|
<view class="order_title"> |
|
|
<view class="order_title"> |
|
|
<text>Completed</text> |
|
|
<text>Completed</text> |
|
|
<view class="order_title_right"> |
|
|
<view class="order_title_right"> |
|
|
@ -275,9 +294,10 @@ |
|
|
</view> |
|
|
</view> |
|
|
<view class="order_content"> |
|
|
<view class="order_content"> |
|
|
<template v-if="item.order_goods.length==1"> |
|
|
<template v-if="item.order_goods.length==1"> |
|
|
<view class="good_info" v-for="(item1,index1) in item.order_goods" :key="index1" @click.stop="goGoodsDetails(item1.goods_id)"> |
|
|
<view class="good_info" v-for="(item1,index1) in item.order_goods" :key="index1" |
|
|
|
|
|
@click.stop="goGoodsDetails(item1.goods_id)"> |
|
|
<view class="good_info_left "> |
|
|
<view class="good_info_left "> |
|
|
<view class="good_info_image" > |
|
|
<view class="good_info_image"> |
|
|
<image :src="item1.goods_img" mode=""></image> |
|
|
<image :src="item1.goods_img" mode=""></image> |
|
|
</view> |
|
|
</view> |
|
|
<view class="left_info"> |
|
|
<view class="left_info"> |
|
|
@ -296,7 +316,8 @@ |
|
|
<template v-else> |
|
|
<template v-else> |
|
|
<view class="good_info" @click.stop="showGoods(item.order_goods,1)"> |
|
|
<view class="good_info" @click.stop="showGoods(item.order_goods,1)"> |
|
|
<view class="good_info_left"> |
|
|
<view class="good_info_left"> |
|
|
<view class="good_info_image" v-for="(item1,index1) in item.order_goods" :key="index1"> |
|
|
<view class="good_info_image" v-for="(item1,index1) in item.order_goods" |
|
|
|
|
|
:key="index1"> |
|
|
<image :src="item1.goods_img" mode=""></image> |
|
|
<image :src="item1.goods_img" mode=""></image> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
@ -310,7 +331,8 @@ |
|
|
<view class="order_button"> |
|
|
<view class="order_button"> |
|
|
<button class="cancel" @click.stop="goLogistics(item.order_id)">LOGISTICS</button> |
|
|
<button class="cancel" @click.stop="goLogistics(item.order_id)">LOGISTICS</button> |
|
|
<button class="cancel" @click.stop="openTips(item.order_id,1)">DELETE 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> |
|
|
<button class="pay" @click.stop="goComment(item)" |
|
|
|
|
|
v-if="item.comment_status_code==0">COMMENT</button> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
@ -331,9 +353,10 @@ |
|
|
</view> |
|
|
</view> |
|
|
<view class="order_content"> |
|
|
<view class="order_content"> |
|
|
<template v-if="item.order_goods.length==1"> |
|
|
<template v-if="item.order_goods.length==1"> |
|
|
<view class="good_info" v-for="(item1,index1) in item.order_goods" :key="index1" @click.stop="goGoodsDetails(item1.goods_id)"> |
|
|
<view class="good_info" v-for="(item1,index1) in item.order_goods" :key="index1" |
|
|
|
|
|
@click.stop="goGoodsDetails(item1.goods_id)"> |
|
|
<view class="good_info_left "> |
|
|
<view class="good_info_left "> |
|
|
<view class="good_info_image" > |
|
|
<view class="good_info_image"> |
|
|
<image :src="item1.goods_img" mode=""></image> |
|
|
<image :src="item1.goods_img" mode=""></image> |
|
|
</view> |
|
|
</view> |
|
|
<view class="left_info"> |
|
|
<view class="left_info"> |
|
|
@ -352,7 +375,8 @@ |
|
|
<template v-else> |
|
|
<template v-else> |
|
|
<view class="good_info" @click.stop="showGoods(item.order_goods,1)"> |
|
|
<view class="good_info" @click.stop="showGoods(item.order_goods,1)"> |
|
|
<view class="good_info_left"> |
|
|
<view class="good_info_left"> |
|
|
<view class="good_info_image" v-for="(item1,index1) in item.order_goods" :key="index1"> |
|
|
<view class="good_info_image" v-for="(item1,index1) in item.order_goods" |
|
|
|
|
|
:key="index1"> |
|
|
<image :src="item1.goods_img" mode=""></image> |
|
|
<image :src="item1.goods_img" mode=""></image> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
@ -385,9 +409,10 @@ |
|
|
</view> |
|
|
</view> |
|
|
<view class="order_content"> |
|
|
<view class="order_content"> |
|
|
<template v-if="item.order_goods.length==1"> |
|
|
<template v-if="item.order_goods.length==1"> |
|
|
<view class="good_info" v-for="(item1,index1) in item.order_goods" :key="index1" @click.stop="goGoodsDetails(item1.goods_id)"> |
|
|
<view class="good_info" v-for="(item1,index1) in item.order_goods" :key="index1" |
|
|
|
|
|
@click.stop="goGoodsDetails(item1.goods_id)"> |
|
|
<view class="good_info_left "> |
|
|
<view class="good_info_left "> |
|
|
<view class="good_info_image" > |
|
|
<view class="good_info_image"> |
|
|
<image :src="item1.goods_img" mode=""></image> |
|
|
<image :src="item1.goods_img" mode=""></image> |
|
|
</view> |
|
|
</view> |
|
|
<view class="left_info"> |
|
|
<view class="left_info"> |
|
|
@ -406,7 +431,8 @@ |
|
|
<template v-else> |
|
|
<template v-else> |
|
|
<view class="good_info" @click.stop="showGoods(item.order_goods,1)"> |
|
|
<view class="good_info" @click.stop="showGoods(item.order_goods,1)"> |
|
|
<view class="good_info_left"> |
|
|
<view class="good_info_left"> |
|
|
<view class="good_info_image" v-for="(item1,index1) in item.order_goods" :key="index1"> |
|
|
<view class="good_info_image" v-for="(item1,index1) in item.order_goods" |
|
|
|
|
|
:key="index1"> |
|
|
<image :src="item1.goods_img" mode=""></image> |
|
|
<image :src="item1.goods_img" mode=""></image> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
@ -447,24 +473,26 @@ |
|
|
</text> |
|
|
</text> |
|
|
<image src="../../static/img/close1.png" mode="" @click="isShow=false"></image> |
|
|
<image src="../../static/img/close1.png" mode="" @click="isShow=false"></image> |
|
|
</view> |
|
|
</view> |
|
|
<view class="order_popup_pay" > |
|
|
<view class="order_popup_pay"> |
|
|
<view class="pay_item" @click="selectPay(0)"> |
|
|
<view class="pay_item" @click="selectPay(0)"> |
|
|
<image src="../../static/img/select1.png" mode="" class="pay_item_select" v-if="pay_index==0"></image> |
|
|
<image src="../../static/img/select1.png" mode="" class="pay_item_select" v-if="pay_index==0"> |
|
|
|
|
|
</image> |
|
|
<image src="../../static/img/select2.png" mode="" class="pay_item_select" v-else></image> |
|
|
<image src="../../static/img/select2.png" mode="" class="pay_item_select" v-else></image> |
|
|
<view class="pay_item_right"> |
|
|
<view class="pay_item_right"> |
|
|
<image src="../../static/img/pay_pal.png" mode=""></image> |
|
|
<image src="../../static/img/pay_pal.png" mode=""></image> |
|
|
<text>Pay Pal</text> |
|
|
<text>Pay Pal</text> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<!-- <view class="pay_item" @click="selectPay(1)"> |
|
|
<view class="pay_item" @click="selectPay(1)"> |
|
|
<image src="../../static/img/select1.png" mode="" class="pay_item_select" v-if="pay_index==1"></image> |
|
|
<image src="../../static/img/select1.png" mode="" class="pay_item_select" v-if="pay_index==1"> |
|
|
|
|
|
</image> |
|
|
<image src="../../static/img/select2.png" mode="" class="pay_item_select" v-else></image> |
|
|
<image src="../../static/img/select2.png" mode="" class="pay_item_select" v-else></image> |
|
|
<view class="pay_item_right"> |
|
|
<view class="pay_item_right"> |
|
|
<image src="../../static/img/card.png" mode=""></image> |
|
|
<image src="../../static/img/card.png" mode=""></image> |
|
|
<text>Credit/Debit Card</text> |
|
|
<text>Credit/Debit Card</text> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="pay_item" @click="selectPay(2)"> |
|
|
<!-- <view class="pay_item" @click="selectPay(2)"> |
|
|
<image src="../../static/img/select1.png" mode="" class="pay_item_select" v-if="pay_index==2"></image> |
|
|
<image src="../../static/img/select1.png" mode="" class="pay_item_select" v-if="pay_index==2"></image> |
|
|
<image src="../../static/img/select2.png" mode="" class="pay_item_select" v-else></image> |
|
|
<image src="../../static/img/select2.png" mode="" class="pay_item_select" v-else></image> |
|
|
<view class="pay_item_right"> |
|
|
<view class="pay_item_right"> |
|
|
@ -490,10 +518,11 @@ |
|
|
</text> |
|
|
</text> |
|
|
<image src="../../static/img/close1.png" mode="" @click="isShow=false"></image> |
|
|
<image src="../../static/img/close1.png" mode="" @click="isShow=false"></image> |
|
|
</view> |
|
|
</view> |
|
|
<view class="order_popup_commodity" > |
|
|
<view class="order_popup_commodity"> |
|
|
<view class="good_info padding_left " v-for="(item,index) in goods_list " :key="index" @click.stop="goGoodsDetails(item.goods_id)"> |
|
|
<view class="good_info padding_left " v-for="(item,index) in goods_list " :key="index" |
|
|
|
|
|
@click.stop="goGoodsDetails(item.goods_id)"> |
|
|
<view class="good_info_left "> |
|
|
<view class="good_info_left "> |
|
|
<view class="good_info_image img_border" > |
|
|
<view class="good_info_image img_border"> |
|
|
<image :src="item.goods_img" mode="" class="img_border"></image> |
|
|
<image :src="item.goods_img" mode="" class="img_border"></image> |
|
|
</view> |
|
|
</view> |
|
|
<view class="left_info"> |
|
|
<view class="left_info"> |
|
|
@ -514,135 +543,181 @@ |
|
|
</view> |
|
|
</view> |
|
|
<!-- 删除、取消弹框 --> |
|
|
<!-- 删除、取消弹框 --> |
|
|
<uni-popup ref="alertDialog" type="dialog"> |
|
|
<uni-popup ref="alertDialog" type="dialog"> |
|
|
<uni-popup-dialog type="error" cancelText="Close" :confirmText="tipsBut" title="Tips" :content="tipsInfo" @confirm="dialogConfirm" ></uni-popup-dialog> |
|
|
<uni-popup-dialog type="error" cancelText="Close" :confirmText="tipsBut" title="Tips" :content="tipsInfo" |
|
|
|
|
|
@confirm="dialogConfirm"></uni-popup-dialog> |
|
|
</uni-popup> |
|
|
</uni-popup> |
|
|
|
|
|
|
|
|
</view> |
|
|
</view> |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
|
<script> |
|
|
<script> |
|
|
import {defaultRequest2} from '../../api/index.js' |
|
|
import { |
|
|
|
|
|
defaultRequest2 |
|
|
|
|
|
} from '../../api/index.js' |
|
|
export default { |
|
|
export default { |
|
|
data() { |
|
|
data() { |
|
|
return { |
|
|
return { |
|
|
scrollList:[{text:'All'},{text:'Unpaid'},{text:'Processing'},{text:'Shipped'},{text:'Completed'},{text:'Closed'}], |
|
|
scrollList: [{ |
|
|
scroll_active:0, |
|
|
text: 'All' |
|
|
isList:true, |
|
|
}, { |
|
|
orderList:[], |
|
|
text: 'Unpaid' |
|
|
isShow:false, |
|
|
}, { |
|
|
|
|
|
text: 'Processing' |
|
|
|
|
|
}, { |
|
|
|
|
|
text: 'Shipped' |
|
|
|
|
|
}, { |
|
|
|
|
|
text: 'Completed' |
|
|
|
|
|
}, { |
|
|
|
|
|
text: 'Closed' |
|
|
|
|
|
}], |
|
|
|
|
|
scroll_active: 0, |
|
|
|
|
|
isList: true, |
|
|
|
|
|
orderList: [], |
|
|
|
|
|
isShow: false, |
|
|
// 显示状态 0 为支付 1为商品列表 |
|
|
// 显示状态 0 为支付 1为商品列表 |
|
|
showType:0, |
|
|
showType: 0, |
|
|
payQuery:{ |
|
|
payQuery: { |
|
|
_action:'payorder', |
|
|
_action: 'payorder', |
|
|
order_id:'', |
|
|
order_id: '', |
|
|
order_type:'GOODSBUY', |
|
|
order_type: 'GOODSBUY', |
|
|
payment_method:'alipay.native' |
|
|
payment_method: 'alipay.native' |
|
|
}, |
|
|
}, |
|
|
pay_index:0, |
|
|
pay_index: 0, |
|
|
cancelQuery:{ |
|
|
cancelQuery: { |
|
|
_action:'cancelorder', |
|
|
_action: 'cancelorder', |
|
|
order_id:'' |
|
|
order_id: '' |
|
|
}, |
|
|
}, |
|
|
// 弹出提示框的状态 0:取消订单 1、删除订单 2、确认收货 |
|
|
// 弹出提示框的状态 0:取消订单 1、删除订单 2、确认收货 |
|
|
tipsType:0, |
|
|
tipsType: 0, |
|
|
tipsInfo:'', |
|
|
tipsInfo: '', |
|
|
tipsBut:'', |
|
|
tipsBut: '', |
|
|
goods_list:[], |
|
|
goods_list: [], |
|
|
query:{_action:'getuserorders',page_index:1,page_size:10,payingstatus:'',status:'',shippingstatus:''} |
|
|
query: { |
|
|
|
|
|
_action: 'getuserorders', |
|
|
|
|
|
page_index: 1, |
|
|
|
|
|
page_size: 10, |
|
|
|
|
|
payingstatus: '', |
|
|
|
|
|
status: '', |
|
|
|
|
|
shippingstatus: '' |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
methods:{ |
|
|
methods: { |
|
|
// 跳转商品详情 |
|
|
// 跳转商品详情 |
|
|
goGoodsDetails(id){ |
|
|
goGoodsDetails(id) { |
|
|
uni.navigateTo({ |
|
|
uni.navigateTo({ |
|
|
url:'/pages/productDetails/index?goodid='+id |
|
|
url: '/pages/productDetails/index?goodid=' + id |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
// 跳转评论页面 |
|
|
// 跳转评论页面 |
|
|
goComment(item){ |
|
|
goComment(item) { |
|
|
uni.navigateTo({ |
|
|
uni.navigateTo({ |
|
|
url:'../productDetails/review?data='+JSON.stringify(item) |
|
|
url: '../productDetails/review?data=' + JSON.stringify(item) |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
showGoods(goodsList,type){ |
|
|
showGoods(goodsList, type) { |
|
|
this.isShow=true |
|
|
this.isShow = true |
|
|
this.showType=type |
|
|
this.showType = type |
|
|
this.goods_list=goodsList |
|
|
this.goods_list = goodsList |
|
|
}, |
|
|
}, |
|
|
// 查看物流 |
|
|
// 查看物流 |
|
|
goLogistics(id){ |
|
|
goLogistics(id) { |
|
|
uni.navigateTo({ |
|
|
uni.navigateTo({ |
|
|
url:'../order/logisticsDetails?order_id='+id |
|
|
url: '../order/logisticsDetails?order_id=' + id |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
// 订单详情 |
|
|
// 订单详情 |
|
|
goDetails(item,id){ |
|
|
goDetails(item, id) { |
|
|
let index |
|
|
let index |
|
|
if(item.pay_status_code==0 && item.order_status_code==0){ |
|
|
if (item.pay_status_code == 0 && item.order_status_code == 0) { |
|
|
index=0 |
|
|
index = 0 |
|
|
}else if(item.order_status_code==2){ |
|
|
} else if (item.order_status_code == 2) { |
|
|
index=4 |
|
|
index = 4 |
|
|
}else if(item.pay_status_code==2 && item.shipping_status_code==0){ |
|
|
} else if (item.pay_status_code == 2 && item.shipping_status_code == 0) { |
|
|
index=1 |
|
|
index = 1 |
|
|
}else if(item.pay_status_code==2 && item.shipping_status_code==1 || item.shipping_status_code==4){ |
|
|
} else if (item.pay_status_code == 2 && item.shipping_status_code == 1 || item.shipping_status_code == 4) { |
|
|
index=2 |
|
|
index = 2 |
|
|
}else if(item.pay_status_code==2 && item.shipping_status_code==2){ |
|
|
} else if (item.pay_status_code == 2 && item.shipping_status_code == 2) { |
|
|
index=3 |
|
|
index = 3 |
|
|
}else if(item.order_status_code==4){ |
|
|
} else if (item.order_status_code == 4) { |
|
|
// 退货 |
|
|
// 退货 |
|
|
index=5 |
|
|
index = 5 |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
let url='../order/details?details_index='+index+'&id='+id |
|
|
let url = '../order/details?details_index=' + index + '&id=' + id |
|
|
if(index==5){ |
|
|
if (index == 5) { |
|
|
url='../order/refundDetails' |
|
|
url = '../order/refundDetails' |
|
|
} |
|
|
} |
|
|
uni.navigateTo({ |
|
|
uni.navigateTo({ |
|
|
url:url |
|
|
url: url |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
// 选择支付方式 |
|
|
// 选择支付方式 |
|
|
selectPay(index){ |
|
|
selectPay(index) { |
|
|
this.pay_index=index |
|
|
this.pay_index = index |
|
|
}, |
|
|
}, |
|
|
// 获取调用支付信息数据 |
|
|
// 获取调用支付信息数据 |
|
|
getPayDate(){ |
|
|
getPayDate() { |
|
|
if(this.pay_index ==0){ |
|
|
if (this.pay_index == 0) { |
|
|
let data={_action:'payorder',order_id:this.payQuery.order_id,order_type:'GOODSBUY',payment_method:'paypal'} |
|
|
let data = { |
|
|
defaultRequest2(data).then(res=>{ |
|
|
_action: 'payorder', |
|
|
console.info(res,'支付') |
|
|
order_id: this.payQuery.order_id, |
|
|
if(res.error == 0){ |
|
|
order_type: 'GOODSBUY', |
|
|
|
|
|
payment_method: 'paypal' |
|
|
|
|
|
} |
|
|
|
|
|
defaultRequest2(data).then(res => { |
|
|
|
|
|
console.info(res, '支付') |
|
|
|
|
|
if (res.error == 0) { |
|
|
let url = res.data.prepay_data.checkoutnow_url |
|
|
let url = res.data.prepay_data.checkoutnow_url |
|
|
console.log(url) |
|
|
console.log(url) |
|
|
// plus.runtime.openURL(res.data.prepay_data.checkoutnow_url) |
|
|
// plus.runtime.openURL(res.data.prepay_data.checkoutnow_url) |
|
|
uni.navigateTo({ |
|
|
uni.navigateTo({ |
|
|
url:'../order/paypalWebview?src='+url |
|
|
url: '../order/paypalWebview?src=' + url |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
}else{ |
|
|
} else if (this.pay_index == 1) { |
|
|
defaultRequest2(this.payQuery).then(res=>{ |
|
|
let data = { |
|
|
|
|
|
_action: 'payorder', |
|
|
|
|
|
order_id: this.payQuery.order_id, |
|
|
|
|
|
order_type: 'GOODSBUY', |
|
|
|
|
|
payment_method: 'oceanpay' |
|
|
|
|
|
} |
|
|
|
|
|
defaultRequest2(data).then(res => { |
|
|
|
|
|
console.info(res, '支付') |
|
|
|
|
|
if (res.error == 0) { |
|
|
|
|
|
let url = res.data.prepay_data.checkoutnow_url |
|
|
|
|
|
console.log(url) |
|
|
|
|
|
// plus.runtime.openURL(res.data.prepay_data.checkoutnow_url) |
|
|
|
|
|
uni.navigateTo({ |
|
|
|
|
|
url: '../order/paypalWebview?src=' + url |
|
|
|
|
|
}) |
|
|
|
|
|
} |
|
|
|
|
|
}) |
|
|
|
|
|
} else { |
|
|
|
|
|
defaultRequest2(this.payQuery).then(res => { |
|
|
console.info(res) |
|
|
console.info(res) |
|
|
if(res.error==0){ |
|
|
if (res.error == 0) { |
|
|
//订单对象,从服务器获取 |
|
|
//订单对象,从服务器获取 |
|
|
if(res.data.need_pay_amount==0) return |
|
|
if (res.data.need_pay_amount == 0) return |
|
|
uni.requestPayment({ |
|
|
uni.requestPayment({ |
|
|
provider: 'alipay', |
|
|
provider: 'alipay', |
|
|
orderInfo: res.data.prepay_data.order_info, //支付宝订单数据 |
|
|
orderInfo: res.data.prepay_data.order_info, //支付宝订单数据 |
|
|
success: function (res) { |
|
|
success: function(res) { |
|
|
console.log('success:' + JSON.stringify(res)); |
|
|
console.log('success:' + JSON.stringify(res)); |
|
|
this.isShow=false |
|
|
this.isShow = false |
|
|
uni.navigateTo({ |
|
|
uni.navigateTo({ |
|
|
url: '../order/paySuccess?order_id='+this.payQuery.order_id |
|
|
url: '../order/paySuccess?order_id=' + this.payQuery |
|
|
|
|
|
.order_id |
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|
fail: function (err) { |
|
|
fail: function(err) { |
|
|
console.log('fail:' + JSON.stringify(err)); |
|
|
console.log('fail:' + JSON.stringify(err)); |
|
|
uni.showToast({ |
|
|
uni.showToast({ |
|
|
title:'Payment failed', |
|
|
title: 'Payment failed', |
|
|
icon:'none' |
|
|
icon: 'none' |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
@ -650,57 +725,58 @@ |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
payNow(id,type){ |
|
|
payNow(id, type) { |
|
|
this.payQuery.order_id=id |
|
|
this.payQuery.order_id = id |
|
|
this.isShow=true |
|
|
this.isShow = true |
|
|
this.showType=type |
|
|
this.showType = type |
|
|
}, |
|
|
}, |
|
|
// 淡出提示 |
|
|
// 淡出提示 |
|
|
openTips(id,type){ |
|
|
openTips(id, type) { |
|
|
this.tipsType=type |
|
|
this.tipsType = type |
|
|
if(type==0){ |
|
|
if (type == 0) { |
|
|
this.tipsInfo='Are you sure you want to cancel this order? This order will be regarded as invalid after cancellation' |
|
|
this.tipsInfo = |
|
|
this.tipsBut='CancelOrder' |
|
|
'Are you sure you want to cancel this order? This order will be regarded as invalid after cancellation' |
|
|
this.cancelQuery._action='cancelorder' |
|
|
this.tipsBut = 'CancelOrder' |
|
|
}else if(type==1){ |
|
|
this.cancelQuery._action = 'cancelorder' |
|
|
this.tipsInfo='Are you sure you want to delete this order?' |
|
|
} else if (type == 1) { |
|
|
this.tipsBut='DeleteOrder' |
|
|
this.tipsInfo = 'Are you sure you want to delete this order?' |
|
|
this.cancelQuery._action='deleteorder' |
|
|
this.tipsBut = 'DeleteOrder' |
|
|
}else if(type==2){ |
|
|
this.cancelQuery._action = 'deleteorder' |
|
|
this.tipsInfo='Are you sure you have received the products?' |
|
|
} else if (type == 2) { |
|
|
this.tipsBut='Confirm' |
|
|
this.tipsInfo = 'Are you sure you have received the products?' |
|
|
this.cancelQuery._action='affirmorder' |
|
|
this.tipsBut = 'Confirm' |
|
|
} |
|
|
this.cancelQuery._action = 'affirmorder' |
|
|
this.cancelQuery.order_id=id |
|
|
} |
|
|
|
|
|
this.cancelQuery.order_id = id |
|
|
this.$refs.alertDialog.open() |
|
|
this.$refs.alertDialog.open() |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
// 提示框点击确操作 取消订单、删除订单 |
|
|
// 提示框点击确操作 取消订单、删除订单 |
|
|
dialogConfirm(){ |
|
|
dialogConfirm() { |
|
|
defaultRequest2(this.cancelQuery).then(res=>{ |
|
|
defaultRequest2(this.cancelQuery).then(res => { |
|
|
console.info(res) |
|
|
console.info(res) |
|
|
if(res.error==0){ |
|
|
if (res.error == 0) { |
|
|
this.getList() |
|
|
this.getList() |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
getList(){ |
|
|
getList() { |
|
|
defaultRequest2(this.query).then(res=>{ |
|
|
defaultRequest2(this.query).then(res => { |
|
|
console.info(res) |
|
|
console.info(res) |
|
|
if(res.error==0){ |
|
|
if (res.error == 0) { |
|
|
if(res.data) this.orderList=res.data |
|
|
if (res.data) this.orderList = res.data |
|
|
if(this.orderList.length==0){ |
|
|
if (this.orderList.length == 0) { |
|
|
this.isList=false |
|
|
this.isList = false |
|
|
}else{ |
|
|
} else { |
|
|
this.isList=true |
|
|
this.isList = true |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
scrollChange(index){ |
|
|
scrollChange(index) { |
|
|
// {_action:'getuserorders',page_index:1,page_size:10,payingstatus:'',status:'',shippingstatus:''} |
|
|
// {_action:'getuserorders',page_index:1,page_size:10,payingstatus:'',status:'',shippingstatus:''} |
|
|
this.scroll_active=index |
|
|
this.scroll_active = index |
|
|
// if(index==0){ |
|
|
// if(index==0){ |
|
|
// this.query.payingstatus='' |
|
|
// this.query.payingstatus='' |
|
|
// this.query.status='' |
|
|
// this.query.status='' |
|
|
@ -718,33 +794,36 @@ |
|
|
}, |
|
|
}, |
|
|
onLoad(e) { |
|
|
onLoad(e) { |
|
|
this.scrollChange(0) |
|
|
this.scrollChange(0) |
|
|
this.scroll_active=e.scroll_active |
|
|
this.scroll_active = e.scroll_active |
|
|
this.scrollChange(e.index) |
|
|
this.scrollChange(e.index) |
|
|
}, |
|
|
}, |
|
|
filters:{ |
|
|
filters: { |
|
|
goodsAttr(e){ |
|
|
goodsAttr(e) { |
|
|
return e.replace(/\s\n/g,';'); |
|
|
return e.replace(/\s\n/g, ';'); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
</script> |
|
|
</script> |
|
|
|
|
|
|
|
|
<style lang="scss" scoped> |
|
|
<style lang="scss" scoped> |
|
|
.body{ |
|
|
.body { |
|
|
padding-top: 100rpx; |
|
|
padding-top: 100rpx; |
|
|
} |
|
|
} |
|
|
.padding_left{ |
|
|
|
|
|
|
|
|
.padding_left { |
|
|
padding-left: 20rpx; |
|
|
padding-left: 20rpx; |
|
|
} |
|
|
} |
|
|
.order_nav{ |
|
|
|
|
|
padding:0 38.67rpx ; |
|
|
.order_nav { |
|
|
|
|
|
padding: 0 38.67rpx; |
|
|
border-bottom: 13.33rpx #F7F7F7 solid; |
|
|
border-bottom: 13.33rpx #F7F7F7 solid; |
|
|
position: fixed; |
|
|
position: fixed; |
|
|
width: 100%; |
|
|
width: 100%; |
|
|
box-sizing: border-box; |
|
|
box-sizing: border-box; |
|
|
z-index: 99; |
|
|
z-index: 99; |
|
|
background-color: white; |
|
|
background-color: white; |
|
|
.scroll-view_H{ |
|
|
|
|
|
|
|
|
.scroll-view_H { |
|
|
white-space: nowrap; |
|
|
white-space: nowrap; |
|
|
font-size: 28rpx; |
|
|
font-size: 28rpx; |
|
|
color: #666666; |
|
|
color: #666666; |
|
|
@ -755,15 +834,18 @@ |
|
|
height: 0; |
|
|
height: 0; |
|
|
background-color: transparent; |
|
|
background-color: transparent; |
|
|
} |
|
|
} |
|
|
view{ |
|
|
|
|
|
|
|
|
view { |
|
|
margin-left: 37.33rpx; |
|
|
margin-left: 37.33rpx; |
|
|
display: inline-block; |
|
|
display: inline-block; |
|
|
padding: 25.33rpx 0; |
|
|
padding: 25.33rpx 0; |
|
|
} |
|
|
} |
|
|
view:first-child{ |
|
|
|
|
|
|
|
|
view:first-child { |
|
|
margin-left: 0; |
|
|
margin-left: 0; |
|
|
} |
|
|
} |
|
|
.scroll_active{ |
|
|
|
|
|
|
|
|
.scroll_active { |
|
|
color: #000000; |
|
|
color: #000000; |
|
|
font-size: 28rpx; |
|
|
font-size: 28rpx; |
|
|
font-weight: bold; |
|
|
font-weight: bold; |
|
|
@ -771,10 +853,12 @@ |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
.order{ |
|
|
|
|
|
|
|
|
.order { |
|
|
border-bottom: 13.33rpx #F7F7F7 solid; |
|
|
border-bottom: 13.33rpx #F7F7F7 solid; |
|
|
padding-bottom: 26.67rpx; |
|
|
padding-bottom: 26.67rpx; |
|
|
.order_title{ |
|
|
|
|
|
|
|
|
.order_title { |
|
|
display: flex; |
|
|
display: flex; |
|
|
align-items: center; |
|
|
align-items: center; |
|
|
justify-content: space-between; |
|
|
justify-content: space-between; |
|
|
@ -785,24 +869,26 @@ |
|
|
padding-bottom: 20rpx; |
|
|
padding-bottom: 20rpx; |
|
|
border-bottom: 1px solid #F1F1F1; |
|
|
border-bottom: 1px solid #F1F1F1; |
|
|
|
|
|
|
|
|
.order_title_right{ |
|
|
.order_title_right { |
|
|
font-size: 22.67rpx; |
|
|
font-size: 22.67rpx; |
|
|
font-weight: bold; |
|
|
font-weight: bold; |
|
|
color: #666666; |
|
|
color: #666666; |
|
|
|
|
|
|
|
|
image{ |
|
|
image { |
|
|
width: 16rpx; |
|
|
width: 16rpx; |
|
|
height: 16rpx; |
|
|
height: 16rpx; |
|
|
margin-left: 14.67rpx; |
|
|
margin-left: 14.67rpx; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
.order_content{ |
|
|
|
|
|
|
|
|
.order_content { |
|
|
padding-left: 32rpx; |
|
|
padding-left: 32rpx; |
|
|
padding-right: 26.67rpx; |
|
|
padding-right: 26.67rpx; |
|
|
// background-color: #B22234; |
|
|
// background-color: #B22234; |
|
|
margin-top: -30rpx; |
|
|
margin-top: -30rpx; |
|
|
.good_info{ |
|
|
|
|
|
|
|
|
.good_info { |
|
|
padding-top: 60rpx; |
|
|
padding-top: 60rpx; |
|
|
display: flex; |
|
|
display: flex; |
|
|
align-items: center; |
|
|
align-items: center; |
|
|
@ -811,32 +897,36 @@ |
|
|
color: #666666; |
|
|
color: #666666; |
|
|
font-weight: bold; |
|
|
font-weight: bold; |
|
|
border-bottom: 1px solid #F1F1F1; |
|
|
border-bottom: 1px solid #F1F1F1; |
|
|
.good_info_left{ |
|
|
|
|
|
|
|
|
.good_info_left { |
|
|
display: flex; |
|
|
display: flex; |
|
|
align-items: center; |
|
|
align-items: center; |
|
|
|
|
|
|
|
|
.good_info_image{ |
|
|
.good_info_image { |
|
|
width: 133.33rpx; |
|
|
width: 133.33rpx; |
|
|
height: 133.33rpx; |
|
|
height: 133.33rpx; |
|
|
background-color: #999999; |
|
|
background-color: #999999; |
|
|
|
|
|
|
|
|
margin-right: 8rpx; |
|
|
margin-right: 8rpx; |
|
|
border-radius: 10rpx !important; |
|
|
border-radius: 10rpx !important; |
|
|
image{ |
|
|
|
|
|
|
|
|
image { |
|
|
width: 100%; |
|
|
width: 100%; |
|
|
height: 100%; |
|
|
height: 100%; |
|
|
border-radius: 10rpx; |
|
|
border-radius: 10rpx; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
.left_info{ |
|
|
|
|
|
|
|
|
.left_info { |
|
|
margin-left: 24rpx; |
|
|
margin-left: 24rpx; |
|
|
|
|
|
|
|
|
.info_name{ |
|
|
.info_name { |
|
|
font-size: 26.67rpx; |
|
|
font-size: 26.67rpx; |
|
|
font-weight: 400; |
|
|
font-weight: 400; |
|
|
width: 477.33rpx; |
|
|
width: 477.33rpx; |
|
|
} |
|
|
} |
|
|
.left_info_bottom{ |
|
|
|
|
|
|
|
|
.left_info_bottom { |
|
|
width: 533.33rpx !important; |
|
|
width: 533.33rpx !important; |
|
|
display: flex; |
|
|
display: flex; |
|
|
align-items: center; |
|
|
align-items: center; |
|
|
@ -845,12 +935,14 @@ |
|
|
color: #909090; |
|
|
color: #909090; |
|
|
width: 100%; |
|
|
width: 100%; |
|
|
margin-top: 24rpx; |
|
|
margin-top: 24rpx; |
|
|
.info_lable{ |
|
|
|
|
|
|
|
|
.info_lable { |
|
|
padding: 5.33rpx 20rpx; |
|
|
padding: 5.33rpx 20rpx; |
|
|
font-size: 22.67rpx; |
|
|
font-size: 22.67rpx; |
|
|
|
|
|
|
|
|
// border-radius: 33.33rpx; |
|
|
// border-radius: 33.33rpx; |
|
|
// border: 1px solid #D3D3D3; |
|
|
// border: 1px solid #D3D3D3; |
|
|
image{ |
|
|
image { |
|
|
width: 17.33rpx; |
|
|
width: 17.33rpx; |
|
|
height: 17.33rpx; |
|
|
height: 17.33rpx; |
|
|
margin-left: 14.67rpx; |
|
|
margin-left: 14.67rpx; |
|
|
@ -859,41 +951,47 @@ |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
.good_info_right{ |
|
|
|
|
|
|
|
|
.good_info_right { |
|
|
display: flex; |
|
|
display: flex; |
|
|
align-items: center; |
|
|
align-items: center; |
|
|
image{ |
|
|
|
|
|
|
|
|
image { |
|
|
width: 16rpx; |
|
|
width: 16rpx; |
|
|
height: 16rpx; |
|
|
height: 16rpx; |
|
|
margin-left: 20rpx; |
|
|
margin-left: 20rpx; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
.good_price{ |
|
|
|
|
|
|
|
|
.good_price { |
|
|
font-size: 28rpx; |
|
|
font-size: 28rpx; |
|
|
text-align: right; |
|
|
text-align: right; |
|
|
margin: 24rpx 0; |
|
|
margin: 24rpx 0; |
|
|
} |
|
|
} |
|
|
.good_points{ |
|
|
|
|
|
|
|
|
.good_points { |
|
|
display: flex; |
|
|
display: flex; |
|
|
align-items: center; |
|
|
align-items: center; |
|
|
justify-content: flex-end; |
|
|
justify-content: flex-end; |
|
|
font-size: 24rpx; |
|
|
font-size: 24rpx; |
|
|
color: #B22234; |
|
|
color: #B22234; |
|
|
|
|
|
|
|
|
image{ |
|
|
image { |
|
|
width: 29.33rpx; |
|
|
width: 29.33rpx; |
|
|
height: 29.33rpx; |
|
|
height: 29.33rpx; |
|
|
margin-right: 13.33rpx; |
|
|
margin-right: 13.33rpx; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
.order_button{ |
|
|
|
|
|
|
|
|
.order_button { |
|
|
margin-top: 33.33rpx; |
|
|
margin-top: 33.33rpx; |
|
|
display: flex; |
|
|
display: flex; |
|
|
justify-content: flex-end; |
|
|
justify-content: flex-end; |
|
|
|
|
|
|
|
|
background-color: #FFF; |
|
|
background-color: #FFF; |
|
|
button{ |
|
|
|
|
|
|
|
|
button { |
|
|
height: 57.33rpx; |
|
|
height: 57.33rpx; |
|
|
line-height: 57.33rpx; |
|
|
line-height: 57.33rpx; |
|
|
font-weight: bold; |
|
|
font-weight: bold; |
|
|
@ -902,14 +1000,18 @@ |
|
|
background-color: #fff; |
|
|
background-color: #fff; |
|
|
margin: 0; |
|
|
margin: 0; |
|
|
border-radius: 0rpx; |
|
|
border-radius: 0rpx; |
|
|
|
|
|
|
|
|
// border:green solid 4rpx; |
|
|
// border:green solid 4rpx; |
|
|
&:last-child{ |
|
|
&:last-child { |
|
|
margin-right: 0 !important; |
|
|
margin-right: 0 !important; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
button:after{ |
|
|
|
|
|
border:none;} |
|
|
button:after { |
|
|
.cancel{ |
|
|
border: none; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.cancel { |
|
|
color: #666666; |
|
|
color: #666666; |
|
|
border: black solid 1rpx; |
|
|
border: black solid 1rpx; |
|
|
// border: white !important; |
|
|
// border: white !important; |
|
|
@ -918,7 +1020,8 @@ |
|
|
background-color: #fff; |
|
|
background-color: #fff; |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
.pay{ |
|
|
|
|
|
|
|
|
.pay { |
|
|
color: white; |
|
|
color: white; |
|
|
border-radius: 0; |
|
|
border-radius: 0; |
|
|
background: black; |
|
|
background: black; |
|
|
@ -927,7 +1030,8 @@ |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
.order1{ |
|
|
|
|
|
|
|
|
.order1 { |
|
|
padding-top: 90.67rpx; |
|
|
padding-top: 90.67rpx; |
|
|
font-size: 24rpx; |
|
|
font-size: 24rpx; |
|
|
font-weight: 400; |
|
|
font-weight: 400; |
|
|
@ -935,12 +1039,14 @@ |
|
|
flex-direction: column; |
|
|
flex-direction: column; |
|
|
justify-content: center; |
|
|
justify-content: center; |
|
|
align-items: center; |
|
|
align-items: center; |
|
|
image{ |
|
|
|
|
|
|
|
|
image { |
|
|
width: 146.67rpx; |
|
|
width: 146.67rpx; |
|
|
height: 146.67rpx; |
|
|
height: 146.67rpx; |
|
|
margin-bottom: 36rpx; |
|
|
margin-bottom: 36rpx; |
|
|
} |
|
|
} |
|
|
button{ |
|
|
|
|
|
|
|
|
button { |
|
|
background-color: #000000; |
|
|
background-color: #000000; |
|
|
font-size: 24rpx; |
|
|
font-size: 24rpx; |
|
|
color: white; |
|
|
color: white; |
|
|
|