This commit is contained in:
2025-05-07 08:50:01 +08:00
parent 5325281fb4
commit f085b3c79b
7 changed files with 269 additions and 143 deletions

View File

@@ -24,7 +24,12 @@ const preview = () => {
<template>
<!-- #ifndef MP-WEIXIN -->
<image @click="preview" v-bind="$attrs" :src="src" mode="aspectFill"></image>
<!-- #endif -->
<!-- #ifdef MP-WEIXIN -->
<image @click="preview" :src="src" mode="aspectFill"></image>
<!-- #endif -->
<view
v-if="show"
@@ -38,8 +43,9 @@ const preview = () => {
</swiper-item>
</swiper>
<view class="bg-[rgba(255,255,255,.3)] text-[#fff] test-28r rounded-full px-[20rpx] py-[6rpx] fixed left-1/2 -translate-x-1/2">
{{cur+1}} / {{list.length}}
<view
class="bg-[rgba(255,255,255,.3)] text-[#fff] test-28r rounded-full px-[20rpx] py-[6rpx] fixed left-1/2 -translate-x-1/2">
{{ cur + 1 }} / {{ list.length }}
</view>
</template>
<template v-else>