DESKTOP-SVI9JE1\muzen 1 год назад
Родитель
Сommit
32b145c7ee
1 измененных файлов с 18 добавлено и 17 удалено
  1. 18 17
      src/pages/help/index.vue

+ 18 - 17
src/pages/help/index.vue

@@ -4,7 +4,8 @@
     <view class="radio-list">
       <radio-group @change="radioChange">
         <label v-for="item in typeOptions" :key="item.id">
-          <radio :value="item.id.toString()" color="#A4D099" :checked="item.id == active" style="transform:scale(0.7)" />
+          <radio :value="item.id.toString()" color="#A4D099" :checked="item.id == active"
+            style="transform: scale(0.7); margin: -3px;" />
           <span>{{ item.name }}</span>
         </label>
       </radio-group>
@@ -59,7 +60,8 @@ export default {
     }
   },
   onLoad() {
-    this.getList()
+    document.querySelector('body').setAttribute('style', 'background-color:#FFF;')
+    // this.getList()
   },
   methods: {
     // 反馈类型
@@ -129,11 +131,13 @@ export default {
 </script>
 
 <style lang="scss" scoped>
-uni-page-body{
+uni-page-body {
   background-color: #FFF;
 }
 
 .app-container {
+  height: 100%;
+  min-height: 724px;
   background-color: #FFF;
   color: #353535;
   position: relative;
@@ -145,35 +149,29 @@ uni-page-body{
   uni-radio-group {
     display: flex;
     flex-wrap: wrap;
-    gap: 1rem;
   }
 
   label {
-    width: 20%;
+    width: 25%;
     font-size: 24rpx;
     display: flex;
-    align-items: flex-start
+    align-items: flex-start;
+    margin-bottom: 25px;
   }
 
   span {
-    width: 100%;
     word-break: break-all;
-    padding-top: 1px;
   }
 }
 
-.textarea {
-  margin-top: 24px;
-
-  textarea {
-    border-radius: 8px;
-    height: 240rpx;
-    background-color: #FAFAFA;
-  }
+textarea {
+  border-radius: 8px;
+  height: 240rpx;
+  background-color: #FAFAFA;
 }
 
 .upload {
-  margin: 24px 0 10px;
+  margin-top: 24px;
   display: flex;
   flex-wrap: wrap;
   align-content: flex-start;
@@ -215,6 +213,9 @@ uni-page-body{
 
 .submit {
   width: 100%;
+  position: absolute;
+  bottom: 20px;
+  left: 0;
 
   button {
     width: 400rpx;