微信小程序ios下弹窗内容真机调试下弹窗内容显示,发布上线后打开弹窗就是空白,内容都没了
getTimeAreaList: function (effectTime) {
const self = this;
const orderInfo = app.globalData.orderInfo;
const orderType = app.globalData.orderType;
wx.request({
url: app.globalData.url + "getTimeAreaList",
method: 'GET',
data: {
deptId: orderInfo.deptId,
vaccineType: orderInfo.vaccineType,
effectTime: effectTime,
orderType: orderType
},
header: {
'Content-Type': 'application/json'
},
success: function (res) {
if (res.data.success) {
let am_time_area = [];
let pm_time_area = [];
const list = res.data.data;
for (var i in list) {
list[i].startTime = util.getHHMM(list[i].startTime);
list[i].endTime = util.getHHMM(list[i].endTime);
if (list[i].timeAreaType === "0") {
am_time_area.push(list[i]);
} else {
pm_time_area.push(list[i]);
}
}
self.setData({
am_time_area: am_time_area,
pm_time_area: pm_time_area
})
}
}
});
},
/view>
/view>
上午/view>
/view>
/view>
下午/view>
/view>
/view>
{{item.startTime+"-"+item.endTime}}/view>
剩余
{{item.quantity-item.occupyQuantity>=0?item.quantity-item.occupyQuantity:0}}/text> 人/view>
/view>
/view>
{{item.startTime+"-"+item.endTime}}/view>
剩余
{{item.quantity-item.occupyQuantity>=0?item.quantity-item.occupyQuantity:0}}/text> 人/view>
/view>
/view>
确认/view>
/view>