zzzz
2024-03-20 d25a45190cee44b36296693d5022a0ce9ae9b698
src/page/home.vue
@@ -3,38 +3,39 @@
    <!--    //头部组件-->
    <div class="px-32">
      <ex-header :unread_num="`${unreadMsg_num}`"></ex-header>
      <ioe-swiper />
      <van-notice-bar
        class="font-26 textColor"
        left-icon="volume-o"
        :scrollable="false"
        background="transparent"
        :text="announceTitle"
      >
        <div slot="left-icon" class="pr-13 flex items-center">
          <img class="w-36 h-36" src="../assets/Horn.png" alt="" />
        </div>
        <van-swipe
          vertical
          class="notice-swipe"
          :autoplay="2000"
          :show-indicators="false"
      <ioe-swiper>
        <van-notice-bar
          class="font-26 textColors"
          left-icon="volume-o"
          :scrollable="false"
          background="transparent"
          :text="announceTitle"
        >
          <van-swipe-item
            v-for="item in announceList"
            :key="item.id"
            @click="toAnnounceDetail(item.id)"
            >{{ item.title }}</van-swipe-item
          <div slot="left-icon" class="pr-13 flex items-center">
            <img class="w-36 h-36" src="../assets/Horn.png" alt="" />
          </div>
          <van-swipe
            vertical
            class="notice-swipe"
            :autoplay="2000"
            :show-indicators="false"
          >
        </van-swipe>
        <div
          class="ml-20 flex items-center"
          slot="right-icon"
          @click.stop="$router.push('/announce')"
        >
          <img class="w-36 h-36" src="../assets/more.png" alt="" />
        </div>
      </van-notice-bar>
            <van-swipe-item
              v-for="item in announceList"
              :key="item.id"
              @click="toAnnounceDetail(item.id)"
              >{{ item.title }}</van-swipe-item
            >
          </van-swipe>
          <!-- <div
            class="ml-20 flex items-center"
            slot="right-icon"
            @click.stop="$router.push('/announce')"
          >
            <img class="w-36 h-36" src="../assets/more.png" alt="" />
          </div> -->
        </van-notice-bar>
      </ioe-swiper>
    </div>
    <div
      class="pt-40 contRound"
@@ -665,4 +666,7 @@
    transform: translatex(-50%);
  }
}
.textColors {
  color: #fff !important;
}
</style>