@@ -26,11 +26,11 @@
</el-icon>
我的考勤
</div>
- <div class="item" @click="push('https://git.vthc.cn/Pchen0/Double_X_Attendance')">
+ <div class="item" @click="$router.push('/Setup')">
<el-icon>
- <FolderOpened />
+ <Setting />
- 代码仓库
+ 设置中心
<div class="item" v-if="app.user === undefined" @click="$router.push('/login')">
@@ -110,9 +110,6 @@ if (user != undefined) {
})
}
-const push = (url) => {
- window.open(url);
-}
</script>
<style scoped>
@@ -208,7 +208,7 @@ let Register = () => {
@media only screen and (max-width: 768px) {
.content {
width: 80%;
- height: 60%;
+ height: 550px;
padding: 25px;
@@ -7,6 +7,7 @@
<span @click="update('register')">注册账号</span> |
<span @click="update('forget')">忘记密码</span>
+ <router-view />
</template>
@@ -75,7 +76,7 @@ let WXLogin = function () {
- height: 35%;
+ height: 300px;
@@ -168,7 +168,7 @@ let Login = () => {
- height: 45%;
+ height: 400px;
@@ -214,7 +214,7 @@ let Register = () => {