23 changed files with 832 additions and 109 deletions
-
2src/App.vue
-
24src/pages.json
-
2src/pages/employee/authority_filter/authority_filter.vue
-
2src/pages/employee/authority_select/authority_select.vue
-
2src/pages/employee/change_admin/change_admin.vue
-
2src/pages/employee/invite_code/invite_code.vue
-
2src/pages/employee/manage/manage.vue
-
98src/pages/employee/perfect_info/perfect_info.vue
-
126src/pages/employee/review_list/review_list.vue
-
2src/pages/index/index.vue
-
2src/pages/merchant_info/merchant_info.vue
-
2src/pages/merchant_login/merchant_login.vue
-
138src/pages/order_list/order_list.vue
-
2src/pages/store_list/store_list.vue
-
199src/pages/write_off/confirm/confirm.vue
-
158src/pages/write_off/list/list.vue
-
BINsrc/static/images/icon/filter.png
-
BINsrc/static/images/icon/scan_code_btn.png
-
BINsrc/static/images/icon/search.png
-
BINsrc/static/images/icon/success_tip.png
-
BINsrc/static/images/icon/write_off_fail.png
-
0src/style/public.scss
@ -0,0 +1,126 @@ |
|||
<template> |
|||
<view class="review-list"> |
|||
<view class="rl-header"> |
|||
<view>审核 3 人</view> |
|||
<view> |
|||
<text>全选</text> |
|||
<image mode="aspectFit"></image> |
|||
</view> |
|||
</view> |
|||
<view class="rl-users"> |
|||
<view class="ru-item" v-for="e in 5" :key="e"> |
|||
<view> |
|||
<image class="ri-icon"></image> |
|||
<image class="ri-avatar"></image> |
|||
<view>胡雪儿</view> |
|||
</view> |
|||
<image mode="aspectFit" src="/static/images/icon/arrow_b2.png"></image> |
|||
</view> |
|||
</view> |
|||
<view class="rl-btn" hover-class="hover-active">审核通过</view> |
|||
<view class="rl-btn white" hover-class="hover-active">不通过</view> |
|||
</view> |
|||
</template> |
|||
|
|||
<script> |
|||
export default { |
|||
|
|||
} |
|||
</script> |
|||
|
|||
<style lang="scss"> |
|||
@import "../../../style/public.scss"; |
|||
page{ |
|||
background-color: #fff; |
|||
} |
|||
.review-list{ |
|||
.rl-header{ |
|||
padding-left: 26upx; |
|||
padding-right: 44upx; |
|||
height: 132upx; |
|||
border-bottom: 2upx solid #D8D8D8; |
|||
@include centerFlex(space-between); |
|||
>view{ |
|||
&:first-child{ |
|||
line-height: 44upx; |
|||
font-size: 32upx; |
|||
color: #1a1a1a; |
|||
} |
|||
&+view{ |
|||
line-height: 40upx; |
|||
>text{ |
|||
margin-right: 20upx; |
|||
font-size: 28upx; |
|||
color: #9c9c9f; |
|||
} |
|||
>image{ |
|||
vertical-align: middle; |
|||
width: 40upx; |
|||
height: 40upx; |
|||
border-radius: 50%; |
|||
border: 2upx solid #9c9c9f; |
|||
} |
|||
} |
|||
} |
|||
} |
|||
.rl-users{ |
|||
margin-bottom: 100upx; |
|||
padding: 0 24upx; |
|||
.ru-item{ |
|||
padding-right: 20upx; |
|||
height: 140upx; |
|||
border-bottom: 2upx solid #D8D8D8; |
|||
@include centerFlex(space-between); |
|||
>view{ |
|||
flex-grow: 1; |
|||
@include centerFlex(flex-start); |
|||
.ri-icon{ |
|||
flex-shrink: 0; |
|||
width: 40upx; |
|||
height: 40upx; |
|||
border-radius: 50%; |
|||
border: 2upx solid #D8D8D8; |
|||
} |
|||
.ri-avatar{ |
|||
flex-shrink: 0; |
|||
margin: 0 20upx; |
|||
width: 80upx; |
|||
height: 80upx; |
|||
border-radius: 10upx; |
|||
background-color: skyblue; |
|||
} |
|||
>view{ |
|||
flex-grow: 1; |
|||
line-height: 44upx; |
|||
font-size: 32upx; |
|||
color: #333; |
|||
@include textHide(1); |
|||
} |
|||
} |
|||
>image{ |
|||
flex-shrink: 0; |
|||
margin-left: 20upx; |
|||
height: 28upx; |
|||
width: 28upx; |
|||
} |
|||
|
|||
} |
|||
} |
|||
.rl-btn{ |
|||
margin: 0 auto 40upx; |
|||
width: 702upx; |
|||
height: 112upx; |
|||
line-height: 108upx; |
|||
text-align: center; |
|||
border-radius: 10upx; |
|||
border: 2upx solid $themeColor; |
|||
font-size: 32upx; |
|||
color: #fff; |
|||
background-color: $themeColor; |
|||
&.white{ |
|||
background-color: #fff; |
|||
color: $themeColor; |
|||
} |
|||
} |
|||
} |
|||
</style> |
@ -0,0 +1,138 @@ |
|||
<template> |
|||
<view class="order-list"> |
|||
<view class="ol-header"> |
|||
<view class="oh-cur-store"> |
|||
<text>当前门店</text> |
|||
<picker> |
|||
<view class="ocs-store"> |
|||
<view>全部</view> |
|||
<image mode="aspectFit" src="/static/images/icon/arrow_b2.png"></image> |
|||
</view> |
|||
</picker> |
|||
</view> |
|||
<view class="oh-ctrl"> |
|||
<picker> |
|||
<view class="oc-period"> |
|||
<text>2020.08.01-2020.08.27</text> |
|||
<view></view> |
|||
</view> |
|||
</picker> |
|||
<view class="oc-bot"> |
|||
<view>成功交易245笔,退款25笔</view> |
|||
<view class="ob-btns"> |
|||
<image mode="aspectFit" src="/static/images/icon/search.png"></image> |
|||
<image mode="aspectFit" src="/static/images/icon/filter.png"></image> |
|||
</view> |
|||
</view> |
|||
</view> |
|||
</view> |
|||
<view class="ox-dark-mask"> |
|||
<view class="ol-classify"></view> |
|||
</view> |
|||
|
|||
</view> |
|||
</template> |
|||
|
|||
<script> |
|||
export default { |
|||
|
|||
} |
|||
</script> |
|||
|
|||
<style lang="scss" scoped> |
|||
@import "../../style/public.scss"; |
|||
.order-list{ |
|||
|
|||
} |
|||
.ol-header{ |
|||
.oh-cur-store{ |
|||
padding: 0 24upx; |
|||
height: 144upx; |
|||
background-color: #fff; |
|||
@include centerFlex(space-between); |
|||
>text{ |
|||
margin-right: 20upx; |
|||
flex-shrink: 0; |
|||
line-height: 40upx; |
|||
font-size: 28upx; |
|||
color: #9c9c9f; |
|||
} |
|||
>picker{ |
|||
flex-grow: 1; |
|||
.ocs-store{ |
|||
padding: 0 20upx; |
|||
height: 92upx; |
|||
border-radius: 10upx; |
|||
background-color: #F2F2F7; |
|||
@include centerFlex(space-between); |
|||
>view{ |
|||
flex-grow: 1; |
|||
font-size: 28upx; |
|||
color: #1a1a1a; |
|||
@include textHide(1); |
|||
} |
|||
>image{ |
|||
margin-left: 10upx; |
|||
flex-shrink: 0; |
|||
width: 28upx; |
|||
height: 28upx; |
|||
transform: rotateZ(90deg); |
|||
} |
|||
} |
|||
} |
|||
} |
|||
.oh-ctrl{ |
|||
padding: 24upx 40upx 26upx 24upx; |
|||
picker{ |
|||
margin-bottom: 16upx; |
|||
} |
|||
.oc-period{ |
|||
@include centerFlex(flex-start); |
|||
text{ |
|||
line-height: 44upx; |
|||
font-size: 32upx; |
|||
font-weight: 500; |
|||
color: #1a1a1a; |
|||
} |
|||
view{ |
|||
margin-left: 14upx; |
|||
width: 0; |
|||
height: 0; |
|||
border-left: 10upx solid transparent; |
|||
border-right: 10upx solid transparent; |
|||
border-top: 10upx solid #1a1a1a; |
|||
} |
|||
} |
|||
.oc-bot{ |
|||
@include centerFlex(space-between); |
|||
>view:first-child{ |
|||
flex-grow: 1; |
|||
line-height: 34upx; |
|||
font-size: 24upx; |
|||
color: #9c9c9f; |
|||
@include textHide(1); |
|||
} |
|||
.ob-btns{ |
|||
flex-shrink: 0; |
|||
@include centerFlex(flex-end); |
|||
>image{ |
|||
flex-shrink: 0; |
|||
margin-left: 40upx; |
|||
width: 40upx; |
|||
height: 40upx; |
|||
} |
|||
} |
|||
} |
|||
} |
|||
} |
|||
.ol-classify{ |
|||
position: absolute; |
|||
right: 0; |
|||
top: 0; |
|||
bottom: 0; |
|||
width: 500upx; |
|||
padding-left: 42upx; |
|||
background-color: #fff; |
|||
|
|||
} |
|||
</style> |
@ -0,0 +1,199 @@ |
|||
<template> |
|||
<view class="write-off-confirm"> |
|||
<view class="woc-content"> |
|||
<view class="wc-info"> |
|||
<view class="wi-title">欧轩智能羽毛球馆(永泰店)</view> |
|||
<view class="wi-detail"> |
|||
<view class="wd-line"> |
|||
<view>订单编号:</view> |
|||
<view> |
|||
<view>20195175645666</view> |
|||
</view> |
|||
</view> |
|||
<view class="wd-line"> |
|||
<view>用户昵称:</view> |
|||
<view> |
|||
<view>周大强</view> |
|||
</view> |
|||
</view> |
|||
<view class="wd-line"> |
|||
<view>支付时间:</view> |
|||
<view> |
|||
<view>2019-05-17 11:12:50</view> |
|||
</view> |
|||
</view> |
|||
<view class="wd-line"> |
|||
<view>预定日期:</view> |
|||
<view> |
|||
<view>2019-05-18 周五</view> |
|||
</view> |
|||
</view> |
|||
<view class="wd-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>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> |
|||
<view class="wi-split-line"></view> |
|||
<view class="wi-btns"> |
|||
<view hover-class="hover-active">确认核销</view> |
|||
<view class="white" hover-class="hover-active">不核销</view> |
|||
</view> |
|||
</view> |
|||
<view class="woc-fail-modal" v-if="false"> |
|||
<image mode="aspectFit" src="/static/images/icon/write_off_fail.png"></image> |
|||
<view>很抱歉!获取不到二维码订单信息</view> |
|||
<view hover-class="hover-active">返回</view> |
|||
</view> |
|||
</view> |
|||
</template> |
|||
|
|||
<script> |
|||
export default { |
|||
|
|||
} |
|||
</script> |
|||
|
|||
<style lang="scss"> |
|||
@import "../../../style/public.scss"; |
|||
page{ |
|||
background-color: $themeColor; |
|||
} |
|||
.write-off-confirm{ |
|||
padding-top: 46upx; |
|||
} |
|||
.woc-content{ |
|||
width: 702upx; |
|||
margin: 0 auto 46upx; |
|||
border-radius: 10upx; |
|||
background-color: #fff; |
|||
.wc-info{ |
|||
padding: 20upx 40upx 66upx; |
|||
.wi-title{ |
|||
height: 128upx; |
|||
line-height: 126upx; |
|||
text-align: center; |
|||
font-size: 32upx; |
|||
font-weight: 500; |
|||
color: #1a1a1a; |
|||
border-bottom: 2upx solid #D8D8D8; |
|||
} |
|||
.wi-detail{ |
|||
padding-top: 34upx; |
|||
.wd-line{ |
|||
display: flex; |
|||
view{ |
|||
font-size: 28upx; |
|||
line-height: 60upx; |
|||
} |
|||
>view{ |
|||
&:first-child{ |
|||
flex-shrink: 0; |
|||
color: #9C9C9F; |
|||
} |
|||
&+view{ |
|||
flex-grow: 1; |
|||
>view{ |
|||
width: 100%; |
|||
color: #1A1A1A; |
|||
@include textHide(1); |
|||
} |
|||
} |
|||
} |
|||
} |
|||
} |
|||
|
|||
} |
|||
.wi-split-line{ |
|||
position: relative; |
|||
border-top: 2upx dashed #D8D8D8; |
|||
&::before{ |
|||
content: ''; |
|||
display: block; |
|||
position: absolute; |
|||
left: -10upx; |
|||
top: -11upx; |
|||
width: 20upx; |
|||
height: 20upx; |
|||
border-radius: 50%; |
|||
background-color: $themeColor; |
|||
} |
|||
&::after{ |
|||
content: ''; |
|||
display: block; |
|||
position: absolute; |
|||
right: -10upx; |
|||
top: -11upx; |
|||
width: 20upx; |
|||
height: 20upx; |
|||
border-radius: 50%; |
|||
background-color: $themeColor; |
|||
} |
|||
} |
|||
.wi-btns{ |
|||
height: 450upx; |
|||
display: flex; |
|||
flex-direction: column; |
|||
justify-content: center; |
|||
align-items: center; |
|||
>view{ |
|||
height: 112upx; |
|||
width: 622upx; |
|||
line-height: 108upx; |
|||
text-align: center; |
|||
border-radius: 10upx; |
|||
border: 2upx solid $themeColor; |
|||
font-size: 32upx; |
|||
color: #fff; |
|||
background-color: $themeColor; |
|||
&:first-child{ |
|||
margin-bottom: 24upx; |
|||
} |
|||
} |
|||
.white{ |
|||
background-color: #fff; |
|||
color: $themeColor; |
|||
} |
|||
} |
|||
} |
|||
.woc-fail-modal{ |
|||
position: fixed; |
|||
left: 0; |
|||
top: var(--window-top); |
|||
right: 0; |
|||
bottom: 0; |
|||
background-color: #fff; |
|||
padding-top: 90upx; |
|||
>image{ |
|||
display: block; |
|||
margin: 0 auto 86upx; |
|||
width: 420upx; |
|||
height: 420upx; |
|||
&+view{ |
|||
margin-bottom: 260upx; |
|||
text-align: center; |
|||
line-height: 40upx; |
|||
font-size: 28upx; |
|||
color: #9c9c9f; |
|||
} |
|||
} |
|||
view+view{ |
|||
margin: 0 auto; |
|||
width: 280upx; |
|||
height: 92upx; |
|||
line-height: 88upx; |
|||
text-align: center; |
|||
border-radius: 46upx; |
|||
border: 2upx solid $themeColor; |
|||
font-size: 32upx; |
|||
color: $themeColor; |
|||
} |
|||
} |
|||
</style> |
@ -0,0 +1,158 @@ |
|||
<template> |
|||
<view class="write-off-list"> |
|||
<view class="wol-btn" hover-class="hover-active"> |
|||
<image mode="aspectFit" src="/static/images/icon/scan_code_btn.png"></image> |
|||
</view> |
|||
<view class="wol-bar">今日核销订单(2)</view> |
|||
<view class="wol-list"> |
|||
<view class="wl-item" v-for="e in 9" :key="e"> |
|||
<view class="wi-header"> |
|||
<view>欧轩智能羽毛球馆(永泰店)</view> |
|||
<view>已使用</view> |
|||
</view> |
|||
<view class="wi-info"> |
|||
<view class="wi-line"> |
|||
<view>订单编号:</view> |
|||
<view> |
|||
<view>20195175645666 </view> |
|||
</view> |
|||
</view> |
|||
<view class="wi-line"> |
|||
<view>用户昵称:</view> |
|||
<view> |
|||
<view>周大强 </view> |
|||
</view> |
|||
</view> |
|||
<view class="wi-line"> |
|||
<view>支付时间:</view> |
|||
<view> |
|||
<view>2019-05-17 11:12:50 </view> |
|||
</view> |
|||
</view> |
|||
<view class="wi-line"> |
|||
<view> 预定日期:</view> |
|||
<view> |
|||
<view>2019-05-18 周五 </view> |
|||
</view> |
|||
</view> |
|||
<view class="wi-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>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="wi-total"> |
|||
<view>核销时间:2019-05-17 11:12:58</view> |
|||
<view>共5场次</view> |
|||
</view> |
|||
</view> |
|||
</view> |
|||
</view> |
|||
</template> |
|||
|
|||
<script> |
|||
export default { |
|||
|
|||
} |
|||
</script> |
|||
|
|||
<style lang="scss" scoped> |
|||
@import "../../../style/public.scss"; |
|||
.write-off-list{ |
|||
padding-top: 24upx; |
|||
.wol-btn{ |
|||
margin: 0 auto 24upx; |
|||
height: 360upx; |
|||
width: 702upx; |
|||
border-radius: 10upx; |
|||
background-color: #fff; |
|||
@include centerFlex(center); |
|||
>image{ |
|||
width: 172upx; |
|||
height: 172upx; |
|||
} |
|||
} |
|||
.wol-bar{ |
|||
margin: 0 auto 24upx; |
|||
height: 112upx; |
|||
width: 702upx; |
|||
border-radius: 10upx; |
|||
line-height: 112upx; |
|||
text-align: center; |
|||
font-size: 32upx; |
|||
font-weight: 500; |
|||
color: #1a1a1a; |
|||
background-color: #fff; |
|||
} |
|||
.wol-list{ |
|||
padding: 0 24upx; |
|||
.wl-item{ |
|||
margin-bottom: 24upx; |
|||
>view{ |
|||
padding: 0 20upx; |
|||
background-color: #fff; |
|||
} |
|||
.wi-header{ |
|||
height: 96upx; |
|||
border-bottom: 2upx solid #D8D8D8; |
|||
border-radius: 10upx 10upx 0 0; |
|||
@include centerFlex(space-between); |
|||
>view{ |
|||
&:first-child{ |
|||
flex-grow: 1; |
|||
line-height: 40upx; |
|||
font-size: 28upx; |
|||
color: #1a1a1a; |
|||
@include textHide(1); |
|||
} |
|||
&+view{ |
|||
flex-shrink: 0; |
|||
margin-left: 20upx; |
|||
line-height: 40upx; |
|||
font-size: 28upx; |
|||
color: #9c9c9f; |
|||
} |
|||
} |
|||
} |
|||
.wi-info{ |
|||
padding: 20upx; |
|||
border-bottom: 2upx solid #D8D8D8; |
|||
.wi-line{ |
|||
display: flex; |
|||
view{ |
|||
line-height: 34upx; |
|||
font-size: 24upx; |
|||
color: #9c9c9f; |
|||
&:first-child{ |
|||
flex-shrink: 0; |
|||
} |
|||
&+view{ |
|||
flex-grow: 1; |
|||
>view{ |
|||
@include textHide(1); |
|||
} |
|||
} |
|||
} |
|||
|
|||
} |
|||
} |
|||
.wi-total{ |
|||
height: 90upx; |
|||
border-radius: 0 0 10upx 10upx; |
|||
@include centerFlex(space-between); |
|||
>view{ |
|||
font-size: 24upx; |
|||
color: #1a1a1a; |
|||
} |
|||
|
|||
} |
|||
} |
|||
} |
|||
} |
|||
</style> |
After Width: 40 | Height: 40 | Size: 127 B |
After Width: 172 | Height: 172 | Size: 932 B |
After Width: 40 | Height: 40 | Size: 386 B |
After Width: 100 | Height: 102 | Size: 1005 B |
After Width: 420 | Height: 420 | Size: 9.6 KiB |
Write
Preview
Loading…
Cancel
Save
Reference in new issue