fix: 安卓异常

This commit is contained in:
anonymous
2025-01-16 14:19:31 +08:00
parent 9b89ff64b3
commit 302dfdf203
15 changed files with 46 additions and 72 deletions
+4 -21
View File
@@ -1,5 +1,5 @@
<!-- 使用 type="home" 属性设置首页其他页面不需要设置默认为page推荐使用json5更强大且允许注释 -->
<route lang="json5" type="home">
<route lang="json5" type="page">
{
style: {
navigationStyle: 'custom',
@@ -92,28 +92,11 @@
</view>
</view>
</view>
<wd-popup :lockScroll="false" v-model="showNotice" custom-style="border-radius:40rpx;">
<wd-popup :lockScroll="false" v-model="showNotice" custom-style="border-radius:0.2rem;">
<view class="px-30 py-30 w-330 h-457 notice-container rounded-20 flex flex-col">
<view class="text-18 font-bold pb-15 text-center">系统公告</view>
<view class="flex-1 overflow-y-auto">
<view
v-for="(item, index) in announcementList"
:key="item.id"
class="border-b-1 border-b-gray-300 border-b-solid pb-15"
>
<view class="whitespace-nowrap text-14 font-bold text-gradient text-center">
公告{{ ['一', '二', '三', '四', '五', '六', '七', '八', '九', '十'][index] }}
</view>
<view class="mt-12 text-14 text-#333 flex-1" v-html="item.content"></view>
</view>
<view
v-for="(item, index) in announcementList"
:key="item.id"
class="border-b-1 border-b-gray-300 border-b-solid py-15"
>
<view class="whitespace-nowrap text-14 font-bold text-gradient text-center">
公告{{ ['一', '二', '三', '四', '五', '六', '七', '八', '九', '十'][index] }}
</view>
<view v-for="(item, index) in announcementList" :key="item.id" class="mb-15">
<view class="mt-12 text-14 text-#333 flex-1" v-html="item.content"></view>
</view>
</view>
@@ -228,7 +211,7 @@ onLoad(getBanner)
<style scoped>
.home-page {
min-height: 100vh;
padding-bottom: 100rpx;
padding-bottom: 50px;
background: linear-gradient(180deg, #fff3da 0%, #f8f8f8 100%);
}
.notice-container {