|
...
|
...
|
@@ -303,7 +303,6 @@ Page({ |
|
|
|
this.getstaffinfo(res.data.uid, reserev.sid);
|
|
|
|
this.getroomimage(reserev.sid)
|
|
|
|
this.getSellerVersionFun(reserev.sid);
|
|
|
|
this.painterBtn(reserev.seller.seller_image, reserev.seller.sellername, util.unixtoTime(reserev.ddate, 'MM月DD日'), util.unixtoTime(reserev.ddate, '周WW HH:II'));
|
|
|
|
}, 0);
|
|
|
|
}).catch(res => {
|
|
|
|
console.log(res, '详情请求失败');
|
|
...
|
...
|
@@ -641,6 +640,25 @@ Page({ |
|
|
|
})
|
|
|
|
this.textToSpeechFun(reserve.voice_info)
|
|
|
|
}
|
|
|
|
// 获取转发客人卡片设置
|
|
|
|
let detailInfo = this.data.detail;
|
|
|
|
if (data.lite_style == '0') {
|
|
|
|
this.setData({
|
|
|
|
imgSrc: detailInfo.seller.seller_image
|
|
|
|
})
|
|
|
|
} else {
|
|
|
|
let d = detailInfo.ddate_solt;
|
|
|
|
let time1 = util.unixtoTime(detailInfo.ddate, '周WW') + ' ' + (d == '1' ? '早上' : d == '2' ? '中午' : d == '3' ? '晚上' : '');
|
|
|
|
let time2 = util.unixtoTime(detailInfo.ddate, '周WW HH:II')
|
|
|
|
let time3 = util.unixtoTime(detailInfo.ddate, '周WW') + ' ' + (d == '1' ? '早餐' : d == '2' ? '午餐' : d == '3' ? '晚餐' : '');
|
|
|
|
let time = data.lite_style == '1' ? time1 : data.lite_style == '2' ? time2 : data.lite_style == '3' ? time3 : '';
|
|
|
|
this.painterBtn(
|
|
|
|
detailInfo.seller.seller_image,
|
|
|
|
detailInfo.seller.sellername,
|
|
|
|
util.unixtoTime(detailInfo.ddate, 'MM月DD日'),
|
|
|
|
time
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}).catch(res => {
|
|
|
|
console.log('GetSellerTemplateConf请求失败');
|
|
|
|
})
|
...
|
...
|
|