Browse Source

add write off success

organize
刘嘉炜 3 years ago
parent
commit
507a333e51
  1. 2
      src/js/api.js
  2. 2
      src/pages/write_off/events_order/events_order.vue
  3. 85
      src/pages/write_off/success/success.vue

2
src/js/api.js

@ -110,7 +110,7 @@ API['writeOff'] = {
setStadiumPresentNumber: `${ORIGIN}/admin/stadium/setStadiumPresentNumber`, // 商家助手散客人数校正
// 20220222 新增赛事核销
matchOrderVerify: `${ORIGIN}/admin/assistant/matchOrder/verify`, // 赛事订单确认核销
// matchOrderVerify: `${ORIGIN}/admin/assistant/matchOrder/verify`, // 赛事订单确认核销 /用回之前的核销
}

2
src/pages/write_off/events_order/events_order.vue

@ -65,7 +65,7 @@ export default {
methods: {
confirmWriteOff: util.debounce(function(){
servers.post({
url: API.writeOff.matchOrderVerify,
url: API.writeOff.assistantVerify,
data: {},
isDefaultGet: false,
})

85
src/pages/write_off/success/success.vue

@ -1,7 +1,21 @@
<template>
<view class="write-off-success">
<view class="wos-stadium">
<view class="ws-name">欧轩智能羽毛球馆(永泰店)</view>
</view>
<view class="wos-main">
<image class="wm-icon" mode="aspectFit" src="/static/images/icon/success_tip.png"></image>
<view class="wm-txt">核销成功</view>
<view class="wm-btn" hover-class="hover-active">返回继续核销</view>
</view>
<view class="wos-gate-ls">
<view class="wgl-tit">如需开门请点击</view>
<view class="wgl-ls">
<view class="wl-item" v-for="i in 3" :key="i">
<view class="wi-name">欧轩门禁</view>
<view class="wi-btn" hover-class="hover-active">开门</view>
</view>
</view>
</view>
</view>
</template>
@ -19,7 +33,76 @@ export default {
}
.write-off-success{
.wos-stadium{
padding: 0 24upx;
.ws-name{
padding: 40upx 0 30upx;
font-size: 32upx;
font-weight: 500;
color: #1a1a1a;
border-bottom: 2upx solid #D8D8D8;
@include textHide(1);
}
}
.wos-main{
padding: 134upx 64upx 124upx;
.wm-icon{
display: block;
margin: 0 auto 46upx;
width: 100upx;
height: 100upx;
}
.wm-txt{
margin-bottom: 90upx;
text-align: center;
line-height: 66upx;
font-size: 48upx;
font-weight: 500;
color: #333;
}
.wm-btn{
line-height: 108upx;
height: 112upx;
text-align: center;
font-size: 32upx;
border-radius: 10upx;
border: 2upx solid $themeColor;
color: $themeColor;
}
}
.wos-gate-ls{
padding: 0 24upx;
border-top: 24upx solid #f2f1f6;
.wgl-tit{
padding: 30upx 0;
line-height: 40upx;
font-size: 28upx;
color: #9c9c9f;
border-bottom: 2upx solid #D8D8D8;
}
.wgl-ls{
.wl-item{
height: 126upx;
border-bottom: 2upx solid #D8D8D8;
@include centerFlex(space-between);
.wi-name{
flex-grow: 1;
font-size: 28upx;
color: #333;
@include textHide(1);
}
.wi-btn{
margin-left: 24upx;
line-height: 68upx;
text-align: center;
flex-shrink: 0;
width: 156upx;
color: #fff;
border-radius: 10upx;
background-color: $themeColor;
}
}
}
}
}
</style>
Loading…
Cancel
Save