首页 undefined
This commit is contained in:
parent
31601ff334
commit
fa60aeec42
|
|
@ -107,12 +107,18 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
<view v-if="rmVideList.length>0">
|
||||||
<recommendVideo @more="moreVideo" @video="seVideo" v-if="rmVideList.length>0" :list="rmVideList"
|
<recommendVideo @more="moreVideo" @video="seVideo" v-if="rmVideList.length>0" :list="rmVideList"
|
||||||
title="本周热门" typeId="2" />
|
title="本周热门" typeId="2" />
|
||||||
|
</view>
|
||||||
|
<view v-if="rmVideList.length>0">
|
||||||
<recommendVideo @more="moreVideo" @video="seVideo" v-if="phbVideoList.length>0" :list="phbVideoList"
|
<recommendVideo @more="moreVideo" @video="seVideo" v-if="phbVideoList.length>0" :list="phbVideoList"
|
||||||
title="本周排行榜" typeId="1" />
|
title="本周排行榜" typeId="1" />
|
||||||
|
</view>
|
||||||
|
<view v-if="rmVideList.length>0">
|
||||||
<recommendVideo @more="moreVideo" @video="seVideo" v-if="newVideList.length>0" :list="newVideList"
|
<recommendVideo @more="moreVideo" @video="seVideo" v-if="newVideList.length>0" :list="newVideList"
|
||||||
title="最新热播" typeId="" />
|
title="最新热播" typeId="" />
|
||||||
|
</view>
|
||||||
<!-- 视频列表 -->
|
<!-- 视频列表 -->
|
||||||
<view class="videTitle flex align-center justify-center">
|
<view class="videTitle flex align-center justify-center">
|
||||||
<view class="videTitle-box">
|
<view class="videTitle-box">
|
||||||
|
|
@ -179,10 +185,14 @@
|
||||||
<u-image @click="goMsg('/me/choujiang/choujiang')" :src="`../../static/images/draw/draw.gif`"
|
<u-image @click="goMsg('/me/choujiang/choujiang')" :src="`../../static/images/draw/draw.gif`"
|
||||||
style="width: 150rpx;height: 150rpx;position: fixed;right: 30rpx;bottom: 180rpx;"></u-image>
|
style="width: 150rpx;height: 150rpx;position: fixed;right: 30rpx;bottom: 180rpx;"></u-image>
|
||||||
<!-- #ifdef H5 -->
|
<!-- #ifdef H5 -->
|
||||||
<div v-if="isWeixin" style="width: 100%;height: 100%;position: fixed;top: 0;z-index: 999;background: url('../../static/images/open_guide.png') no-repeat center bottom / cover;"></div>
|
<div v-if="isWeixin"
|
||||||
|
style="width: 100%;height: 100%;position: fixed;top: 0;z-index: 999;background: url('../../static/images/open_guide.png') no-repeat center bottom / cover;">
|
||||||
|
</div>
|
||||||
<!-- #endif -->
|
<!-- #endif -->
|
||||||
<!-- #ifdef H5 -->
|
<!-- #ifdef H5 -->
|
||||||
<div v-if="isIos" @click="isIos=false" style="width: 100%;height: 100%;position: fixed;top: 0;z-index: 999;background: url('../../static/images/index_guide.png') no-repeat center bottom / 100%;background-color: rgba(0, 0, 0, 0.8);"></div>
|
<div v-if="isIos" @click="isIos=false"
|
||||||
|
style="width: 100%;height: 100%;position: fixed;top: 0;z-index: 999;background: url('../../static/images/index_guide.png') no-repeat center bottom / 100%;background-color: rgba(0, 0, 0, 0.8);">
|
||||||
|
</div>
|
||||||
<!-- #endif -->
|
<!-- #endif -->
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -753,7 +763,10 @@
|
||||||
//轮播图跳转
|
//轮播图跳转
|
||||||
goPage(item) {
|
goPage(item) {
|
||||||
let token = uni.getStorageSync('token')
|
let token = uni.getStorageSync('token')
|
||||||
const {url,jumpType}=item
|
const {
|
||||||
|
url,
|
||||||
|
jumpType
|
||||||
|
} = item
|
||||||
if (token) {
|
if (token) {
|
||||||
if (url) {
|
if (url) {
|
||||||
if (url.indexOf('/pages/') !== -1 || url.indexOf('/me/') !== -1) {
|
if (url.indexOf('/pages/') !== -1 || url.indexOf('/me/') !== -1) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue