Przeglądaj źródła

查看幸运数字按钮样式修改

hwb0 3 lat temu
rodzic
commit
a9dd3f1658
1 zmienionych plików z 2 dodań i 30 usunięć
  1. 2 30
      pages/lucky/index.vue

+ 2 - 30
pages/lucky/index.vue

@@ -4,31 +4,6 @@
 		<u-overlay :show="luckyShow" :opacity="0.8" zIndex="100">
 			<view class="flex luck-warp" @touchmove.prevent.stop>
 				<view class="luck-info">
-					<!-- <view class="flex luck-info-image">
-						<image class="image1" src="../../static/icon/lucky_bg.png" mode="" v-if="info.status == 1">
-						</image>
-						<image class="image2" src="../../static/icon/lucky_bg2.png" mode="" v-else></image>
-					</view>
-					<view
-						:class="{ 'flex luck-info-content mat': info.status == 1, 'flex luck-info-content mat2': info.status != 1 }">
-						<view class="title">幸运数字</view>
-						<view class="name">{{ info.title }}</view>
-						<view class="num">盲票序列号:{{ info.serialNo }}</view>
-					</view>
-					<view class="flex luck-info-tip" v-if="info.status == 2">
-						<view class="tip">请刮开纸质票面的数字,与此幸运数字相同的就是所中奖项</view>
-					</view>
-					<view class="flex luck-info-btn">
-						<view class="btn" @click="pay" v-if="info.status == 1">支付{{ info.salePrice / 100 }}元 立即查看</view>
-						<view class="btn" @click="scanCode" v-else>扫码兑奖</view>
-					</view>
-					<view class="flex luck-info-num" v-if="info.status == 2">{{ info.plainLuckyNum }}</view>
-					<view class="flex luck-info-close">
-						<navigator open-type="exit" target="miniProgram" hover-class="none" class="flex">
-							<u-icon name="close" color="#333" size="20"></u-icon>
-						</navigator>
-					</view> -->
-					
 					<view class="luck-info-bg">
 						<image src="../../static/lucky/lucky_bg.png" mode=""></image>
 					</view>
@@ -117,9 +92,7 @@
 				this.getDetail()
 			}
 		},
-		onShow() {
-			
-		},
+		
 		methods: {
 			scanCode() {
 				let _this = this
@@ -391,11 +364,10 @@
 				}
 				
 				&-btn {
-					// width: 80%;
 					padding: 0 13%;
 					height: 8vh;
 					line-height: 8vh;
-					background: linear-gradient(0deg, #F9D448, #FF4924);
+					background: linear-gradient(0deg, #FF4924, #F9D448);
 					box-shadow: 0px 6px 9px 0px rgba(135, 19, 3, 0.49);
 					border-radius: 4vh;
 					text-align: center;