3 Commits ed96ad6f59 ... 7b87f0b547

Author SHA1 Message Date
  gydx_2024_lyh 7b87f0b547 555 2 months ago
  gydx_2024_lyh 8fa2d565eb 998 2 months ago
  gydx_2024_lyh 7adcd58edd 99999 2 months ago
3 changed files with 198 additions and 92 deletions
  1. 2 2
      manifest.json
  2. 124 90
      pages.json
  3. 72 0
      pages/mine/answer/dailyanswer.vue

+ 2 - 2
manifest.json

@@ -1,6 +1,6 @@
 {
     "name" : "若依移动端",
-    "appid" : "__UNI__B3C64B0",
+    "appid" : "__UNI__52E1623",
     "description" : "",
     "versionName" : "1.1.0",
     "versionCode" : "100",
@@ -41,7 +41,7 @@
     },
     "quickapp" : {},
     "mp-weixin" : {
-        "appid" : "wx5fae386dc03978fe",
+        "appid" : "wx7d6b3f688ef55092",
         "setting" : {
             "urlCheck" : false,
             "es6" : false,

+ 124 - 90
pages.json

@@ -1,92 +1,126 @@
 {
-  "pages": [{
-    "path": "pages/login",
-    "style": {
-      "navigationBarTitleText": "登录"
-    }
-  }, {
-    "path": "pages/register",
-    "style": {
-      "navigationBarTitleText": "注册"
-    }
-  }, {
-    "path": "pages/index",
-    "style": {
-      "navigationBarTitleText": "若依移动端框架",
-      "navigationStyle": "custom"
-    }
-  },  {
-    "path": "pages/mine/index",
-    "style": {
-      "navigationBarTitleText": "我的"
-    }
-  }, {
-    "path": "pages/mine/avatar/index",
-    "style": {
-      "navigationBarTitleText": "修改头像"
-    }
-  }, {
-    "path": "pages/mine/info/index",
-    "style": {
-      "navigationBarTitleText": "个人信息"
-    }
-  }, {
-    "path": "pages/mine/info/edit",
-    "style": {
-      "navigationBarTitleText": "编辑资料"
-    }
-  }, {
-    "path": "pages/mine/pwd/index",
-    "style": {
-      "navigationBarTitleText": "修改密码"
-    }
-  }, {
-    "path": "pages/mine/setting/index",
-    "style": {
-      "navigationBarTitleText": "应用设置"
-    }
-  }, {
-    "path": "pages/mine/help/index",
-    "style": {
-      "navigationBarTitleText": "常见问题"
-    }
-  }, {
-    "path": "pages/mine/about/index",
-    "style": {
-      "navigationBarTitleText": "关于我们"
-    }
-  }, {
-    "path": "pages/common/webview/index",
-    "style": {
-      "navigationBarTitleText": "浏览网页"
-    }
-  }, {
-    "path": "pages/common/textview/index",
-    "style": {
-      "navigationBarTitleText": "浏览文本"
-    }
-  }],
-  "tabBar": {
-    "color": "#000000",
-    "selectedColor": "#000000",
-    "borderStyle": "white",
-    "backgroundColor": "#ffffff",
-    "list": [{
-        "pagePath": "pages/index",
-        "iconPath": "static/images/tabbar/home.png",
-        "selectedIconPath": "static/images/tabbar/home_.png",
-        "text": "首页"
-      },  {
-        "pagePath": "pages/mine/index",
-        "iconPath": "static/images/tabbar/mine.png",
-        "selectedIconPath": "static/images/tabbar/mine_.png",
-        "text": "我的"
-      }
-    ]
-  },
-  "globalStyle": {
-    "navigationBarTextStyle": "black",
-    "navigationBarTitleText": "RuoYi",
-    "navigationBarBackgroundColor": "#FFFFFF"
-  }
+    "pages" : [
+        {
+            "path" : "pages/login",
+            "style" : {
+                "navigationBarTitleText" : "登录"
+            }
+        },
+        {
+            "path" : "pages/register",
+            "style" : {
+                "navigationBarTitleText" : "注册"
+            }
+        },
+        {
+            "path" : "pages/index",
+            "style" : {
+                "navigationBarTitleText" : "若依移动端框架",
+                "navigationStyle" : "custom"
+            }
+        }
+        ,
+		{
+			"path": "pages/mine/answer/dailyanswer",
+			"style": {
+				"navigationBarTitleText": "每日答题"
+			}
+		}
+		,
+        {
+            "path" : "pages/mine/index",
+            "style" : {
+                "navigationBarTitleText" : "我的"
+            }
+        },
+        {
+            "path" : "pages/mine/avatar/index",
+            "style" : {
+                "navigationBarTitleText" : "修改头像"
+            }
+        },
+        {
+            "path" : "pages/mine/info/index",
+            "style" : {
+                "navigationBarTitleText" : "个人信息"
+            }
+        },
+        {
+            "path" : "pages/mine/info/edit",
+            "style" : {
+                "navigationBarTitleText" : "编辑资料"
+            }
+        },
+        {
+            "path" : "pages/mine/pwd/index",
+            "style" : {
+                "navigationBarTitleText" : "修改密码"
+            }
+        },
+        {
+            "path" : "pages/mine/setting/index",
+            "style" : {
+                "navigationBarTitleText" : "应用设置"
+            }
+        },
+        {
+            "path" : "pages/mine/help/index",
+            "style" : {
+                "navigationBarTitleText" : "常见问题"
+            }
+        },
+        {
+            "path" : "pages/mine/about/index",
+            "style" : {
+                "navigationBarTitleText" : "关于我们"
+            }
+        },
+        {
+            "path" : "pages/common/webview/index",
+            "style" : {
+                "navigationBarTitleText" : "浏览网页"
+            }
+        },
+        {
+            "path" : "pages/common/textview/index",
+            "style" : {
+                "navigationBarTitleText" : "浏览文本"
+            }
+        }
+    ],
+    "tabBar" : {
+        "color" : "#000000",
+        "selectedColor" : "#000000",
+        "borderStyle" : "white",
+        "backgroundColor" : "#ffffff",
+        "list" : [
+            {
+                "pagePath" : "pages/index",
+                "iconPath" : "static/images/tabbar/home.png",
+                "selectedIconPath" : "static/images/tabbar/home_.png",
+                "text" : "首页"
+            },
+            {
+                "pagePath" : "pages/mine/index",
+                "iconPath" : "static/images/tabbar/mine.png",
+                "selectedIconPath" : "static/images/tabbar/mine_.png",
+                "text" : "我的"
+            }
+        ]
+    },
+    "globalStyle" : {
+        "navigationBarTextStyle" : "black",
+        "navigationBarTitleText" : "RuoYi",
+        "navigationBarBackgroundColor" : "#FFFFFF"
+    },
+	"condition" : { //模式配置,仅开发期间生效
+		"current": 0, //当前激活的模式(list 的索引项)
+		"list": [
+			{
+				"name": "", //模式名称
+				"path": "", //启动页面,必选
+				"query": "" //启动参数,在页面的onLoad函数里面得到
+			}
+		]
+	}
 }

+ 72 - 0
pages/mine/answer/dailyanswer.vue

@@ -0,0 +1,72 @@
+<template>
+	<view class="content">
+		<!-- <image class="logo" src="@/static/logo.png"></image> -->
+		<view class="text-area1">
+			
+			<el-button>挑战开始1112</el-button>
+		</view>
+		
+	</view>
+</template>
+
+<script>
+	export default {
+		onLoad: function() {}
+	}
+</script>
+
+<style>
+	.content {
+		display: flex;
+		flex-direction: column;
+		align-items: center;
+		justify-content: center;
+		background-image: url('@/static/bg.jpg');
+	}
+
+
+	.text-area1 {
+		margin-top: 20%;
+		display: flex;
+		flex-direction: column;
+		align-items: center;
+		justify-content: center;
+		border-radius: 10%;
+		justify-content: center;
+		background-color: white;
+		width: 200px;
+		height: 180px;
+		margin-bottom: 50px;
+	}
+
+	.text-area2 {
+		display: flex;
+		justify-content: center;
+		flex-direction: column;
+		align-items: center;
+		justify-content: center;
+		border-radius: 10%;
+		background-color: white;
+		width: 200px;
+		height: 180px;
+		margin-bottom: 50px;
+	}
+
+	.text-area3 {
+		display: flex;
+		justify-content: center;
+		flex-direction: column;
+		align-items: center;
+		justify-content: center;
+		border-radius: 10%;
+		background-color: white;
+		width: 200px;
+		height: 180px;
+		margin-bottom: 40px;
+	}
+
+	.title {
+		font-size: 36rpx;
+		color: #8f8f94;
+	}
+</style>