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