mirror of
https://gitee.com/elegant_wings/dbd-meeting-wx-small.git
synced 2025-08-08 14:02:41 +08:00
描述:价格描述
This commit is contained in:
parent
052f305797
commit
79c0cd44a0
@ -31,9 +31,9 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="propOpen"></view>
|
<view class="propOpen"></view>
|
||||||
<view class="priceView">
|
<view class="priceView">
|
||||||
<view class="price">¥{{room.money}}/</view>
|
<view class="price">¥{{room.money}}/小时</view>
|
||||||
<text decode> </text>
|
<text decode> </text>
|
||||||
<view class="unit"> {{room.duration}}小时 起</view>
|
<view class="unit">({{room.duration}}小时起)</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="imgView">
|
<view class="imgView">
|
||||||
|
@ -41,6 +41,7 @@ Page({
|
|||||||
couponNotUseList: [],
|
couponNotUseList: [],
|
||||||
countAmount: '',
|
countAmount: '',
|
||||||
totalAmount: '',
|
totalAmount: '',
|
||||||
|
priceDialogShow: false,
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -125,7 +126,7 @@ Page({
|
|||||||
jumpMeetingCoupon() {
|
jumpMeetingCoupon() {
|
||||||
let _this = this;
|
let _this = this;
|
||||||
wx.navigateTo({
|
wx.navigateTo({
|
||||||
url : `/pages/meeting/meetingRoom/meetingCoupon/meetingCoupon?type=1&couponId=${_this.data.couponId}&meetingRoomId=${_this.data.meetingRoomId}`,
|
url: `/pages/meeting/meetingRoom/meetingCoupon/meetingCoupon?type=1&couponId=${_this.data.couponId}&meetingRoomId=${_this.data.meetingRoomId}`,
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -148,12 +149,9 @@ Page({
|
|||||||
// 价格明细
|
// 价格明细
|
||||||
priceDetail() {
|
priceDetail() {
|
||||||
let _this = this
|
let _this = this
|
||||||
Dialog.alert({
|
_this.setData({
|
||||||
title: '价格明细',
|
priceDialogShow: true
|
||||||
message: `¥${_this.data.room.money}/${_this.data.room.duration}小时 起`,
|
})
|
||||||
}).then(() => {
|
|
||||||
// on close
|
|
||||||
});
|
|
||||||
},
|
},
|
||||||
|
|
||||||
// 提交订单
|
// 提交订单
|
||||||
|
@ -44,7 +44,7 @@
|
|||||||
<view class="itemView">
|
<view class="itemView">
|
||||||
<view class="label">会议主题</view>
|
<view class="label">会议主题</view>
|
||||||
<view class="content">
|
<view class="content">
|
||||||
<van-field value="{{ title }}" placeholder="请输入会议主题" input-align="right" border="{{ false }}" bind:change="titleChange"/>
|
<van-field value="{{ title }}" placeholder="请输入会议主题" input-align="right" border="{{ false }}" bind:change="titleChange" />
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="itemView" bind:tap="jumpMeetingFacilities">
|
<view class="itemView" bind:tap="jumpMeetingFacilities">
|
||||||
@ -81,13 +81,22 @@
|
|||||||
<view class="title">合计:</view>
|
<view class="title">合计:</view>
|
||||||
<view class="price">¥{{totalAmount}}</view>
|
<view class="price">¥{{totalAmount}}</view>
|
||||||
<view class="describe">价格明细</view>
|
<view class="describe">价格明细</view>
|
||||||
<van-icon name="arrow-up" size="28rpx" color="red"/>
|
<van-icon name="arrow-up" size="28rpx" color="red" />
|
||||||
</view>
|
</view>
|
||||||
<view class="caseBtn" bind:tap="submitCase">提交订单</view>
|
<view class="caseBtn" bind:tap="submitCase">提交订单</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- 提示 -->
|
<!-- 提示 -->
|
||||||
<van-dialog id="van-dialog" />
|
<van-dialog id="van-dialog" />
|
||||||
|
<van-dialog use-slot title="价格明细" show="{{ priceDialogShow }}">
|
||||||
|
<view class="priceDialogView">
|
||||||
|
<view class="content">{{room.money}}/小时({{room.duration}}小时起)</view>
|
||||||
|
<view class="remark">
|
||||||
|
<van-icon name="info-o" size="28rpx" />
|
||||||
|
{{room.remake}}
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</van-dialog>
|
||||||
<!-- 提示 -->
|
<!-- 提示 -->
|
||||||
<van-notify id="van-notify" />
|
<van-notify id="van-notify" />
|
||||||
</view>
|
</view>
|
@ -220,4 +220,19 @@
|
|||||||
background: #4e96f8;
|
background: #4e96f8;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.priceDialogView {
|
||||||
|
padding: 60rpx 40rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.priceDialogView .content {
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 30rpx;
|
||||||
|
color: red;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.priceDialogView .remark {
|
||||||
|
margin-top: 20rpx;
|
||||||
|
font-size: 28rpx;
|
||||||
|
color: #616364;
|
||||||
|
}
|
@ -46,7 +46,11 @@
|
|||||||
<!-- 价格 -->
|
<!-- 价格 -->
|
||||||
<view class="priceView">
|
<view class="priceView">
|
||||||
<view class="leftLineTitle">价格</view>
|
<view class="leftLineTitle">价格</view>
|
||||||
<view class="content">¥{{detail.money}}/<text decode> </text>{{detail.duration}}小时 起</view>
|
<view class="content">¥{{detail.money}}/小时<text decode> </text>({{detail.duration}}小时起)</view>
|
||||||
|
<view class="remark" wx:if="{{detail.remake}}">
|
||||||
|
<van-icon name="info-o" size="28rpx" />
|
||||||
|
{{detail.remake}}
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- 地图 -->
|
<!-- 地图 -->
|
||||||
|
@ -130,6 +130,12 @@
|
|||||||
color: red;
|
color: red;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.priceView .remark {
|
||||||
|
margin: 30rpx 20rpx;
|
||||||
|
font-size: 28rpx;
|
||||||
|
color: #5e5e5e;
|
||||||
|
}
|
||||||
|
|
||||||
.mapView {
|
.mapView {
|
||||||
margin: 50rpx 20rpx;
|
margin: 50rpx 20rpx;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user