This commit is contained in:
SelfRidicule 2024-04-07 17:00:25 +08:00
parent 93a7a9be24
commit 2451572683
3 changed files with 5 additions and 6 deletions

View File

@ -104,8 +104,7 @@ Page({
// 确认时间 // 确认时间
confirmTime() { confirmTime() {
let _this = this; let _this = this;
let id = 1; let id = _this.data.id;
// let id = _this.data.id;
let startTime = _this.data.startTime; let startTime = _this.data.startTime;
let endTime = _this.data.endTime; let endTime = _this.data.endTime;
let paramUrl = "?id=" + id + "&startTime=" + selfFormatTimeYMDHMS(startTime) + "&endTime=" + selfFormatTimeYMDHMS(endTime); let paramUrl = "?id=" + id + "&startTime=" + selfFormatTimeYMDHMS(startTime) + "&endTime=" + selfFormatTimeYMDHMS(endTime);

View File

@ -33,8 +33,8 @@ Page({
showroomDetailRq(_this.data.id).then(res => { showroomDetailRq(_this.data.id).then(res => {
console.log('showroomDetailRq', res); console.log('showroomDetailRq', res);
_this.setData({ _this.setData({
detail: res, detail: res.data,
bannerList: [res.indoorPicUrl] bannerList: [res.data.indoorPicUrl]
}) })
}) })
// 获取地址信息 // 获取地址信息

View File

@ -101,8 +101,8 @@ Page({
let _this = this; let _this = this;
showroomDetailRq(this.data.id).then(res => { showroomDetailRq(this.data.id).then(res => {
_this.setData({ _this.setData({
detail: res, detail: res.data,
bannerList: [res.indoorPicUrl] bannerList: [res.data.indoorPicUrl]
}) })
}) })
}, },