feat: 图片浏览器的样式调整

This commit is contained in:
2025-10-22 19:29:27 +08:00
parent df5e9e92a1
commit 6eadcb46cd
4 changed files with 42 additions and 39 deletions

View File

@@ -22,10 +22,6 @@
</swiper-item>
</swiper>
<view class="custom-indicator">
图片{{ active + 1 }}/{{ thumbnails.length }}
</view>
<!-- 缩略图部分 -->
<view
v-if="showThumbnails"
@@ -52,16 +48,26 @@
:src="thumb.photoUrl"
mode="aspectFill"
></image>
<text>{{ thumb.photoName }}</text>
</view>
</view>
</scroll-view>
<view class="custom-indicator">
<uni-icons fontFamily="znicons" size="10" color="#fff">{{
zniconsMap["zn-camera"]
}}</uni-icons>
<text class="custom-indicator-text">{{ thumbnails.length }}</text>
<uni-icons fontFamily="znicons" size="10" color="#fff">{{
zniconsMap["zn-nav-arrow-right"]
}}</uni-icons>
</view>
</view>
</view>
</template>
<script setup>
import { ref, computed, nextTick } from "vue";
import { zniconsMap } from "@/static/fonts/znicons.js";
// Props定义
const props = defineProps({