张延森 3 years ago
parent
commit
c77068c80c
4 changed files with 13 additions and 6 deletions
  1. 1
    1
      src/pages/AllPages.vue
  2. 4
    4
      src/pages/Test.vue
  3. 2
    1
      src/pages/resultPage.vue
  4. 6
    0
      src/pages/signup.vue

+ 1
- 1
src/pages/AllPages.vue View File

@@ -73,7 +73,7 @@ export default {
73 73
   },
74 74
   methods: {
75 75
     handleTransitionEnd(types) {
76
-      this.$router.push({ name: 'Test', params: { types }})
76
+      this.$router.push({ name: 'Test', query: { types }})
77 77
     },
78 78
     goPagess(inx) {
79 79
       this.currentItem = inx

+ 4
- 4
src/pages/Test.vue View File

@@ -82,12 +82,12 @@ export default {
82 82
   },
83 83
   computed: {
84 84
     bgImage() {
85
-      if (!this.$route.params.types) return ''
86
-      return this.images[this.$route.params.types].bgImage
85
+      if (!this.$route.query.types) return ''
86
+      return this.images[this.$route.query.types].bgImage
87 87
     },
88 88
     list() {
89
-      if (!this.$route.params.types) return []
90
-      return this.images[this.$route.params.types].list
89
+      if (!this.$route.query.types) return []
90
+      return this.images[this.$route.query.types].list
91 91
     }
92 92
   },
93 93
   components: {

+ 2
- 1
src/pages/resultPage.vue View File

@@ -44,8 +44,9 @@ export default {
44 44
   position: absolute;
45 45
 }
46 46
 .sharebgi {
47
-  z-index: 2;
47
+  z-index: 100;
48 48
   position: absolute;
49
+  height: 100vh;
49 50
 }
50 51
 .share {
51 52
   z-index: 3;

+ 6
- 0
src/pages/signup.vue View File

@@ -170,11 +170,17 @@ export default {
170 170
     padding: 3vw;
171 171
     border: 1px solid #4f5054;
172 172
     background-color: #212226;
173
+
174
+    & > label {
175
+      display: inline-block;
176
+      width: 4.5em;
177
+    }
173 178
     .duiqi {
174 179
       background-color: #212226;
175 180
       border: none;
176 181
       text-align: right;
177 182
       float: right;
183
+      width: calc(100% - 5em);
178 184
       overflow: hidden;
179 185
       text-overflow: ellipsis;
180 186
       white-space: nowrap;