绿满眶商城微信小程序-uniapp
peng
2025-07-21 d2c5aeeb8e059dbdeb2a8b28d187bf5ad1d9dc82
pages/product/goods.vue
@@ -198,10 +198,10 @@
      <view class="page-bottom mp-iphonex-bottom" id="pageBottom">
        <view class="icon-btn">
<!--          <view class="icon-btn-item" @click="navigateToStore(goodsDetail.storeId)">
        <view class="icon-btn-item" @click="navigateToStore(goodsDetail.storeId)">
            <u-icon size="34" class="red" name="home-fill"></u-icon>
            <view class="red icon-btn-name">店铺</view>
          </view> -->
          </view>
          <view class="icon-btn-item" @click="linkMsgDetail()">
            <u-icon size="34" name="kefu-ermai"></u-icon>
            <view class="icon-btn-name">客服</view>
@@ -213,10 +213,10 @@
          </view>
        </view>
        <!-- 下架展示 -->
        <div class="detail-btn" v-if="takeDownFromSale">
<!--        <div class="detail-btn" v-if="takeDownFromSale">
          <view class="to-store-car to-store-btn"  @click="reStartTakeDownSale">
            查看类似商品</view>
        </div>
        </div> -->
        <!-- 正常结算页面 -->
        <view class="detail-btn" v-if="!isGroup && !takeDownFromSale">
          <view class="to-store-car to-store-btn" v-if="goodsDetail.goodsType != 'VIRTUAL_GOODS'" @click="shutMask(4)">
@@ -295,14 +295,14 @@
import PromotionAssembleListLayout from "./product/promotion/-promotion-assemble-list"; //拼团用户列表
import PromotionCoupon from "./product/promotion/-promotion-coupon"; //优惠券组件
import GoodsIntro from "./product/goods/-goods-intro"; //商品介绍组件
// import GoodsRecommend from "./product/goods/-goods-recommend"; //宝贝推荐
import GoodsRecommend from "./product/goods/-goods-recommend"; //宝贝推荐
import storeLayout from "./product/shop/-shop"; //店铺组件
import Evaluation from "./product/evaluation/-evaluation"; //评价组件
import GoodsSwiper from "./product/goods/-goods-swiper"; //轮播图组件
import popupGoods from "@/pages/product/m-buy/goods.vue"; //购物车商品的模块
import popupAddress from "./product/popup/address"; //地址选择模块
import shares from "@/pages/product/m-share/index.vue"; //分享
import popups from "@/pages/subComponents/popups/popups.vue"; //气泡框
import popups from "@/pages/product/popups/popups.vue"; //气泡框
import takeDownFormSaleGoods from "@/pages/product/m-take-down-sale-goods/index"; //下架框
import setup from "./product/popup/popup";
   import {
@@ -318,6 +318,7 @@
    PromotionAssembleListLayout,
    PromotionCoupon,
    GoodsIntro,
    GoodsRecommend,
    storeLayout,
    Evaluation,
    GoodsSwiper,
@@ -399,10 +400,10 @@
          text: "详情",
          id: "3",
        },
        {
          text: "推荐",
          id: "4",
        },
        // {
        //   text: "推荐",
        //   id: "4",
        // },
      ],
      tabScrollTop: null,
      scrollArr: [],
@@ -731,13 +732,14 @@
     * 查看购物车
     */
    reluchToCart () {
      console.log('点击了购物车-----------------------》')
      let obj = {
        from: "product",
        id: this.productId,
      };
      storage.setCartBackbtn(obj);
      uni.switchTab({
        url: "/pages/tabbar/cart/cartList",
      uni.redirectTo({
        url: "/pages/cusbar/cart/cartList",
      });
    },