🚸 usability: 优化用户体验
This commit is contained in:
parent
e01a903c88
commit
fef37673fa
|
@ -136,7 +136,7 @@
|
|||
},
|
||||
|
||||
mounted () {
|
||||
document.title = this.goodsInfo.entity.batch_goods_name;
|
||||
document.title = localStorage.getItem('title');
|
||||
},
|
||||
|
||||
methods: {
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue