tabel.vue 815 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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">
  9. <view v-if="id == 0" class="demo-layout bg-purple-light" style='padding: 32rpx 0;'>{{item.label}}</view>
  10. <view v-if="id == 0" style="color: rgba(0,0,0,0.60); padding: 32rpx 0;">{{items[item.title]}}</view>
  11. <view v-else style="color: rgba(0,0,0,0.60); padding: 32rpx 0;">{{items[item.title]}}</view>
  12. </u-col>
  13. </u-row>
  14. </view>
  15. </template>
  16. <script>
  17. export default {
  18. props:{
  19. eyeData: {
  20. type: Array,
  21. default: []
  22. },
  23. tableEye: {
  24. type: Array,
  25. default: []
  26. }
  27. },
  28. created(){
  29. },
  30. data() {
  31. return {
  32. }
  33. },
  34. }
  35. </script>
  36. <style>
  37. </style>