1
0
mirror of https://github.com/ialley-workshop-open/uni-halo.git synced 2026-11-13 22:11:42 +08:00

refactor: 优化多处组件样式与页面逻辑

1. 重构评论弹窗圆角样式与玻璃弹窗内部样式
2. 更新首页通知入口文案与样式
3. 调整tabbar图标尺寸与样式
4. 优化回到顶部组件布局
5. 重构公告列表页与详情页逻辑,添加加载延迟与数据状态管理
This commit is contained in:
小莫唐尼
2026-09-08 14:13:42 +08:00
parent dbe70e3b49
commit 7b79a2c5a3
8 changed files with 255 additions and 262 deletions
@@ -265,7 +265,7 @@
</script>
<template>
<uh-glass-popup v-model="isShow" position="bottom" custom-class="!border rounded-lt-2xl rounded-rt-2xl"
<uh-glass-popup v-model="isShow" position="bottom" custom-class="!border rounded-2xl"
:z-index="100" @close="handleOnChange(false)">
<view class="box-border p-4">
<view
@@ -50,8 +50,7 @@
const emit = defineEmits<IEmits>()
const panelStyle = computed(() => {
const radiusStyle = props.radius ? `border-radius:${props.radius};` : ''
return `${radiusStyle}${props.customStyle}`
return props.customStyle
})
const panelClass = computed(() =>{
@@ -96,4 +95,10 @@
background-color: rgb(255 255 255 / 88%);
}
}
:deep(.wd-popup--bottom){
left:24rpx;
bottom:24rpx;
right:24rpx;
}
</style>
@@ -65,11 +65,9 @@
</view>
<!-- 右侧更多入口 -->
<view class="flex shrink-0 items-center gap-0.5 py-2 pl-2" @click="handleGoList">
<text class="text-[22rpx] text-[#bbb]">
更多
</text>
<wd-icon name="arrow-right" size="12px" color="#bbb" />
<view class="box-border flex shrink-0 items-center gap-0.5 py-2 pl-2 text-gray-400" @click="handleGoList">
<text class="text-xs"> 全部 </text>
<wd-icon name="arrow-right" size="26rpx" />
</view>
</view>
</template>
@@ -22,9 +22,11 @@
</script>
<template>
<view v-if="visible"
class="uh-global-card-glass border fixed bottom-24 right-4 z-50 h-10 w-10 flex items-center justify-center rounded-full text-primary"
:class="props.customClass" @click="handleScrollTop">
<wd-icon name="arrow-up" size="20px" />
<view v-if="visible" class="fixed bottom-22 right-3 z-50 pb-safe">
<view
class="uh-global-card-glass border h-11 w-11 flex items-center justify-center rounded-full text-primary"
:class="props.customClass" @click="handleScrollTop">
<wd-icon name="arrow-up" size="20px" />
</view>
</view>
</template>