Selaa lähdekoodia

首页兑换新增默认盲票显示

hwb0 3 vuotta sitten
vanhempi
commit
102e7f87a7

+ 1 - 1
pages/about/index.vue

@@ -4,7 +4,7 @@
 		<view class="about">
 			<view class="flex about-logo">
 				<image src="../../static/logo.png" mode=""></image>
-				<view class="edition">v 1.1.0</view>
+				<view class="edition">v 1.1.1</view>
 			</view>
 			<view class="about-action">
 				<u-cell-group :border="false">

+ 9 - 2
pages/index/index.vue

@@ -23,10 +23,17 @@
 			</view>
 			<view class="box-ticket">
 				<swiper class="image-container" circular :vertical="true" :current="currentIndex" :autoplay="false"
-					@change="swiperChange">
+					@change="swiperChange" v-if="imgList.length">
 					<swiper-item class="swiper-item" v-for="(item, index) in imgList" :key="item.picUrl">
 						<view class="flex image-wrap">
-							<image class="img" @click="clickImg(item)" :src="item.picUrl" lazy-load mode=""></image>
+							<image class="img" :src="item.picUrl" lazy-load mode=""></image>
+						</view>
+					</swiper-item>
+				</swiper>
+				<swiper class="image-container" circular :vertical="true" :autoplay="false" v-else>
+					<swiper-item class="swiper-item">
+						<view class="flex image-wrap">
+							<image class="img" src="../../static/icon/ticket_index.png" lazy-load mode=""></image>
 						</view>
 					</swiper-item>
 				</swiper>

BIN
static/icon/box_left.png


BIN
static/icon/box_right.png


BIN
static/icon/goods_bg.png


BIN
static/icon/index_box1.png


BIN
static/icon/ticket_index.png