🚸 usability: 优化用户体验
This commit is contained in:
parent
e01a903c88
commit
fef37673fa
|
@ -136,7 +136,7 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
mounted () {
|
mounted () {
|
||||||
document.title = this.goodsInfo.entity.batch_goods_name;
|
document.title = localStorage.getItem('title');
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
|
|
|
@ -150,6 +150,7 @@
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
created () {
|
created () {
|
||||||
|
document.title = localStorage.getItem('title');
|
||||||
/* 获取立减金信息*/
|
/* 获取立减金信息*/
|
||||||
goodsDetail = JSON.parse(sessionStorage.getItem("goodsInfo"));
|
goodsDetail = JSON.parse(sessionStorage.getItem("goodsInfo"));
|
||||||
this.goodInfo = goodsDetail;
|
this.goodInfo = goodsDetail;
|
||||||
|
@ -161,7 +162,6 @@
|
||||||
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,7 +126,7 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
mounted () {
|
mounted () {
|
||||||
document.title = this.ysf.entity.batch_goods_name;
|
document.title =localStorage.getItem('title');
|
||||||
/* 判断是否是微信小程序内 */
|
/* 判断是否是微信小程序内 */
|
||||||
let ua = window.navigator.userAgent.toLowerCase();
|
let ua = window.navigator.userAgent.toLowerCase();
|
||||||
this.isMini = /miniProgram/i.test(ua);
|
this.isMini = /miniProgram/i.test(ua);
|
||||||
|
|
2
ysf.html
2
ysf.html
|
@ -125,7 +125,7 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
mounted () {
|
mounted () {
|
||||||
document.title = this.ysf.entity.batch_goods_name;
|
document.title = localStorage.getItem('title');
|
||||||
/* 判断是否是微信小程序内 */
|
/* 判断是否是微信小程序内 */
|
||||||
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