This commit is contained in:
lnn19986213 2024-03-11 10:27:39 +08:00
parent aca50a0810
commit 68fe627d7c
13 changed files with 13 additions and 13 deletions

View File

@ -5,7 +5,7 @@
</view>
<view v-if="load == false">
<view class="top_swiper">
<u-swiper :list="img" indicator indicatorMode="line" circular height="200" imgMode="aspectFit" @click="previewImage"></u-swiper>
<u-swiper :list="img" indicator indicatorMode="line" circular height="200" imgMode="aspectFit" ></u-swiper>
</view>
<view class="top_title">
标题

View File

@ -9,7 +9,7 @@
<image style="width: 100%;" :src="cover" mode="widthFix"></image>
</view> -->
<!-- 轮播图 -->
<u-swiper v-if="list.length > 0" :list="list" :autoplay="true" @change="e => currentNum = e.current" indicatorStyle="right: 20px" imgMode="aspectFit" @click="previewImage">
<u-swiper v-if="list.length > 0" :list="list" :autoplay="true" @change="e => currentNum = e.current" indicatorStyle="right: 20px" imgMode="aspectFit" >
<view slot="indicator" class="indicator-num" >
<text class="indicator-num__text">{{ currentNum + 1 }}/{{ list.length }}</text>
</view>

View File

@ -9,7 +9,7 @@
</view>
<view class="pageImg">
<u-swiper v-if="list.length > 0" :list="list" :autoplay="true" @change="e => currentNum = e.current"
indicatorStyle="right: 20px" height='440rpx' imgMode="aspectFit" @click="previewImage">
indicatorStyle="right: 20px" height='440rpx' imgMode="aspectFit" >
<view slot="indicator" class="indicator-num">
<text class="indicator-num__text">{{ currentNum + 1 }}/{{ list.length }}</text>
</view>

View File

@ -9,7 +9,7 @@
</view>
<view class="pageImg">
<u-swiper v-if="list.length > 0" :list="list" :autoplay="true" @change="e => currentNum = e.current"
indicatorStyle="right: 20px" height='440rpx' imgMode="aspectFit" @click="previewImage">
indicatorStyle="right: 20px" height='440rpx' imgMode="aspectFit" >
<view slot="indicator" class="indicator-num">
<text class="indicator-num__text">{{ currentNum + 1 }}/{{ list.length }}</text>
</view>

View File

@ -10,7 +10,7 @@
</view> -->
<!-- 轮播图 -->
<u-swiper v-if="list.length > 0" :list="list" :autoplay="true" @change="e => currentNum = e.current" indicatorStyle="right: 20px" height="200" imgMode="aspectFit" @click="previewImage">
<u-swiper v-if="list.length > 0" :list="list" :autoplay="true" @change="e => currentNum = e.current" indicatorStyle="right: 20px" height="200" imgMode="aspectFit">
<view slot="indicator" class="indicator-num" >
<text class="indicator-num__text">{{ currentNum + 1 }}/{{ list.length }}</text>
</view>

View File

@ -4,7 +4,7 @@
<u-loading-page :loading="load"></u-loading-page>
</view>
<view class="workDetail" v-if="load == false">
<u-swiper :list="list" :autoplay="true" @change="e => currentNum = e.current" indicatorStyle="right: 20px" height="300px" imgMode="aspectFit" @click="previewImage">
<u-swiper :list="list" :autoplay="true" @change="e => currentNum = e.current" indicatorStyle="right: 20px" height="300px" imgMode="aspectFit" >
<view slot="indicator" class="indicator-num">
<text class="indicator-num__text">{{ currentNum + 1 }}/{{ list.length }}</text>
</view>

View File

@ -13,7 +13,7 @@
</view>
</view>
</view>
<u-swiper :list="list" indicator indicatorMode="dot" circular height="240" imgMode="aspectFit" @click="previewImage"></u-swiper>
<u-swiper :list="list" indicator indicatorMode="dot" circular height="240" imgMode="aspectFit"></u-swiper>
<view class="layout">
<!-- 文创展厅(功能不明先隐藏) -->
<view class="activityColumn">

View File

@ -9,7 +9,7 @@
</view>
<view class="pageImg">
<u-swiper v-if="list.length > 0" :list="list" :autoplay="true" @change="e => currentNum = e.current"
indicatorStyle="right: 20px" height='440rpx' imgMode="aspectFit" @click="previewImage">
indicatorStyle="right: 20px" height='440rpx' imgMode="aspectFit" >
<view slot="indicator" class="indicator-num">
<text class="indicator-num__text">{{ currentNum + 1 }}/{{ list.length }}</text>
</view>

View File

@ -2,7 +2,7 @@
<view>
<view class="help_bg_box">
<view class=" bg_img_box">
<u-swiper :list="img" indicator indicatorMode="line" circular height="200" imgMode="aspectFit" @click="previewImage"></u-swiper>
<u-swiper :list="img" indicator indicatorMode="line" circular height="200" imgMode="aspectFit" ></u-swiper>
</view>
</view>
<view class="header">

View File

@ -4,7 +4,7 @@
<u-loading-page :loading="load"></u-loading-page>
</view>
<view class="workDetail" v-if="load == false">
<u-swiper :list="list" :autoplay="true" @change="e => currentNum = e.current" indicatorStyle="right: 20px" height="300px" imgMode="aspectFit" @click="previewImage">
<u-swiper :list="list" :autoplay="true" @change="e => currentNum = e.current" indicatorStyle="right: 20px" height="300px" imgMode="aspectFit" >
<view slot="indicator" class="indicator-num">
<text class="indicator-num__text">{{ currentNum + 1 }}/{{ list.length }}</text>
</view>

View File

@ -10,7 +10,7 @@
:duration="duration">
<swiper-item v-for="(v,i) in img" :key="i">
<view class="swiper_box">
<image class="swiper_img" :src='img[i]' mode="aspectFit" @click="previewImage(i)"></image>
<image class="swiper_img" :src='img[i]' mode="aspectFit" ></image>
</view>
</swiper-item>
</swiper>

View File

@ -6,7 +6,7 @@
<view class="page" v-if="load == false">
<view class="pageImg" v-if="list.length > 0">
<u-swiper v-if="list.length > 0" :list="list" :autoplay="true" @change="(e) => (currentNum = e.current)"
indicatorStyle="right: 20px" height="440rpx" imgMode="aspectFit" @click="previewImage">
indicatorStyle="right: 20px" height="440rpx" imgMode="aspectFit" >
<view slot="indicator" class="indicator-num">
<text class="indicator-num__text">{{ currentNum + 1 }}/{{ list.length }}</text>
</view>

View File

@ -6,7 +6,7 @@
<view class="page" v-if="load == false">
<view class="pageImg" v-if="list.length > 0">
<u-swiper v-if="list.length > 0" :list="list" :autoplay="true" @change="(e) => (currentNum = e.current)"
indicatorStyle="right: 20px" height="440rpx" imgMode="aspectFit" @click="previewImage">
indicatorStyle="right: 20px" height="440rpx" imgMode="aspectFit" >
<view slot="indicator" class="indicator-num">
<text class="indicator-num__text">{{ currentNum + 1 }}/{{ list.length }}</text>
</view>