29 changed files with 883 additions and 226 deletions
@ -0,0 +1,16 @@ |
|||
{ // launch.json 配置了启动调试时相关设置,configurations下节点名称可为 app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/ |
|||
// launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数 |
|||
"version": "0.0", |
|||
"configurations": [{ |
|||
"app-plus" : |
|||
{ |
|||
"launchtype" : "local" |
|||
}, |
|||
"default" : |
|||
{ |
|||
"launchtype" : "local" |
|||
}, |
|||
"type" : "uniCloud" |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,73 @@ |
|||
.order_popup_commodity{ |
|||
padding:0 26rpx; |
|||
|
|||
.good_info{ |
|||
padding: 40rpx 0; |
|||
font-size: 22.67rpx; |
|||
color: #666666; |
|||
font-weight: bold; |
|||
border-bottom: 2.67rpx solid #F1F1F1; |
|||
&:last-child{ |
|||
border-bottom: none; |
|||
} |
|||
.good_info_left{ |
|||
display: flex; |
|||
align-items: center; |
|||
width: 100%; |
|||
.good_info_image{ |
|||
width: 200rpx ; |
|||
height: 200rpx; |
|||
background-color: #999999; |
|||
margin-right: 32.67rpx; |
|||
} |
|||
.left_info{ |
|||
|
|||
.info_name{ |
|||
font-size: 26.67rpx; |
|||
font-weight: 400; |
|||
width: 461.33rpx; |
|||
} |
|||
.left_info_bottom{ |
|||
display: flex; |
|||
align-items: center; |
|||
justify-content: space-between; |
|||
font-size: 32rpx; |
|||
color: #909090; |
|||
margin-top: 24rpx; |
|||
.info_lable{ |
|||
padding: 5.33rpx 20rpx; |
|||
font-size: 22.67rpx; |
|||
border-radius: 33.33rpx; |
|||
border: 1px solid #D3D3D3; |
|||
image{ |
|||
width: 17.33rpx; |
|||
height: 17.33rpx; |
|||
margin-left: 14.67rpx; |
|||
} |
|||
} |
|||
} |
|||
.info_price{ |
|||
font-size: 28rpx; |
|||
color: black; |
|||
font-weight: bold; |
|||
margin-top: 43.33rpx; |
|||
display: flex; |
|||
align-items: center; |
|||
justify-content: space-between; |
|||
|
|||
button{ |
|||
margin: 0; |
|||
height: 45.33rpx; |
|||
line-height: 45.33rpx; |
|||
border: #999999 solid 1px; |
|||
font-size: 17.33rpx; |
|||
color: #999999; |
|||
&::after{ |
|||
content: none; |
|||
} |
|||
} |
|||
} |
|||
} |
|||
} |
|||
} |
|||
} |
|||
@ -0,0 +1,369 @@ |
|||
<template> |
|||
<view class="body"> |
|||
<view class="details_title"> |
|||
<view class="shipped" v-if="details_index==0"> |
|||
<view class="shipped_left"> |
|||
<image src="../../static/img/order_shipped.png" mode=""></image> |
|||
</view> |
|||
<view> |
|||
<text class="shipped_right_text">Ready for shipment</text> |
|||
<view>The buyer has paid,Waiting for the merchant to deliver</view> |
|||
</view> |
|||
</view> |
|||
|
|||
<view class="cancelled" v-if="details_index==1"> |
|||
<view class="cancelled_left"> |
|||
<image src="../../static/img/close2.png" mode=""></image> |
|||
<view class="cancelled_left_info"> |
|||
<text class="shipped_right_text">Deal’s off</text> |
|||
<view>The transaction has been closed, looking forward to your re-selection</view> |
|||
</view> |
|||
</view> |
|||
|
|||
</view> |
|||
|
|||
<view class="cancelled completed" v-if="details_index==2"> |
|||
<view class="cancelled_left"> |
|||
<image src="../../static/img/completed.png" mode=""></image> |
|||
<view class="cancelled_left_info"> |
|||
<text class="shipped_right_text">Signed for</text> |
|||
<view>2022-04-27 21:15:55</view> |
|||
</view> |
|||
</view> |
|||
<view class="cancelled_right"> |
|||
<image src="../../static/img/right2.png" mode=""></image> |
|||
</view> |
|||
</view> |
|||
|
|||
<view class="cancelled toPaid" v-if="details_index==3"> |
|||
<view class="cancelled_left"> |
|||
<view > |
|||
<text class="shipped_right_text">Waiting for payment</text> |
|||
<view>The timeout order will be closed automatically</view> |
|||
</view> |
|||
</view> |
|||
<view class="cancelled_right"> |
|||
<text class="shipped_right_text">23:59:58</text> |
|||
<view>T-minus payment</view> |
|||
</view> |
|||
</view> |
|||
<navigator url="/pages/order/logisticsDetails" class="cancelled transit" v-if="details_index==4"> |
|||
<view class="cancelled_left"> |
|||
<image src="../../static/img/transit.png" mode=""></image> |
|||
<view class="cancelled_left_info"> |
|||
<view class="shipped_right_text">【New York】Has arrived statesHas arrived states</view> |
|||
<view>2022-04-27 21:15:55</view> |
|||
</view> |
|||
</view> |
|||
<view class="cancelled_right"> |
|||
<image src="../../static/img/right2.png" mode=""></image> |
|||
</view> |
|||
</navigator> |
|||
|
|||
</view> |
|||
<view class="address"> |
|||
<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> |
|||
<view class="address_content"> |
|||
<text>B Oakdale Mall</text> |
|||
<view >Johnson City NEW YORKUnitedStates13790-1294</view> |
|||
</view> |
|||
</view> |
|||
<image src="../../static/img/right.png" class="address_more"></image> |
|||
<image src="../../static/img/address_xian.png" class="address_xian" mode=""></image> |
|||
</view> |
|||
|
|||
<view class="order_popup_commodity"> |
|||
<view class="good_info" v-for="(item,index) in 3 " :key="index"> |
|||
<view class="good_info_left "> |
|||
<view class="good_info_image" v-for="(item,index) in 1" :key="index"></view> |
|||
<view class="left_info"> |
|||
<view class="info_name">Adidas Yeezy Boost 350 V2 DazzlingBlue Black GY7164 Men's</view> |
|||
<view class="left_info_bottom"> |
|||
<view class="info_lable"> |
|||
<text>Multicolor;41</text> |
|||
<image src="/static/img/bottom.png" mode=""></image> |
|||
</view> |
|||
<text>x1</text> |
|||
</view> |
|||
<view class="info_price"> |
|||
<text>US$314.00</text> |
|||
<button>Rrefund</button> |
|||
</view> |
|||
</view> |
|||
</view> |
|||
</view> |
|||
|
|||
</view> |
|||
|
|||
<view class="summary"> |
|||
<view class="summary_title">Order summary</view> |
|||
<view class="summary_item"> |
|||
<view> |
|||
Subtotal |
|||
<text class="summary_item_text">(Tax included)</text> |
|||
</view> |
|||
<view class="summary_item_right">US$12.5</view> |
|||
</view> |
|||
<view class="summary_item"> |
|||
<view>Shipping</view> |
|||
<view class="summary_item_right">US$12.5</view> |
|||
</view> |
|||
<view class="summary_item"> |
|||
<view>Coupon</view> |
|||
<view class="summary_item_right1">-US$12.5</view> |
|||
</view> |
|||
<view class="summary_item"> |
|||
<view>Order total</view> |
|||
<view>US$12.5</view> |
|||
</view> |
|||
<view class="summary_tips"> |
|||
<image src="../../static/img/gantan1.png" mode=""></image> |
|||
<text>Reward 10 points</text> |
|||
</view> |
|||
</view> |
|||
|
|||
<view class="summary"> |
|||
<view class="summary_title">Order information</view> |
|||
<view class="summary_item"> |
|||
<view>Order id</view> |
|||
<view class="summary_item_right"> |
|||
<text>2013461121212</text> |
|||
<button>copy</button> |
|||
</view> |
|||
</view> |
|||
<view class="summary_item"> |
|||
<view>Shipping</view> |
|||
<view class="summary_item_right">standard shipping</view> |
|||
</view> |
|||
<view class="summary_item"> |
|||
<view>Coupon</view> |
|||
<view class="summary_item_right">21/04/2022 15:42:31</view> |
|||
</view> |
|||
<view class="summary_item"> |
|||
<view>Payment time</view> |
|||
<view class="summary_item_right">21/04/2022 15:42:31</view> |
|||
</view> |
|||
</view> |
|||
|
|||
<view class="details_footer" v-if="details_index!=0"> |
|||
<button class="white" v-if="details_index==2 || details_index==4">LOGISTICS</button> |
|||
<button class="white" v-if="details_index==1 || details_index==2">DELETE ORDER</button> |
|||
<button class="black" v-if="details_index==2">COMMENT</button> |
|||
|
|||
<button class="white" v-if="details_index==3 ">CANCEL ORDER</button> |
|||
<button class="black" v-if="details_index==3">PAY NOW</button> |
|||
|
|||
<button class="black" v-if="details_index==4">CONFIRM RECEIPT</button> |
|||
</view> |
|||
</view> |
|||
</template> |
|||
|
|||
<script> |
|||
export default { |
|||
data() { |
|||
return { |
|||
details_index:4 |
|||
} |
|||
}, |
|||
methods:{ |
|||
|
|||
} |
|||
} |
|||
</script> |
|||
|
|||
<style lang="scss" scoped> |
|||
@import "@/common/scss/order.scss"; |
|||
page{ |
|||
|
|||
} |
|||
.body{ |
|||
padding-bottom: 80rpx; |
|||
} |
|||
.details_title{ |
|||
height: 176.67rpx; |
|||
background-color: #2C2C38; |
|||
width: 100%; |
|||
color: white; |
|||
font-size: 18.67rpx; |
|||
font-weight: bold; |
|||
border-top: 14.67rpx #F6F5FA solid; |
|||
|
|||
.shipped_right_text{ |
|||
width: 497.33rpx; |
|||
font-size: 33.33rpx; |
|||
overflow: hidden; |
|||
text-overflow: ellipsis; |
|||
white-space: nowrap; |
|||
} |
|||
|
|||
.cancelled{ |
|||
padding-left: 55.33rpx; |
|||
display: flex; |
|||
align-items: center; |
|||
height: 100%; |
|||
justify-content: space-between; |
|||
|
|||
.cancelled_left{ |
|||
display: flex; |
|||
align-items: center; |
|||
|
|||
image{ |
|||
width: 61.33rpx; |
|||
height: 61.33rpx; |
|||
} |
|||
.cancelled_left_info{ |
|||
margin-left: 52.67rpx; |
|||
} |
|||
} |
|||
.cancelled_right{ |
|||
image{ |
|||
width: 34.67rpx; |
|||
height: 34.67rpx; |
|||
} |
|||
} |
|||
|
|||
} |
|||
.transit{ |
|||
padding-left: 74.67rpx; |
|||
padding-right: 16rpx; |
|||
|
|||
.cancelled_left{ |
|||
|
|||
image{ |
|||
width: 58.67rpx; |
|||
height: 58.67rpx; |
|||
} |
|||
.cancelled_left_info{ |
|||
margin-left: 49.33rpx; |
|||
} |
|||
} |
|||
} |
|||
.completed{ |
|||
padding-right: 20rpx; |
|||
|
|||
} |
|||
.toPaid{ |
|||
padding:0 31.33rpx; |
|||
} |
|||
.shipped{ |
|||
padding-left: 47.33rpx; |
|||
display: flex; |
|||
align-items: center; |
|||
height: 100%; |
|||
|
|||
.shipped_left{ |
|||
background-image: url("@/static/img/order_bg.png"); |
|||
background-size: 100% 100%; |
|||
width: 114rpx; |
|||
height: 158.67rpx; |
|||
display: flex; |
|||
align-items: center; |
|||
justify-content: center; |
|||
margin-right: 30rpx; |
|||
image{ |
|||
width: 62.67rpx; |
|||
height: 62.67rpx; |
|||
} |
|||
} |
|||
|
|||
} |
|||
} |
|||
.order_popup_commodity{ |
|||
border-bottom: 14.67rpx solid #F6F5FA; |
|||
} |
|||
.summary{ |
|||
border-bottom: 14.67rpx solid #F6F5FA; |
|||
padding:0 26rpx; |
|||
padding-top: 44rpx; |
|||
padding-bottom: 47.33rpx; |
|||
font-size: 28rpx; |
|||
&:last-child{ |
|||
border-bottom: none; |
|||
} |
|||
.summary_title{ |
|||
font-weight: bold; |
|||
margin-bottom: 35.33rpx; |
|||
} |
|||
.summary_item{ |
|||
display: flex; |
|||
align-items: center; |
|||
margin-bottom: 41.33rpx; |
|||
justify-content: space-between; |
|||
width: 100%; |
|||
.summary_item_text{ |
|||
color: #777777; |
|||
} |
|||
.summary_item_right{ |
|||
color: #3C3B6E; |
|||
display: flex; |
|||
align-items: center; |
|||
|
|||
button{ |
|||
font-size: 20rpx; |
|||
color: black; |
|||
height: 28.67rpx; |
|||
border-radius: 0; |
|||
padding:0 15rpx; |
|||
line-height: 28.67rpx; |
|||
background:none; |
|||
margin-left: 15.33rpx; |
|||
} |
|||
} |
|||
.summary_item_right1{ |
|||
color: #B22234; |
|||
} |
|||
} |
|||
.summary_tips{ |
|||
display: flex; |
|||
align-items: center; |
|||
justify-content: flex-end; |
|||
color: #B22234; |
|||
font-size: 24rpx; |
|||
font-weight: 400; |
|||
image{ |
|||
width: 28rpx; |
|||
height: 28rpx; |
|||
margin-right: 13.33rpx; |
|||
} |
|||
} |
|||
} |
|||
|
|||
.details_footer{ |
|||
padding: 34rpx 26rpx; |
|||
background-color: white; |
|||
display: flex; |
|||
align-items: center; |
|||
justify-content: flex-end; |
|||
position: fixed; |
|||
bottom: 0; |
|||
width: 100%; |
|||
box-sizing: border-box; |
|||
button{ |
|||
height: 62.67rpx; |
|||
line-height:62.67rpx; |
|||
border-radius: 0; |
|||
margin: 0; |
|||
margin-left: 18rpx; |
|||
background-color: white; |
|||
border: none; |
|||
font-size: 22.67rpx; |
|||
&::after{ |
|||
content: none; |
|||
} |
|||
} |
|||
.black{ |
|||
color: white; |
|||
background-color: black; |
|||
} |
|||
.white{ |
|||
border: 1px solid #666666; |
|||
color: #666666; |
|||
|
|||
} |
|||
} |
|||
</style> |
|||
@ -0,0 +1,173 @@ |
|||
<template> |
|||
<view> |
|||
<view class="logistics_info"> |
|||
<view class="logistics_info_image"></view> |
|||
<view class="logistics_info_right"> |
|||
<view class="info_right_title">Signed for</view> |
|||
<text>FedEx Express</text> |
|||
<view class="info_right_num"> |
|||
<text>Order number : 5859595940</text> |
|||
<view class="copy">Copy</view> |
|||
</view> |
|||
</view> |
|||
</view> |
|||
<view class="logistics_details"> |
|||
<view class="logistics_step step_active"> |
|||
<text> |
|||
Your express delivery has been signed, the signer is |
|||
your little rabbit, Zhang has unusual problems or need |
|||
to complain please call if there is unusual, problems or |
|||
need to complain please call abnormal problems or |
|||
need to complain |
|||
</text> |
|||
<view class="logistics_step_time">2020.12.13 23:54:12</view> |
|||
</view> |
|||
<view class="logistics_step"> |
|||
<text> |
|||
【cotton town, Shantou】your bunny, Xiao Zhang,has |
|||
been picked up. If you have any unusual problems |
|||
or need to complain, please call 12563555 |
|||
</text> |
|||
<view class="logistics_step_time">2020.12.13 23:54:12</view> |
|||
</view> |
|||
<view class="logistics_step"> |
|||
<text> |
|||
The order is confirmed, the merchant has been order |
|||
informed of the distribution |
|||
</text> |
|||
<view class="logistics_step_time">2020.12.13 23:54:12</view> |
|||
</view> |
|||
<view class="logistics_step"> |
|||
<text> |
|||
You have submitted your order, please wait for |
|||
system confirmation |
|||
</text> |
|||
<view class="logistics_step_time">2020.12.13 23:54:12</view> |
|||
</view> |
|||
</view> |
|||
</view> |
|||
</template> |
|||
|
|||
<script> |
|||
export default { |
|||
data() { |
|||
return { |
|||
active: 0, |
|||
|
|||
|
|||
} |
|||
}, |
|||
methods:{ |
|||
|
|||
} |
|||
} |
|||
</script> |
|||
|
|||
<style lang="scss" scoped> |
|||
.logistics_info{ |
|||
border-top: 14.67rpx #F6F5FA solid; |
|||
padding: 32rpx 0; |
|||
padding-left: 29.33rpx; |
|||
display: flex; |
|||
align-items: center; |
|||
|
|||
.logistics_info_image{ |
|||
width: 133.33rpx; |
|||
height: 133.33rpx; |
|||
background-color: #999999; |
|||
|
|||
} |
|||
.logistics_info_right{ |
|||
margin-left: 33.33rpx; |
|||
font-size: 28rpx; |
|||
font-weight: 400; |
|||
color: #333333; |
|||
|
|||
.info_right_title{ |
|||
color: #DE3139; |
|||
font-size: 29.33rpx; |
|||
font-weight: bold; |
|||
margin-bottom: 10.33rpx; |
|||
} |
|||
.info_right_num{ |
|||
display: flex; |
|||
align-items: center; |
|||
margin-top: 9.67rpx; |
|||
.copy{ |
|||
height: 41.33rpx; |
|||
line-height: 41.33rpx; |
|||
text-align: center; |
|||
background-color: #F6F5FA; |
|||
font-size: 24rpx; |
|||
border-radius: 20.67rpx; |
|||
margin-left: 26.67rpx; |
|||
padding: 0 18.67rpx ; |
|||
} |
|||
} |
|||
} |
|||
} |
|||
|
|||
.logistics_details{ |
|||
border-top: 14.67rpx #F6F5FA solid; |
|||
padding-left: 28rpx; |
|||
padding-right: 24rpx; |
|||
padding-top: 64rpx; |
|||
|
|||
.logistics_step{ |
|||
color: #999999; |
|||
font-size: 26.67rpx; |
|||
font-weight: 400; |
|||
padding-bottom: 74rpx; |
|||
padding-left: 33.33rpx; |
|||
position: relative; |
|||
&:before{ |
|||
content: ""; |
|||
width: 17.33rpx; |
|||
height: 17.33rpx; |
|||
background-color: #EDEDED; |
|||
position: absolute; |
|||
left: 0; |
|||
top: 0; |
|||
border-radius: 50%; |
|||
z-index: 99; |
|||
} |
|||
&::after{ |
|||
content: ""; |
|||
width: 1px; |
|||
height: 95%; |
|||
background-color: #EDEDED; |
|||
position: absolute; |
|||
left: 9.5rpx; |
|||
bottom: 0; |
|||
border-radius: 50%; |
|||
|
|||
} |
|||
&:last-child{ |
|||
|
|||
&::after{ |
|||
content: none; |
|||
} |
|||
} |
|||
|
|||
.logistics_step_time{ |
|||
|
|||
font-size: 22rpx; |
|||
margin-top: 13.33rpx; |
|||
} |
|||
} |
|||
} |
|||
.step_active{ |
|||
color: #333333 !important; |
|||
|
|||
&:before{ |
|||
background-color:#333333 !important; |
|||
} |
|||
|
|||
} |
|||
.step_active1{ |
|||
&::after{ |
|||
background-color: #333333 !important; |
|||
|
|||
} |
|||
} |
|||
</style> |
|||
|
After Width: | Height: | Size: 4.6 KiB |
|
After Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 931 B |
|
After Width: | Height: | Size: 2.9 KiB |
Loading…
Reference in new issue