Browse Source

feat: H5投诉页面优化

zhengxy 11 months ago
parent
commit
e749c93c93
3 changed files with 26 additions and 12 deletions
  1. 2 2
      qwh5/src/router/index.ts
  2. 16 3
      qwh5/src/views/feedback.vue
  3. 8 7
      qwh5/src/views/feedbackSuccess.vue

+ 2 - 2
qwh5/src/router/index.ts

@@ -79,7 +79,7 @@ const routes: Array<RouteRecordRaw> = [
79 79
     name: 'feedback',
80 80
     component: () => import(/*webpackChunkName:"feedback" */ '@/views/feedback.vue'),
81 81
     meta: {
82
-      title: '意见反馈'
82
+      title: ''
83 83
     },
84 84
   },
85 85
   {
@@ -87,7 +87,7 @@ const routes: Array<RouteRecordRaw> = [
87 87
     name: 'feedbackSuccess',
88 88
     component: () => import(/*webpackChunkName:"feedbackSuccess" */ '@/views/feedbackSuccess.vue'),
89 89
     meta: {
90
-      title: '意见反馈'
90
+      title: ''
91 91
     },
92 92
   },
93 93
 ]

+ 16 - 3
qwh5/src/views/feedback.vue

@@ -27,7 +27,8 @@
27 27
 
28 28
     <div v-else class="typeList-wrap">
29 29
       <p class="notice">{{ typeList.notice }}</p>
30
-      <van-cell v-for="item in typeList.data" :key="item.type" :title="item.title" is-link size="large" @click="onClickTypeItem(item)" />
30
+      <van-cell class="type-text" v-for="item in typeList.data" :key="item.type" :title="item.title" is-link size="large" @click="onClickTypeItem(item)" />
31
+      <p class="tips-btn">投诉须知</p>
31 32
     </div>
32 33
   </div>
33 34
 </template>
@@ -100,7 +101,7 @@ const setTitle = function (t) {
100 101
 };
101 102
 const changeTitleClick = () => {
102 103
   setTimeout(function () {
103
-    setTitle("意见反馈");
104
+    setTitle("");
104 105
   }, 1);
105 106
 }
106 107
 
@@ -277,9 +278,21 @@ onMounted(() => {
277 278
   .typeList-wrap {
278 279
     .notice {
279 280
       padding: 20px 14px 6px;
280
-      font-size: 16px;
281
+      font-size: 12px;
281 282
       color: #666;
282 283
     }
284
+    .type-text {
285
+      font-size: 14px;
286
+      :deep(.van-cell__title) {
287
+        font-size: 14px;
288
+      }
289
+    }
290
+    .tips-btn {
291
+      padding-top: 16px;
292
+      text-align: center;
293
+      font-size: 12px;
294
+      color: #546798;
295
+    }
283 296
   }
284 297
 }
285 298
 

+ 8 - 7
qwh5/src/views/feedbackSuccess.vue

@@ -27,7 +27,7 @@ const setTitle = function (t) {
27 27
 };
28 28
 const changeTitleClick = () => {
29 29
   setTimeout(function () {
30
-    setTitle("意见反馈");
30
+    setTitle("");
31 31
   }, 1);
32 32
 }
33 33
 
@@ -67,8 +67,8 @@ onMounted(() => {
67 67
   align-items: center;
68 68
   padding: 0 40px;
69 69
   .icon-cls {
70
-    margin-top: 40px;
71
-    color: #07c160;
70
+    margin-top: 45px;
71
+    color: #40C15F;
72 72
     font-size: 50px;
73 73
   }
74 74
   .title {
@@ -78,17 +78,18 @@ onMounted(() => {
78 78
     margin-top: 30px;
79 79
   }
80 80
   .tips {
81
-    font-size: 16px;
82
-    color: #666;
81
+    font-size: 15px;
82
+    color: #333;
83 83
     text-align: center;
84 84
     margin-top: 30px;
85
-    line-height: 20px;
85
+    line-height: 26px;
86 86
   }
87 87
   .footer-btn {
88 88
     position: fixed;
89 89
     bottom: 20vh;
90 90
     width: 40vw;
91
-    font-size: 16px;
91
+    font-size: 15px;
92
+    border-radius: 4px;
92 93
   }
93 94
 }
94 95