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

173 lines
2.8 KiB

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