mirror of
https://gitee.com/elegant_wings/dbd-meeting-wx-small.git
synced 2025-06-21 14:19:38 +08:00
描述:1
This commit is contained in:
parent
22eaae784e
commit
ac0f215342
@ -1,5 +1,7 @@
|
||||
const app = getApp()
|
||||
import {meetingRoomDetailRq} from "../../../api/meeting/meetingRoom.js"
|
||||
import {
|
||||
meetingRoomDetailRq
|
||||
} from "../../../api/meeting/meetingRoom.js"
|
||||
Page({
|
||||
|
||||
/**
|
||||
@ -8,7 +10,8 @@ Page({
|
||||
data: {
|
||||
IMG_NAME: app.IMG_NAME,
|
||||
contentSwichFLag: true,
|
||||
detail : {},
|
||||
meetingRoomId : null,
|
||||
detail: {},
|
||||
bannerList: [],
|
||||
mapData: {
|
||||
latitude: 33.601291,
|
||||
@ -27,12 +30,14 @@ Page({
|
||||
*/
|
||||
onLoad(options) {
|
||||
let _this = this;
|
||||
console.log('onLoad' , options);
|
||||
meetingRoomDetailRq(options.id).then(res=>{
|
||||
console.log('meetingRoomDetailRq' , res);
|
||||
console.log('onLoad', options);
|
||||
let meetingRoomId = options.id;
|
||||
meetingRoomDetailRq(meetingRoomId).then(res => {
|
||||
console.log('meetingRoomDetailRq', res);
|
||||
_this.setData({
|
||||
detail : res.roomContent,
|
||||
bannerList : [res.roomContent.indoorPicUrl]
|
||||
meetingRoomId,
|
||||
detail: res.roomContent,
|
||||
bannerList: [res.roomContent.indoorPicUrl]
|
||||
})
|
||||
})
|
||||
},
|
||||
|
@ -41,7 +41,7 @@
|
||||
<view class="leftLineTitle">空间设施</view>
|
||||
<view class="itemView">
|
||||
<view class="singleItem" wx:for="{{detail.roomServeList}}" wx:for-item="serviceItem">
|
||||
<van-icon name="after-sale" size="40px" />
|
||||
<image class="img" src="{{IMG_NAME + serviceItem.pic}}" mode="aspectFill"></image>
|
||||
<view class="name">{{serviceItem.serveName}}</view>
|
||||
</view>
|
||||
</view>
|
||||
|
@ -122,8 +122,13 @@
|
||||
margin-top: 30rpx;
|
||||
}
|
||||
|
||||
.facilitiesView .itemView .singleItem .img {
|
||||
width: 70rpx;
|
||||
height: 70rpx;
|
||||
}
|
||||
|
||||
.facilitiesView .itemView .singleItem .name {
|
||||
margin-top: 4rpx;
|
||||
margin-top: 16rpx;
|
||||
}
|
||||
|
||||
.priceView {
|
||||
|
Loading…
x
Reference in New Issue
Block a user