evaluate.vue 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. <template>
  2. <view class="page">
  3. <view class="p-num align-center justify-center">
  4. <text class="k">我的评分</text>
  5. <text class="v">7.5分</text>
  6. </view>
  7. <view class="p-star flex-col">
  8. <view class="flex-row justify-between">
  9. <image
  10. src="/static/mang_star.png"
  11. class="image_7"
  12. />
  13. <image
  14. src="/static/mang_star.png"
  15. class="image_7"
  16. />
  17. <image
  18. src="/static/mang_star.png"
  19. class="image_7"
  20. />
  21. <image
  22. src="/static/mang_star.png"
  23. class="image_7"
  24. />
  25. <image
  26. src="/static/mang_starun.png"
  27. class="image_7"
  28. />
  29. </view>
  30. <view class="flex-row justify-center group_8">
  31. <text class="text_4">极差</text>
  32. <text class="text_4">较差</text>
  33. <text class="text_4">一般</text>
  34. <text class="text_4">不错</text>
  35. <text class="text_4">很棒</text>
  36. </view>
  37. </view>
  38. <view class="p-content flex-col items-start">
  39. <textarea placeholder="写几句评价" class="area"></textarea>
  40. <view class="img-wrap flex-row">
  41. <view class="img-item" v-for="(item,idx) in 10" :key="idx">
  42. <image src="/static/temp/pro.png" mode="aspectFill" class="img" ></image>
  43. <view class="cancel">
  44. 取消
  45. </view>
  46. </view>
  47. <image
  48. src="/static/addimg.png"
  49. class="img"
  50. />
  51. </view>
  52. </view>
  53. <safe-area height="94rpx">
  54. <template v-slot:btn>
  55. <view class="btn-wrap">
  56. 申请退款
  57. </view>
  58. </template>
  59. </safe-area>
  60. </view>
  61. </template>
  62. <script>
  63. export default {
  64. data() {
  65. return {
  66. };
  67. }
  68. }
  69. </script>
  70. <style lang="scss">
  71. page{
  72. background-color: #fff;
  73. }
  74. .page{
  75. padding-top: 108rpx;
  76. }
  77. .p-num{
  78. text-align: center;
  79. font-size: 30rpx;
  80. font-family: PingFang SC;
  81. font-weight: 500;
  82. .k{
  83. color: #333333;
  84. }
  85. .v{
  86. color:#FD9534;
  87. }
  88. }
  89. .p-star{
  90. margin-top: 50rpx;
  91. padding: 0 174rpx;
  92. .image_7 {
  93. border-radius: 8rpx;
  94. width: 48rpx;
  95. height: 48rpx;
  96. }
  97. .group_8 {
  98. margin-top: 24rpx;
  99. }
  100. .text_4 {
  101. color: #999999;
  102. font-size: 24rpx;
  103. font-family: PingFang;
  104. margin-right: 39rpx;
  105. &:last-child{
  106. margin-right: 0;
  107. }
  108. }
  109. }
  110. .p-content{
  111. width: 690rpx;
  112. background: #F7F7F7;
  113. border-radius: 10rpx;
  114. padding: 27rpx 20rpx 24rpx;
  115. background-color: #f7f7f7;
  116. border-radius: 10rpx;
  117. margin: 57rpx 30rpx 0;
  118. .area {
  119. color: #333;
  120. font-size: 24rpx;
  121. font-family: PingFang;
  122. line-height: 36rpx;
  123. height: 204rpx;
  124. width: 100%;
  125. }
  126. .img-wrap{
  127. flex-wrap: wrap;
  128. .img-item{
  129. position: relative;
  130. margin-right: 10rpx;
  131. margin-bottom: 10rpx;
  132. border-radius: 20rpx;
  133. overflow: hidden;
  134. }
  135. .cancel{
  136. position: absolute;
  137. bottom: 0;
  138. left: 0;
  139. background: rgba(0,0,0,.4);
  140. height: 40rpx;
  141. line-height: 40rpx;
  142. text-align: center;
  143. width: 100%;
  144. color:#fff;
  145. font-size: 24rpx;
  146. }
  147. .img {
  148. width: 118rpx;
  149. height: 118rpx;
  150. &:nth-child(5n){
  151. margin-right: 0;
  152. }
  153. }
  154. }
  155. }
  156. .btn-wrap{
  157. width: 690rpx;
  158. height: 94rpx;
  159. background: $base-color;
  160. border-radius: 47rpx;
  161. margin: 0 auto;
  162. font-size: 34rpx;
  163. font-family: PingFang SC;
  164. font-weight: bold;
  165. color: #FFFFFF;
  166. line-height: 94rpx;
  167. text-align: center;
  168. }
  169. </style>