🚸 usability: 动态加载标题

This commit is contained in:
wangsongsole 2023-08-04 17:22:52 +08:00
parent 84ec931f7b
commit e01a903c88
4 changed files with 7 additions and 0 deletions

View File

@ -135,6 +135,10 @@
modelPop
},
mounted () {
document.title = this.goodsInfo.entity.batch_goods_name;
},
methods: {
/* 立即领取 */
receive () {

View File

@ -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);

View File

@ -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);

View File

@ -125,6 +125,7 @@
},
mounted () {
document.title = this.ysf.entity.batch_goods_name;
/* 判断是否是微信小程序内 */
let ua = window.navigator.userAgent.toLowerCase();
this.isMini = /miniProgram/i.test(ua);