feedbackSubmit.vue 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. <template>
  2. <view>
  3. <u-navbar title="意见反馈" title-color="#101010"></u-navbar>
  4. <view class="main">
  5. <view class="title">
  6. <text>*</text>请选择反馈问题类型:
  7. </view>
  8. <!-- 类型 -->
  9. <view class="classify">
  10. <view class="classify-item item-checked">
  11. 功能异常
  12. </view>
  13. <view class="classify-item">
  14. 产品建议
  15. </view>
  16. <view class="classify-item">
  17. 安全问题
  18. </view>
  19. <view class="classify-item">
  20. 其他问题
  21. </view>
  22. </view>
  23. </view>
  24. <!-- 问题描述 -->
  25. <view class="main">
  26. <view class="title">
  27. 问题描述(必填)
  28. </view>
  29. <view class="textarea">
  30. <textarea placeholder="请填写15字以上描述,以便我们更好地为您提供帮助~" ></textarea>
  31. </view>
  32. </view>
  33. <!-- 上传照片 -->
  34. <view class="main">
  35. <view class="title">
  36. 上传图片(最多3张)
  37. </view>
  38. <view class="upload">
  39. <u-upload width="144" height="144" :action="action" :file-list="fileList" max-count="3" ></u-upload>
  40. </view>
  41. </view>
  42. <!-- 底部 -->
  43. <view class="bottom">
  44. <button class="submit">提交反馈</button>
  45. </view>
  46. </view>
  47. </template>
  48. <script>
  49. export default {
  50. data() {
  51. return {
  52. }
  53. },
  54. methods: {
  55. }
  56. }
  57. </script>
  58. <style lang="scss" scoped>
  59. .main{
  60. background-color: #fff;
  61. padding: 32rpx;
  62. margin-bottom: 24rpx;
  63. .title{
  64. color: rgb(16,16,16);
  65. font-size: 32rpx;
  66. font-weight: bold;
  67. text{
  68. color: rgba(255,0,9,1);
  69. }
  70. }
  71. // 类型
  72. .classify{
  73. display: flex;
  74. align-items: center;
  75. flex-wrap: wrap;
  76. margin-top: 24rpx;
  77. .classify-item{
  78. padding:0 16rpx;
  79. line-height: 66rpx;
  80. margin-right: 16rpx;
  81. margin-bottom: 16rpx;
  82. border-radius: 4px;
  83. background-color: rgba(255,255,255,1);
  84. color: rgba(16, 16, 16, 1);
  85. text-align: center;
  86. border: 1px solid rgba(216,223,232,1);
  87. }
  88. .item-checked{
  89. background-color: rgba(22,119,255,1);
  90. color: rgba(255,255,255,1);
  91. }
  92. }
  93. .textarea{
  94. margin-top: 24rpx;
  95. uni-textarea{
  96. width: 100%;
  97. height: 200rpx;
  98. }
  99. ::v-deep.uni-textarea-placeholder{
  100. color: #b2b2b2;
  101. font-size: 32rpx;
  102. }
  103. }
  104. .upload{
  105. margin-top: 24rpx;
  106. }
  107. }
  108. // 底部
  109. .bottom{
  110. position: fixed;
  111. left: 0;
  112. right: 0;
  113. bottom: 0;
  114. background-color: #fff;
  115. padding: 20rpx 32rpx;
  116. .submit{
  117. line-height: 80rpx;
  118. border-radius: 4px;
  119. background-color: rgba(22,119,255,1);
  120. color: rgba(255,255,255,1);
  121. font-size: 32rpx;
  122. }
  123. }
  124. </style>