From 408d93a7fed0403381400ce2fc028819bb203eec Mon Sep 17 00:00:00 2001 From: peng <peng.com> Date: 星期一, 21 七月 2025 09:51:42 +0800 Subject: [PATCH] 解决主包过大问题 --- pages/product/goods.vue | 39 +++++++++++++++++++-------------------- 1 files changed, 19 insertions(+), 20 deletions(-) diff --git a/pages/product/goods.vue b/pages/product/goods.vue index fa701a1..c315288 100644 --- a/pages/product/goods.vue +++ b/pages/product/goods.vue @@ -184,24 +184,24 @@ <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 class="icon-btn-item" @click="linkMsgDetail()"> <u-icon size="34" name="kefu-ermai"></u-icon> <view class="icon-btn-name">瀹㈡湇</view> @@ -295,15 +295,15 @@ 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 "@/components/m-buy/goods"; //璐墿杞﹀晢鍝佺殑妯″潡 +import popupGoods from "@/pages/product/m-buy/goods.vue"; //璐墿杞﹀晢鍝佺殑妯″潡 import popupAddress from "./product/popup/address"; //鍦板潃閫夋嫨妯″潡 -import shares from "@/components/m-share/index"; //鍒嗕韩 -import popups from "@/components/popups/popups"; //姘旀场妗� -import takeDownFormSaleGoods from "@/components/m-take-down-sale-goods/index"; //涓嬫灦妗� +import shares from "@/pages/product/m-share/index.vue"; //鍒嗕韩 +import popups from "@/pages/subComponents/popups/popups.vue"; //姘旀场妗� +import takeDownFormSaleGoods from "@/pages/product/m-take-down-sale-goods/index"; //涓嬫灦妗� import setup from "./product/popup/popup"; import { getSTSToken @@ -318,7 +318,6 @@ PromotionAssembleListLayout, PromotionCoupon, GoodsIntro, - GoodsRecommend, storeLayout, Evaluation, GoodsSwiper, @@ -344,21 +343,21 @@ // #endif navbarListData: [ //瀵艰埅鏍忓垪琛ㄦ爮鏁版嵁 - { - title: "棣栭〉", - icon: "home-fill", - ___type: "other", - }, + // { + // title: "棣栭〉", + // icon: "home-fill", + // ___type: "other", + // }, { title: "璐墿杞�", icon: "bag-fill", ___type: "other", }, - { - title: "鎼滅储", - icon: "search", - ___type: "category", - }, + // { + // title: "鎼滅储", + // icon: "search", + // ___type: "category", + // }, { title: "涓汉涓績", icon: "account-fill", -- Gitblit v1.8.0