diff --git a/redPackets.html b/redPackets.html
index 0f10c3e..ef6dee4 100644
--- a/redPackets.html
+++ b/redPackets.html
@@ -136,7 +136,7 @@
},
mounted () {
- document.title = this.goodsInfo.entity.batch_goods_name;
+ document.title = localStorage.getItem('title');
},
methods: {
diff --git a/reduce.html b/reduce.html
index 7fef967..b9d2e65 100644
--- a/reduce.html
+++ b/reduce.html
@@ -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);
diff --git a/ysf-reduce.html b/ysf-reduce.html
index 888ea9d..8edf091 100644
--- a/ysf-reduce.html
+++ b/ysf-reduce.html
@@ -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);
diff --git a/ysf.html b/ysf.html
index 343e5b2..cb9d516 100644
--- a/ysf.html
+++ b/ysf.html
@@ -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);