鸿宇研学生前端代码
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.

100 lines
1.9 KiB

  1. <template>
  2. <view class="page__view">
  3. <navbar title="我的评价" leftClick @leftClick="$utils.navigateBack" bgColor="#FFFFFF" />
  4. <view class="main">
  5. <view class="list" v-if="total">
  6. <view class="list-item" v-for="item in list" :key="item.id">
  7. <view class="flex list-item-header">
  8. <view class="flex mark">
  9. <image class="icon" src="@/static/image/icon-mark-highlight.png" mode="widthFix"></image>
  10. </view>
  11. <view class="title">
  12. {{ `来自 ${item.activityTitle || ''}` }}
  13. </view>
  14. </view>
  15. <commentCard :data="item"></commentCard>
  16. </view>
  17. </view>
  18. </view>
  19. </view>
  20. </template>
  21. <script>
  22. import mixinsList from '@/mixins/list.js'
  23. import commentCard from '@/pages_order/comment/commentCard.vue'
  24. export default {
  25. mixins: [mixinsList],
  26. components: {
  27. commentCard,
  28. },
  29. data() {
  30. return {
  31. mixinsListApi: 'queryMyCommentList',
  32. }
  33. },
  34. methods: {
  35. },
  36. }
  37. </script>
  38. <style scoped lang="scss">
  39. .page__view {
  40. background: $uni-bg-color;
  41. }
  42. .main {
  43. padding: 40rpx;
  44. }
  45. .list {
  46. padding: 32rpx;
  47. background: #FFFFFF;
  48. border-radius: 24rpx;
  49. &-item {
  50. padding-bottom: 40rpx;
  51. border-bottom: 2rpx solid #F5F5F5;
  52. & + & {
  53. margin-top: 40rpx;
  54. }
  55. &:last-child {
  56. border: none;
  57. }
  58. &-header {
  59. justify-content: flex-start;
  60. column-gap: 24rpx;
  61. margin-bottom: 14rpx;
  62. .mark {
  63. width: 36rpx;
  64. height: 36rpx;
  65. background: linear-gradient(to right, #21FEEC, #019AF9);
  66. border-radius: 50%;
  67. .icon {
  68. width: 24rpx;
  69. height: auto;
  70. }
  71. }
  72. .title {
  73. flex: 1;
  74. font-size: 30rpx;
  75. font-weight: 600;
  76. line-height: 1.4;
  77. color: #00A9FF;
  78. }
  79. }
  80. }
  81. }
  82. </style>