<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> <image src="https://api.ccttiot.com/smartmeter/img/static/u3lZnmhqSqkMd7gHKtMD" mode="" class="imgbj"></image> <view class="fangjian"> <view class="bd"> <view class="lt"> <image src="https://api.ccttiot.com/smartmeter/img/static/uePQ1rxm83PfWEkRfESV" mode=""></image> </view> <view class="rt"> <view class="name"> 预定门店:【福鼎-西湖店】 </view> <view class="leixing"> 柜子位置:存杆柜-1号 </view> </view> </view> </view> <view class="zuyong"> <view class="top"> 租用方案 </view> <view class="taocn"> <view class="one"> <view class="name"> 小时租 </view> <view class="price"> ¥1 </view> </view> <view class="one"> <view class="name"> 日租 </view> <view class="price"> ¥20 </view> </view> <view class="one"> <view class="name"> 月租 </view> <view class="price"> ¥150 </view> </view> </view> <view class="shichang"> <view class="lt"> 租用时长 </view> <view class="rt"> 共一小时 <u-number-box style="margin-left: 10rpx;" v-model="value" @change="valChange"></u-number-box> </view> </view> </view> <view class="money"> <image src="https://api.ccttiot.com/smartmeter/img/static/uP8ymRHTDQ6YdwwnxQAb" mode="" class="moneyimg"> </image> <view class="moneytop"> <view class="zongjia"> <view class="">订单总价</view> <view class="pricered">¥125</view> </view> <view class="yuding"> <view class="">押金</view> <view class="">¥100</view> </view> <view class="yudingtime"> <view class="">时长</view> <view class="">¥1小时</view> </view> </view> <view class="moneybot"> <view class="xudan"> <view class="">时长单价</view> <view class="">¥1小时</view> </view> <view class="koukuan" > <view class="">扣款策略</view> <view class="">微信支付 <image src="https://api.ccttiot.com/smartmeter/img/static/uYHtrgPzlait1i05RQYy" mode=""></image> </view> </view> </view> </view> <view class="anniu"> <view class="lt"> 总计:<text>¥1</text> </view> <view class="rt"> 确定租用 </view> </view> </view> </template> <script> export default { data() { return { bgc: { backgroundColor: "", }, value: 0 } }, onLoad() { }, methods: { // 点击加减 valChange(e) { console.log('当前值为: ' + e.value) } } } </script> <style lang="scss"> /deep/ .uicon-nav-back, /deep/ .u-title{ padding-bottom: 20rpx; } .anniu{ width: 668rpx; height: 116rpx; background: #FFFFFF; box-shadow: 0rpx 8rpx 20rpx 0rpx rgba(0,0,0,0.3); border-radius: 83rpx 83rpx 83rpx 83rpx; display: flex; justify-content: space-between; align-items: center; padding: 0 32rpx; box-sizing: border-box; position: fixed; left: 50%; transform: translateX(-50%); bottom: 50rpx; .rt{ width: 258rpx; height: 76rpx; background: #48893B; border-radius: 49rpx 49rpx 49rpx 49rpx; font-weight: 600; font-size: 40rpx; color: #FFFFFF; text-align: center; line-height: 76rpx; } .lt{ font-weight: 600; font-size: 32rpx; color: #3D3D3D; text{ color: #FF1818; } } } .money { width: 710rpx; margin: auto; position: relative; .moneybot { padding: 30rpx 38rpx; box-sizing: border-box; .xudan { display: flex; justify-content: space-between; view { font-size: 28rpx; color: #3D3D3D; } } .yu_e { display: flex; justify-content: space-between; margin-top: 20rpx; view { font-size: 28rpx; color: #3D3D3D; display: flex; align-items: center; } .yu_eno { color: #FF1818; display: flex; align-items: center; image { width: 14rpx; height: 36rpx; display: flex; align-items: center; margin-left: 12rpx; } } } .koukuan { display: flex; justify-content: space-between; margin-top: 20rpx; view { font-size: 28rpx; color: #3D3D3D; display: flex; align-items: center; image { width: 14rpx; height: 36rpx; display: flex; align-items: center; margin-left: 12rpx; } } } } .moneytop { padding: 46rpx 38rpx; box-sizing: border-box; .yudingtime { font-size: 28rpx; color: #3D3D3D; display: flex; justify-content: space-between; margin-top: 20rpx; .time { color: #48893B; } } .yuding { margin-top: 34rpx; display: flex; justify-content: space-between; font-size: 28rpx; color: #3D3D3D; } .zongjia { display: flex; justify-content: space-between; border-bottom: 1px solid #D8D8D8; padding-bottom: 20rpx; box-sizing: border-box; view { font-weight: 600; font-size: 36rpx; color: #3D3D3D; } .pricered { font-size: 36rpx; color: #FF1818; font-weight: 600; } } } .moneyimg { width: 710rpx; height: 529rpx; position: absolute; top: 0; left: 0; z-index: -1; } } .zuyong{ width: 674rpx; height: 384rpx; background: #FFFFFF; box-shadow: 0rpx 2rpx 12rpx 0rpx rgba(0,0,0,0.15); border-radius: 18rpx 18rpx 18rpx 18rpx; margin: auto; margin-top: 24rpx; padding: 36rpx 30rpx; box-sizing: border-box; .shichang{ display: flex; justify-content: space-between; align-items: center; margin-top: 58rpx; .lt{ font-size: 28rpx; color: #3D3D3D; } .rt{ font-size: 28rpx; color: #3D3D3D; font-weight: 600; } } .top{ font-weight: 600; font-size: 32rpx; color: #48893B; } .taocn{ display: flex; justify-content: space-between; align-items: center; margin-top: 30rpx; .one{ width: 198rpx; height: 124rpx; background: #F0F0F0; border-radius: 8rpx 8rpx 8rpx 8rpx; text-align: center; .name{ font-size: 28rpx; color: #3D3D3D; margin-top: 16rpx; font-weight: 600; } .price{ font-weight: 600; font-size: 34rpx; color: #3D3D3D; margin-top: 10rpx; } } } } .imgbj { width: 750rpx; height: 328rpx; position: fixed; top: 0; left: 0; z-index: -1; border-radius: 0 0 30rpx 30rpx; } .fangjian { width: 674rpx; height: 228rpx; background: #FFFFFF; box-shadow: 0rpx 2rpx 12rpx 0rpx rgba(0, 0, 0, 0.15); border-radius: 18rpx 18rpx 18rpx 18rpx; margin: auto; margin-top: 38rpx; padding: 30rpx 32rpx; box-sizing: border-box; .bd { display: flex; .rt { .name { font-size: 32rpx; color: #3D3D3D; font-weight: 600; } .price { font-size: 32rpx; color: #7C7C7C; margin-top: 20rpx; } .leixing { margin-top: 24rpx; display: flex; text-align: center; view { margin-right: 14rpx; width: 94rpx; height: 46rpx; border-radius: 6rpx 6rpx 6rpx 6rpx; border: 1rpx solid #48893B; font-size: 26rpx; color: #48893B; line-height: 46rpx; } } } .lt { margin-right: 42rpx; image { width: 176rpx; height: 176rpx; border-radius: 10rpx; } } } } page { background: #F6F6F6; } </style>