首页增加抽奖悬浮,tab增加任务

This commit is contained in:
GaoHao
2024-12-06 16:47:09 +08:00
parent 2506dd8d57
commit d625d301cf
20 changed files with 220 additions and 3 deletions

View File

@@ -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