任一存 il y a 2 ans
Parent
commit
0933f0583c
1 fichiers modifiés avec 7 ajouts et 3 suppressions
  1. 7 3
      src/views/gui/UserInfoMobile.vue

+ 7 - 3
src/views/gui/UserInfoMobile.vue

@@ -38,7 +38,9 @@
           >
           <span>分享成绩</span>
         </button>
-        <button>
+        <button
+          @click="onClickRuleDesc"
+        >
           <img
             class=""
             src="@/assets/images/rule-desc-mobile.png"
@@ -47,7 +49,9 @@
           >
           <span>规则说明</span>
         </button>
-        <button>
+        <button
+          @click="onClickLogout"
+        >
           <img
             class=""
             src="@/assets/images/logout.png"
@@ -186,7 +190,7 @@ export default {
       this.isExpanded = false
     },
     onClickRuleDesc() {
-      this.$router.push({ name: 'RuleDesc' })
+      this.$router.push({ name: 'RuleDescMobile' })
       this.isExpanded = false
     },
     onClickShare() {