index.vue 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. <template>
  2. <view>
  3. <view class="text-block">
  4. <text class="text-title">姓名</text>
  5. <text>Messi</text>
  6. </view>
  7. <view class="text-block">
  8. <text class="text-title">性别</text>
  9. <text>女</text>
  10. </view>
  11. <view class="text-block">
  12. <text class="text-title">班级</text>
  13. <text>一年级 (1) 班</text>
  14. </view>
  15. <view class="text-block">
  16. <text class="text-title">症状体征</text>
  17. <text>手指皮肤破损, 0厘米</text>
  18. </view>
  19. <view class="text-block">
  20. <text class="text-title">症状体征照片</text>
  21. <text class="text-img">
  22. <image src="https://cdn.uviewui.com/uview/swiper/1.jpg"></image>
  23. </text>
  24. </view>
  25. <view class="text-block">
  26. <text class="text-title">处理措施</text>
  27. <text>碘酒消毒,创口贴包扎</text>
  28. </view>
  29. <view class="text-block">
  30. <text class="text-title">处置后照片</text>
  31. <text class="text-img">
  32. <image src="https://cdn.uviewui.com/uview/swiper/1.jpg"></image>
  33. </text>
  34. </view>
  35. <view class="text-block">
  36. <text class="text-title">后续处理</text>
  37. <text>四小时后换药包扎</text>
  38. </view>
  39. <view class="text-block">
  40. <text class="text-title">状态</text>
  41. <text>跟踪观察</text>
  42. </view>
  43. <view class="handle-time">
  44. 处理时间:2022.09.10 12:00:00
  45. </view>
  46. </view>
  47. </template>
  48. <script>
  49. export default {
  50. data() {
  51. return {
  52. }
  53. },
  54. methods: {
  55. }
  56. }
  57. </script>
  58. <style lang="scss" scoped>
  59. page{
  60. /* background-color: #D9D9D9; */
  61. // background-color: #F5F5F5 !important;
  62. padding-top: 40rpx;
  63. box-sizing: border-box;
  64. font-size: 32rpx;
  65. }
  66. .text-block{
  67. padding: 18rpx 32rpx;
  68. box-sizing: border-box;
  69. }
  70. .text-title{
  71. width: 240rpx;
  72. display: inline-block;
  73. color: rgba(0,0,0,0.60);
  74. vertical-align: top;
  75. }
  76. .text-img{
  77. width: 160rpx;
  78. height: 160rpx;
  79. border-radius: 13px;
  80. background-color: #ccc;
  81. display: inline-block;
  82. overflow: hidden;
  83. image{
  84. width: 100%;
  85. height: 100%;
  86. }
  87. }
  88. .handle-time{
  89. height: 80rpx;
  90. line-height: 80rpx;
  91. background: #f5f6f7;
  92. margin-top: 18rpx;
  93. box-sizing: border-box;
  94. padding-left: 32rpx;
  95. color: rgba(0,0,0,0.60);
  96. font-size: 23rpx;
  97. }
  98. </style>