cmy пре 1 година
родитељ
комит
ec643268e1
3 измењених фајлова са 36 додато и 3 уклоњено
  1. 33 0
      index.html
  2. 3 2
      manifest.json
  3. 0 1
      pages/index/index.vue

+ 33 - 0
index.html

@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+	<head>
+		<meta charset="utf-8">
+		<meta http-equiv="X-UA-Compatible" content="IE=edge">
+		<title>
+			<%= htmlWebpackPlugin.options.title %>
+		</title>
+		<!-- Open Graph data -->
+		<!-- <meta property="og:title" content="Title Here" /> -->
+		<!-- <meta property="og:url" content="http://www.example.com/" /> -->
+		<!-- <meta property="og:image" content="http://example.com/image.jpg" /> -->
+		<!-- <meta property="og:description" content="Description Here" /> -->
+		<script>
+		window.wx = null;
+		//uniapp默认的wx重置
+		</script>
+		<script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
+		<script src="https://open.work.weixin.qq.com/wwopen/js/jwxwork-1.0.0.js"></script>
+		<script>
+			var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
+			document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')
+		</script>
+		<link rel="stylesheet" href="<%= BASE_URL %>static/index.<%= VUE_APP_INDEX_CSS_HASH %>.css" />
+	</head>
+	<body>
+		<noscript>
+			<strong>Please enable JavaScript to continue.</strong>
+		</noscript>
+		<div id="app"></div>
+		<!-- built files will be auto injected -->
+	</body>
+</html>

+ 3 - 2
manifest.json

@@ -1,5 +1,5 @@
 {
-    "name" : "jingcai",
+    "name" : "竞猜",
     "appid" : "__UNI__3DD0668",
     "description" : "",
     "versionName" : "1.0.0",
@@ -111,6 +111,7 @@
                     "target" : "http://www.accle.shop/"
                 }
             }
-        }
+        },
+        "template" : "index.html"
     }
 }

+ 0 - 1
pages/index/index.vue

@@ -181,7 +181,6 @@
 <style lang="scss">
 	.container {
 		width: 100%;
-		height: 1600rpx;
 		background-color: #000000;
 		padding-top: var(--status-bar-height);
 	}