1
0
mirror of https://github.com/ialley-workshop-open/uni-halo.git synced 2026-07-27 04:20:43 +08:00

style: 统一项目内文字尺寸为xs替换11px

1. 调整微信登录按钮图标颜色格式为小写
2. 统一帖子卡片、文章详情页的文字大小为xs替代11px
This commit is contained in:
小莫唐尼
2026-06-16 01:56:54 +08:00
parent 9dc5aae164
commit af87beebff
3 changed files with 14 additions and 14 deletions
+4 -4
View File
@@ -116,14 +116,14 @@ function handleToPostDetail() {
{{ post.status.excerpt }} {{ post.status.excerpt }}
</view> </view>
<view class="w-full flex items-center" :class="textFooterClass"> <view class="w-full flex items-center" :class="textFooterClass">
<view class="line-clamp-1 text-[11px] text-gray-600"> <view class="line-clamp-1 text-xs text-gray-600">
{{ timeFrom(post.spec.publishTime) }} {{ timeFrom(post.spec.publishTime) }}
</view> </view>
<template v-if="false"> <template v-if="false">
<view class="shrink-0 text-xs text-gray-600"> <view class="shrink-0 text-xs text-gray-600">
· ·
</view> </view>
<view class="line-clamp-1 text-[11px] text-gray-600"> <view class="line-clamp-1 text-xs text-gray-600">
{{ post.categories.map(c => c.spec.displayName).join('·') }} {{ post.categories.map(c => c.spec.displayName).join('·') }}
</view> </view>
</template> </template>
@@ -131,14 +131,14 @@ function handleToPostDetail() {
<view class="shrink-0 text-xs text-gray-600"> <view class="shrink-0 text-xs text-gray-600">
· ·
</view> </view>
<view class="text-[11px] text-gray-600"> <view class="text-xs text-gray-600">
点赞 {{ post.stats.upvote }} 点赞 {{ post.stats.upvote }}
</view> </view>
</template> </template>
<view class="shrink-0 text-xs text-gray-600"> <view class="shrink-0 text-xs text-gray-600">
· ·
</view> </view>
<view class="line-clamp-1 text-[11px] text-gray-600"> <view class="line-clamp-1 text-xs text-gray-600">
浏览 {{ post.stats.visit }} 浏览 {{ post.stats.visit }}
</view> </view>
</view> </view>
+1 -1
View File
@@ -370,7 +370,7 @@ function handleBack() {
class="h-10 w-full flex items-center justify-center gap-x-2 rounded-xl bg-[#07C160] text-sm text-white font-medium" class="h-10 w-full flex items-center justify-center gap-x-2 rounded-xl bg-[#07C160] text-sm text-white font-medium"
@click="handleWxLogin" @click="handleWxLogin"
> >
<wd-icon name="wechat" color="#FFFFFF" :size="18" /> <wd-icon name="wechat" color="#ffffff" :size="18" />
<text>微信一键登录</text> <text>微信一键登录</text>
</view> </view>
<!-- #endif --> <!-- #endif -->
+9 -9
View File
@@ -208,15 +208,15 @@ function handleScrollContentToTop() {
<!-- 元信息 --> <!-- 元信息 -->
<view class="box-border flex flex-1 items-center gap-x-1 px-4"> <view class="box-border flex flex-1 items-center gap-x-1 px-4">
<text class="text-[11px] text-gray-500">{{ publishTime }}</text> <text class="text-xs text-gray-500">{{ publishTime }}</text>
<text class="text-[11px] text-gray-400">·</text> <text class="text-xs text-gray-400">·</text>
<text class="text-[11px] text-gray-500">浏览 {{ stats.visit }}</text> <text class="text-xs text-gray-500">浏览 {{ stats.visit }}</text>
<text class="text-[11px] text-gray-400">·</text> <text class="text-xs text-gray-400">·</text>
<text class="text-[11px] text-gray-500">评论 {{ stats.comment }}</text> <text class="text-xs text-gray-500">评论 {{ stats.comment }}</text>
<text class="text-[11px] text-gray-400">·</text> <text class="text-xs text-gray-400">·</text>
<text class="text-[11px] text-gray-500">点赞 {{ stats.upvote }}</text> <text class="text-xs text-gray-500">点赞 {{ stats.upvote }}</text>
<text class="text-[11px] text-gray-400">·</text> <text class="text-xs text-gray-400">·</text>
<text class="text-[11px] text-gray-500">字数 {{ formatNumberUnit(htmlContent.length) }}</text> <text class="text-xs text-gray-500">字数 {{ formatNumberUnit(htmlContent.length) }}</text>
</view> </view>
<!-- 分割线 --> <!-- 分割线 -->