7 changed files with 645 additions and 7 deletions
-
132src/components/order/integral/integral.vue
-
132src/components/order/membership/membership.vue
-
148src/components/order/reservation/reservation.vue
-
6src/pages.json
-
150src/pages/order_list/order_list.vue
-
82src/pages/order_search/order_search.vue
-
BINsrc/static/images/icon/no_order.png
@ -0,0 +1,132 @@ |
|||
<template> |
|||
<view class="integral-order"> |
|||
<view class="il-header"> |
|||
<view>欧轩智能羽毛球馆(永泰店)</view> |
|||
<text class="ih-active">待使用</text> |
|||
</view> |
|||
<view class="il-section"> |
|||
<view class="is-line"> |
|||
<view>订单编号:</view> |
|||
<view> |
|||
<view>20195175645666</view> |
|||
</view> |
|||
</view> |
|||
<view class="is-line"> |
|||
<view>用户昵称:</view> |
|||
<view> |
|||
<view>周大强</view> |
|||
</view> |
|||
</view> |
|||
<view class="is-line"> |
|||
<view>支付时间:</view> |
|||
<view> |
|||
<view>2019-05-17 11:12:50</view> |
|||
</view> |
|||
</view> |
|||
<view class="is-line"> |
|||
<view>规格:</view> |
|||
<view> |
|||
<view>1只装</view> |
|||
</view> |
|||
</view> |
|||
</view> |
|||
<view class="il-bot"> |
|||
<view>邮费:¥0.00</view> |
|||
<view>实付款: 2000积分</view> |
|||
</view> |
|||
<view class="il-btns"> |
|||
<view hover-class="hover-active">发货</view> |
|||
</view> |
|||
</view> |
|||
</template> |
|||
|
|||
<script> |
|||
export default { |
|||
|
|||
} |
|||
</script> |
|||
|
|||
<style lang="scss" scoped> |
|||
@import "../../../style/public.scss"; |
|||
.integral-order{ |
|||
padding-bottom: 10upx; |
|||
border-radius: 10upx; |
|||
background-color: #fff; |
|||
.il-header{ |
|||
margin-bottom: 18upx; |
|||
padding: 0 20upx; |
|||
height: 98upx; |
|||
line-height: 96upx; |
|||
border-bottom: 2upx solid #D8D8D8; |
|||
@include centerFlex(space-between); |
|||
>view{ |
|||
flex-grow: 1; |
|||
font-size: 28upx; |
|||
color: #1a1a1a; |
|||
@include textHide(1); |
|||
} |
|||
>text{ |
|||
margin-left: 20upx; |
|||
flex-shrink: 0; |
|||
font-size: 28upx; |
|||
color: #9C9C9F; |
|||
} |
|||
.ih-active{ |
|||
color: $themeColor; |
|||
} |
|||
} |
|||
.il-section{ |
|||
padding: 0 20upx 20upx; |
|||
.is-line{ |
|||
display: flex; |
|||
view{ |
|||
line-height: 40upx; |
|||
font-size: 24upx; |
|||
color: #9c9c9f; |
|||
} |
|||
>view{ |
|||
&:first-child{ |
|||
flex-shrink: 0; |
|||
} |
|||
&+view{ |
|||
flex-grow: 1; |
|||
>view{ |
|||
@include textHide(1); |
|||
} |
|||
} |
|||
} |
|||
} |
|||
|
|||
} |
|||
.il-bot{ |
|||
padding: 20upx; |
|||
border-top: 2upx solid #D8D8D8; |
|||
@include centerFlex(space-between); |
|||
>view{ |
|||
line-height: 40upx; |
|||
font-size: 24upx; |
|||
color: #9c9c9f; |
|||
min-width: 50%; |
|||
@include textHide(1); |
|||
&+view{ |
|||
text-align: right; |
|||
} |
|||
} |
|||
} |
|||
.il-btns{ |
|||
padding-bottom: 20upx; |
|||
padding-right: 36upx; |
|||
@include centerFlex(flex-end); |
|||
>view{ |
|||
width: 176upx; |
|||
height: 72upx; |
|||
line-height: 68upx; |
|||
text-align: center; |
|||
border-radius: 10upx; |
|||
border: 2upx solid $themeColor; |
|||
font-size: 28upx; |
|||
color: $themeColor; |
|||
} |
|||
} |
|||
} |
|||
</style> |
@ -0,0 +1,132 @@ |
|||
<template> |
|||
<view class="membership-order"> |
|||
<view class="mo-header"> |
|||
<view>欧轩智能羽毛球馆(永泰店)</view> |
|||
<text>使用中</text> |
|||
</view> |
|||
<view class="mo-section"> |
|||
<view class="ms-line"> |
|||
<view>订单编号:</view> |
|||
<view> |
|||
<view>20195175645666 </view> |
|||
</view> |
|||
</view> |
|||
<view class="ms-line"> |
|||
<view>用户昵称:</view> |
|||
<view> |
|||
<view>周大强 </view> |
|||
</view> |
|||
</view> |
|||
<view class="ms-line"> |
|||
<view>支付时间:</view> |
|||
<view> |
|||
<view>2019-05-17 11:12:50</view> |
|||
</view> |
|||
</view> |
|||
<view class="ms-line"> |
|||
<view>会员卡信息:</view> |
|||
<view> |
|||
<view>3000元会员卡</view> |
|||
</view> |
|||
</view> |
|||
<view class="ms-line"> |
|||
<view>会员卡余额:</view> |
|||
<view> |
|||
<view><text>¥2800</text></view> |
|||
</view> |
|||
</view> |
|||
<view class="ms-line"> |
|||
<view>场地折扣:</view> |
|||
<view> |
|||
<view>九折</view> |
|||
</view> |
|||
</view> |
|||
<view class="ms-line"> |
|||
<view>购买途径:</view> |
|||
<view> |
|||
<view>升级</view> |
|||
</view> |
|||
</view> |
|||
</view> |
|||
<view class="mo-bot"> |
|||
<view>支付方式:微信支付</view> |
|||
<view>实付款: ¥3000</view> |
|||
</view> |
|||
</view> |
|||
</template> |
|||
|
|||
<script> |
|||
export default { |
|||
|
|||
} |
|||
</script> |
|||
|
|||
<style lang="scss" scoped> |
|||
@import "../../../style/public.scss"; |
|||
.membership-order{ |
|||
padding: 0 20upx; |
|||
background-color: #fff; |
|||
border-radius: 10upx; |
|||
.mo-header{ |
|||
margin-bottom: 18upx; |
|||
height: 98upx; |
|||
line-height: 96upx; |
|||
border-bottom: 2upx solid #D8D8D8; |
|||
@include centerFlex(space-between); |
|||
>view{ |
|||
font-size: 28upx; |
|||
font-weight: 500; |
|||
color: #1a1a1a; |
|||
@include textHide(1); |
|||
} |
|||
>text{ |
|||
flex-shrink: 0; |
|||
font-size: 28upx; |
|||
color: $themeColor; |
|||
} |
|||
} |
|||
.mo-section{ |
|||
padding-bottom: 30upx; |
|||
.ms-line{ |
|||
display: flex; |
|||
view{ |
|||
line-height: 40upx; |
|||
font-size: 24upx; |
|||
color: #9c9c9f; |
|||
} |
|||
>view{ |
|||
&:first-child{ |
|||
flex-shrink: 0; |
|||
} |
|||
&+view{ |
|||
flex-grow: 1; |
|||
>view{ |
|||
>text{ |
|||
color: #1A1A1A; |
|||
} |
|||
@include textHide(1); |
|||
} |
|||
} |
|||
} |
|||
} |
|||
} |
|||
.mo-bot{ |
|||
height: 90upx; |
|||
border-top: 2upx solid #D8D8D8; |
|||
@include centerFlex(space-between); |
|||
>view{ |
|||
line-height: 40upx; |
|||
font-size: 24upx; |
|||
color: #9c9c9f; |
|||
&:first-child{ |
|||
flex-shrink: 0; |
|||
} |
|||
&:last-child{ |
|||
flex-grow: 1; |
|||
text-align: right; |
|||
@include textHide(1); |
|||
} |
|||
} |
|||
} |
|||
} |
|||
</style> |
@ -0,0 +1,148 @@ |
|||
<template> |
|||
<view class="reservation-order"> |
|||
<view class="ro-header"> |
|||
<view>欧轩智能羽毛球馆(永泰店)</view> |
|||
<text class="rh-active">待使用</text> |
|||
</view> |
|||
<view class="ro-section"> |
|||
<view class="rs-line"> |
|||
<view>订单编号:</view> |
|||
<view> |
|||
<view>20195175645666</view> |
|||
</view> |
|||
</view> |
|||
<view class="rs-line"> |
|||
<view>用户昵称:</view> |
|||
<view> |
|||
<view>周大强</view> |
|||
</view> |
|||
</view> |
|||
<view class="rs-line"> |
|||
<view>支付时间:</view> |
|||
<view> |
|||
<view>2019-05-17 11:12:50</view> |
|||
</view> |
|||
</view> |
|||
<view class="rs-line"> |
|||
<view>预定日期:</view> |
|||
<view> |
|||
<view>2019-05-18 周五</view> |
|||
</view> |
|||
</view> |
|||
<view class="rs-line"> |
|||
<view>预定场次:</view> |
|||
<view> |
|||
<view>1号馆 10:00-11:00;11:00-12:00</view> |
|||
<view>1号馆 10:00-11:00;11:00-12:00</view> |
|||
<view>1号馆 10:00-11:00;11:00-12:00</view> |
|||
<view>1号馆 10:00-11:00;11:00-12:00</view> |
|||
</view> |
|||
</view> |
|||
</view> |
|||
<view class="ro-bot"> |
|||
<view class="rb-line"> |
|||
<view>支付方式:微信支付</view> |
|||
<view>共5场次 合计:¥240</view> |
|||
</view> |
|||
<view class="rb-total">实付款<text>¥240</text>(折扣0)</view> |
|||
</view> |
|||
<view class="ro-bot-line">核销方式:商家扫码 2019-05-18 09:50:30</view> |
|||
<view class="ro-bot-line">退款时间:2019-05-18 09:50:30</view> |
|||
</view> |
|||
</template> |
|||
|
|||
<script> |
|||
export default { |
|||
|
|||
} |
|||
</script> |
|||
|
|||
<style lang="scss" scoped> |
|||
@import "../../../style/public.scss"; |
|||
.reservation-order{ |
|||
padding: 0 24upx; |
|||
border-radius: 10upx; |
|||
background-color: #fff; |
|||
.ro-header{ |
|||
margin-bottom: 18upx; |
|||
height: 98upx; |
|||
line-height: 96upx; |
|||
border-bottom: 2upx solid #D8D8D8; |
|||
@include centerFlex(space-between); |
|||
>view{ |
|||
font-size: 28upx; |
|||
color: #1a1a1a; |
|||
} |
|||
>text{ |
|||
flex-shrink: 0; |
|||
font-size: 28upx; |
|||
color: #9C9C9F; |
|||
} |
|||
.rh-active{ |
|||
color: $themeColor; |
|||
} |
|||
} |
|||
.ro-section{ |
|||
padding-bottom: 20upx; |
|||
.rs-line{ |
|||
display: flex; |
|||
view{ |
|||
line-height: 40upx; |
|||
font-size: 24upx; |
|||
color: #9c9c9f; |
|||
} |
|||
>view{ |
|||
&:first-child{ |
|||
flex-shrink: 0; |
|||
} |
|||
&+view{ |
|||
flex-grow: 1; |
|||
>view{ |
|||
@include textHide(1); |
|||
} |
|||
} |
|||
} |
|||
} |
|||
|
|||
} |
|||
.ro-bot{ |
|||
padding-top: 20upx; |
|||
padding-bottom: 30upx; |
|||
border-top: 2upx solid #D8D8D8; |
|||
.rb-line{ |
|||
@include centerFlex(space-between); |
|||
>view{ |
|||
line-height: 40upx; |
|||
font-size: 24upx; |
|||
color: #9c9c9f; |
|||
&:first-child{ |
|||
margin-right: 20upx; |
|||
flex-shrink: 0; |
|||
} |
|||
&+view{ |
|||
flex-grow: 1; |
|||
text-align: right; |
|||
@include textHide(1); |
|||
} |
|||
} |
|||
} |
|||
.rb-total{ |
|||
line-height: 40upx; |
|||
text-align: right; |
|||
font-size: 24upx; |
|||
color: #9c9c9f; |
|||
>text{ |
|||
color: #1A1A1A; |
|||
} |
|||
} |
|||
} |
|||
.ro-bot-line{ |
|||
height: 90upx; |
|||
line-height: 90upx; |
|||
border-top: 2upx solid #D8D8D8; |
|||
font-size: 24upx; |
|||
color: #9c9c9f; |
|||
@include textHide(1); |
|||
} |
|||
} |
|||
</style> |
@ -0,0 +1,82 @@ |
|||
<template> |
|||
<view class="order-search"> |
|||
<view class="os-bar"> |
|||
<view> |
|||
<image mode="aspectFit" src="/static/images/icon/search.png"></image> |
|||
<input placeholder="你输入订单号" /> |
|||
<image mode="aspectFit" src="/static/images/icon/round_close.png"></image> |
|||
</view> |
|||
</view> |
|||
<view class="os-none"> |
|||
<image mode="aspectFit" src="/static/images/icon/no_order.png"></image> |
|||
<view>没有该订单数据</view> |
|||
</view> |
|||
</view> |
|||
</template> |
|||
|
|||
<script> |
|||
export default { |
|||
|
|||
} |
|||
</script> |
|||
|
|||
<style lang="scss" scoped> |
|||
@import "../../style/public.scss"; |
|||
.order-search{ |
|||
.os-bar{ |
|||
margin-bottom: 24upx; |
|||
height: 144upx; |
|||
background-color: #fff; |
|||
@include centerFlex(center); |
|||
>view{ |
|||
padding: 0 20upx; |
|||
height: 92upx; |
|||
width: 702upx; |
|||
border-radius: 10upx; |
|||
background-color: #f2f2f7; |
|||
@include centerFlex(center); |
|||
>image{ |
|||
margin-right: 20upx; |
|||
flex-shrink: 0; |
|||
width: 40upx; |
|||
height: 40upx; |
|||
} |
|||
>input{ |
|||
flex-grow: 1; |
|||
font-size: 32upx; |
|||
line-height: 44upx; |
|||
color: #1A1A1A; |
|||
&+image{ |
|||
flex-shrink: 0; |
|||
margin-right: 0; |
|||
margin-left: 20upx; |
|||
width: 32upx; |
|||
height: 32upx; |
|||
} |
|||
} |
|||
} |
|||
} |
|||
.os-none{ |
|||
position: fixed; |
|||
left: 0; |
|||
bottom: 0; |
|||
right: 0; |
|||
top: 168upx; |
|||
top: calc(168upx + var(--window-top)); |
|||
padding-top: 164upx; |
|||
background-color: #fff; |
|||
>image{ |
|||
margin: 0 auto 12upx; |
|||
display: block; |
|||
width: 380upx; |
|||
height: 380upx; |
|||
} |
|||
>view{ |
|||
font-size: 28upx; |
|||
line-height: 40upx; |
|||
text-align: center; |
|||
color: #9c9c9f; |
|||
} |
|||
} |
|||
} |
|||
</style> |
After Width: 380 | Height: 380 | Size: 7.7 KiB |
Write
Preview
Loading…
Cancel
Save
Reference in new issue