ソースを参照

代码提交first

tanxue 11 ヶ月 前
コミット
a0d86bc8ef

+ 2 - 2
manifest.json

@@ -1,5 +1,5 @@
 {
-    "name" : "uniProject",
+    "name" : "麦塔软件",
     "appid" : "",
     "description" : "",
     "versionName" : "1.0.0",
@@ -50,7 +50,7 @@
     "quickapp" : {},
     /* 小程序特有相关 */
     "mp-weixin" : {
-        "appid" : "",
+        "appid" : "wx3a4f7c01eb080d14",
         "setting" : {
             "urlCheck" : false
         },

+ 43 - 25
pages.json

@@ -7,6 +7,12 @@
 			}
 		},
 		{
+			"path": "pages/login",
+			"style": {
+				"navigationBarTitleText": "uni-app"
+			}
+		},
+		{
 			"path" : "pages/exam/index",
 			"style" : 
 			{
@@ -22,33 +28,45 @@
 		}
 	],
 	"tabBar": {
-	  "color": "#000000",
-	  "selectedColor": "#000000",
-	  "borderStyle": "white",
-	  "backgroundColor": "#ffffff",
-	  "list": [{
-	      "pagePath": "pages/index/index",
-	      "iconPath": "static/images/tabbar/home.png",
-	      "selectedIconPath": "static/images/tabbar/home_.png",
-	      "text": "首页"
-	    }, {
-	      "pagePath": "pages/exam/index",
-	      "iconPath": "static/images/tabbar/exam.png",
-	      "selectedIconPath": "static/images/tabbar/exam_.png",
-	      "text": "考试"
-	    }, {
-	      "pagePath": "pages/my/index",
-	      "iconPath": "static/images/tabbar/mine.png",
-	      "selectedIconPath": "static/images/tabbar/mine_.png",
-	      "text": "我的"
-	    }
-	  ]
-	},
+			"color": "#565656",
+			"selectedColor": "#0856E6",
+			"borderStyle": "black",
+			"backgroundColor": "#ffffff",
+			"fontSize": "13px",
+			"iconWidth": "28px",
+			"spacing": "0px",
+			"list": [{
+				"pagePath": "pages/index/index",
+				"iconPath": "static/images/tabbar/unselect/index-sj.png",
+				"selectedIconPath": "static/images/tabbar/select/index-sj.png",
+				"text": "首页"
+			}, {
+				"pagePath": "pages/exam/index",
+				"iconPath": "static/images/tabbar/unselect/exam-sj.png",
+				"selectedIconPath": "static/images/tabbar/select/exam-sj.png",
+				"text": "考试"
+			}, {
+				"pagePath": "pages/login",
+				"iconPath": "static/images/tabbar/unselect/kecheng-sj.png",
+				"selectedIconPath": "static/images/tabbar/select/kecheng-sj.png",
+				"text": "课程"
+			}, {
+				"pagePath": "pages/exam/index",
+				"iconPath": "static/images/tabbar/unselect/score-sj.png",
+				"selectedIconPath": "static/images/tabbar/select/score-sj.png",
+				"text": "成绩"
+			}, {
+				"pagePath": "pages/exam/index",
+				"iconPath": "static/images/tabbar/unselect/my-sj.png",
+				"selectedIconPath": "static/images/tabbar/unselect/my-sj.png",
+				"text": "我的"
+			}]
+		},
 	"globalStyle": {
 		"navigationBarTextStyle": "black",
-		"navigationBarTitleText": "uni-app",
-		"navigationBarBackgroundColor": "#F8F8F8",
-		"backgroundColor": "#F8F8F8"
+		"navigationBarTitleText": "麦塔软件",
+		"navigationBarBackgroundColor": "#F8F8F8"
 	},
+
 	"uniIdRouter": {}
 }

+ 1 - 1
pages/index/index.vue

@@ -2,7 +2,7 @@
 	<view class="content">
 		<image class="logo" src="/static/logo.png"></image>
 		<view class="text-area">
-			<text class="title">{{title}}</text>
+			<text class="title">{{title}}6666</text>
 			<uni-icons type="contact" size="30"></uni-icons>
 		</view>
 	</view>

BIN
static/images/tabbar/exam.png


BIN
static/images/tabbar/exam_.png


BIN
static/images/tabbar/home.png


BIN
static/images/tabbar/home_.png


BIN
static/images/tabbar/mine.png


BIN
static/images/tabbar/mine_.png