feat: 图片浏览器的样式调整
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user