瀏覽代碼

缩小单屏查看

zhengkaixin 7 月之前
父節點
當前提交
f3aed46a06
共有 2 個文件被更改,包括 13 次插入13 次删除
  1. 6 6
      components/lottery/index11.vue
  2. 7 7
      pages/temporary/20241111/doubleElevenLottery.vue

+ 6 - 6
components/lottery/index11.vue

@@ -11,23 +11,23 @@
 		style="width: 560rpx; height: 560rpx;z-index: 999; margin-top: -560rpx;"
 		></image> -->
 		<image src="./national-2024-7.png"
-		style="width: 660rpx; height: 640rpx;z-index: 999; margin-top: -600rpx;"
+		style="width: 600rpx; height: 600rpx;z-index: 999; margin-top: -550rpx;"
 		></image>
 		<image src="./national-2024-6-2.png" 
-		style="width: 660rpx; height: 500rpx;    margin-top: -160rpx;"
+		style="width: 600rpx; height: 400rpx;    margin-top: -160rpx;"
 		></image>
 		<view class="show1" style="    position: relative;
-    top: -280rpx;
+    top: -230rpx;
     color:  rgba(157, 58, 15, 1);font-weight: bold;
-    font-size: 56rpx;" >
+    font-size: 46rpx;" >
 			{{name}}
 		</view>
 		<view class="show1"  @click="clickBtn"
 		
 		style="    position: relative;
-		top: -222rpx;font-weight: bold;
+		top: -182rpx;font-weight: bold;
 		color: #FFF;
-		font-size: 56rpx;" >
+		font-size: 46rpx;" >
 				点击抽奖
 			</view>
 		 

+ 7 - 7
pages/temporary/20241111/doubleElevenLottery.vue

@@ -29,7 +29,7 @@
 			<view class="chance">
 				您有 {{useNum}} 次抽奖机会
 			</view>
-			<Lottery class="lottery" :width="600" :height="600" :data="dataLottery" @end="showlottery=false"
+			<Lottery class="lottery" :width="550" :height="550" :data="dataLottery" @end="showlottery=false"
 				ref="refLottery" @clickBtn="clickBtn" @playRewardEnd="playRewardEnd" :setWinnerFn="getWinnerFn">
 			</Lottery>
 		</view>
@@ -200,9 +200,9 @@
 
 		.img1 {
 			width: 100%;
-			height: 556rpx;
+			height: 456rpx;
 			position: absolute;
-			top: 88rpx;
+			top: 98rpx;
 			left: 50%;
 			transform: translateX(-50%);
 
@@ -210,9 +210,9 @@
 
 		.img2 {
 			width: 594rpx;
-			height: 268rpx;
+			height: 248rpx;
 			position: absolute;
-			top: 168rpx;
+			top: 108rpx;
 			left: 50%;
 			transform: translateX(-50%);
 		}
@@ -235,7 +235,7 @@
 			color: rgba(255, 255, 215, 1);
 			font-size: 18px;
 			position: absolute;
-			top: 0;
+			top: -80rpx;
 			left: 50%;
 			transform: translateX(-50%);
 
@@ -249,7 +249,7 @@
 		}
 
 		.lottery {
-			margin-top: -400rpx;
+			margin-top: -500rpx;
 		}
 	}