sunlupeng 1 năm trước cách đây
mục cha
commit
6276519236

+ 14 - 6
public/drawCarousel.html

@@ -10,13 +10,20 @@
       margin: 0; 
       padding: 0; 
       box-sizing: border-box; 
+    }
+    #app{
+      background: url('https://xiaoyou.dgtis.com/images/image/2023/08/16/obnd1td7k6c65ehxciz6.png') no-repeat;
+      background-size: 100% 100%;
+      width: 720px;
+      height: 480px;
+      display: flex;
+      justify-content: center;
+      align-items: flex-end;
+      padding-bottom: 20px;
     }
 		[v-cloak] {
 			display: none;
 		}
-    /* .app{
-      background: url('https://xiaoyou.dgtis.com/images/image/2023/08/16/obnd1td7k6c65ehxciz6.png') no-repeat center / 100% 100%;
-    } */
 		.container {
       overflow: hidden;
 			width: 352px;
@@ -165,6 +172,7 @@
 
         const start = () => {
           // ElementPlus.ElMessage({
+          //   showClose: true,
           //   message: '已无抽奖次数!',
           //   type: 'warning',
           // })
@@ -202,9 +210,9 @@
 
           ElementPlus.ElMessage({
             showClose: true,
-                message: "恭喜抽中" + state.prizeList[state.prizeId].name + "," + "请到个人中心查看。",
-                type: 'success',
-            })
+            message: "恭喜抽中" + state.prizeList[state.prizeId].name + "," + "请到个人中心查看。",
+            type: 'success',
+          })
         }
 
         return {

+ 2 - 4
src/views/HomeView/DrawCarouselGame/DrawCarouselGame.vue

@@ -3,7 +3,7 @@
         <div class="timeline-content">
             <div class="timeline-entry-list">
                 <div class="gameBox">
-                    <iframe id="iframe"  frameborder="0" :src="src" style="width: 352px;height: 352px;"></iframe>
+                    <iframe id="iframe"  frameborder="0" :src="src" style="width: 720px;height: 480px;"></iframe>
                 </div>
             </div>
             <SiderInfo></SiderInfo>
@@ -52,8 +52,6 @@ export default{
     margin: 0 auto;
 }
 .timeline-entry-list{
-    background: url('https://xiaoyou.dgtis.com/images/image/2023/08/16/obnd1td7k6c65ehxciz6.png') no-repeat;
-    background-size: 100% 100%;
     margin-right: 17.5rem;
     border-radius: 2px;
     width: 720px;
@@ -64,6 +62,6 @@ export default{
     align-items: center;
 }
 .timeline-entry-list .gameBox{
-    margin-top: 80px;
+    background-color: #fff;
 }
 </style>