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>
<view v-if="load == false"> <view v-if="load == false">
<view class="top_swiper"> <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>
<view class="top_title"> <view class="top_title">
标题 标题

View File

@ -9,7 +9,7 @@
<image style="width: 100%;" :src="cover" mode="widthFix"></image> <image style="width: 100%;" :src="cover" mode="widthFix"></image>
</view> --> </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" > <view slot="indicator" class="indicator-num" >
<text class="indicator-num__text">{{ currentNum + 1 }}/{{ list.length }}</text> <text class="indicator-num__text">{{ currentNum + 1 }}/{{ list.length }}</text>
</view> </view>

View File

@ -9,7 +9,7 @@
</view> </view>
<view class="pageImg"> <view class="pageImg">
<u-swiper v-if="list.length > 0" :list="list" :autoplay="true" @change="e => currentNum = e.current" <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"> <view slot="indicator" class="indicator-num">
<text class="indicator-num__text">{{ currentNum + 1 }}/{{ list.length }}</text> <text class="indicator-num__text">{{ currentNum + 1 }}/{{ list.length }}</text>
</view> </view>

View File

@ -9,7 +9,7 @@
</view> </view>
<view class="pageImg"> <view class="pageImg">
<u-swiper v-if="list.length > 0" :list="list" :autoplay="true" @change="e => currentNum = e.current" <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"> <view slot="indicator" class="indicator-num">
<text class="indicator-num__text">{{ currentNum + 1 }}/{{ list.length }}</text> <text class="indicator-num__text">{{ currentNum + 1 }}/{{ list.length }}</text>
</view> </view>

View File

@ -10,7 +10,7 @@
</view> --> </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" > <view slot="indicator" class="indicator-num" >
<text class="indicator-num__text">{{ currentNum + 1 }}/{{ list.length }}</text> <text class="indicator-num__text">{{ currentNum + 1 }}/{{ list.length }}</text>
</view> </view>

View File

@ -4,7 +4,7 @@
<u-loading-page :loading="load"></u-loading-page> <u-loading-page :loading="load"></u-loading-page>
</view> </view>
<view class="workDetail" v-if="load == false"> <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"> <view slot="indicator" class="indicator-num">
<text class="indicator-num__text">{{ currentNum + 1 }}/{{ list.length }}</text> <text class="indicator-num__text">{{ currentNum + 1 }}/{{ list.length }}</text>
</view> </view>

View File

@ -13,7 +13,7 @@
</view> </view>
</view> </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="layout">
<!-- 文创展厅(功能不明先隐藏) --> <!-- 文创展厅(功能不明先隐藏) -->
<view class="activityColumn"> <view class="activityColumn">

View File

@ -9,7 +9,7 @@
</view> </view>
<view class="pageImg"> <view class="pageImg">
<u-swiper v-if="list.length > 0" :list="list" :autoplay="true" @change="e => currentNum = e.current" <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"> <view slot="indicator" class="indicator-num">
<text class="indicator-num__text">{{ currentNum + 1 }}/{{ list.length }}</text> <text class="indicator-num__text">{{ currentNum + 1 }}/{{ list.length }}</text>
</view> </view>

View File

@ -2,7 +2,7 @@
<view> <view>
<view class="help_bg_box"> <view class="help_bg_box">
<view class=" bg_img_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> </view>
<view class="header"> <view class="header">

View File

@ -4,7 +4,7 @@
<u-loading-page :loading="load"></u-loading-page> <u-loading-page :loading="load"></u-loading-page>
</view> </view>
<view class="workDetail" v-if="load == false"> <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"> <view slot="indicator" class="indicator-num">
<text class="indicator-num__text">{{ currentNum + 1 }}/{{ list.length }}</text> <text class="indicator-num__text">{{ currentNum + 1 }}/{{ list.length }}</text>
</view> </view>

View File

@ -10,7 +10,7 @@
:duration="duration"> :duration="duration">
<swiper-item v-for="(v,i) in img" :key="i"> <swiper-item v-for="(v,i) in img" :key="i">
<view class="swiper_box"> <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> </view>
</swiper-item> </swiper-item>
</swiper> </swiper>

View File

@ -6,7 +6,7 @@
<view class="page" v-if="load == false"> <view class="page" v-if="load == false">
<view class="pageImg" v-if="list.length > 0"> <view class="pageImg" v-if="list.length > 0">
<u-swiper v-if="list.length > 0" :list="list" :autoplay="true" @change="(e) => (currentNum = e.current)" <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"> <view slot="indicator" class="indicator-num">
<text class="indicator-num__text">{{ currentNum + 1 }}/{{ list.length }}</text> <text class="indicator-num__text">{{ currentNum + 1 }}/{{ list.length }}</text>
</view> </view>

View File

@ -6,7 +6,7 @@
<view class="page" v-if="load == false"> <view class="page" v-if="load == false">
<view class="pageImg" v-if="list.length > 0"> <view class="pageImg" v-if="list.length > 0">
<u-swiper v-if="list.length > 0" :list="list" :autoplay="true" @change="(e) => (currentNum = e.current)" <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"> <view slot="indicator" class="indicator-num">
<text class="indicator-num__text">{{ currentNum + 1 }}/{{ list.length }}</text> <text class="indicator-num__text">{{ currentNum + 1 }}/{{ list.length }}</text>
</view> </view>