Просмотр исходного кода

线下盲票扫码页样式调整、首页左右箭头切换按钮事件调整

DELL 3 лет назад
Родитель
Сommit
851c81fd6f
2 измененных файлов с 7 добавлено и 3 удалено
  1. 2 2
      src/pages/index/index.vue
  2. 5 1
      src/pages/lucky/index.vue

+ 2 - 2
src/pages/index/index.vue

@@ -37,10 +37,10 @@
 							</view>
 						</swiper-item>
 					</swiper>
-					<view class="ticket-left" @click="ticketLeft()">
+					<view class="ticket-left" @click="ticketRight()">
 						<image src="../../static/index/index_tip_left.png" mode="scaleToFill"></image>
 					</view>
-					<view class="ticket-right" @click="ticketRight()">
+					<view class="ticket-right" @click="ticketLeft()">
 						<image src="../../static/index/index_tip_left.png" mode="scaleToFill"></image>
 					</view>
 					

+ 5 - 1
src/pages/lucky/index.vue

@@ -28,7 +28,7 @@
 							<image src="../../static/lucky/lucky_piaohao.png" mode="scaleToFill"></image>
 							<view class="luck-info-content-ticket-info flex">
 								<view class="title" :class="{ 'action': info.status == 2 }">{{ info.title }}</view>
-								<view class="serialNo" :class="{ 'action': info.status == 2 }">盲票序列号:{{ info.serialNo }}
+								<view class="serialNo" :class="{ 'action': info.status == 2 }">序列号:{{ info.serialNo }}
 								</view>
 							</view>
 						</view>
@@ -461,6 +461,10 @@
 							color: #FF6D2C;
 							margin-top: 1vh;
 							margin-bottom: 1vh;
+							width: 90%;
+							white-space: nowrap;
+							overflow: hidden;
+							text-overflow: ellipsis;
 						}
 
 						.serialNo {