fix(ui): 修复首页试听条文字折行问题,完善单行文本省略截断规范与文案精简

这个提交包含在:
wikiboss
2026-09-16 20:22:18 +08:00
父节点 21792f10b3
当前提交 63e81995ad
共有 9 个文件被更改,包括 146 次插入 和 105 次删除

查看文件

@@ -96,7 +96,7 @@
<image class="row-svg" :src="ICONS.palette" mode="aspectFit" />
<text class="row-label">界面主题风格</text>
<view class="theme-pill" :class="{ warm: currentThemeKey === 'warm' }">
<text>{{ currentThemeKey === 'warm' ? '暖阳赤焰' : '冷光暗夜' }}</text>
<text>{{ currentThemeKey === 'warm' ? '浅色暖阳' : '冷光暗夜' }}</text>
</view>
<text class="row-arrow">></text>
</view>
@@ -144,13 +144,13 @@ onUnmounted(() => {
const handleSwitchTheme = () => {
uni.showActionSheet({
itemList: ['冷光暗夜 (经典暗夜蓝紫)', '暖阳赤焰 (热情暖橙金流光)'],
itemList: ['冷光暗夜 (经典电竞暗黑)', '浅色暖阳 (温馨奶油米白·暖橙)'],
success: (res) => {
const selectedKey = res.tapIndex === 1 ? THEME_KEYS.WARM : THEME_KEYS.COOL;
currentThemeKey.value = selectedKey;
setTheme(selectedKey);
uni.showToast({
title: selectedKey === THEME_KEYS.WARM ? '已切换至【暖阳赤焰】暖色系' : '已切换至【冷光暗夜】经典款',
title: selectedKey === THEME_KEYS.WARM ? '已切换至【浅色暖阳】主题' : '已切换至【冷光暗夜】经典款',
icon: 'none',
duration: 1500
});