mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-uniapp.git
synced 2025-12-17 16:05:53 +08:00
perf: 🎨 改善促销部分荣誉代码 封装为组件使用 更加便捷以及好看。 优化部分页面显示问题
删除部分原有的老样式 更新新版促销样式 页面更加好看 删除冗余代码 封装多种方法以及组件
This commit is contained in:
@@ -326,10 +326,10 @@ export default {
|
||||
// this.loadData(this.status);
|
||||
},
|
||||
onShow() {
|
||||
if (!this.tabCurrentIndex) {
|
||||
this.initData(0);
|
||||
} else {
|
||||
|
||||
if(this.$options.filters.tipsToLogin()){
|
||||
if (!this.tabCurrentIndex) {
|
||||
this.initData(0);
|
||||
}
|
||||
}
|
||||
// this.loadData(this.status);
|
||||
},
|
||||
@@ -364,14 +364,14 @@ export default {
|
||||
methods: {
|
||||
// 售后
|
||||
applyService(order) {
|
||||
this.$navigateTo({
|
||||
uni.navigateTo({
|
||||
url: `/pages/order/afterSales/afterSales?orderSn=${order.sn}`,
|
||||
});
|
||||
},
|
||||
|
||||
// 店铺详情
|
||||
navigateToStore(val) {
|
||||
this.$navigateTo({
|
||||
uni.navigateTo({
|
||||
url: "/pages/product/shopPage?id=" + val.storeId,
|
||||
});
|
||||
},
|
||||
@@ -423,7 +423,7 @@ export default {
|
||||
}).pay();
|
||||
// #endif
|
||||
// #ifndef MP-WEIXIN
|
||||
this.$navigateTo({
|
||||
uni.navigateTo({
|
||||
url: "/pages/cart/payment/payOrder?order_sn=" + val.sn,
|
||||
});
|
||||
// #endif
|
||||
@@ -522,7 +522,7 @@ export default {
|
||||
* 跳转到订单详情
|
||||
*/
|
||||
navigateToOrderDetail(sn) {
|
||||
this.$navigateTo({
|
||||
uni.navigateTo({
|
||||
url: "./orderDetail?sn=" + sn,
|
||||
});
|
||||
},
|
||||
@@ -588,7 +588,7 @@ export default {
|
||||
* 评价商品
|
||||
*/
|
||||
onComment(sn) {
|
||||
this.$navigateTo({
|
||||
uni.navigateTo({
|
||||
url: "./evaluate/myEvaluate",
|
||||
});
|
||||
},
|
||||
@@ -599,7 +599,7 @@ export default {
|
||||
reBuy(order) {
|
||||
console.log(order);
|
||||
return;
|
||||
this.$navigateTo({
|
||||
uni.navigateTo({
|
||||
url:
|
||||
"/pages/product/goods?id=" + order.id + "&goodsId=" + order.goodsId,
|
||||
});
|
||||
@@ -609,7 +609,7 @@ export default {
|
||||
* 查看物流
|
||||
*/
|
||||
navigateToLogistics(order) {
|
||||
this.$navigateTo({
|
||||
uni.navigateTo({
|
||||
url:
|
||||
"/pages/mine/msgTips/packageMsg/logisticsDetail?order_sn=" + order.sn,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user