diff --git a/jiuyi2/api/shop.js b/jiuyi2/api/shop.js index c75d947c..bbdba913 100644 --- a/jiuyi2/api/shop.js +++ b/jiuyi2/api/shop.js @@ -135,6 +135,18 @@ const shop = { }) }, + /** + * 发布商品分类列表 + * @param {Object} param + */ + getSaveProCate(param) { + return util.request({ + url: `/shopify/category/getListBySaveProduct`, + method: 'GET', + query: param.query, + }) + }, + /** * 根据商品主键获取商品详情 * @param {Object} param diff --git a/jiuyi2/common/js/config.js b/jiuyi2/common/js/config.js index 9fa6fc82..7a0f6484 100644 --- a/jiuyi2/common/js/config.js +++ b/jiuyi2/common/js/config.js @@ -7,8 +7,8 @@ const config = { // #endif // #ifndef H5 // host: 'http://91f.xyz:8080', - host: 'http://liuyd.cpolar.top', - // host: 'http://hpedc3.natappfree.cc', + // host: 'http://liuyd.cpolar.top', + host: 'http://5vpc5z.natappfree.cc', // #endif // 是否vivo显示 showVivo: true, diff --git a/jiuyi2/components/shop/detail/detail.vue b/jiuyi2/components/shop/detail/detail.vue index 569fe3ee..748b73fa 100644 --- a/jiuyi2/components/shop/detail/detail.vue +++ b/jiuyi2/components/shop/detail/detail.vue @@ -23,6 +23,9 @@ // 富文本处理 import parseRichText from '@/components/public/parse/parse.vue' + const { + proxy + } = getCurrentInstance() // 传参 const props = defineProps({ id: { @@ -34,10 +37,8 @@ default: {} }, }) - - const { - proxy - } = getCurrentInstance() + // 是否礼包商品 + const giftPack = computed(() => props.detail.categoryCode?.startsWith('GIFT_PACK')) // 在这里设置swiper高度补足多端差异 const bannerHeight = ref('800rpx') // 轮播图详情 @@ -218,7 +219,7 @@ - + 已售 {{detail.sales}} @@ -247,7 +248,7 @@ - + 假一赔十 @@ -267,7 +268,7 @@ - + @@ -319,7 +320,7 @@ - + diff --git a/jiuyi2/components/shop/detail/footerMenu.vue b/jiuyi2/components/shop/detail/footerMenu.vue index 9574cdae..d36537a4 100644 --- a/jiuyi2/components/shop/detail/footerMenu.vue +++ b/jiuyi2/components/shop/detail/footerMenu.vue @@ -30,6 +30,8 @@ default: () => ({}) }, }) + // 是否礼包商品 + const giftPack = computed(() => props.detail.categoryCode?.startsWith('GIFT_PACK')) // const emit = defineEmits(['update', 'buy']) // 用户信息 @@ -114,7 +116,7 @@ - + 店铺 diff --git a/jiuyi2/pages/index/myTeam.vue b/jiuyi2/pages/index/myTeam.vue index 17518191..23c6b33a 100644 --- a/jiuyi2/pages/index/myTeam.vue +++ b/jiuyi2/pages/index/myTeam.vue @@ -109,7 +109,7 @@ 账户昵称 - {{team.referrerReferrerUser.userNickname}} + {{team.referrerReferrerUser.userNickname}} @@ -135,7 +135,7 @@ 账户昵称 - {{team.referrerUser.userNickname}} + {{team.referrerUser.userNickname}} @@ -158,8 +158,12 @@ + + + - {{item.userNickname}} + {{item.userNickname}} {{item.sonList.length}}