You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
1.2 KiB

  1. <template>
  2. <view class="commentItem">
  3. <view class="flex">
  4. <view class="avatar">
  5. <image src="@/static/images/avatarbg.png" mode=""></image>
  6. </view>
  7. <view class="name">关系很好</view>
  8. <view class="tag">7天通过科目一</view>
  9. </view>
  10. <view class="text">
  11. 抱着"花钱买个心安" 的想法买了VIP后面果然很快就通过考试了比我预想的考试分高
  12. </view>
  13. </view>
  14. </template>
  15. <script setup>
  16. defineProps(['info'])
  17. </script>
  18. <style lang="scss" scoped>
  19. image {
  20. display: block;width: 100%;height: 100%;
  21. }
  22. .commentItem {
  23. width: 100%;
  24. height: 236rpx;
  25. background: #FFFFFF;
  26. box-shadow: 0px 0px 18rpx 0px rgba(0, 0, 0, 0.04);
  27. border-radius: 10rpx;
  28. padding: 40rpx;
  29. .flex {
  30. .avatar {
  31. width: 40rpx;
  32. height: 40rpx;
  33. border-radius: 50%;
  34. }
  35. .name {
  36. font-size: 28rpx;
  37. font-weight: 500;
  38. padding: 0 10rpx;
  39. }
  40. .tag {
  41. min-width: 159rpx;
  42. height: 36rpx;
  43. background: linear-gradient(135deg, #F9E4B1 0%, #F1C477 100%);
  44. border-radius: 6rpx;
  45. line-height: 36rpx;
  46. text-align: center;
  47. padding: 0 10rpx;
  48. font-size: 20rpx;
  49. }
  50. }
  51. .text {
  52. margin-top: 26rpx;
  53. font-size: 24rpx;
  54. color: #2D1306;
  55. }
  56. }
  57. </style>