DESKTOP-SVI9JE1\muzen 2 år sedan
förälder
incheckning
d70370c114
1 ändrade filer med 10 tillägg och 4 borttagningar
  1. 10 4
      src/pages/help/index.vue

+ 10 - 4
src/pages/help/index.vue

@@ -10,7 +10,7 @@
       </radio-group>
     </view>
     <view class="textarea">
-      <textarea v-model="form.content" placeholder="请描述您遇到的问题或意见" />
+      <textarea v-model="form.content" maxlength="200" placeholder="请描述您遇到的问题或意见" />
     </view>
     <view class="upload">
       <view class="img-list" v-for="(item, index) in imageFiles" :key="index">
@@ -23,7 +23,7 @@
     </view>
     <view class="submit">
       <button type="submit" circle @click="getSubmit">提交</button>
-      <view class="contact">
+      <view class="contact" :style="{'margin-top': height > 480 ? '208rpx': 0}">
         <span>客服微信:miao_ friend</span>
         <span>客服电话:4008508199</span>
       </view>
@@ -52,11 +52,18 @@ export default {
       // 单选
       active: 0,
       // 反馈类型
-      typeOptions: []
+      typeOptions: [],
+      // 高度
+      height: 0
     }
   },
   onLoad() {
     this.getList()
+    uni.getSystemInfo({
+      success: (res) => {
+        this.height = res.screenHeight
+      }
+    })
   },
   methods: {
     // 反馈类型
@@ -218,7 +225,6 @@ export default {
     color: #999;
     display: flex;
     justify-content: space-around;
-    margin-top: 208rpx;
   }
 }
 </style>