main
Wayne 2 years ago
parent 3e54bc1e36
commit ce432ada07

@ -159,7 +159,7 @@ const noticeClick = (num) => {
}; };
const handleAD = async () => { const handleAD = async () => {
if (userInfo.value.status !== 1) { if (userInfo.value.status === 0) {
let res; let res;
res = await getMarquee(); res = await getMarquee();
if (res.code === 200) { if (res.code === 200) {
@ -304,7 +304,7 @@ const handleLogout = () => {
</van-nav-bar> </van-nav-bar>
<!-- START: 跑馬燈 --> <!-- START: 跑馬燈 -->
<template v-if="userInfo.status !== 1"> <template v-if="userInfo.status === 0">
<van-notice-bar color="#ffffff" background="#e05338" left-icon="volume" mode="link" :scrollable="true"> <van-notice-bar color="#ffffff" background="#e05338" left-icon="volume" mode="link" :scrollable="true">
<van-swipe class="notice-swipe" :touchable="false" :show-indicators="false"> <van-swipe class="notice-swipe" :touchable="false" :show-indicators="false">
<van-swipe-item v-for="(item, key, index) in noticeData" :key="index" @click="noticeClick(key)"> <van-swipe-item v-for="(item, key, index) in noticeData" :key="index" @click="noticeClick(key)">

Loading…
Cancel
Save