瑶都万能墙
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.

168 lines
2.8 KiB

7 months ago
6 months ago
6 months ago
6 months ago
7 months ago
6 months ago
7 months ago
6 months ago
7 months ago
6 months ago
6 months ago
6 months ago
7 months ago
6 months ago
7 months ago
6 months ago
7 months ago
6 months ago
7 months ago
6 months ago
7 months ago
6 months ago
7 months ago
6 months ago
7 months ago
6 months ago
7 months ago
6 months ago
7 months ago
6 months ago
7 months ago
6 months ago
7 months ago
6 months ago
7 months ago
  1. <template>
  2. <view class="o">
  3. <view class="indee">
  4. <view class="k"
  5. v-if="item.classId_dictText">
  6. #{{item.classId_dictText}}
  7. </view>
  8. </view>
  9. <view class="box" :style="{'--sexcolor' : sex[item.sex].color}">
  10. <view class="headPortraitimg">
  11. <image :src="item.userImage" @click.stop="previewImage([item.userImage])" mode="aspectFill"></image>
  12. </view>
  13. <view class="YaoduUniversalWall">
  14. <view class="heide">
  15. <view class="username text-ellipsis">
  16. {{ item.userName }}
  17. </view>
  18. <view class="inde" v-if="item.sex">
  19. <!-- 性别 -->
  20. {{ item.sex }}
  21. </view>
  22. <view class="inde" v-if="item.yearDate">
  23. <!-- 年份 -->
  24. {{ item.yearDate }}
  25. </view>
  26. <view class="inde" v-if="item.addId">
  27. <!-- 地址 -->
  28. {{ item.addId }}
  29. </view>
  30. <!-- 分类 -->
  31. <view class="authentication" v-if="item.isContent">
  32. <!-- 个人认证 -->
  33. {{ item.isContent }}
  34. </view>
  35. </view>
  36. <view class="Times">
  37. <view class="TimeMonth">
  38. <!-- 10-08 -->
  39. {{ item.createTime }}发布
  40. </view>
  41. <!-- <view class="Month">
  42. 12:34
  43. </view> -->
  44. </view>
  45. </view>
  46. </view>
  47. </view>
  48. </template>
  49. <script>
  50. import mixinsSex from '@/mixins/sex.js'
  51. export default {
  52. mixins: [mixinsSex],
  53. props: {
  54. item: {},
  55. },
  56. data() {
  57. return {
  58. }
  59. },
  60. methods: {
  61. }
  62. }
  63. </script>
  64. <style scoped lang="scss">
  65. .o {
  66. .indee{
  67. .k{
  68. display: flex;
  69. justify-content: flex-end;
  70. margin-top: -30rpx;
  71. color:gold;
  72. }
  73. }
  74. .box {
  75. display: flex;
  76. align-items: center;
  77. .headPortraitimg {
  78. width: 100rpx;
  79. height: 100rpx;
  80. border-radius: 15rpx;
  81. overflow: hidden;
  82. image {
  83. width: 100%;
  84. height: 100%;
  85. }
  86. }
  87. .YaoduUniversalWall {
  88. padding: 0rpx 10rpx;
  89. .username {
  90. max-width: 200rpx;
  91. }
  92. .heide {
  93. display: flex;
  94. justify-content: center;
  95. align-items: center;
  96. }
  97. .inde {
  98. display: flex;
  99. justify-content: center;
  100. align-items: center;
  101. padding: 0rpx 10rpx;
  102. margin: 0rpx 5rpx;
  103. font-size: 20rpx;
  104. height: 30rpx;
  105. color: white;
  106. // background-color: rgb(124, 136, 242);
  107. background-color: var(--sexcolor);
  108. border-radius: 7rpx;
  109. flex-shrink: 0;
  110. }
  111. .authentication {
  112. display: flex;
  113. justify-content: center;
  114. align-items: center;
  115. padding: 0rpx 10rpx;
  116. margin: 0rpx 5rpx;
  117. font-size: 20rpx;
  118. height: 34rpx;
  119. padding: 0rpx 10rpx;
  120. color: white;
  121. background-color: #ffd036;
  122. border-radius: 7rpx;
  123. flex-shrink: 0;
  124. }
  125. .Times {
  126. display: flex;
  127. padding: 5rpx 0rpx;
  128. font-size: 20rpx;
  129. margin-top: 10rpx;
  130. .Month {
  131. margin: 0rpx 15rpx;
  132. }
  133. }
  134. }
  135. }
  136. }
  137. </style>