优化页面

This commit is contained in:
pengxiaolong
2025-06-09 19:18:38 +08:00
parent d30589fd05
commit c5042d08c3
811 changed files with 2799 additions and 503 deletions

View File

@@ -0,0 +1 @@
"use strict";const e=require("../adapter-vue.js"),t=require("../../../common/vendor.js"),{computed:r}=e.vue,n={props:{payload:{type:Object,default:()=>({})}},setup(e){const n=r((()=>{let r=t.marked.parse(e.payload.content);const n=new RegExp("<img","gi");return r=r.replace(n,'<img style="max-width: 100%;"'),r}));return{props:e,formatedContent:n}}};const o=t._export_sfc(n,[["render",function(e,t,r,n,o,a){return{a:n.formatedContent}}]]);wx.createComponent(o);