feedback.vue 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. <template>
  2. <view class="page">
  3. <view class="p-content flex-col items-start">
  4. <view class="title">问题与意见</view>
  5. <view class="area-wrap">
  6. <textarea placeholder="写几句评价" class="area"></textarea>
  7. <view class="img-wrap flex-row">
  8. <view class="img-item" v-for="(item,idx) in 10" :key="idx">
  9. <image src="/static/temp/pro.png" mode="aspectFill" class="img" ></image>
  10. <view class="cancel">
  11. 取消
  12. </view>
  13. </view>
  14. <image
  15. src="/static/addimg.png"
  16. class="img"
  17. />
  18. </view>
  19. </view>
  20. </view>
  21. <view class="p-contact">
  22. <view class="title">联系方式</view>
  23. <input type="number" class="inpt" placeholder="请留下您的联系方式">
  24. </view>
  25. <submit-btn @submit="submit" ref="submitRef">
  26. <template v-slot:btns="{isSubmitted}">
  27. <view class="p-btn" :class="{'disabled':isSubmitted}">
  28. 立即注册
  29. </view>
  30. </template>
  31. </submit-btn>
  32. <safe-area bgColor="#f8f8f8" />
  33. </view>
  34. </template>
  35. <script>
  36. export default {
  37. data() {
  38. return {
  39. };
  40. }
  41. }
  42. </script>
  43. <style lang="scss">
  44. page{
  45. background-color: #f8f8f8;
  46. }
  47. .page{
  48. padding: 30rpx;
  49. }
  50. .p-content{
  51. width: 690rpx;
  52. background: #fff;
  53. border-radius: 10rpx;
  54. padding: 40rpx 30rpx 100rpx;
  55. margin: 0 auto;
  56. .title{
  57. font-size: 30rpx;
  58. font-family: PingFang SC;
  59. font-weight: bold;
  60. color: #333333;
  61. }
  62. .area-wrap{
  63. margin-top: 30rpx;
  64. background-color: #F6F6F6;
  65. border-radius: 10rpx;
  66. }
  67. .area {
  68. color: #333;
  69. font-size: 24rpx;
  70. font-family: PingFang;
  71. line-height: 36rpx;
  72. height: 185rpx;
  73. width: 100%;
  74. padding: 20rpx;
  75. }
  76. .img-wrap{
  77. flex-wrap: wrap;
  78. padding: 0 30rpx;
  79. .img-item{
  80. position: relative;
  81. margin-right: 10rpx;
  82. margin-bottom: 10rpx;
  83. border-radius: 20rpx;
  84. overflow: hidden;
  85. }
  86. .cancel{
  87. position: absolute;
  88. bottom: 0;
  89. left: 0;
  90. background: rgba(0,0,0,.4);
  91. height: 40rpx;
  92. line-height: 40rpx;
  93. text-align: center;
  94. width: 100%;
  95. color:#fff;
  96. font-size: 24rpx;
  97. }
  98. .img {
  99. width: 130rpx;
  100. height: 130rpx;
  101. &:nth-child(5n){
  102. margin-right: 0;
  103. }
  104. }
  105. }
  106. }
  107. .p-contact{
  108. margin: 24rpx auto 0;
  109. width: 690rpx;
  110. height: 208rpx;
  111. background: #FFFFFF;
  112. border-radius: 10rpx;
  113. padding: 10rpx 30rpx 30rpx;
  114. margin-bottom: 100rpx;
  115. .title{
  116. font-size: 30rpx;
  117. font-family: PingFang SC;
  118. font-weight: bold;
  119. color: #333333;
  120. height: 90rpx;
  121. line-height: 90rpx;
  122. }
  123. .inpt{
  124. width: 630rpx;
  125. height: 77rpx;
  126. background: #F6F6F6;
  127. border-radius: 10rpx;
  128. line-height: 77rpx;
  129. padding: 0 20rpx;
  130. color:#333;
  131. font-size: 24rpx;
  132. }
  133. }
  134. .p-btn{
  135. width: 691rpx;
  136. height: 94rpx;
  137. background: #92B99C;
  138. border-radius: 10rpx;
  139. line-height: 94rpx;
  140. text-align: center;
  141. font-size: 34rpx;
  142. font-family: PingFang SC;
  143. font-weight: bold;
  144. color: #FFFFFF;
  145. margin:0 auto;
  146. }
  147. </style>