zhengkaixin 1 年間 前
コミット
4d1f24cf6f
5 ファイル変更32 行追加55 行削除
  1. 0 52
      App.vue
  2. 1 0
      package.json
  3. 8 2
      pages.json
  4. 22 0
      pages/index/index.vue
  5. 1 1
      uni.scss

+ 0 - 52
App.vue

@@ -29,56 +29,4 @@
 		z-index: 99999;
 		position: absolute;
 	}
-	/*每个页面公共css */
-	html, body {
-	  background-color: #F2F4F4;  
-	  margin: 0;
-	  padding: 0;
-	} 
-/deep/.u-divider{
-	color: rgba(182, 189, 195, 1);
-	font-size: 12px;
-	
-	font-family: 'Regular';
-}
-	.uni-icon-success-no-circle:before {
-	    content: "" !important ;
-		display: none;
-	}
-	.uni-toast .uni-toast__content{
-		margin: -10px 1px 10px 1px;
-	}
-	.uni-modal .uni-modal__btn{
-		flex: 1;
-		height: 43px;
-		line-height: 43px !important;;
-		font-size: 13px !important;
-		box-sizing: border-box;
-		cursor: pointer;
-		text-align: center;
-		border-radius: 1px;
-	}
-	/deep/.u-navbar-content-title{
-		font-family: 'Medium';
-		
-	}
-	/* @media screen and (min-width: 320px) {
-	   /deep/.u-tabbar__content {
-			height: 45px!important;
-	   }
-	}
-	@media screen and (min-width: 375px) {
-	   /deep/.u-tabbar__content {
-			height: 55px!important;
-	   }
-	}
-	@media screen and (min-width: 425px) {
-	   /deep/.u-tabbar__content {
-			height: 65px!important;
-	   }
-	} */
-	.u-back-text{
-		color: #101010 !important;
-		font-size: 17px !important
-	}
 </style>

+ 1 - 0
package.json

@@ -3,6 +3,7 @@
 		"compression-webpack-plugin": "^8.0.1",
 		"echarts": "^5.3.2",
 		"hls.js": "^0.14.11",
+		"npm": "^10.4.0",
 		"qrcodejs2": "0.0.2",
 		"uview-ui": "^1.8.4",
 		"vconsole": "^3.4.0",

+ 8 - 2
pages.json

@@ -1,10 +1,16 @@
 {
 
 	"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
-		
+		{
+			"path": "pages/index/index",
+			"style": {
+		
+				"enablePullDownRefresh": false
+			}
+		
+		}
 	],
 
-
 	"globalStyle": {
 		"navigationStyle": "custom", // 隐藏系统导航栏
 		"navigationBarTitleText": "电管家",

+ 22 - 0
pages/index/index.vue

@@ -0,0 +1,22 @@
+<template>
+	<view>
+		123
+	</view>
+</template>
+
+<script>
+	export default {
+		data() {
+			return {
+				
+			}
+		},
+		methods: {
+			
+		}
+	}
+</script>
+
+<style>
+
+</style>

+ 1 - 1
uni.scss

@@ -11,7 +11,7 @@
  *
  * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  */
-@import 'uview-ui/theme.scss';
+//@import 'uview-ui/theme.scss';
 /* 颜色变量 */
 
 /* 行为相关颜色 */