Browse Source

refactor(feedback): 优化反馈页面样式和布局

-
master
liutong 1 year ago
parent
commit
1007f68414
  1. 89
      pages/common/feedback.vue

89
pages/common/feedback.vue

@ -4,20 +4,26 @@
<view class="main_section"> <view class="main_section">
<view class="section"> <view class="section">
<view class="text_input">
<fui-textarea placeholder="请输入反馈内容"></fui-textarea> <fui-textarea placeholder="请输入反馈内容"></fui-textarea>
</view> </view>
</view>
<view class="section"> <view class="section">
<view class="input_box"> <view class="upload_box">
<view>上传图片</view> <view>上传图片</view>
<AQUplodeImgMulti :inputName="`images_arr`" :inputValue="formData.images_arr || []" @AQUploadSuccess="AQUploadSuccess"/> <AQUplodeImgMulti :inputName="`images_arr`" :inputValue="formData.images_arr || []" @AQUploadSuccess="AQUploadSuccess"/>
</view> </view>
</view> </view>
<view class="section"> <view class="section">
<view class="input_box">
<fui-input label="邮箱方式" borderTop placeholder="请输入邮箱"></fui-input> <fui-input label="邮箱方式" borderTop placeholder="请输入邮箱"></fui-input>
</view> </view>
</view> </view>
<view class="btn">提交</view>
</view>
</view> </view>
</template> </template>
@ -117,57 +123,64 @@ export default {
.main_section{ .main_section{
min-height: 100vh; min-height: 100vh;
background: #292929 100%; background: #292929 100%;
padding: 0 24rpx; padding: 0 0rpx;
padding-top: 32rpx; padding-top: 32rpx;
padding-bottom: 150rpx; padding-bottom: 150rpx;
font-size: 28rpx; font-size: 28rpx;
color: #fff; color: #fff;
.section{
border: 1px solid red;
.input_box{
margin-bottom: 20rpx;
border-bottom: 1rpx solid #f3f3f3;
padding: 10rpx;
display: flex; display: flex;
justify-content: space-between; flex-direction: column;
align-items: center; gap: 20rpx;
//border: 1px solid red;
view{ .section{
.required { background-color: #434544;
color: red; padding: 40rpx 40rpx;
margin-left: 5px; /* 可选:调整 * 的位置 */ .text_input{
} border: 1px solid #434544;
background-color: #434544 !important;
::v-deep .fui-textarea__wrap{
border: 1px solid #797979;
background-color: #434544 !important;
} }
.input{ ::v-deep .fui-textarea__background{
padding-bottom: 15rpx; border: 0;
width: 70%; background-color: #434544 !important;
height: 40rpx;
font-size: 28rpx;
} }
.button{
border: 1px solid #E87375;
color: #E87375;
padding: 2rpx 6rpx;
font-size: 28rpx;
border-radius: 8rpx;
} }
.invoice_type_box{ .upload_box{
width: 100%;
display: flex; display: flex;
align-items: center; flex-direction: column;
gap: 20rpx; gap: 20rpx;
} }
.edit-sex-list{ .input_box{
width: 70%; padding: 0;
display: flex; color: #fff;
justify-content: space-between; ::v-deep .fui-input__wrap{
align-items: center; background: #434544 !important;
.label_box{ padding-left: 0 !important;
display: flex; }
align-items: center; ::v-deep .fui-input__label{
span{
color: #fff !important;
}
}
::v-deep .uni-input-input{
color: #fff;
}
::v-deep .fui-input__background{
background: #434544 !important;
} }
} }
} }
.btn{
margin: 0 auto;
margin-top: 40rpx;
border: 1px solid #25a18b;
color: #25a18b;
width: 80%;
height: 80rpx;
line-height: 80rpx;
text-align: center;
} }
} }

Loading…
Cancel
Save