tearoom/page_moban/addsheshi.vue
2024-12-23 18:15:03 +08:00

350 lines
6.3 KiB
Vue

<template>
<view class="page">
<u-navbar title="设施信息" :border-bottom="false" :background="bgc" back-icon-color="#262B37" title-color='#262B37'
title-size='36' height='48' id="navbar">
</u-navbar>
<view class="box">
<view class="ulbox">
<view class="one">
设施名称
</view>
<view class="two">
一号桌 <image src="https://api.ccttiot.com/smartmeter/img/static/uS5JydUQDmvbMyg4nsdo" mode=""></image>
</view>
</view>
<view class="ulbox">
<view class="one">
设施类型
</view>
<view class="two">
茶室
</view>
</view>
<view class="ulbox">
<view class="one">
设施绑定
</view>
<view class="two">
22155221
</view>
</view>
<view class="ulbox" style="border-bottom: none;" @click="btnsf">
<view class="one">
收费方式
</view>
<view class="two">
套餐1
</view>
</view>
<view class="shichang" @click="btnsf">
<view class="stop">
<view class="">
套餐时长
</view>
<view class="">
套餐价格()
</view>
</view>
<view class="stop" v-for="(item,index) in 2" :key="index" style="background-color: #F9F9F9;">
<view class="">
3小时
</view>
<view class="">
99.9
</view>
</view>
</view>
<view class="wz">
注:订单提前结束剩余消费时长、金额不返还
</view>
<view class="anniu">
<view class="tougang" @click="btnshop">
确定
</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
bgc: {
backgroundColor: "#fff",
},
}
},
onLoad(option) {
},
methods: {
// 点击跳转到收费方式页
btnsf(){
uni.navigateTo({
url:'/page_moban/shoufei'
})
}
}
}
</script>
<style lang="scss">
/deep/ .u-iconfont,
/deep/ .u-title{
padding-bottom: 20rpx;
box-sizing: border-box;
}
.jieb{
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;
bottom: 0;
left: 0;
.bt{
width: 680rpx;
height: 104rpx;
background: #48893B;
margin: auto;
margin-top: 24rpx;
border-radius: 24rpx;
font-weight: 600;
font-size: 36rpx;
color: #FFFFFF;
text-align: center;
line-height: 104rpx;
}
}
.lianwang{
width: 680rpx;
height: 112rpx;
background: #FFFFFF;
display: flex;
align-items: center;
justify-content: space-between;
margin: auto;
margin-top: 22rpx;
border-radius: 24rpx;
padding: 36rpx 32rpx;
box-sizing: border-box;
.two{
font-size: 32rpx;
color: #7C7C7C;
}
.thr{
font-size: 32rpx;
color: #3D3D3D;
display: flex;
align-items: center;
image{
width: 12rpx;
height: 34rpx;
margin-left: 10rpx;
}
}
}
.jichuxx{
width: 680rpx;
max-height: 458rpx;
background: #FFFFFF;
box-sizing: border-box;
padding: 44rpx 34rpx;
box-sizing: border-box;
margin: auto;
margin-top: 22rpx;
border-radius: 20rpx;
.top{
border-left: 14rpx solid #48893B;
font-weight: 600;
font-size: 36rpx;
color: #3D3D3D;
padding-left: 24rpx;
box-sizing: border-box;
}
.one{
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 28rpx;
.two{
font-size: 32rpx;
color: #7C7C7C;
}
.thr{
font-size: 32rpx;
color: #3D3D3D;
}
}
}
.toufangbox{
width: 680rpx;
height: 284rpx;
background: #FFFFFF;
border-radius: 24rpx 24rpx 24rpx 24rpx;
margin: auto;
margin-top: 22rpx;
padding: 44rpx 34rpx;
box-sizing: border-box;
.shebeibj{
display: flex;
justify-content: space-between;
.lt{
.name{
font-weight: 600;
font-size: 40rpx;
color: #262B37;
}
.zt{
font-size: 28rpx;
color: #5B5B5B;
margin-top: 12rpx;
text{
color: #00BA88;
}
}
}
.rt{
image{
width: 196rpx;
height: 196rpx;
}
}
}
}
.xuanze{
width: 750rpx;
height: 494rpx;
background: #FFFFFF;
border-radius: 40rpx 40rpx 0 0;
position: fixed;
left: 0;
bottom: 0;
z-index: 1;
padding: 42rpx 62rpx;
box-sizing: border-box;
.changj{
display: flex;
justify-content: space-between;
flex-wrap: wrap;
.changj_item{
width: 302rpx;
height: 110rpx;
background: #F0F0F0;
border-radius: 6rpx 6rpx 6rpx 6rpx;
font-weight: 600;
text-align: center;
line-height: 110rpx;
font-size: 36rpx;
margin-top: 40rpx;
color: #3D3D3D;
}
}
.top{
display: flex;
justify-content: space-between;
view{
font-weight: 600;
font-size: 36rpx;
color: #3D3D3D;
image{
width: 50rpx;
height: 50rpx;
}
}
}
}
.mask{
width: 100%;
height: 100vh;
background-color: #000;
opacity: .3;
position: fixed;
top: 0;
left: 0;
}
.anniu{
width: 100%;
height: 152rpx;
background: #FFFFFF;
box-shadow: 0rpx 8rpx 20rpx 0rpx rgba(0,0,0,0.3);
border-radius: 0rpx 0rpx 0rpx 0rpx;
display: flex;
padding: 24rpx 36rpx;
box-sizing: border-box;
justify-content: space-between;
text-align: center;
position: fixed;
left: 0;
bottom: 0;
.tougang{
width: 680rpx;
height: 104rpx;
margin: auto;
background: #48893B;
font-size: 36rpx;
color: #FFFFFF;
line-height: 104rpx;
border-radius: 20rpx;
}
}
.box{
width: 680rpx;
max-height: 1708rpx;
background: #FFFFFF;
border-radius: 20rpx;
margin: auto;
margin-top: 28rpx;
padding: 0 30rpx;
box-sizing: border-box;
.wz{
height: 80rpx;
line-height: 80rpx;
}
.shichang{
.stop{
display: flex;
width: 618rpx;
height: 76rpx;
line-height: 76rpx;
background: #F0F0F0;
view{
width: 50%;
text-align: center;
font-size: 28rpx;
color: #3D3D3D;
}
}
}
.ulbox{
width: 100%;
height: 118rpx;
line-height: 118rpx;
display: flex;
justify-content: space-between;
border-bottom: 1px solid #D8D8D8;
.one{
font-size: 32rpx;
color: #3D3D3D;
}
.two{
font-size: 32rpx;
color: #7C7C7C;
display: flex;
align-items: center;
image{
width: 14rpx;
height: 42rpx;
margin-left: 20rpx;
}
}
}
}
page {
background: #F6F6F6;
}
</style>