茶溢 3 years ago
parent
commit
39d611185b
  1. 5297
      package-lock.json
  2. 2
      pages/account/message.vue
  3. 14
      pages/index/index.vue

5297
package-lock.json

File diff suppressed because it is too large

2
pages/account/message.vue

@ -249,7 +249,7 @@
<style lang="scss" scoped> <style lang="scss" scoped>
page { page {
background-color: #f7f4f8 !important;; background: red !important;;
} }
.font { .font {
display: flex; display: flex;

14
pages/index/index.vue

@ -282,6 +282,7 @@
this.checkNetwork() this.checkNetwork()
this.getList() this.getList()
this.getMes() this.getMes()
this.Register()
this.sum = 0 this.sum = 0
}, },
computed: { computed: {
@ -1675,19 +1676,18 @@
<view class="container" v-if="bestlist.length>0"> <view class="container" v-if="bestlist.length>0">
<view class="left"> <view class="left">
<view v-for="(item,index) in leftList" :key="index"> <view v-for="(item,index) in leftList" :key="index">
<block v-if="item.goods_video"> <!-- <block v-if="item.goods_video">
<view style="position: relative; height: 225px;" > <view style="position: relative; height: 225px;" >
<video x-webkit-airplay="allow" x5-video-player-type="h5" :autoplay="true" :enable-progress-gesture="true" muted="" style="width: 100%;" <video x-webkit-airplay="allow" x5-video-player-type="h5" :autoplay="true" :enable-progress-gesture="true" muted="" style="width: 100%;"
:mobilenet-hint-type="1" class="video_play" :http-cache="true" loop :mobilenet-hint-type="1" class="video_play" :http-cache="true" loop
object-fit="contain" :direction="0" :src="item.goods_video" :show-mute-btn="true" object-fit="contain" :direction="0" :src="item.goods_video" :show-mute-btn="true"
@touchstart="touchStart" @touchend="touchEnd" @pause="VideoPuse()"> @touchstart="touchStart" @touchend="touchEnd" @pause="VideoPuse()">
</video> </video>
<!-- <video-context ref="videoContext" :src="item.goods_video" @play="onPlay" @pause="onPause" @timeupdate="onTimeUpdate"></video-context> -->
</view> </view>
<view class="play_icon" v-show="!video" @click="isVideo"></view> <view class="play_icon" v-show="!video" @click="isVideo"></view>
</block> </block> -->
<image v-else :src="item.block_pic" alt="" mode="widthFix" @click="imgTo(item)" <image :src="item.block_pic" alt="" mode="widthFix" @click="imgTo(item)"
:class="item.block_title==0&&!item.block_title2&&!item.block_name&&!item.block_title3?'img_border':''"> :class="item.block_title==0&&!item.block_title2&&!item.block_name&&!item.block_title3?'img_border':''">
</image> </image>
<view class="item" v-if="item.block_title!=0"> <view class="item" v-if="item.block_title!=0">
@ -1706,7 +1706,7 @@
</view> </view>
<view class="right"> <view class="right">
<view v-for="(item1,index1) in rightList" :key="index1"> <view v-for="(item1,index1) in rightList" :key="index1">
<block v-if="item1.goods_video"> <!-- <block v-if="item1.goods_video">
<view style="position: relative; height: 225px;"> <view style="position: relative; height: 225px;">
<video x-webkit-airplay="allow" x5-video-player-type="h5" :autoplay="true" :enable-progress-gesture="true" muted="" style="width: 100%;" <video x-webkit-airplay="allow" x5-video-player-type="h5" :autoplay="true" :enable-progress-gesture="true" muted="" style="width: 100%;"
:mobilenet-hint-type="1" class="video_play" :http-cache="true" @pause="VideoPuse()" loop :mobilenet-hint-type="1" class="video_play" :http-cache="true" @pause="VideoPuse()" loop
@ -1715,8 +1715,8 @@
</video> </video>
</view> </view>
<view class="play_icon" v-show="!video" @click="isVideo"></view> <view class="play_icon" v-show="!video" @click="isVideo"></view>
</block> </block> -->
<image v-else :src="item1.block_pic" alt="" mode="widthFix" @click="imgTo(item1)" <image :src="item1.block_pic" alt="" mode="widthFix" @click="imgTo(item1)"
:class="item1.block_title==0&&!item1.block_title2&&!item1.block_name&&!item1.block_title3?'img_border':''"> :class="item1.block_title==0&&!item1.block_title2&&!item1.block_name&&!item1.block_title3?'img_border':''">
</image> </image>
<view class="item" v-if="item1.block_title!=0"> <view class="item" v-if="item1.block_title!=0">

Loading…
Cancel
Save