From ecbcc059d43f64877551756de129c653d31d0032 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期四, 07 五月 2026 09:20:20 +0800
Subject: [PATCH] 测试完成
---
src/views/outsideChainxjnew.vue | 19 +++++++++++++------
1 files changed, 13 insertions(+), 6 deletions(-)
diff --git a/src/views/outsideChainxjnew.vue b/src/views/outsideChainxjnew.vue
index 3d40426..d1014b3 100644
--- a/src/views/outsideChainxjnew.vue
+++ b/src/views/outsideChainxjnew.vue
@@ -11,11 +11,7 @@
<div class="preview-left">
<div class="toptitle">
<div class="title">
- {{
- taskname
- ? taskname
- : "鍖绘姢鐭ヨ瘑瀹f暀"
- }}
+ {{ taskname ? taskname : "鍖绘姢鐭ヨ瘑瀹f暀" }}
</div>
<div style="font-size: 22px; margin-bottom: 20px; line-height: 1.5">
{{
@@ -160,10 +156,21 @@
);
},
addStyleToImages(html) {
- return html.replace(
+ if (!html) return html;
+
+ // 1. 鍏堜慨澶嶈矾寰�
+ let processedHtml = html.replace(
+ /\/aifollowup\/aifollowup\//g,
+ "/aifollowup/"
+ );
+
+ // 2. 鍐嶄慨澶嶆牱寮�
+ processedHtml = processedHtml.replace(
/<img([^>]*)style=(['"])(?:(?!\2).)*\2([^>]*)>/g,
'<img$1style="width:100%;height:auto;"$3>'
);
+
+ return processedHtml;
},
// 鍔犲瘑鍑芥暟
encrypt(txt) {
--
Gitblit v1.9.3