Commit fbbf8b59 authored by 肖健's avatar 肖健

修复首页视频播放接口未查询

parent 1a86080f
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
<view class="banner"> <view class="banner">
<view :class="indexCommodityList.length == 2 ? 'banner-bg' : 'banner-bg banner-bg-1'" v-if="indexCommodityList && indexCommodityList.length <= 2"> <view :class="indexCommodityList.length == 2 ? 'banner-bg' : 'banner-bg banner-bg-1'" v-if="indexCommodityList && indexCommodityList.length <= 2">
<image src="http://jdnc-oss.uzosp.com/2022/12/28/b1679b5da1b84fa1827039fe4fadd91c.png"></image> <image src="http://jdnc-oss.uzosp.com/2022/12/28/b1679b5da1b84fa1827039fe4fadd91c.png"></image>
<view class="item" @click="goJdShop(item)" v-for="(item, i) in indexCommodityList" :key="i"> <view class="item" style="margin-right: 15rpx;" @click="goJdShop(item)" v-for="(item, i) in indexCommodityList" :key="i">
<image :src="item.mainImgUrl"></image> <image :src="item.mainImgUrl"></image>
<view class="banner-btn-bg"> <view class="banner-btn-bg">
<view class="banner-btn"> <view class="banner-btn">
...@@ -307,7 +307,7 @@ ...@@ -307,7 +307,7 @@
} }
}) })
}, },
getVideoList() { getLevitationList() {
this.$http.request({ this.$http.request({
url:'/app/index/levitation/1', url:'/app/index/levitation/1',
method:'get', method:'get',
...@@ -382,6 +382,7 @@ ...@@ -382,6 +382,7 @@
this.getMoveCode() this.getMoveCode()
this.getRotationList() this.getRotationList()
this.getVideoList() this.getVideoList()
this.getLevitationList()
this.getIndexCommodityList() this.getIndexCommodityList()
}, },
mounted() { mounted() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment