Browse Source

堡垒之夜-跳转地图

baichun 6 years ago
parent
commit
90a19133e2

+ 2 - 2
web/1807-工具页面/src/challenges.html

@@ -63,8 +63,8 @@
     <link rel="stylesheet" href="https://unpkg.com/leaflet@1.3.1/dist/leaflet.css" />
     <script src="https://unpkg.com/leaflet@1.3.1/dist/leaflet.js"></script>
     <script>
-        // var goodsInfo = require('modules/data/goodsInfo.js');
-        // var taskInfo = require('modules/data/taskInfo.js');
+        var goodsInfo = require('modules/data/goodsInfo.js');
+        var taskInfo = require('modules/data/taskInfo.js');
         require('modules/page/challenges');
     </script>
 </body>

+ 2 - 0
web/1807-工具页面/src/sass/global.scss

@@ -17,6 +17,8 @@ $bfz:14px;
 @import "base/ui-dialog";
 @import "module/swiper-4.1.6.min.css";
 
+@import "wapChallenges";
+
 [v-cloak] {
   display: none;
 }

+ 29 - 0
web/1807-工具页面/src/sass/wapChallenges.scss

@@ -0,0 +1,29 @@
+@charset "UTF-8";
+$yahei: "Microsoft YaHei";
+$pingfan:PingFangSC-Regular;
+$commonColor : #97c1cd;
+$uncommonColor : #2cd070;
+$rareColor : #43c2ff;
+$epicColor : #b457e9;
+$legendaryColor : #ff9139;
+
+/*通用变量*/
+
+$bfz:14px;
+/*基础样式*/
+
+@import "base/mMixins";
+
+//---------wap---------------
+//H5适配
+@media screen and (max-width: 800px) {
+    
+    body{
+        .page-challenge{
+            .map-wrap{
+                    background: #FF0000;
+            }
+        }
+    }
+    
+}