feat: add fallback pages and refine page interactions

This commit is contained in:
2026-05-22 00:09:00 +08:00
parent 78b1c952e7
commit f35baf4a67
9 changed files with 175 additions and 16 deletions
+4 -4
View File
@@ -447,7 +447,7 @@ onUnmounted(() => {
<input
v-model="activeItem.customCloudType"
type="text"
placeholder="输入云型名称"
placeholder="输入云的类型"
@input="activeItem.errors = {}"
class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-sky-500 focus:border-transparent transition-colors"
/>
@@ -517,7 +517,7 @@ onUnmounted(() => {
</button>
</div>
</div>
<p class="text-xs text-gray-400 mt-1">选填可手动输入或点击右侧小地图图标选</p>
<p class="text-xs text-gray-400 mt-1">选填可手动输入或点击右侧小地图图标选</p>
</div>
<!-- 位置名称 -->
@@ -545,7 +545,7 @@ onUnmounted(() => {
<!-- 隐身模式 -->
<div class="flex items-center gap-2">
<input v-model="activeItem.isHidden" type="checkbox" :id="'isHidden-' + activeItem.id" class="w-4 h-4 text-sky-500 border-gray-300 rounded focus:ring-sky-500" />
<label :for="'isHidden-' + activeItem.id" class="text-sm text-gray-600">隐身模式地图显示位置</label>
<label :for="'isHidden-' + activeItem.id" class="text-sm text-gray-600">隐身模式不在地图显示</label>
</div>
</div>
</NCard>
@@ -553,7 +553,7 @@ onUnmounted(() => {
</div>
<div class="mt-6 flex items-center justify-between">
<p class="text-sm text-gray-500"> {{ items.length }} 张图片类别和拍摄时间为必填项</p>
<p class="text-sm text-gray-500"> {{ items.length }} 张图片</p>
<div class="flex gap-3">
<NButton secondary strong @click="clearAll()" :disabled="uploading">清空</NButton>
<NButton type="primary" secondary strong @click="handleSubmit" :disabled="uploading">