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
22eaae784e
commit
ac0f215342
@ -1,5 +1,7 @@
|
|||||||
const app = getApp()
|
const app = getApp()
|
||||||
import {meetingRoomDetailRq} from "../../../api/meeting/meetingRoom.js"
|
import {
|
||||||
|
meetingRoomDetailRq
|
||||||
|
} from "../../../api/meeting/meetingRoom.js"
|
||||||
Page({
|
Page({
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -8,7 +10,8 @@ Page({
|
|||||||
data: {
|
data: {
|
||||||
IMG_NAME: app.IMG_NAME,
|
IMG_NAME: app.IMG_NAME,
|
||||||
contentSwichFLag: true,
|
contentSwichFLag: true,
|
||||||
detail : {},
|
meetingRoomId : null,
|
||||||
|
detail: {},
|
||||||
bannerList: [],
|
bannerList: [],
|
||||||
mapData: {
|
mapData: {
|
||||||
latitude: 33.601291,
|
latitude: 33.601291,
|
||||||
@ -27,12 +30,14 @@ Page({
|
|||||||
*/
|
*/
|
||||||
onLoad(options) {
|
onLoad(options) {
|
||||||
let _this = this;
|
let _this = this;
|
||||||
console.log('onLoad' , options);
|
console.log('onLoad', options);
|
||||||
meetingRoomDetailRq(options.id).then(res=>{
|
let meetingRoomId = options.id;
|
||||||
console.log('meetingRoomDetailRq' , res);
|
meetingRoomDetailRq(meetingRoomId).then(res => {
|
||||||
|
console.log('meetingRoomDetailRq', res);
|
||||||
_this.setData({
|
_this.setData({
|
||||||
detail : res.roomContent,
|
meetingRoomId,
|
||||||
bannerList : [res.roomContent.indoorPicUrl]
|
detail: res.roomContent,
|
||||||
|
bannerList: [res.roomContent.indoorPicUrl]
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
<view class="leftLineTitle">空间设施</view>
|
<view class="leftLineTitle">空间设施</view>
|
||||||
<view class="itemView">
|
<view class="itemView">
|
||||||
<view class="singleItem" wx:for="{{detail.roomServeList}}" wx:for-item="serviceItem">
|
<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 class="name">{{serviceItem.serveName}}</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -122,8 +122,13 @@
|
|||||||
margin-top: 30rpx;
|
margin-top: 30rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.facilitiesView .itemView .singleItem .img {
|
||||||
|
width: 70rpx;
|
||||||
|
height: 70rpx;
|
||||||
|
}
|
||||||
|
|
||||||
.facilitiesView .itemView .singleItem .name {
|
.facilitiesView .itemView .singleItem .name {
|
||||||
margin-top: 4rpx;
|
margin-top: 16rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.priceView {
|
.priceView {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user