mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-12 09:18:14 +08:00
🚸 调整hint
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user