调整移动动端空状态大小、加载时标题改成空
This commit is contained in:
@@ -148,7 +148,7 @@
|
|||||||
<div>没有更多数据了</div>
|
<div>没有更多数据了</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="empty" v-if="noLoading && emailList.length === 0">
|
<div class="empty" v-if="noLoading && emailList.length === 0">
|
||||||
<el-empty description="没有任何邮件"/>
|
<el-empty :image-size="isMobile ? 120 : 0" description="没有任何邮件"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</el-scrollbar>
|
</el-scrollbar>
|
||||||
@@ -223,6 +223,7 @@ let scrollTop = 0
|
|||||||
const latestEmail = ref(null)
|
const latestEmail = ref(null)
|
||||||
const scrollbarRef = ref(null)
|
const scrollbarRef = ref(null)
|
||||||
let reqLock = false
|
let reqLock = false
|
||||||
|
let isMobile = window.innerWidth < 1025
|
||||||
const queryParam = reactive({
|
const queryParam = reactive({
|
||||||
emailId: 0,
|
emailId: 0,
|
||||||
size: 30,
|
size: 30,
|
||||||
@@ -403,7 +404,6 @@ function addItem(email) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
latestEmail.value = email
|
|
||||||
total.value++
|
total.value++
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -39,8 +39,6 @@ function updateContent() {
|
|||||||
const bodyStyleMatch = props.html.match(bodyStyleRegex);
|
const bodyStyleMatch = props.html.match(bodyStyleRegex);
|
||||||
const bodyStyle = bodyStyleMatch ? bodyStyleMatch[1] : '';
|
const bodyStyle = bodyStyleMatch ? bodyStyleMatch[1] : '';
|
||||||
|
|
||||||
console.log(bodyStyle)
|
|
||||||
|
|
||||||
// 2. 移除 <body> 标签(保留内容)
|
// 2. 移除 <body> 标签(保留内容)
|
||||||
const cleanedHtml = props.html.replace(/<\/?body[^>]*>/gi, '');
|
const cleanedHtml = props.html.replace(/<\/?body[^>]*>/gi, '');
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ import { websiteConfig } from "@/request/setting.js";
|
|||||||
import {cvtR2Url} from "@/utils/convert.js";
|
import {cvtR2Url} from "@/utils/convert.js";
|
||||||
|
|
||||||
export async function init() {
|
export async function init() {
|
||||||
document.title = 'loading...'
|
document.title = '\u200B'
|
||||||
|
|
||||||
const settingStore = useSettingStore();
|
const settingStore = useSettingStore();
|
||||||
const userStore = useUserStore();
|
const userStore = useUserStore();
|
||||||
|
|||||||
@@ -24,7 +24,6 @@
|
|||||||
import {useAccountStore} from "@/store/account.js";
|
import {useAccountStore} from "@/store/account.js";
|
||||||
import {useEmailStore} from "@/store/email.js";
|
import {useEmailStore} from "@/store/email.js";
|
||||||
import {useSettingStore} from "@/store/setting.js";
|
import {useSettingStore} from "@/store/setting.js";
|
||||||
import {useUiStore} from "@/store/ui.js";
|
|
||||||
import emailScroll from "@/components/email-scroll/index.vue"
|
import emailScroll from "@/components/email-scroll/index.vue"
|
||||||
import {emailList, emailDelete, emailLatest} from "@/request/email.js";
|
import {emailList, emailDelete, emailLatest} from "@/request/email.js";
|
||||||
import {starAdd, starCancel} from "@/request/star.js";
|
import {starAdd, starCancel} from "@/request/star.js";
|
||||||
|
|||||||
@@ -54,7 +54,10 @@
|
|||||||
<div class="dialog-input">
|
<div class="dialog-input">
|
||||||
<el-input-number placeholder="排序" :min="0" :max="9999" v-model.number="form.sort" controls-position="right" autocomplete="off" />
|
<el-input-number placeholder="排序" :min="0" :max="9999" v-model.number="form.sort" controls-position="right" autocomplete="off" />
|
||||||
</div>
|
</div>
|
||||||
<el-segmented size="small" class="perm-expand" @change="expandChange" v-model="expand" :options="options" />
|
<el-radio-group v-model="expand" size="small" @change="expandChange" class="perm-expand">
|
||||||
|
<el-radio-button label="展开" :value="true" />
|
||||||
|
<el-radio-button label="收起" :value="false" />
|
||||||
|
</el-radio-group>
|
||||||
<el-tree
|
<el-tree
|
||||||
:expand-on-click-node="false"
|
:expand-on-click-node="false"
|
||||||
:check-on-click-node="false"
|
:check-on-click-node="false"
|
||||||
@@ -134,8 +137,6 @@ const form = reactive({
|
|||||||
|
|
||||||
const expand = ref(false)
|
const expand = ref(false)
|
||||||
|
|
||||||
const options = [{ label: '展开',value: true }, { label:'收起',value: false}]
|
|
||||||
|
|
||||||
let chooseRole = {}
|
let chooseRole = {}
|
||||||
|
|
||||||
refresh()
|
refresh()
|
||||||
@@ -399,8 +400,10 @@ window.onresize = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.perm-expand {
|
.perm-expand {
|
||||||
margin-bottom: 10px;
|
margin-bottom: 5px;
|
||||||
--el-border-radius-base: 8px;
|
--el-border-radius-base: 4px;
|
||||||
|
position: relative;
|
||||||
|
bottom: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
:deep(.el-dialog) {
|
:deep(.el-dialog) {
|
||||||
|
|||||||
178
mail-worker/dist/assets/index-CdIfOmmZ.js
vendored
178
mail-worker/dist/assets/index-CdIfOmmZ.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
178
mail-worker/dist/assets/index-rQqpL7nd.js
vendored
Normal file
178
mail-worker/dist/assets/index-rQqpL7nd.js
vendored
Normal file
File diff suppressed because one or more lines are too long
4
mail-worker/dist/index.html
vendored
4
mail-worker/dist/index.html
vendored
@@ -6,8 +6,8 @@
|
|||||||
<title></title>
|
<title></title>
|
||||||
<link rel="icon" href="/assets/favicon-C5dAZutX.svg" type="image/svg+xml">
|
<link rel="icon" href="/assets/favicon-C5dAZutX.svg" type="image/svg+xml">
|
||||||
<script src="https://challenges.cloudflare.com/turnstile/v0/api.js" async defer></script>
|
<script src="https://challenges.cloudflare.com/turnstile/v0/api.js" async defer></script>
|
||||||
<script type="module" crossorigin src="/assets/index-CdIfOmmZ.js"></script>
|
<script type="module" crossorigin src="/assets/index-rQqpL7nd.js"></script>
|
||||||
<link rel="stylesheet" crossorigin href="/assets/index-CQpgk37-.css">
|
<link rel="stylesheet" crossorigin href="/assets/index-CiK_6qYX.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="loading-first">
|
<div id="loading-first">
|
||||||
|
|||||||
Reference in New Issue
Block a user