首页增加抽奖悬浮,tab增加任务
This commit is contained in:
@@ -175,6 +175,9 @@
|
||||
<!-- 追剧悬浮 -->
|
||||
<drag-button v-if="shodrag && shodrags" @clickClose="clickClose" :videoInfo="videoInfo" :isDock="true"
|
||||
:existTabBar="true" @btnClick="btnClick" />
|
||||
<u-image @click="goMsg('/me/choujiang/choujiang')" :src="`../../static/images/draw/draw_${draw}.png`"
|
||||
style="width: 110rpx;height: 110rpx;position: fixed;right: 30rpx;bottom: 180rpx;"
|
||||
></u-image>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@@ -230,6 +233,7 @@
|
||||
phbVideoList: [], //排行榜视频
|
||||
newVideList: [], //最新热播
|
||||
videoInfo: [],
|
||||
draw: Math.floor((Math.random() * 12) + 1),
|
||||
};
|
||||
},
|
||||
onShareAppMessage(res) {
|
||||
@@ -713,7 +717,7 @@
|
||||
});
|
||||
},
|
||||
// 跳转公告链接
|
||||
goMsg(e) {
|
||||
goMsg(url) {
|
||||
if (url.indexOf('/pages/') !== -1 || url.indexOf('/me/') !== -1) {
|
||||
uni.navigateTo({
|
||||
url
|
||||
|
||||
Reference in New Issue
Block a user