张延森 3 lat temu
rodzic
commit
c77068c80c

+ 1
- 1
src/pages/AllPages.vue Wyświetl plik

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

+ 4
- 4
src/pages/Test.vue Wyświetl plik

82
   },
82
   },
83
   computed: {
83
   computed: {
84
     bgImage() {
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
     list() {
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
   components: {
93
   components: {

+ 2
- 1
src/pages/resultPage.vue Wyświetl plik

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

+ 6
- 0
src/pages/signup.vue Wyświetl plik

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