|
|
@@ -12,7 +12,7 @@
|
|
|
<!-- 顶部logo and 搜索 end-->
|
|
|
<view class="jg" style="background-color: #fff;"></view>
|
|
|
<!-- 轮播图 start -->
|
|
|
- <swiper class="top-swiper" autoplay="true" duration="400" interval="5000" @change="swiperChange">
|
|
|
+ <swiper class="top-swiper" autoplay="true" duration="400" interval="5000" >
|
|
|
<swiper-item v-for="(item, index) in carouselList" :key="index" class="carousel-item"
|
|
|
@click="bannerNavToUrl(item)">
|
|
|
<image :src="item.pic" />
|
|
|
@@ -38,7 +38,8 @@
|
|
|
<view class="jg">
|
|
|
</view>
|
|
|
<!-- #ifdef APP-PLUS -->
|
|
|
- <video src="../../static/video/v1.mp4" controls class="gsjs" :muted="muted" ref="inv" id="myVideo"></video>
|
|
|
+ <video src="../../static/video/v1.mp4" controls class="gsjs" ref="inv" id="myVideo" autoplay></video>
|
|
|
+ <ad adpid="1108185255" @load="onload" @close="onclose" @error="onerror"></ad>
|
|
|
<!-- #endif -->
|
|
|
<!-- #ifdef H5 -->
|
|
|
<video src="https://chat.yiqushangshi.com/wap/video/v1.mp4" controls class="gsjs" :muted="muted" ref="inv" id="myVideo"></video>
|
|
|
@@ -146,11 +147,6 @@
|
|
|
img: '../../static/icon/inx3.png',
|
|
|
tit: '普惠商城'
|
|
|
},
|
|
|
- // {
|
|
|
- // path: '/pages/index/gift?type=14',
|
|
|
- // img: '../../static/icon/inx4.png',
|
|
|
- // tit: '第三方商城'
|
|
|
- // },
|
|
|
{
|
|
|
path: '/pages/index/three',
|
|
|
img: '../../static/icon/inx4.png',
|
|
|
@@ -161,11 +157,6 @@
|
|
|
img: '../../static/icon/inx5.png',
|
|
|
tit: '本地生活'
|
|
|
},
|
|
|
- // {
|
|
|
- // path: '/pages/index/gift?type=13',
|
|
|
- // img: '../../static/icon/inx5.png',
|
|
|
- // tit: '本地生活'
|
|
|
- // },
|
|
|
{
|
|
|
path: '/pages/index/gift?type=13',
|
|
|
img: '../../static/icon/inx6.png',
|
|
|
@@ -188,9 +179,6 @@
|
|
|
loadingType: 'more',
|
|
|
current: 0,
|
|
|
shareShow: false, //分享海报
|
|
|
- pageProportion: 0, //保存页面基于750宽度的比例
|
|
|
- swiperHeight: 0,
|
|
|
- checkid: 0,
|
|
|
titleNViewBackground: '',
|
|
|
swiperCurrent: 0,
|
|
|
swiperLength: 0,
|
|
|
@@ -299,6 +287,16 @@
|
|
|
// this.$refs.inv.pause()
|
|
|
},
|
|
|
methods: {
|
|
|
+ onload(e) {
|
|
|
+ console.log("onload--广告加载完成");
|
|
|
+
|
|
|
+ },
|
|
|
+ onclose(e) {
|
|
|
+ console.log("广告关闭: " + e);
|
|
|
+ },
|
|
|
+ onerror(e) {
|
|
|
+ console.log('广告error:',e);
|
|
|
+ },
|
|
|
getArtList() {
|
|
|
getArtList({
|
|
|
page: 1,
|
|
|
@@ -594,7 +592,7 @@
|
|
|
|
|
|
// 分类
|
|
|
.cate-section {
|
|
|
- justify-content: space-around;
|
|
|
+ justify-content: flex-start;
|
|
|
background-color: #fff;
|
|
|
padding: 0 0 30rpx;
|
|
|
flex-wrap: wrap;
|