🚸 usability: 动态加载标题
This commit is contained in:
parent
84ec931f7b
commit
e01a903c88
|
@ -135,6 +135,10 @@
|
|||
modelPop
|
||||
},
|
||||
|
||||
mounted () {
|
||||
document.title = this.goodsInfo.entity.batch_goods_name;
|
||||
},
|
||||
|
||||
methods: {
|
||||
/* 立即领取 */
|
||||
receive () {
|
||||
|
|
|
@ -161,6 +161,7 @@
|
|||
goodsCount = sessionStorage.getItem('goodsCount');
|
||||
this.backAble = goodsCount > 1;//多个商品才有返回
|
||||
this.reduceInfo = goodsDetail.entity;
|
||||
document.title = this.reduceInfo.batch_goods_name;
|
||||
this.plaflam = goodsDetail.entity.channel;
|
||||
if (goodsDetail.entity.time_limit.use_time.type == 'week') { //处理星期连贯操作
|
||||
goodsDetail.entity.time_limit.use_time.week = sortWeeks(goodsDetail.entity.time_limit.use_time.week);
|
||||
|
|
|
@ -126,6 +126,7 @@
|
|||
},
|
||||
|
||||
mounted () {
|
||||
document.title = this.ysf.entity.batch_goods_name;
|
||||
/* 判断是否是微信小程序内 */
|
||||
let ua = window.navigator.userAgent.toLowerCase();
|
||||
this.isMini = /miniProgram/i.test(ua);
|
||||
|
|
Loading…
Reference in New Issue