新增无人收件和支持一些字符邮箱

This commit is contained in:
eoao
2025-06-25 10:39:21 +08:00
parent 621859c454
commit 9aa8d3a410
12 changed files with 47 additions and 41 deletions

View File

@@ -91,6 +91,14 @@
height="20"/>
</el-tooltip>
<el-tooltip v-if="item.status === 7"
effect="dark"
content="无人收件"
>
<Icon icon="ic:round-mark-email-read" style="color:#FBBD08" width="20"
height="20"/>
</el-tooltip>
</div>
<div v-else></div>
<span class="name">

View File

@@ -76,9 +76,6 @@ function updateContent() {
-webkit-tap-highlight-color: transparent;
}
a {
color: #409EFF !important;
}
</style>
<div class="shadow-content">
${cleanedHtml}

View File

@@ -1,4 +1,4 @@
export function isEmail(email) {
const reg = /^[a-zA-Z0-9]+@([a-zA-Z0-9-]+\.)+[a-zA-Z0-9-]+$/;
const reg = /^[a-zA-Z0-9!#$%&'*+/=?^_`{|}~.-]+@([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,}$/;
return reg.test(email);
}

View File

@@ -27,10 +27,10 @@
placeholder="请选择"
class="select"
>
<el-option key="1" label="用户" :value="'user'"/>
<el-option key="2" label="邮箱" :value="'account'"/>
<el-option key="3" label="发件人" :value="'name'"/>
<el-option key="4" label="主题" :value="'subject'"/>
<el-option key="1" label="用户" :value="'user'"/>
<el-option key="2" label="邮箱" :value="'account'"/>
</el-select>
<div style="color: #333;display: flex;">
<span>{{ selectTitle }}</span>
@@ -41,9 +41,10 @@
</el-input>
<el-select v-model="params.type" placeholder="Select" class="status-select">
<el-option key="1" label="全部" value="all"/>
<el-option key="2" label="发件" value="send"/>
<el-option key="3" label="收件" value="receive"/>
<el-option key="4" label="删除" value="delete"/>
<el-option key="3" label="已接收" value="receive"/>
<el-option key="2" label="已发送" value="send"/>
<el-option key="4" label="删除" value="delete"/>
<el-option key="4" label="无人收件" value="noone"/>
</el-select>
<Icon class="icon" icon="iconoir:search" @click="search" width="20" height="20"/>
<Icon class="icon" @click="changeTimeSort" icon="material-symbols-light:timer-arrow-down-outline"
@@ -191,7 +192,7 @@ function getEmailList(emailId, size) {
.status-select {
margin-bottom: 2px;
width: 80px;
width: 100px;
:deep(.el-select__wrapper) {
min-height: 28px;
}

View File

@@ -213,7 +213,7 @@
<div class="card-content">
<div class="concerning-item">
<span>版本:</span>
<span>v1.2.0</span>
<span>v1.2.1</span>
</div>
<div class="concerning-item">
<span>交流:</span>