mirror of
https://gitee.com/elegant_wings/dbd-meeting-wx-small.git
synced 2025-06-21 13:09:38 +08:00
描述:会议详细信息
This commit is contained in:
parent
dafe81fac3
commit
22eaae784e
@ -19,3 +19,11 @@ export function meetingRoomListRq(data) {
|
||||
data
|
||||
});
|
||||
}
|
||||
|
||||
// 会议室详情信息
|
||||
export function meetingRoomDetailRq(id) {
|
||||
return request({
|
||||
url: '/api/roomContent/info/' + id,
|
||||
method: "get",
|
||||
});
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
const app = getApp()
|
||||
|
||||
import {meetingRoomDetailRq} from "../../../api/meeting/meetingRoom.js"
|
||||
Page({
|
||||
|
||||
/**
|
||||
@ -9,16 +9,7 @@ Page({
|
||||
IMG_NAME: app.IMG_NAME,
|
||||
contentSwichFLag: true,
|
||||
detail : {},
|
||||
bannerList: [{
|
||||
bg: '/profile/static/index/banner/1.jpg',
|
||||
url: ''
|
||||
}, {
|
||||
bg: '/profile/static/index/banner/2.jpg',
|
||||
url: ''
|
||||
}, {
|
||||
bg: '/profile/static/index/banner/3.jpg',
|
||||
url: ''
|
||||
}],
|
||||
bannerList: [],
|
||||
mapData: {
|
||||
latitude: 33.601291,
|
||||
longitude: 119.031829,
|
||||
@ -35,7 +26,15 @@ Page({
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad(options) {
|
||||
let _this = this;
|
||||
console.log('onLoad' , options);
|
||||
meetingRoomDetailRq(options.id).then(res=>{
|
||||
console.log('meetingRoomDetailRq' , res);
|
||||
_this.setData({
|
||||
detail : res.roomContent,
|
||||
bannerList : [res.roomContent.indoorPicUrl]
|
||||
})
|
||||
})
|
||||
},
|
||||
|
||||
// 切换内容展示
|
||||
|
@ -2,7 +2,7 @@
|
||||
<!-- 轮播图 -->
|
||||
<swiper class='swiper-box' indicator-dots autoplay interval="3000" duration="1000" circular='true'>
|
||||
<swiper-item wx:for="{{bannerList}}" wx:key="index">
|
||||
<image class="img" src="{{IMG_NAME + item.bg}}" mode="aspectFill"></image>
|
||||
<image class="img" src="{{IMG_NAME + item}}" mode="aspectFill"></image>
|
||||
</swiper-item>
|
||||
</swiper>
|
||||
|
||||
@ -12,23 +12,24 @@
|
||||
<view class="typeView">
|
||||
<view class="typeItem">
|
||||
<view class="name">所在楼层</view>
|
||||
<view class="value">12层</view>
|
||||
<view class="value">{{detail.buildingName}}</view>
|
||||
</view>
|
||||
<view class="typeItem">
|
||||
<view class="name">空间面积</view>
|
||||
<view class="value">12345m</view>
|
||||
<view class="value">{{detail.renArea}}m</view>
|
||||
</view>
|
||||
<view class="typeItem">
|
||||
<view class="name">办公面积</view>
|
||||
<view class="value">550m</view>
|
||||
<view class="value">{{detail.area}}m</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 文字内容 -->
|
||||
<view class="content {{contentSwichFLag ? 'hidden' : ''}}">
|
||||
在组件上使用 wx:for 控制属性绑定一个数组,即可使用数组中各项的数据重复渲染该组件。默认数组的当前项的下标变量名默认为 index,数组当前项的变量名默认为 item在组件上使用 wx:for 控制属性绑定一个数组,即可使用数组中各项的数据重复渲染该组件。默认数组的当前项的下标变量名默认为 index,数组当前项的变量名默认为 item在组件上使用 wx:for 控制属性绑定一个数组,即可使用数组中各项的数据重复渲染该组件。默认数组的当前项的下标变量名默认为 index,数组当前项的变量名默认为 item在组件上使用 wx:for 控制属性绑定一个数组,即可使用数组中各项的数据重复渲染该组件。默认数组的当前项的下标变量名默认为 index,数组当前项的变量名默认为 item
|
||||
一般的会议室功能区包括主席台、听众区和发言区。部分会议室则不作明确区分,如圆桌会议室和会见式会议室。会场的布置类型可以是标准化的,也可以是个性化的一般的会议室功能区包括主席台、听众区和发言区。部分会议室则不作
|
||||
一般的会议室功能区包括主席台、听众区和发言区。部分会议室则不作明确区分,如圆桌会议室和会见式会议室。会场的布置类型可以是标准化的,也可以是个性化的一般的会议室功能区包括主席台、听众区和发言区。
|
||||
</view>
|
||||
<view class="contentSwichBtn" bind:tap="contentSwich">
|
||||
<view class="contentSwichBtn" bind:tap="contentSwich">
|
||||
{{contentSwichFLag ? '展开' : '收起'}}
|
||||
<van-icon wx:if="{{contentSwichFLag}}" name="arrow-down" />
|
||||
<van-icon wx:if="{{!contentSwichFLag}}" name="arrow-up" />
|
||||
@ -39,9 +40,9 @@
|
||||
<view class="facilitiesView" bind:tap="jumpMeetingFacilities">
|
||||
<view class="leftLineTitle">空间设施</view>
|
||||
<view class="itemView">
|
||||
<view class="singleItem" wx:for="{{10}}">
|
||||
<view class="singleItem" wx:for="{{detail.roomServeList}}" wx:for-item="serviceItem">
|
||||
<van-icon name="after-sale" size="40px" />
|
||||
<view class="name">VIP</view>
|
||||
<view class="name">{{serviceItem.serveName}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@ -49,7 +50,7 @@
|
||||
<!-- 价格 -->
|
||||
<view class="priceView">
|
||||
<view class="leftLineTitle">价格</view>
|
||||
<view class="content">¥ 200.00/半小时 起</view>
|
||||
<view class="content">¥ {{detail.money}}/小时 起</view>
|
||||
</view>
|
||||
|
||||
<!-- 地图 -->
|
||||
|
Loading…
x
Reference in New Issue
Block a user