medication.vue 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. <template>
  2. <view>
  3. <view class="position-relative bghead">
  4. <image style="opacity: 0;" src="@/static/other/med.png" mode="widthFix" class="w-100"></image>
  5. <view class="position-absolute text-white px-3 mx-3 positionY-50" style="">
  6. <view class="centerY">
  7. <view class="bw_line line-height1"></view>
  8. <view class="ml-1 fs-18 font-bold">
  9. 随访用药
  10. </view>
  11. </view>
  12. <view class="mt-2 fs-14">
  13. 患者每次随访的用药记录
  14. </view>
  15. </view>
  16. </view>
  17. <view class="px-3 pb-3 mt-n2">
  18. <view class="bg-white px-2 py-3 mt-3" style="border-radius: 16rpx;" v-for="(item,index) in 5">
  19. <view class="centerY mb-2 text-gry">
  20. <view class="bule_line"></view>
  21. <view class="ml-2">
  22. {{'糖尿病随访'}}
  23. </view>
  24. <text class="ml-auto iconfont Clock fs-20"></text>
  25. <view class="">
  26. {{'2022-11-01'}}
  27. </view>
  28. </view>
  29. <view class="">
  30. <view class="mtable-title centerY bg-primary text-white fs-12">
  31. <view class="text-left" style="width: 23%;">
  32. 药名
  33. </view>
  34. <view class=" text-center" style="width: 15%;">
  35. 剂量
  36. </view>
  37. <view class="w-10 text-center">
  38. 用法
  39. </view>
  40. <view class="text-center" style="width: 17%;">
  41. 用药频次
  42. </view>
  43. <view class="text-center" style="width: 17%;">
  44. 不良反应
  45. </view>
  46. <view class=" text-center" style="width: 17%;">
  47. 用药类型
  48. </view>
  49. </view>
  50. <view class="mtable-body-item centerY fs-12" v-for="(item,index) in 5" style="color: #868687;">
  51. <view class="text-left" style="width: 23%;">
  52. {{'培哚普利吲达帕胺片4mg'}}
  53. </view>
  54. <view class=" text-center" style="width: 15%;">
  55. {{'1.05mg'}}
  56. </view>
  57. <view class="w-10 text-center">
  58. {{'口服'}}
  59. </view>
  60. <view class="text-center" style="width: 17%;">
  61. {{'1日1次'}}
  62. </view>
  63. <view class="text-center" style="width: 17%;">
  64. {{'无'}}
  65. </view>
  66. <view class="text-center" style="width: 17%;">
  67. {{'糖尿病'}}
  68. </view>
  69. </view>
  70. </view>
  71. </view>
  72. </view>
  73. <view class="">
  74. </view>
  75. </view>
  76. </template>
  77. <script>
  78. export default {
  79. data() {
  80. return {
  81. };
  82. },
  83. onPullDownRefresh() {
  84. setTimeout(()=>{
  85. uni.stopPullDownRefresh()
  86. },1000)
  87. }
  88. }
  89. </script>
  90. <style lang="scss">
  91. page {
  92. background: #F5F9FF;
  93. }
  94. .bw_line {
  95. width: 10rpx;
  96. height: 30rpx;
  97. background-color: #fff;
  98. border-radius: 6rpx;
  99. }
  100. .bghead {
  101. background-image: url('@/static/other/med.png');
  102. background-size: 100% 100%;
  103. background-repeat: no-repeat;
  104. background-position: center;
  105. }
  106. .mtable {
  107. &-title {
  108. border-radius: 50rpx;
  109. padding: 20rpx 0 20rpx 20rpx;
  110. }
  111. &-body {
  112. &-item {
  113. margin-top: 20rpx;
  114. border-radius: 50rpx;
  115. padding: 14rpx 0 14rpx 20rpx;
  116. background-color: #F6F9FE;
  117. color: #868687;
  118. }
  119. }
  120. }
  121. </style>