refactor: cleanup, add component name, swap icons
- remove unnecessary wrapper div in ChatMarkdown component - add longTextCardFullDocPreview to CompName constants - replace uni-icons with van-icon in LongTextGuideCardPreview
This commit is contained in:
@@ -56,6 +56,7 @@ export const CompName = {
|
|||||||
longTextCardSnap: "longTextCardSnap",
|
longTextCardSnap: "longTextCardSnap",
|
||||||
longTextCardRoute: "longTextCardRoute",
|
longTextCardRoute: "longTextCardRoute",
|
||||||
longTextCardScenicSpot: "longTextCardScenicSpot",
|
longTextCardScenicSpot: "longTextCardScenicSpot",
|
||||||
|
longTextCardFullDocPreview: "longTextCardFullDocPreview",
|
||||||
// 生成合成图片
|
// 生成合成图片
|
||||||
aigcPhotoGeneratorCard: "aigcPhotoGeneratorCard",
|
aigcPhotoGeneratorCard: "aigcPhotoGeneratorCard",
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="w-full">
|
|
||||||
<vue3-markdown-it :source="text" :html="true" />
|
<vue3-markdown-it :source="text" :html="true" />
|
||||||
</div>
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="mt-6 flex items-center justify-between">
|
<div class="mt-6 flex items-center justify-between">
|
||||||
<span class="text-[#cbd5e1] text-[12px] font-bold">{{ item.footer }}</span>
|
<span class="text-[#cbd5e1] text-[12px] font-bold">{{ item.footer }}</span>
|
||||||
<uni-icons type="right" size="16" color="#CBD5E1"></uni-icons>
|
<van-icon name="arrow" size="16" color="#CBD5E1" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user