feat: 改造了组件的渲染逻辑

This commit is contained in:
2026-06-04 10:57:28 +08:00
parent 19b97fc326
commit e5ec442500
5 changed files with 267 additions and 219 deletions

View File

@@ -5,7 +5,7 @@
<view class="flex flex-col px-16 pt-16 pb-12 border-box">
<view v-if="tag" class="long-answer-tag" :style="longAnswerTagStyle">{{ tag }}</view>
<view v-if="title" class="flex flex-row flex-items-start flex-justify-start mb-4">
<uni-icons class="icon-active" type="fire-filled" size="18" color="opacity" />
<uni-icons class="icon-active color-FF3D60" type="fire-filled" size="18" color="opacity" />
<text class="font-size-16 font-500 text-color-900 ml-6"> {{ title }}</text>
</view>
<!-- 文字内容最多显示3行 -->
@@ -174,7 +174,6 @@ const lookDetailAction = () => {
<style scoped lang="scss">
.icon-active {
margin-top: 1px;
color: $theme-color-500;
}
.answer-content {
display: -webkit-box;