index.vue 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. <template>
  2. <div class="serviceEvaluation">
  3. <div class="serviceBody">
  4. <div class="serviceTitle">请给出您能园区服务水平的评价,您的建议是我们前进的最大动力!</div>
  5. <div class="evaluationBox" >
  6. <span class="evaName">园区保洁</span>
  7. <van-rate
  8. :value="value"
  9. :size="24"
  10. gutter="32rpx"
  11. void-color="#eee"
  12. bind:change="onChange"
  13. color="#fd9a63"
  14. />
  15. </div>
  16. <div class="evaluationBox" >
  17. <span class="evaName">园区绿化</span>
  18. <van-rate
  19. :value="value"
  20. :size="24"
  21. gutter="32rpx"
  22. void-color="#eee"
  23. bind:change="onChange"
  24. color="#fd9a63"
  25. />
  26. </div>
  27. <div class="evaluationBox" >
  28. <span class="evaName">维修服务</span>
  29. <van-rate
  30. :value="value"
  31. :size="24"
  32. gutter="32rpx"
  33. void-color="#eee"
  34. bind:change="onChange"
  35. color="#fd9a63"
  36. />
  37. </div>
  38. <div class="evaluationBox" >
  39. <span class="evaName">停车服务</span>
  40. <van-rate
  41. :value="value"
  42. :size="24"
  43. gutter="32rpx"
  44. void-color="#eee"
  45. bind:change="onChange"
  46. color="#fd9a63"
  47. />
  48. </div>
  49. <div class="evaluationBox" >
  50. <span class="evaName">园区配套</span>
  51. <van-rate
  52. :value="value"
  53. :size="24"
  54. gutter="32rpx"
  55. void-color="#eee"
  56. bind:change="onChange"
  57. color="#fd9a63"
  58. />
  59. </div>
  60. <div class="evaluationBox" >
  61. <span class="evaName">服务态度</span>
  62. <van-rate
  63. :value="value"
  64. :size="24"
  65. gutter="32rpx"
  66. void-color="#eee"
  67. bind:change="onChange"
  68. color="#fd9a63"
  69. />
  70. </div>
  71. </div>
  72. <div class="serviceBody">
  73. <van-field
  74. :value="form.contant"
  75. autosize
  76. type="textarea"
  77. placeholder="请输入文字进行报事报修描述"
  78. class="myField"
  79. maxlength="2000"
  80. show-word-limit
  81. />
  82. </div>
  83. <button class="submitBtn">提交</button>
  84. </div>
  85. </template>
  86. <script>
  87. export default {
  88. name: "index",
  89. data(){
  90. return{
  91. value: "5",
  92. form:{
  93. }
  94. }
  95. }
  96. }
  97. </script>
  98. <style lang="scss">
  99. .serviceEvaluation{
  100. .serviceBody{
  101. background: white;
  102. padding: 24rpx 32rpx;
  103. margin: 24rpx 0;
  104. .serviceTitle{
  105. color: rgba(51, 51, 51, 1);
  106. font-size: 28rpx;
  107. }
  108. }
  109. .evaluationBox {
  110. width: 686rpx;
  111. height: 100rpx;
  112. padding: 0 24rpx;
  113. display: flex;
  114. align-items: center;
  115. justify-content: space-between;
  116. background: #f5f7fa;
  117. border-radius: 8rpx;
  118. box-sizing: border-box;
  119. margin-top: 24rpx;
  120. .evaName{
  121. font-size: 32rpx;
  122. color: rgba(51, 51, 51, 1);
  123. }
  124. }
  125. .van-cell {
  126. background: #F5F7FA !important;
  127. border-radius: 8rpx;
  128. font-size: 28rpx;
  129. }
  130. .submitBtn{
  131. width: 654rpx;
  132. height: 96rpx;
  133. display: flex;
  134. align-items: center;
  135. justify-content: center;
  136. color: white;
  137. font-size: 35rpx;
  138. background: rgba(3, 101, 249, 1);
  139. margin: 64rpx auto;
  140. }
  141. }
  142. </style>