ext.liuqiwen3 2 days ago
parent
commit
abb12a083a
2 changed files with 5 additions and 1 deletions
  1. 4 0
      pages/merchantCenters/merchant.vue
  2. 1 1
      pages/order_addcart/order_addcart.vue

+ 4 - 0
pages/merchantCenters/merchant.vue

@@ -222,6 +222,10 @@ const makePhoneCall = () => {
     }
   });
 };
+const goDetail = async (item) => {
+  await goShopDetail(item, uid);
+  uni.navigateTo({ url: `/pages/goods/goods_details/index?id=${item.id}` });
+};
 </script>
 <style scoped lang="scss">
 .container{

+ 1 - 1
pages/order_addcart/order_addcart.vue

@@ -1217,7 +1217,7 @@ function unsetCart() {
     .catch((res) => {});
 }
 const toMerchant = (obj) => {
-  uni.navigateTo({ url:"/pages/merchant/index?merchantId="+obj.id });
+  uni.navigateTo({ url:"/pages/merchantCenters/merchant?merchantId="+obj.id });
 }
 </script>