sunlupeng hai 1 ano
pai
achega
9a6db21271

+ 2 - 2
public/drawCarousel.html

@@ -5,7 +5,7 @@
   <meta charset="UTF-8">
   <meta name="viewport" content="width=device-width, initial-scale=1.0">
   <title>转盘抽奖</title>
-  <link rel="stylesheet" href="//unpkg.com/element-plus/dist/index.css" />
+  <link rel="stylesheet" href="https://unpkg.com/element-plus/dist/index.css" />
   <style>
     * {
       margin: 0;
@@ -107,7 +107,7 @@
   </div>
 
   <script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
-  <script src="//unpkg.com/element-plus"></script>
+  <script src="https://unpkg.com/element-plus"></script>
   <script src="https://cdn.bootcdn.net/ajax/libs/jquery/2.1.0/jquery.js"></script>
   <script>
     const {

+ 4 - 3
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: 720px;height: 480px;"></iframe>
+                    <iframe id="iframe"  frameborder="0" :src="src" style="width: 100%;height: 100%;"></iframe>
                 </div>
             </div>
             <SiderInfo></SiderInfo>
@@ -54,14 +54,15 @@ export default{
 .timeline-entry-list{
     margin-right: 17.5rem;
     border-radius: 2px;
-    width: 720px;
-    height: 480px;
+    
     position: relative;
     display: flex;
     justify-content: center;
     align-items: center;
 }
 .timeline-entry-list .gameBox{
+    width: 720px;
+    height: 480px;
     background-color: #fff;
 }
 </style>