mirror of
https://gitee.com/elegant_wings/dbd-meeting-wx-small.git
synced 2025-06-21 16:39:37 +08:00
描述:1
This commit is contained in:
parent
bdd7137011
commit
9c65e2f776
@ -196,13 +196,17 @@ Page({
|
|||||||
// 会议室列表数据
|
// 会议室列表数据
|
||||||
meetingRoomListRq(param).then(res => {
|
meetingRoomListRq(param).then(res => {
|
||||||
console.log('meetingRoomListRq', res);
|
console.log('meetingRoomListRq', res);
|
||||||
|
_this.setData({
|
||||||
|
roomDataList : res.rows
|
||||||
|
})
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
// 会议室
|
// 会议室
|
||||||
jumpMeetingRoom() {
|
jumpMeetingRoom(e) {
|
||||||
|
console.log('jumpMeetingRoom' , e);
|
||||||
wx.navigateTo({
|
wx.navigateTo({
|
||||||
url: "/pages/meeting/meetingRoom/meetingRoom",
|
url: "/pages/meeting/meetingRoom/meetingRoom?id=" + e.currentTarget.dataset.id,
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -23,21 +23,21 @@
|
|||||||
|
|
||||||
<!-- 会议室列表 -->
|
<!-- 会议室列表 -->
|
||||||
<view class="meetingRoomView">
|
<view class="meetingRoomView">
|
||||||
<view class="meetingRoomItem" bind:tap="jumpMeetingRoom" wx:for="{{6}}" wx:for-index="idx" wx:key="*this">
|
<view class="meetingRoomItem" bind:tap="jumpMeetingRoom" wx:for="{{roomDataList}}" wx:for-item="room" wx:key="*this" data-id="{{room.id}}">
|
||||||
<view class="content">
|
<view class="content">
|
||||||
<view class="title">10人间 | B2A | 12F</view>
|
<view class="title">{{room.capacityNum}}人间 | {{room.roomName}} | {{room.buildingName}}</view>
|
||||||
<view class="articleView">
|
<view class="articleView">
|
||||||
<view class="article" wx:for="{{3}}" wx:key="*this">#电视</view>
|
<view class="article" wx:for="{{room.roomItemList}}" wx:for-item="roomItem" wx:key="*this">#{{roomItem.name}}</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="propOpen"></view>
|
<view class="propOpen"></view>
|
||||||
<view class="priceView">
|
<view class="priceView">
|
||||||
<view class="price">¥ 200.00/</view>
|
<view class="price">¥ {{room.money}}/</view>
|
||||||
<view class="unit">半小时 起</view>
|
<view class="unit">小时 起</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="imgView">
|
<view class="imgView">
|
||||||
<view class="title">会议室</view>
|
<view class="title">{{room.typeName}}</view>
|
||||||
<image class="img" src="{{IMG_NAME + '/profile/static/index/banner/1.jpg'}}" mode="aspectFill" />
|
<image class="img" src="{{IMG_NAME + room.indoorPicUrl}}" mode="aspectFill" />
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -34,7 +34,7 @@ Page({
|
|||||||
* 生命周期函数--监听页面加载
|
* 生命周期函数--监听页面加载
|
||||||
*/
|
*/
|
||||||
onLoad(options) {
|
onLoad(options) {
|
||||||
|
console.log('onLoad' , options);
|
||||||
},
|
},
|
||||||
|
|
||||||
// 切换内容展示
|
// 切换内容展示
|
||||||
|
Loading…
x
Reference in New Issue
Block a user