Fri Jul 14 14:05:00 CST 2023 inscode

上级 34cea0d2
......@@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="https://csdn-665-inscode.s3.cn-north-1.jdcloud-oss.com/inscode/202307/anonymous/1688436360645-09755384-VMG9VSsOi4FZl8WOUxmIxdojCO1Jy0wY/avatar" />
<link rel="icon" href="https://csdn-665-inscode.s3.cn-north-1.jdcloud-oss.com/inscode/202307/622aa39c1f9b166ab1a38c05/1689313832234-63659446-QeEVrAvJoQIMBZjs2NChZ0MzsXv2Gz8B/avatar" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite App</title>
</head>
......
......@@ -36,7 +36,7 @@
<t-card class="bg-orange-100 mt-8 text-gray-600 text-sm" v-if="sdServerType === 'common'">
公共服务器为临时提供的测试服务器,可能存在需要排队或随时下线的可能。<br/>
建议使用
<t-tooltip content="购买后上面服务器地址填写 工作台-Stable Diffusion WebUI域名即可" theme="primary">
<t-tooltip content='购买后上面服务器地址填写 工作台-小羊驼 域名,同时把端口换成8000,并添加"/v1"后缀' theme="primary">
<t-link href="https://inscode.csdn.net/gpu?utm_source=sd_app" target="_blank" :suffix-icon="renderSuffixIcon" underline>私有服务器</t-link>
</t-tooltip>
</t-card>
......@@ -74,7 +74,7 @@
<div class="flex flex-row-reverse">
<t-image class="rounded-lg" v-if="config.user_img" :src="config.user_img" fit="cover"
:style="{ width: '40px', height: '40px' }"></t-image>
<div class="bg-green-400 text-gray-700 p-4 mx-2 w-fit max-w-2xl 2xl:max-w-4xl rounded-lg cursor-pointer" @click="copyAsPrompt(item.message)" v-html="item.message">
<div class="bg-green-400 text-gray-700 p-4 mx-2 w-fit max-w-2xl 2xl:max-w-4xl rounded-lg cursor-pointer text-sm" @click="copyAsPrompt(item.message)" v-html="item.message">
</div>
</div>
......@@ -88,13 +88,15 @@
<img v-if="item.img" :src="item.img"/>
<img v-else src="/loading.gif" class="w-[512px]"/>
</template>
<template v-else-if="item.message && item.message.length > 5">{{ item.message }}
<markdown-it-vue class="md-body" content="123" :options="mdOptions" :key="index" v-if="item.message"/>
<template v-else-if="item.message && item.message.length > 5">
<p class="text-sm">
{{ item.message }}
</p>
<!-- <markdown-it-vue class="md-body" content="123" :options="mdOptions" :key="index" v-if="item.message"/> -->
</template>
<template v-else>
获取中...
</template>
<p class="text-sm" v-else>获取中...</p>
</div>
</div>
</div>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册