| | |
| | | <Evaluation id="main5" :goodsDetail="goodsDetail" /> |
| | | |
| | | <!-- 店铺推荐 --> |
| | | <storeLayout id="main7" :storeDetail="storeDetail" :goodsDetail="goodsDetail" :res="recommendList" /> |
| | | <!-- <storeLayout id="main7" :storeDetail="storeDetail" :goodsDetail="goodsDetail" :res="recommendList" /> --> |
| | | |
| | | <!-- 宝贝详情 --> |
| | | <GoodsIntro id="main9" :res="goodsDetail" :goodsParams="goodsParams" :goodsId="goodsDetail.goodsId" |
| | | v-if="goodsDetail.id" /> |
| | | |
| | | <!-- 宝贝推荐 --> |
| | | <GoodsRecommend id="main11" :res="likeGoodsList" /> |
| | | <!-- <GoodsRecommend id="main11" :res="likeGoodsList" /> --> |
| | | </view> |
| | | </scroll-view> |
| | | |
| | | |
| | | <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> |
| | | <!-- 下架展示 --> |
| | | <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)"> |
| | |
| | | import storeLayout from "./product/shop/-shop"; //店铺组件 |
| | | import Evaluation from "./product/evaluation/-evaluation"; //评价组件 |
| | | import GoodsSwiper from "./product/goods/-goods-swiper"; //轮播图组件 |
| | | import popupGoods from "@/pages/subComponents/m-buy/goods.vue"; //购物车商品的模块 |
| | | import popupGoods from "@/pages/product/m-buy/goods.vue"; //购物车商品的模块 |
| | | import popupAddress from "./product/popup/address"; //地址选择模块 |
| | | import shares from "@/pages/subComponents/m-share/index.vue"; //分享 |
| | | import shares from "@/pages/product/m-share/index.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"; |
| | |
| | | text: "详情", |
| | | id: "3", |
| | | }, |
| | | { |
| | | text: "推荐", |
| | | id: "4", |
| | | }, |
| | | // { |
| | | // text: "推荐", |
| | | // id: "4", |
| | | // }, |
| | | ], |
| | | tabScrollTop: null, |
| | | scrollArr: [], |
| | |
| | | * 查看购物车 |
| | | */ |
| | | 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", |
| | | }); |
| | | }, |
| | | |