江西小程序管理端
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.

73 lines
1.5 KiB

1 year ago
1 year ago
1 year ago
1 year ago
  1. <template>
  2. <view class="box">
  3. <view class="flex-b">
  4. <view class="name">匿名用户</view>
  5. <view class="date">2023/08/08</view>
  6. </view>
  7. <view class="starBox">
  8. <u-rate active-color="#1989FA" inactive-color="#1989FA" gutter="1" :size="16" :value="4" disabled></u-rate>
  9. <view class="num">4.9</view>
  10. </view>
  11. <view class="text">教学质量高技术好超有耐心有责任心学车就找这个驾校教练都超好满意满意满意</view>
  12. <!-- <view class="imgBox">
  13. <view class="img" v-for="(item,index) in urls2" :key="index">
  14. <image :src="item" mode=""></image>
  15. </view>
  16. </view> -->
  17. <view class="imgBox">
  18. <u-album :urls="urls2" :multipleSize="'160rpx'"></u-album>
  19. </view>
  20. </view>
  21. </template>
  22. <script>
  23. export default {
  24. data() {
  25. return {
  26. urls2: [
  27. 'https://cdn.uviewui.com/uview/album/1.jpg',
  28. 'https://cdn.uviewui.com/uview/album/2.jpg',
  29. 'https://cdn.uviewui.com/uview/album/3.jpg',
  30. 'https://cdn.uviewui.com/uview/album/4.jpg',
  31. ]
  32. }
  33. }
  34. }
  35. </script>
  36. <style lang="scss" scoped>
  37. .flex-b {
  38. align-items: center;
  39. .name {
  40. font-weight: 600;
  41. font-size: 32rpx;
  42. color: #333;
  43. }
  44. .date {
  45. font-size: 24rpx;
  46. color: #686B73;
  47. }
  48. }
  49. .starBox {
  50. padding: 10rpx 0 24rpx 0;
  51. }
  52. .text {
  53. font-size: 24rpx;
  54. }
  55. .imgBox {
  56. display: flex;
  57. flex-wrap: wrap;
  58. padding-top: 20rpx;
  59. .img {
  60. margin-top: 20rpx;
  61. width: 160rpx;
  62. height: 160rpx;
  63. border-radius: 8rpx;
  64. overflow: hidden;
  65. margin-right: 24rpx;
  66. }
  67. }
  68. </style>