update
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user