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:
@@ -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>
|
||||||
|
|||||||
@@ -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 -->
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|
||||||
<!-- 分割线 -->
|
<!-- 分割线 -->
|
||||||
|
|||||||
Reference in New Issue
Block a user