🚸 usability: 优化用户体验

This commit is contained in:
wangsongsole 2023-08-04 17:43:45 +08:00
parent e01a903c88
commit fef37673fa
4 changed files with 4 additions and 4 deletions

View File

@ -136,7 +136,7 @@
},
mounted () {
document.title = this.goodsInfo.entity.batch_goods_name;
document.title = localStorage.getItem('title');
},
methods: {

View File

@ -150,6 +150,7 @@
};
},
created () {
document.title = localStorage.getItem('title');
/* 获取立减金信息*/
goodsDetail = JSON.parse(sessionStorage.getItem("goodsInfo"));
this.goodInfo = goodsDetail;
@ -161,7 +162,6 @@
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,7 +126,7 @@
},
mounted () {
document.title = this.ysf.entity.batch_goods_name;
document.title =localStorage.getItem('title');
/* 判断是否是微信小程序内 */
let ua = window.navigator.userAgent.toLowerCase();
this.isMini = /miniProgram/i.test(ua);

View File

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