Browse Source

53,54商品下单页顶部字段用”bannerurls"

deng.yinping 3 months ago
parent
commit
9b3ec3a6a3

+ 2 - 2
src/packages/mobile/views/mall/trade/Index.vue

@@ -122,8 +122,8 @@ const marketPrice = computed(() => {
 
 // Banner图
 const topBanners = computed(() => {
-    const { thumurls } = futuresStore.getGoods(goodsCode) ?? {}
-    return thumurls?.split(',') ?? []
+    const { bannerurls } = futuresStore.getGoods(goodsCode) ?? {}
+    return bannerurls?.split(',') ?? []
 })
 
 const pictureurl = computed(() => {

+ 2 - 2
src/packages/mobile/views/score/trade/Index.vue

@@ -120,8 +120,8 @@ const marketPrice = computed(() => {
 
 // Banner图
 const topBanners = computed(() => {
-    const { thumurls } = futuresStore.getGoods(goodsCode) ?? {}
-    return thumurls?.split(',') ?? []
+    const { bannerurls } = futuresStore.getGoods(goodsCode) ?? {}
+    return bannerurls?.split(',') ?? []
 })
 
 const pictureurl = computed(() => {