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

206 lines
3.5 KiB

9 months ago
  1. <template>
  2. <view class="works">
  3. <view class="box">
  4. <view class="headPortraitimg">
  5. <image :src="item.userImage" mode="aspectFill"></image>
  6. </view>
  7. <view class="YaoduUniversalWall">
  8. <view class="heide">
  9. <view class="username text-ellipsis">
  10. </view>
  11. <view class="inde">
  12. 男性
  13. </view>
  14. <view class="inde">
  15. 99
  16. </view>
  17. <view class="inde">
  18. 大路铺镇
  19. </view>
  20. <view class="authentication">
  21. 官方认证
  22. </view>
  23. </view>
  24. <view class="Times">
  25. <view class="TimeMonth">
  26. <!-- 10-08 -->
  27. {{ item.createTime }}发布
  28. </view>
  29. <!-- <view class="Month">
  30. 12:34
  31. </view> -->
  32. </view>
  33. </view>
  34. </view>
  35. <view class="dynamics" v-html="$utils.stringFormatHtml(item.title)">
  36. </view>
  37. <view class="Artworkimages">
  38. <view class="wrokimg" :key="i" v-for="(img, i) in item.image && item.image.split(',')">
  39. <image :src="img" mode=""></image>
  40. </view>
  41. </view>
  42. <view class="bottom">
  43. <view class="browse">
  44. {{ item.isBrowse }}浏览
  45. </view>
  46. <view class="browse">
  47. {{ item.isComment }}条评论
  48. </view>
  49. <view class="Leavingamessage">
  50. <uv-icon size="30rpx" name="chat"></uv-icon>
  51. </view>
  52. </view>
  53. </view>
  54. </template>
  55. <script>
  56. export default {
  57. props: {
  58. item: {}
  59. },
  60. data() {
  61. return {
  62. }
  63. },
  64. methods: {
  65. }
  66. }
  67. </script>
  68. <style scoped lang="scss">
  69. .works {
  70. margin: 40rpx 24rpx;
  71. background-color: #fff;
  72. padding: 40rpx;
  73. border-radius: 20rpx;
  74. box-shadow: 0 0 6rpx 6rpx #00000011;
  75. .box {
  76. display: flex;
  77. align-items: center;
  78. .headPortraitimg {
  79. width: 100rpx;
  80. height: 100rpx;
  81. background-color: greenyellow;
  82. border-radius: 15rpx;
  83. overflow: hidden;
  84. image{
  85. width: 100%;
  86. height: 100%;
  87. }
  88. }
  89. .YaoduUniversalWall {
  90. padding: 0rpx 10rpx;
  91. .username {
  92. max-width: 200rpx;
  93. }
  94. .heide {
  95. display: flex;
  96. justify-content: center;
  97. align-items: center;
  98. }
  99. .inde {
  100. display: flex;
  101. justify-content: center;
  102. align-items: center;
  103. padding: 0rpx 10rpx;
  104. margin: 0rpx 5rpx;
  105. font-size: 20rpx;
  106. height: 30rpx;
  107. color: white;
  108. background-color: rgb(124, 136, 242);
  109. border-radius: 7rpx;
  110. flex-shrink: 0;
  111. }
  112. .authentication {
  113. display: flex;
  114. justify-content: center;
  115. align-items: center;
  116. padding: 0rpx 10rpx;
  117. margin: 0rpx 5rpx;
  118. font-size: 20rpx;
  119. height: 34rpx;
  120. padding: 0rpx 10rpx;
  121. color: white;
  122. background-color: #ffd036;
  123. border-radius: 7rpx;
  124. flex-shrink: 0;
  125. }
  126. .Times {
  127. display: flex;
  128. padding: 5rpx 0rpx;
  129. font-size: 20rpx;
  130. margin-top: 10rpx;
  131. .Month {
  132. margin: 0rpx 15rpx;
  133. }
  134. }
  135. }
  136. }
  137. .personalInformation {
  138. display: flex;
  139. .inde {
  140. font-size: 25rpx;
  141. padding: 0rpx 8rpx;
  142. }
  143. .authentication {
  144. font-size: 25rpx;
  145. }
  146. }
  147. .dynamics {
  148. margin-top: 20rpx;
  149. font-size: 28rpx;
  150. // font-weight: bold;
  151. // line-height: 35rpx;
  152. letter-spacing: 3rpx;
  153. }
  154. .Artworkimages {
  155. display: flex;
  156. flex-wrap: wrap;
  157. .wrokimg {
  158. margin: 10rpx;
  159. image {
  160. height: 190rpx;
  161. width: 190rpx;
  162. border-radius: 20rpx;
  163. }
  164. }
  165. }
  166. .bottom {
  167. display: flex;
  168. margin-top: 20rpx;
  169. font-size: 20rpx;
  170. .browse {
  171. margin: 0rpx 30rpx;
  172. color: rgb(132, 132, 132);
  173. }
  174. .Leavingamessage {
  175. height: 20rpx;
  176. width: 20rpx;
  177. margin-left: auto;
  178. }
  179. }
  180. }
  181. </style>