Browse Source

add write off

organize
刘嘉炜 3 years ago
parent
commit
b03e919e1d
  1. 16
      src/pages/write_off/mall/list/list.vue
  2. 28
      src/pages/write_off/menu/menu.vue
  3. 58
      src/pages/write_off/number_of_people/number_of_people.vue
  4. BIN
      src/static/images/write_off/mall.png
  5. BIN
      src/static/images/write_off/order.png
  6. BIN
      src/static/images/write_off/people.png
  7. BIN
      src/static/images/write_off/site.png

16
src/pages/write_off/mall/list/list.vue

@ -6,7 +6,7 @@
<picker> <picker>
<view> <view>
<input :value="'2019-05-17'" /> <input :value="'2019-05-17'" />
<image></image>
<image mode="aspectFit" src="/static/images/icon/arrow_c33.png"></image>
</view> </view>
</picker> </picker>
</view> </view>
@ -15,7 +15,7 @@
<picker> <picker>
<view> <view>
<input :value="'2019-05-17'" /> <input :value="'2019-05-17'" />
<image></image>
<image mode="aspectFit" src="/static/images/icon/arrow_c33.png"></image>
</view> </view>
</picker> </picker>
</view> </view>
@ -37,14 +37,19 @@
</view> </view>
<view class="mol-fixed"> <view class="mol-fixed">
<view>核销订单</view>
<view @click="toOperate">核销订单</view>
</view> </view>
</view> </view>
</template> </template>
<script> <script>
import util from '../../../../utils/util';
export default { export default {
methods: {
toOperate(){
util.routeTo(`/pages/write_off/operate/operate`, 'nT');
},
}
} }
</script> </script>
@ -72,7 +77,7 @@ export default {
border-radius: 10upx; border-radius: 10upx;
overflow: hidden; overflow: hidden;
view{ view{
padding: 0 20upx;
padding: 0 10upx;
height: 88upx; height: 88upx;
background-color: #f2f2f7; background-color: #f2f2f7;
@include centerFlex(space-between); @include centerFlex(space-between);
@ -87,7 +92,6 @@ export default {
flex-shrink: 0; flex-shrink: 0;
width: 22upx; width: 22upx;
height: 22upx; height: 22upx;
background-color: skyblue;
} }
} }
} }

28
src/pages/write_off/menu/menu.vue

@ -3,12 +3,12 @@
<view class="wom-section"> <view class="wom-section">
<view class="ws-tit">场地订单核销</view> <view class="ws-tit">场地订单核销</view>
<view class="ws-ls"> <view class="ws-ls">
<view class="wl-item">
<image></image>
<view class="wl-item" @click="toOperate">
<image mode="aspectFit" src="/static/images/write_off/site.png"></image>
<view>场地订单核销</view> <view>场地订单核销</view>
</view> </view>
<view class="wl-item">
<image></image>
<view class="wl-item" @click="toSiteList">
<image mode="aspectFit" src="/static/images/write_off/order.png"></image>
<view>场地订单核销记录</view> <view>场地订单核销记录</view>
</view> </view>
</view> </view>
@ -16,12 +16,12 @@
<view class="wom-section"> <view class="wom-section">
<view class="ws-tit">商城订单核销</view> <view class="ws-tit">商城订单核销</view>
<view class="ws-ls"> <view class="ws-ls">
<view class="wl-item">
<image></image>
<view class="wl-item" @click="toOperate">
<image mode="aspectFit" src="/static/images/write_off/mall.png"></image>
<view>商城订单核销</view> <view>商城订单核销</view>
</view> </view>
<view class="wl-item">
<image></image>
<view class="wl-item" @click="toMallLs">
<image mode="aspectFit" src="/static/images/write_off/order.png"></image>
<view>商城订单核销记录</view> <view>商城订单核销记录</view>
</view> </view>
</view> </view>
@ -30,7 +30,7 @@
<view class="ws-tit">现场散客人数</view> <view class="ws-tit">现场散客人数</view>
<view class="ws-ls"> <view class="ws-ls">
<view class="wl-item" @click="toPeopleNum"> <view class="wl-item" @click="toPeopleNum">
<image></image>
<image mode="aspectFit" src="/static/images/write_off/people.png"></image>
<view>现场散客人数查询</view> <view>现场散客人数查询</view>
</view> </view>
</view> </view>
@ -44,6 +44,15 @@ export default {
methods: { methods: {
toPeopleNum(){ toPeopleNum(){
util.routeTo(`/pages/write_off/number_of_people/number_of_people`, 'nT'); util.routeTo(`/pages/write_off/number_of_people/number_of_people`, 'nT');
},
toOperate(){
util.routeTo(`/pages/write_off/operate/operate`, 'nT');
},
toSiteList(){
util.routeTo(`/pages/write_off/search_result/search_result`, 'nT');
},
toMallLs(){
util.routeTo(`/pages/write_off/mall/list/list`, 'nT');
} }
} }
} }
@ -77,7 +86,6 @@ export default {
display: block; display: block;
width: 60upx; width: 60upx;
height: 60upx; height: 60upx;
background-color: skyblue;
} }
>view{ >view{
text-align: center; text-align: center;

58
src/pages/write_off/number_of_people/number_of_people.vue

@ -3,8 +3,8 @@
<view class="nop-store-name"> <view class="nop-store-name">
<picker> <picker>
<view class="nsn-frame"> <view class="nsn-frame">
<input placeholder="" />
<image mode="aspectFit" src="/static/images/countdown_bg.png"></image>
<input placeholder="123" disabled />
<image mode="aspectFit" src="/static/images/icon/arrow_c33.png"></image>
</view> </view>
</picker> </picker>
</view> </view>
@ -13,25 +13,26 @@
<view class="nm-tit">现场散客人数</view> <view class="nm-tit">现场散客人数</view>
<view class="nm-num"> <view class="nm-num">
<image mode="aspectFit" src="/static/images/countdown_bg.png"></image> <image mode="aspectFit" src="/static/images/countdown_bg.png"></image>
<view class="nn-txt-num">69</view>
</view> </view>
<view class="nm-btn">修改人数</view>
<view class="nm-btn" @click="isChangeNum = true">修改人数</view>
<view class="nm-tip"> <view class="nm-tip">
<text>温馨提示\n\r修改现场人数可能会影响现场灯光开关请谨慎操作 如后台有开启散客开关灯功能的则散客人数达到阶梯最低X人时对应灯光会自动开灯;少于X人的已开启的灯会自动关闭</text>
<text>温馨提示\n\r修改现场人数可能会影 响现场灯光开关请谨慎操作 如后台有开启散客开关灯功能的则散客人数达到阶梯最低X人时对应灯光会自动开灯;少于X人的已开启的灯会自动关闭</text>
</view> </view>
</view> </view>
<view class="ox-dark-mask" v-if="false">
<view class="ox-dark-mask" v-if="isChangeNum">
<view class="nop-modifies-modal"> <view class="nop-modifies-modal">
<image class="nmm-close"></image>
<image class="nmm-close" @click="isChangeNum = false" src="/static/images/icon/x_close.png"></image>
<view class="nmm-tit">修改现场散客人数</view> <view class="nmm-tit">修改现场散客人数</view>
<view class="nmm-info"> <view class="nmm-info">
<view class="ni-num">当前现场散客人数为69</view> <view class="ni-num">当前现场散客人数为69</view>
<view class="ni-ipt"> <view class="ni-ipt">
<input placeholder="请输入散客人数" />
<input placeholder="请输入散客人数" type="number" />
</view> </view>
<view class="ni-tip">修改现场人数可能会影响现场灯光开关请谨慎操作</view> <view class="ni-tip">修改现场人数可能会影响现场灯光开关请谨慎操作</view>
</view> </view>
<view class="nmm-btns"> <view class="nmm-btns">
<view>取消</view>
<view @click="isChangeNum = false">取消</view>
<view>确认</view> <view>确认</view>
</view> </view>
</view> </view>
@ -41,7 +42,11 @@
<script> <script>
export default { export default {
data(){
return {
isChangeNum: false
}
}
} }
</script> </script>
@ -72,7 +77,6 @@ export default {
margin-left: 20upx; margin-left: 20upx;
width: 28upx; width: 28upx;
height: 28upx; height: 28upx;
background-color: skyblue;
} }
} }
} }
@ -91,15 +95,34 @@ export default {
font-weight: 500; font-weight: 500;
} }
.nm-num{ .nm-num{
margin: 0 auto 180upx;
position: relative;
margin: 0 auto 100upx;
display: block; display: block;
width: 368upx;
height: 368upx;
border-radius: 50%;
background-color: skyblue;
width: 400upx;
height: 400upx;
.nn-txt-num{
line-height: 400upx;
text-align: center;
font-size: 96upx;
font-weight: 500;
color: $themeColor;
}
>image { >image {
width: 100%;
height: 100%;
position: absolute;
left: 50%;
top: 50%;
z-index: -1;
margin-left: -250upx;
margin-top: -250upx;
display: block;
width: 500upx;
height: 500upx;
animation: Rotate 6s linear infinite
}
@keyframes Rotate{
0% {transform: rotate(360deg);}
50% {transform: rotate(180deg);}
100% {transform: rotate(0deg);}
} }
} }
.nm-btn{ .nm-btn{
@ -137,7 +160,6 @@ export default {
top: 30upx; top: 30upx;
width: 34upx; width: 34upx;
height: 34upx; height: 34upx;
background-color: skyblue;
} }
.nmm-tit{ .nmm-tit{
line-height: 44upx; line-height: 44upx;

BIN
src/static/images/write_off/mall.png

After

Width: 128  |  Height: 128  |  Size: 1.4 KiB

BIN
src/static/images/write_off/order.png

After

Width: 128  |  Height: 128  |  Size: 1.0 KiB

BIN
src/static/images/write_off/people.png

After

Width: 128  |  Height: 128  |  Size: 1.8 KiB

BIN
src/static/images/write_off/site.png

After

Width: 120  |  Height: 120  |  Size: 1.4 KiB

Loading…
Cancel
Save