mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-uniapp.git
synced 2025-12-18 08:25:55 +08:00
perf: 🎨 改善促销部分荣誉代码 封装为组件使用 更加便捷以及好看。 优化部分页面显示问题
删除部分原有的老样式 更新新版促销样式 页面更加好看 删除冗余代码 封装多种方法以及组件
This commit is contained in:
@@ -710,13 +710,13 @@ export default {
|
||||
linkMsgDetail() {
|
||||
// lili 基础客服
|
||||
|
||||
this.$navigateTo({
|
||||
uni.navigateTo({
|
||||
url: `/pages/tabbar/home/web-view?IM=${this.storeDetail.storeId}`,
|
||||
});
|
||||
|
||||
// udesk 代码
|
||||
// if (this.storeDetail.merchantEuid) {
|
||||
// this.$navigateTo({
|
||||
// uni.navigateTo({
|
||||
// url: `/pages/tabbar/home/web-view?src=${this.IM}`,
|
||||
// });
|
||||
// }
|
||||
@@ -736,7 +736,7 @@ export default {
|
||||
// sign: this.storeDetail.yzfSign,
|
||||
// mpSign: this.storeDetail.yzfMpSign,
|
||||
// };
|
||||
// this.$navigateTo({
|
||||
// uni.navigateTo({
|
||||
// url:
|
||||
// "/pages/product/customerservice/index?params=" +
|
||||
// encodeURIComponent(JSON.stringify(params)),
|
||||
@@ -744,7 +744,7 @@ export default {
|
||||
// // #endif
|
||||
// // #ifndef MP-WEIXIN
|
||||
// const sign = this.storeDetail.yzfSign;
|
||||
// this.$navigateTo({
|
||||
// uni.navigateTo({
|
||||
// url:
|
||||
// "/pages/tabbar/home/web-view?src=https://yzf.qq.com/xv/web/static/chat/index.html?sign=" +
|
||||
// sign,
|
||||
@@ -908,7 +908,7 @@ export default {
|
||||
* 跳转到店铺页面
|
||||
*/
|
||||
navigateToStore(store_id) {
|
||||
this.$navigateTo({
|
||||
uni.navigateTo({
|
||||
url: `/pages/product/shopPage?id=` + store_id,
|
||||
});
|
||||
},
|
||||
|
||||
@@ -94,7 +94,7 @@ export default {
|
||||
);
|
||||
},
|
||||
toComment(id, grade) {
|
||||
this.$navigateTo({
|
||||
uni.navigateTo({
|
||||
url: `/pages/product/comment?id=${id}&grade=${grade}`,
|
||||
});
|
||||
},
|
||||
|
||||
@@ -54,7 +54,7 @@ export default {
|
||||
this.getShippingAddress()
|
||||
}
|
||||
else{
|
||||
this.$navigateTo({
|
||||
uni.navigateTo({
|
||||
url: 'pages/passport/login'
|
||||
});
|
||||
}
|
||||
@@ -71,7 +71,7 @@ export default {
|
||||
|
||||
getpicker() {
|
||||
// this.$refs.cityPicker.show();
|
||||
this.$navigateTo({
|
||||
uni.navigateTo({
|
||||
url: "/pages/mine/address/add",
|
||||
});
|
||||
this.closeAddress();
|
||||
|
||||
@@ -57,13 +57,13 @@ export default {
|
||||
},
|
||||
// 点击商品
|
||||
clickGoods(val) {
|
||||
this.$navigateTo({
|
||||
uni.navigateTo({
|
||||
url: `/pages/product/goods?id=${val.content.id}&goodsId=${val.content.goodsId}`,
|
||||
});
|
||||
},
|
||||
|
||||
tostorePage(val) {
|
||||
this.$navigateTo({
|
||||
uni.navigateTo({
|
||||
url: "../product/shopPage?id=" + val.storeId,
|
||||
});
|
||||
},
|
||||
|
||||
@@ -74,7 +74,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
handleClickStore(val){
|
||||
this.$navigateTo({
|
||||
uni.navigateTo({
|
||||
url: `/pages/product/shopPage?id=${val.id}`
|
||||
});
|
||||
},
|
||||
|
||||
@@ -152,7 +152,7 @@ export default {
|
||||
|
||||
methods: {
|
||||
getStoreLicencePhoto() {
|
||||
this.$navigateTo({
|
||||
uni.navigateTo({
|
||||
url: `/pages/product/licencePhoto?id=${this.storeId}`,
|
||||
});
|
||||
},
|
||||
@@ -190,7 +190,7 @@ export default {
|
||||
// sign: this.storeInfo.yzfSign,
|
||||
// mpSign: this.storeInfo.yzfMpSign,
|
||||
// };
|
||||
// this.$navigateTo({
|
||||
// uni.navigateTo({
|
||||
// url:
|
||||
// "/pages/product/customerservice/index?params=" +
|
||||
// encodeURIComponent(JSON.stringify(params)),
|
||||
@@ -198,14 +198,14 @@ export default {
|
||||
// // #endif
|
||||
// // #ifndef MP-WEIXIN
|
||||
// const sign = this.storeInfo.yzfSign;
|
||||
// this.$navigateTo({
|
||||
// uni.navigateTo({
|
||||
// url:
|
||||
// "/pages/tabbar/home/web-view?src=https://yzf.qq.com/xv/web/static/chat/index.html?sign=" +
|
||||
// sign,
|
||||
// });
|
||||
// // #endif
|
||||
|
||||
this.$navigateTo({
|
||||
uni.navigateTo({
|
||||
url: `/pages/tabbar/home/web-view?IM=${this.storeId}`,
|
||||
});
|
||||
},
|
||||
@@ -227,7 +227,7 @@ export default {
|
||||
|
||||
/**商品分类中商品集合 */
|
||||
getCategoryGoodsList(val) {
|
||||
this.$navigateTo({
|
||||
uni.navigateTo({
|
||||
url: `/pages/product/shopPageGoods?title=${val.labelName}&id=${val.id}&storeId=${this.storeId}`,
|
||||
});
|
||||
},
|
||||
@@ -237,7 +237,7 @@ export default {
|
||||
*/
|
||||
search() {
|
||||
console.log("点击")
|
||||
this.$navigateTo({
|
||||
uni.navigateTo({
|
||||
url: `/pages/navigation/search/searchPage?storeId=${this.storeId}&keyword=${this.keyword}`,
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user