history.vue 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. <template>
  2. <view class="history bg-white" >
  3. <view style="margin: -10rpx 0 50rpx -10rpx;" class="text-bold">
  4. 报修进度
  5. </view>
  6. <u-time-line>
  7. <u-time-line-item nodeTop="2" v-for="(item,index) in 10" :key="index">
  8. <template v-slot:node>
  9. <view class="u-node bg-white">
  10. <u-icon name="clock-fill" color="#5064eb" :size="28"></u-icon>
  11. </view>
  12. </template>
  13. <template v-slot:content>
  14. <view>
  15. <view class="">2022-03-30 15:17:04</view>
  16. <view style="width: 636rpx;">
  17. <view class="content">
  18. <view class="flex justify-between">
  19. <view class="">
  20. <view class="nav-title">
  21. <text class="">人员姓名:</text>
  22. <text class="">黄明潘</text>
  23. </view>
  24. <view class="nav-title">
  25. <text>测量体温:</text>
  26. <text class="text-red">36.9 ℃</text>
  27. </view>
  28. <view class="nav-title">
  29. <text>所属企业:</text>
  30. <text>所属企业</text>
  31. </view>
  32. </view>
  33. <view class="">
  34. <image
  35. @click="$util.preview('http://192.168.1.218:1889/miniofile/cyzh/upload/20220330/d5557aceee4b8cad094c1d0083dd80cf.jpg')"
  36. src="http://192.168.1.218:1889/miniofile/cyzh/upload/20220330/d5557aceee4b8cad094c1d0083dd80cf.jpg"
  37. style="width: 110rpx;height: 110rpx;border-radius: 10rpx;" mode=""></image>
  38. </view>
  39. </view>
  40. <view class="nav-title">
  41. <text>开门方式:</text>
  42. <text>人脸识别开门</text>
  43. </view>
  44. </view>
  45. </view>
  46. </view>
  47. </template>
  48. </u-time-line-item>
  49. </u-time-line>
  50. </view>
  51. </template>
  52. <script>
  53. export default {
  54. props: {
  55. list: {
  56. type: Array
  57. }
  58. },
  59. data() {
  60. return {
  61. };
  62. },
  63. onLoad() {
  64. },
  65. methods: {
  66. }
  67. };
  68. </script>
  69. <style lang="scss" scoped>
  70. page {
  71. background-color: #FFFFFF;
  72. }
  73. .nav-title {
  74. font-size: 28upx;
  75. font-weight: 300;
  76. padding-top: 20rpx;
  77. }
  78. .history {
  79. box-sizing: border-box;
  80. padding: 40rpx 20rpx 20rpx 50rpx;
  81. }
  82. .content {
  83. box-shadow: 0 8rpx 10rpx rgba(234, 234, 234, 0.5), 8rpx 0rpx 10rpx rgba(234, 234, 234, .5), -8rpx 0rpx 10rpx rgba(234, 234, 234, .5);
  84. background-color: #FFFFFF;
  85. padding: 20rpx;
  86. border-radius: 10rpx;
  87. margin: 20rpx 0;
  88. }
  89. </style>