修改首页轮播图
This commit is contained in:
+21
-3
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="work-container">
|
<view class="work-container">
|
||||||
<!-- 轮播图 -->
|
<!-- 仲裁轮播图 -->
|
||||||
<uni-swiper-dot class="uni-swiper-dot-box" :info="data" :current="current" field="content">
|
<uni-swiper-dot v-if="sysType==1" class="uni-swiper-dot-box" :info="data" :current="current" field="content">
|
||||||
<swiper class="swiper-box" :current="swiperDotIndex" @change="changeSwiper">
|
<swiper class="swiper-box" :current="swiperDotIndex" @change="changeSwiper">
|
||||||
<swiper-item v-for="(item, index) in data" :key="index">
|
<swiper-item v-for="(item, index) in data" :key="index">
|
||||||
<view class="swiper-item" @click="clickBannerItem(item)">
|
<view class="swiper-item" @click="clickBannerItem(item)">
|
||||||
@@ -10,7 +10,16 @@
|
|||||||
</swiper-item>
|
</swiper-item>
|
||||||
</swiper>
|
</swiper>
|
||||||
</uni-swiper-dot>
|
</uni-swiper-dot>
|
||||||
|
<!-- 调解轮播图 -->
|
||||||
|
<uni-swiper-dot v-if="sysType==2" class="uni-swiper-dot-box" :info="refreesVal" :current="current" field="content">
|
||||||
|
<swiper class="swiper-box" :current="swiperDotIndex" @change="changeSwiper">
|
||||||
|
<swiper-item v-for="(item, index) in refreesVal" :key="index">
|
||||||
|
<view class="swiper-item" @click="clickBannerItem(item)">
|
||||||
|
<image :src="item.image" mode="aspectFill" :draggable="false" />
|
||||||
|
</view>
|
||||||
|
</swiper-item>
|
||||||
|
</swiper>
|
||||||
|
</uni-swiper-dot>
|
||||||
<!-- 宫格组件 -->
|
<!-- 宫格组件 -->
|
||||||
<!-- <uni-section v-if="certificationStatus == '1'" class="uni-section" title="系统管理" type="line">
|
<!-- <uni-section v-if="certificationStatus == '1'" class="uni-section" title="系统管理" type="line">
|
||||||
<template v-slot:right>
|
<template v-slot:right>
|
||||||
@@ -115,6 +124,15 @@
|
|||||||
image: 'https://img.tukuppt.com/bg_grid/00/81/07/DGEl4suqeV.jpg!/fh/350'
|
image: 'https://img.tukuppt.com/bg_grid/00/81/07/DGEl4suqeV.jpg!/fh/350'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
refreesVal :[
|
||||||
|
{
|
||||||
|
image:'../../static/tiaojie1.png'
|
||||||
|
},{
|
||||||
|
image:'../../static/tiaojie2.png'
|
||||||
|
},{
|
||||||
|
image:'../../static/tiaojie4.png'
|
||||||
|
}
|
||||||
|
],
|
||||||
certificationStatus: "",
|
certificationStatus: "",
|
||||||
eidToken: "",
|
eidToken: "",
|
||||||
sysType:null
|
sysType:null
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 719 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 483 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 394 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 57 KiB |
Reference in New Issue
Block a user