tabel.vue 669 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <template>
  2. <view>
  3. <u-row
  4. customStyle="margin-bottom: 10px"
  5. style=" border-bottom: 2rpx solid #f0f0f0; color: #434343;"
  6. v-for="(items, id) in eyeData"
  7. >
  8. <u-col v-for="item in tableEye" :span="item.span" style='padding: 32rpx 0;'>
  9. <view v-if="id == 0" class="demo-layout bg-purple-light">{{item.label}}</view>
  10. <view v-else style="color: rgba(0,0,0,0.60);">{{items[item.title]}}</view>
  11. </u-col>
  12. </u-row>
  13. </view>
  14. </template>
  15. <script>
  16. export default {
  17. props:{
  18. eyeData: {
  19. type: Array,
  20. default: []
  21. },
  22. tableEye: {
  23. type: Array,
  24. default: []
  25. }
  26. },
  27. data() {
  28. return {
  29. }
  30. },
  31. }
  32. </script>
  33. <style>
  34. </style>