oil-station/pos-uni/pagesHome/changeShifts/changeShifts.vue
2024-05-25 13:43:04 +08:00

170 lines
3.2 KiB
Vue

<template>
<view class="content">
<view class="container">
<headers :titles="titles"><u-icon name="arrow-left" color="#fff" size="22"></u-icon></headers>
<view class="lan-box">
<view class="">收银员:李莎</view>
<view class="b-ss">
<view class="">今日累计:400.00</view>
<view class="d-s">
<view class="">交班记录</view>
<u-icon name="arrow-right" color="#fff" size="18"></u-icon>
</view>
</view>
</view>
<view class="box_">
<view class="top-box">
员工交接单
</view>
<view class="h-box">门店:京博加油站璃月分站</view>
<view class="h-box">上班时间:2024-05-13 08:30</view>
<view class="h-box">下班时间:2024-05-13 17:30</view>
<view class="h-box">交班模式:门店统一交班</view>
<view class="h-box">订单金额:100.00</view>
<view class="h-box">优惠金额:0.00</view>
<view class="h-box">会员充值:300.00</view>
<view class="h-box">退款金额:0.00</view>
<view class="h-box">实收金额:400.00</view>
</view>
<view style="width: 100%; height: 78px; "></view>
<view class="bottom-d">
<view class="anniu">
交班
</view>
</view>
</view>
</view>
</template>
<script>
import headers from '../../components/header/headers.vue'
export default {
data() {
return {
titles: "交接班",
}
},
onShow() {
// this.actList = ["1", "1", "1", "1", "1", ]
// this.status = "nomore" 底部刷新结束
},
onPullDownRefresh() {
console.log("刷新");
uni.stopPullDownRefresh()
},
onReachBottom() {
// this.show = true
setTimeout(() => {
console.log("加载执行");
}, 2000)
},
components: {
headers
},
methods: {
goback() {
uni.navigateBack()
}
}
}
</script>
<style scoped lang="scss">
.content {
background: #fff;
// background: linear-gradient(180deg, #B2D2FC 0%, #B2D2FC 14%, rgba(255, 255, 255, 0.84) 24%, rgba(255, 255, 255, 0.84) 100%);
height: 100vh;
}
.container {
width: 100%;
background: #fff;
box-sizing: border-box;
padding-top: 88px;
}
.img-box {
image {
width: 100%;
height: 100%;
}
}
.lan-box {
width: 100%;
height: 100px;
background: #0864e9;
box-sizing: border-box;
padding: 15px;
color: #fff;
font-weight: bold;
}
.b-ss {
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
margin: 15px auto;
}
.d-s {
display: flex;
align-items: center;
}
.box_ {
width: 95%;
border-radius: 8px;
box-sizing: border-box;
padding: 15px;
border: 1px solid #0864e9;
margin: 15px auto;
}
.top-box {
width: 100%;
border-bottom: 1px solid #F0F0F0;
box-sizing: border-box;
padding-bottom: 15px;
font-weight: bold;
font-size: 16px;
color: #0864E9;
}
.h-box {
font-weight: 500;
font-size: 14px;
color: #333333;
margin: 15px auto;
}
.bottom-d {
width: 100%;
position: fixed;
bottom: 0px;
left: 0px;
height: 98px;
background: #FFFFFF;
box-shadow: 0px -1px 4px 0px rgba(67, 104, 212, 0.1);
}
.anniu {
width: 265px;
height: 48px;
background: #0864E9;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
border-radius: 50px;
margin: 10px auto;
}
</style>