master
parent
b9869053c2
commit
b51a5e6deb
|
@ -202,21 +202,21 @@ export default {
|
||||||
this.IMLink = res.result;
|
this.IMLink = res.result;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
getStoreMsg () { // 店铺信息
|
// getStoreMsg () { // 店铺信息
|
||||||
getDetailById(this.$route.query.id).then(res => {
|
// getDetailById(this.$route.query.id).then(res => {
|
||||||
if (res.success) {
|
// if (res.success) {
|
||||||
this.storeMsg = res.result
|
// this.storeMsg = res.result
|
||||||
document.title = this.storeMsg.storeName
|
// document.title = this.storeMsg.storeName
|
||||||
if (this.Cookies.getItem('userInfo')) {
|
// if (this.Cookies.getItem('userInfo')) {
|
||||||
isCollection('STORE', this.storeMsg.storeId).then(res => {
|
// isCollection('STORE', this.storeMsg.storeId).then(res => {
|
||||||
if (res.success && res.result) {
|
// if (res.success && res.result) {
|
||||||
this.storeCollected = true;
|
// this.storeCollected = true;
|
||||||
}
|
// }
|
||||||
})
|
// })
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
})
|
// })
|
||||||
},
|
// },
|
||||||
// async getListByDay() {
|
// async getListByDay() {
|
||||||
// // 当天秒杀活动
|
// // 当天秒杀活动
|
||||||
// const res = await seckillByDay();
|
// const res = await seckillByDay();
|
||||||
|
@ -227,28 +227,28 @@ export default {
|
||||||
// }
|
// }
|
||||||
// },
|
// },
|
||||||
|
|
||||||
// getStoreMsg() {
|
getStoreMsg() {
|
||||||
// // 店铺信息
|
// 店铺信息
|
||||||
// getDetailById(this.$route.query.id).then((res) => {
|
getDetailById(this.$route.query.id).then((res) => {
|
||||||
// if (res.success) {
|
if (res.success) {
|
||||||
//
|
|
||||||
// this.storeMsg = res.result;
|
this.storeMsg = res.result;
|
||||||
//
|
|
||||||
//
|
|
||||||
// this.getIndexData();
|
this.getIndexData();
|
||||||
// let that = this;
|
let that = this;
|
||||||
// window.onscroll = function () {
|
window.onscroll = function () {
|
||||||
// let top =
|
let top =
|
||||||
// document.documentElement.scrollTop || document.body.scrollTop;
|
document.documentElement.scrollTop || document.body.scrollTop;
|
||||||
// if (top > 300) {
|
if (top > 300) {
|
||||||
// that.topSearchShow = true;
|
that.topSearchShow = true;
|
||||||
// } else {
|
} else {
|
||||||
// that.topSearchShow = false;
|
that.topSearchShow = false;
|
||||||
// }
|
}
|
||||||
// };
|
};
|
||||||
// }
|
}
|
||||||
// });
|
});
|
||||||
// },
|
},
|
||||||
getCateList() {
|
getCateList() {
|
||||||
// 店铺分类
|
// 店铺分类
|
||||||
getCateById(this.$route.query.id).then((res) => {
|
getCateById(this.$route.query.id).then((res) => {
|
||||||
|
|
Loading…
Reference in New Issue