🚸 调整hint

This commit is contained in:
目棃
2025-01-17 16:13:31 +08:00
parent d78b794dc6
commit 18c96102b3
2 changed files with 7 additions and 2 deletions

View File

@@ -159,10 +159,15 @@ defineExpose({ displayBox });
} }
.loading-subtitle { .loading-subtitle {
position: relative;
width: 100%; width: 100%;
max-width: 100%;
height: 25px; height: 25px;
box-sizing: border-box;
padding: 0 20px;
font-size: 1rem; font-size: 1rem;
text-align: center; text-align: center;
word-break: break-all;
} }
.loading-img { .loading-img {

View File

@@ -71,7 +71,7 @@ watch(
() => showOri.value, () => showOri.value,
async () => { async () => {
if (!showOri.value) return; if (!showOri.value) return;
await showLoading.start("加载中..."); await showLoading.start("正在加载原图", props.data.insert.image);
if (localUrl.value) URL.revokeObjectURL(localUrl.value); if (localUrl.value) URL.revokeObjectURL(localUrl.value);
localUrl.value = await saveImgLocal(props.data.insert.image); localUrl.value = await saveImgLocal(props.data.insert.image);
await showLoading.end(); await showLoading.end();
@@ -97,7 +97,7 @@ function getImageTitle(): string {
return res.join("\n"); return res.join("\n");
} }
</script> </script>
<style lang="css" scoped> <style lang="scss" scoped>
.tp-image-box { .tp-image-box {
position: relative; position: relative;
display: flex; display: flex;