tearoom/page_moban/jichu.vue

246 lines
5.1 KiB
Vue
Raw Normal View History

2024-12-27 18:03:26 +08:00
<template>
<view class="page">
<u-navbar title="基础设置" :border-bottom="false" :background="bgc" back-icon-color="#262B37" title-color='#262B37'
title-size='36' height='50' id="navbar">
</u-navbar>
<view class="box">
<view class="orderqx">
<view class="top">
<view class="one">
订单取消设置
</view>
<view class="two">
编辑
</view>
</view>
<view class="toptab">
<view class="">取消时长</view>
<view class="">违约金</view>
</view>
<view class="bottab" v-for="(item,index) in 6" :key="index">
<view class="">开始前30分钟外</view>
<view class="">不收取</view>
</view>
<view class="addpz">
添加取消配置
</view>
</view>
<view class="orderqx">
<view class="top">
<view class="one">
保洁设置
</view>
</view>
<view class="tongzhi" @click="showone = true">
<view class="one">
保洁通知
</view>
<view class="two">
通知给商户 <u-icon name="arrow-right" color="#7C7C7C" size="28"></u-icon>
</view>
</view>
<view class="tongzhi" style="border: none;padding-bottom: 0;" @click="showtwo = true">
<view class="one">
保洁时长
</view>
<view class="two">
30分钟 <u-icon name="arrow-right" color="#7C7C7C" size="28"></u-icon>
</view>
</view>
</view>
<view class="orderqx">
<view class="top">
<view class="one">
订单设置
</view>
</view>
<view class="tongzhi" style="border: none;padding-bottom: 0;" @click="showthr = true">
<view class="one">
提前开始使用限制
</view>
<view class="two">
5分钟 <u-icon name="arrow-right" color="#7C7C7C" size="28"></u-icon>
</view>
</view>
</view>
</view>
<u-select v-model="showone" :list="listone"></u-select>
<u-select v-model="showtwo" :list="listtwo"></u-select>
<u-select v-model="showthr" :list="listthr"></u-select>
<view class="anniu">
<view class="">
保存
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
bgc: {
backgroundColor: "#fff",
},
showone: false,
listone: [
{
value: '1',
label: '通知给用户'
},
{
value: '2',
label: '不通知'
}
],
showtwo: false,
listtwo: [
{
value: '2',
label: '10分钟'
},
{
value: '1',
label: '30分钟'
},
{
value: '2',
label: '45分钟'
}
],
showthr: false,
listthr: [
{
value: '2',
label: '5分钟'
},
{
value: '1',
label: '10分钟'
},
{
value: '2',
label: '30分钟'
}
],
}
},
onLoad() {
},
methods: {
}
}
</script>
<style lang="scss">
/deep/ .u-iconfont,
/deep/ .u-title{
padding-bottom: 20rpx;
}
.box{
height: 80vh;
overflow: scroll;
padding-bottom: 200rpx;
box-sizing: border-box;
}
.anniu{
width: 750rpx;
height: 152rpx;
background: #FFFFFF;
box-shadow: 0rpx 8rpx 20rpx 0rpx rgba(0,0,0,0.3);
border-radius: 0rpx 0rpx 0rpx 0rpx;
position: fixed;
left: 0;
bottom: 0;
padding-top: 24rpx;
box-sizing: border-box;
view{
width: 680rpx;
height: 104rpx;
background: #48893B;
font-weight: 600;
font-size: 36rpx;
color: #FFFFFF;
margin: auto;
text-align: center;
line-height: 104rpx;
border-radius: 24rpx;
}
}
.addpz{
font-size: 28rpx;
color: #48893B;
text-align: center;
line-height: 66rpx;
width: 100%;
height: 66rpx;
border-radius: 6rpx 6rpx 6rpx 6rpx;
border: 1rpx dashed #48893B;
margin-top: 10rpx;
}
.orderqx{
width: 680rpx;
max-height: 49200rpx;
background: #FFFFFF;
margin: auto;
margin-top: 22rpx;
border-radius: 20rpx;
padding: 36rpx 34rpx;
padding-bottom: 28rpx;
box-sizing: border-box;
.tongzhi{
display: flex;
justify-content: space-between;
margin-top: 34rpx;
padding-bottom: 20rpx;
box-sizing: border-box;
border-bottom: 1px solid #D8D8D8;
}
.bottab{
width: 100%;
height: 76rpx;
line-height: 76rpx;
background: #fff;
border-radius: 6rpx 6rpx 6rpx 6rpx;
display: flex;
view{
width: 50%;
text-align: center;
}
}
.toptab{
margin-top: 24rpx;
width: 100%;
height: 76rpx;
line-height: 76rpx;
background: #F0F0F0;
border-radius: 6rpx 6rpx 6rpx 6rpx;
display: flex;
view{
width: 50%;
text-align: center;
}
}
.top{
display: flex;
justify-content: space-between;
.one{
font-weight: 600;
font-size: 36rpx;
color: #3D3D3D;
}
.two{
font-size: 28rpx;
color: #48893B;
}
}
}
page {
background: #F6F6F6;
}
</style>