新增tg和第三方邮件转发
This commit is contained in:
@@ -125,7 +125,7 @@
|
||||
<span>
|
||||
<Icon icon="mdi-light:email" width="20" height="20"/>
|
||||
</span>
|
||||
<span>{{ item.status === 7 ? formateReceive(item.recipient) : item.accountEmail }}</span>
|
||||
<span>{{ item.toEmail }}</span>
|
||||
</div>
|
||||
<div class="del-status" v-if="item.isDel">
|
||||
<el-tag type="info" size="small">已删除</el-tag>
|
||||
|
||||
@@ -39,6 +39,8 @@ function updateContent() {
|
||||
const bodyStyleMatch = props.html.match(bodyStyleRegex);
|
||||
const bodyStyle = bodyStyleMatch ? bodyStyleMatch[1] : '';
|
||||
|
||||
console.log(bodyStyle)
|
||||
|
||||
// 2. 移除 <body> 标签(保留内容)
|
||||
const cleanedHtml = props.html.replace(/<\/?body[^>]*>/gi, '');
|
||||
|
||||
@@ -63,19 +65,11 @@ function updateContent() {
|
||||
${bodyStyle ? bodyStyle : ''} /* 注入 body 的 style */
|
||||
}
|
||||
|
||||
img {
|
||||
img:not(table img) {
|
||||
max-width: 100%;
|
||||
height: auto !important;
|
||||
}
|
||||
|
||||
*:not(p) {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
font-family: inherit;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
}
|
||||
|
||||
</style>
|
||||
<div class="shadow-content">
|
||||
${cleanedHtml}
|
||||
|
||||
Reference in New Issue
Block a user