|
|
|
@ -60,12 +60,17 @@
|
|
|
|
|
<u-image class="img" width="100%" height="160" :src="staticImage.wallpaperBgImage" radius="20" mode="aspectFill"/> |
|
|
|
|
</view> |
|
|
|
|
<view class="index-ad-img" v-if="tips"> |
|
|
|
|
<view class="index-ad-desc row"> |
|
|
|
|
<view class="index-ad-desc row" style="justify-content: space-between;"> |
|
|
|
|
<view class="label"> |
|
|
|
|
<u-text text="温馨提示:" color="#AFB5BE" size="24"></u-text> |
|
|
|
|
</view> |
|
|
|
|
<view class="bar col"> |
|
|
|
|
<u-notice-bar custom-style="padding:0;" speed="50" :text="tips" icon="" color="#AFB5BE" font-size="24" bg-color="transparent"></u-notice-bar> |
|
|
|
|
<view class="bar col" style="max-width:80%;"> |
|
|
|
|
<u-notice-bar |
|
|
|
|
custom-style="padding:0;" |
|
|
|
|
speed="50" |
|
|
|
|
:text="tips" |
|
|
|
|
icon="" |
|
|
|
|
color="#AFB5BE" font-size="24" bg-color="transparent"></u-notice-bar> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
@ -73,7 +78,7 @@
|
|
|
|
|
<!-- 关于我们开始--> |
|
|
|
|
<u-cell-group :border="false" :custom-style="{ |
|
|
|
|
marginTop:'48rpx' |
|
|
|
|
}"> |
|
|
|
|
}"> |
|
|
|
|
<u-cell |
|
|
|
|
:rightIconStyle="{ |
|
|
|
|
fontSize:'28rpx' |
|
|
|
@ -116,7 +121,7 @@
|
|
|
|
|
value="查看更多" |
|
|
|
|
:clickable="false" |
|
|
|
|
:isLink="true" |
|
|
|
|
@click="getNotify" |
|
|
|
|
@click="openNotDone" |
|
|
|
|
> |
|
|
|
|
<template v-slot:title> |
|
|
|
|
<view class="cell-two-container row"> |
|
|
|
@ -153,7 +158,7 @@
|
|
|
|
|
value="查看更多" |
|
|
|
|
:clickable="false" |
|
|
|
|
:isLink="true" |
|
|
|
|
@click="getNotify" |
|
|
|
|
@click="openNotDone" |
|
|
|
|
> |
|
|
|
|
<template v-slot:title> |
|
|
|
|
<view class="cell-two-container row"> |
|
|
|
@ -227,7 +232,25 @@
|
|
|
|
|
<u-notify ref="uNotify" message="Hi uview-plus"></u-notify> |
|
|
|
|
<!-- 最新兑换结束--> |
|
|
|
|
<u-modal :show="modalShow" :content="modalContent" @confirm="modalShow = false"></u-modal> |
|
|
|
|
|
|
|
|
|
<uv-popup ref="notDone" round="20" :safeAreaInsetBottom="false"> |
|
|
|
|
<view class="not-done-container" style="padding:0 100rpx;position: relative;"> |
|
|
|
|
<view class="not-done-icon"> |
|
|
|
|
<u-image mode="widthFix" height="400" width="400" :src="staticImage.popIcon"></u-image> |
|
|
|
|
</view> |
|
|
|
|
<view class="not-done-title" style="margin-bottom:74rpx;"> |
|
|
|
|
<u-text :text="modalContent" align="center" color="#020B18" size="28"></u-text> |
|
|
|
|
</view> |
|
|
|
|
<view class="not-done-btn" style="margin-bottom:60rpx;"> |
|
|
|
|
<u-button |
|
|
|
|
text="确定" |
|
|
|
|
color="#FF9545" |
|
|
|
|
shape="circle" |
|
|
|
|
custom-style="color:#020B18;font-size:36rpx;height:80rpx;max-width:320rpx;" |
|
|
|
|
@click="this.$refs.notDone.close();" |
|
|
|
|
></u-button> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
</uv-popup> |
|
|
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
@ -289,6 +312,7 @@ export default {
|
|
|
|
|
wallpaperBgImage: imghost+'/fxx-tip.png', |
|
|
|
|
bg: imghost + '/BG.png', |
|
|
|
|
fiveBackground: imghost + '/five-button-background.png', |
|
|
|
|
popIcon:imghost+ '/not-done-icon.png', |
|
|
|
|
}, |
|
|
|
|
indexBanner: [], |
|
|
|
|
goodsList: [], |
|
|
|
@ -320,7 +344,7 @@ export default {
|
|
|
|
|
fiveButtonClick(item){ |
|
|
|
|
if(item.disabled){ |
|
|
|
|
this.modalContent = '暂未开启,敬请期待'; |
|
|
|
|
this.modalShow = true; |
|
|
|
|
this.$refs.notDone.open('center'); |
|
|
|
|
}else{ |
|
|
|
|
if(!uni.getStorageSync('token')){ |
|
|
|
|
wx.navigateTo({ |
|
|
|
@ -344,8 +368,9 @@ export default {
|
|
|
|
|
// } |
|
|
|
|
if(item.title === '丰行侠认证'){ |
|
|
|
|
if(this.userInfo.fxx.number){ |
|
|
|
|
console.log(this.modalContent) |
|
|
|
|
this.modalContent = '您已经是丰行侠了,不用再认证了'; |
|
|
|
|
this.modalShow = true; |
|
|
|
|
this.$refs.notDone.open('center'); |
|
|
|
|
return false; |
|
|
|
|
|
|
|
|
|
} |
|
|
|
@ -442,6 +467,10 @@ export default {
|
|
|
|
|
this.newsLists = res.data.title_list; |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
openNotDone(){ |
|
|
|
|
this.modalContent = '暂未开启,敬请期待'; |
|
|
|
|
this.$refs.notDone.open('center'); |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
onPageScroll(res) { |
|
|
|
|
if (res.scrollTop <= 20) { |
|
|
|
|