feedback.vue 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. <template>
  2. <view class="flex-common-css iPhone-bottom">
  3. <Nav title="问题反馈" titleColor="#333" bgckgroundBox='#fff'></Nav>
  4. <scroll-view :scroll-y="true" class="scroll-view-css" @scrolltolower="scrolltolower">
  5. <view class="content-box box-border-box">
  6. <view class="bgc-f p-24 b-rad-20 mb-20 box-sizing-border">
  7. <view class="fs-32 fw-600 fc-3 mb-20">
  8. 请描述你的建议和想法,我们会不断优化改进
  9. </view>
  10. <view class="textarea-box">
  11. <textarea placeholder-style="color:#ccc" auto-height maxlength='100' placeholder="还有更多建议和想法?快告诉我们吧~" />
  12. </view>
  13. <view class="up-img-box align-items-center flex-wrap-wrap">
  14. <view class="up-img" v-for="(itme, index) in formData.imgList" :key="index">
  15. <image class="img" src="../static/img/my/bg.png" mode=""></image>
  16. <uni-icons @click="deleteImg(index)" class="delete-icons" color="#000" type="clear"
  17. size="20"></uni-icons>
  18. </view>
  19. <view
  20. class="add-img-box flex-direction flex-justify-center align-items-center bgc-F6F6F6 bgc-F6F6F6">
  21. <image class="add-img" src="@/static/img/my/sc.png" mode=""></image>
  22. <view class="fs-24 fc-9">
  23. 上传照片
  24. </view>
  25. <view class="fs-24 fc-9">
  26. (最多3张)
  27. </view>
  28. </view>
  29. </view>
  30. </view>
  31. <view class="bgc-f b-rad-20 box-sizing-border phone-box">
  32. <view class="fs-32 fc-3 mb-20 fw-600">
  33. 联系方式
  34. </view>
  35. <input class="uni-input" focus placeholder="请输入手机号(选填)" type="number" />
  36. </view>
  37. </view>
  38. </scroll-view>
  39. <view class="bot-box bgc-f">
  40. <view class="bot-but fc-f fs-32 text-align-center b-rad-200" :class="formType?'bgc-4FB3EF':'bgc-B3DDFB'">
  41. 提交反馈
  42. </view>
  43. </view>
  44. </view>
  45. </template>
  46. <script>
  47. export default {
  48. components: {},
  49. data() {
  50. return {
  51. formData: {
  52. rate: '',
  53. imgList: []
  54. },
  55. formType: false
  56. };
  57. },
  58. onLoad(data) {},
  59. mounted() {},
  60. methods: {
  61. scrolltolower() {
  62. console.log('触底');
  63. },
  64. },
  65. }
  66. </script>
  67. <style lang="scss" scoped>
  68. .content-box {
  69. padding: 26rpx 24rpx 0;
  70. }
  71. .textarea-box {
  72. width: 100%;
  73. height: 200rpx;
  74. }
  75. .up-img {
  76. width: 152rpx;
  77. height: 152rpx;
  78. margin: 0 0 10rpx 0;
  79. position: relative;
  80. .img {
  81. width: 100%;
  82. height: 100%;
  83. border-radius: 4rpx;
  84. }
  85. .delete-icons {
  86. position: absolute;
  87. right: 0;
  88. top: 0;
  89. }
  90. }
  91. .add-img-box {
  92. width: 152rpx;
  93. height: 152rpx;
  94. border: 1px dashed #ccc;
  95. border-radius: 4rpx;
  96. .add-img {
  97. width: 56rpx;
  98. height: 56rpx;
  99. }
  100. }
  101. .phone-box {
  102. padding: 32rpx 24rpx;
  103. }
  104. .uni-input {
  105. // width: 100%;
  106. height: 92rpx;
  107. line-height: 92rpx;
  108. background: #F6F6F6;
  109. border-radius: 12rpx;
  110. padding: 0 0 0 26rpx;
  111. }
  112. .bot-box {
  113. width: 100%;
  114. padding: 12rpx 32rpx;
  115. box-sizing: border-box;
  116. .bot-but {
  117. width: 100%;
  118. height: 92rpx;
  119. line-height: 92rpx;
  120. }
  121. }
  122. </style>