archives_info.vue 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250
  1. <template>
  2. <view class="main">
  3. <view class="header-content">
  4. <image src="https://zhengda.oss-cn-chengdu.aliyuncs.com/baoma/static/img/mybanner.png" style="width:100%;height:260rpx;"></image>
  5. </view>
  6. <view class="pr" style="z-index:2">
  7. <view class="plr15">
  8. <view class="bdr4 pb20">
  9. <view class="m-dpflex m-justify-start m-align-center" style="height: 165rpx;">
  10. <image binderror="_binderror" mode="scaleToFill" :src="info.avatar" style="width: 120rpx;height: 120rpx;border-radius: 50%;"></image>
  11. <text class="line1 f20 fb plr15 text-white">{{info.nickname}}</text>
  12. <view class="pr tr m-flex">
  13. <navigator hoverClass="none">
  14. <u-icon name="arrow-right" color="#fff" size="36"></u-icon>
  15. </navigator>
  16. </view>
  17. </view>
  18. <view class=" header-box" style="padding: 0 8rpx;background-color: #fff;border-radius: 16rpx;">
  19. <view class="cu-list menu">
  20. <view class="cu-item arrow" @click="">
  21. <view class="content">
  22. <text class="text-grey">证件照</text>
  23. </view>
  24. <view class="action">
  25. <text class="text-grey text-sm">未上传</text>
  26. </view>
  27. </view>
  28. <view class="cu-item arrow" @click="">
  29. <view class="content">
  30. <text class="text-grey">基础建档信息</text>
  31. </view>
  32. <view class="action">
  33. </view>
  34. </view>
  35. </view>
  36. </view>
  37. </view>
  38. </view>
  39. </view>
  40. <view class="fb f18 plr20" style="margin-bottom: 24rpx;">病例信息</view>
  41. <view class="margin-lr-sm">
  42. <view class="" style="border-radius: 16rpx;box-shadow: 0 0 50rpx 0 rgba(0, 0, 0, 0.1);">
  43. <view class="flex justify-between align-center bg-white" style="padding: 28rpx;border-radius: 16rpx;">
  44. <view class="jinxing">
  45. <text style="display: inline-block;width: 12rpx;height: 12rpx;border-radius: 50%;background-color:#EEAA3F;margin-right: 8rpx;"></text>
  46. <text>进行中</text>
  47. </view>
  48. <text class="phonezi">电话咨询</text>
  49. </view>
  50. <view class="" style="background: #FBFBFB;padding: 28rpx; border-radius: 16rpx;">
  51. <view class="nametaile flex align-center">
  52. <text>李英林</text>
  53. <text class="text_style">30年经验</text>
  54. <text class="text_style">优秀医师</text>
  55. </view>
  56. <view class="textstyle margin-top-xs">
  57. 科室:<text style="color: #333333;">外科 主任医师</text>
  58. </view>
  59. <view class="textstyle margin-top-xs">
  60. 编号:<text style="color: #333333;">ZX202000010</text>
  61. </view>
  62. <view class="textstyle margin-top-xs">
  63. 咨询时间:<text style="color: #333333;">2020.09.01 11:12:09</text>
  64. </view>
  65. </view>
  66. </view>
  67. </view>
  68. <view class="fb f18 plr20" style="margin-bottom: 24rpx;margin-top: 40rpx;">服务包</view>
  69. </view>
  70. </template>
  71. <script>
  72. export default {
  73. onLoad(options) {
  74. this.id = options.id
  75. },
  76. onShow() {
  77. },
  78. mounted() {
  79. this.getarchivesInfo()
  80. },
  81. data() {
  82. return {
  83. id: "",
  84. infodata: ""
  85. }
  86. },
  87. methods: {
  88. getarchivesInfo: async function() {
  89. let res = await this.$request.post("/api/v1/patient/patientDetail", {
  90. patient_id: this.id
  91. })
  92. console.log(res)
  93. if (res.status == 0) {
  94. this.infodata = res.data
  95. }
  96. }
  97. }
  98. };
  99. </script>
  100. <style scoped lang="scss">
  101. @import url("../index/mine.css");
  102. .main {}
  103. .text_style {
  104. font-weight: 400;
  105. margin-left: 15rpx;
  106. background-color: #E5F5FF;
  107. color: #0B73B9;
  108. width: 100rpx;
  109. height: 28rpx;
  110. font-size: 20rpx;
  111. border-radius: 10rpx;
  112. text-align: center;
  113. align-items: center;
  114. }
  115. .nametaile {
  116. font-size: 30rpx;
  117. font-weight: 500;
  118. color: #333333;
  119. }
  120. .textstyle {
  121. font-size: 26rpx;
  122. color: #666666;
  123. font-weight: 400;
  124. }
  125. .phonezi {
  126. width: 160rpx;
  127. height: 54rpx;
  128. background: #F6F6F6;
  129. border-radius: 27rpx;
  130. font-size: 28rpx;
  131. font-family: PingFangSC-Regular, PingFang SC;
  132. font-weight: 400;
  133. color: #666666;
  134. display: flex;
  135. align-items: center;
  136. justify-content: center;
  137. }
  138. .jinxing {
  139. height: 30rpx;
  140. font-size: 30rpx;
  141. font-family: PingFangSC-Medium, PingFang SC;
  142. font-weight: 500;
  143. color: #EEAA3F;
  144. display: flex;
  145. align-items: center;
  146. }
  147. .header-content {
  148. position: absolute;
  149. top: 0;
  150. right: 0;
  151. bottom: 0;
  152. left: 0;
  153. width: 100%;
  154. z-index: -1;
  155. overflow: hidden;
  156. box-sizing: border-box;
  157. }
  158. .header-box {
  159. box-shadow: 0px 8rpx 34rpx -6rpx rgba(248, 151, 164, 0.13);
  160. }
  161. .header-img {
  162. width: 36rpx;
  163. height: 36rpx;
  164. }
  165. .tip {
  166. position: absolute;
  167. top: 0;
  168. right: 20%;
  169. bottom: 0;
  170. background-color: red;
  171. width: 12rpx;
  172. height: 12rpx;
  173. border-radius: 50%;
  174. }
  175. .msg {
  176. top: -3rpx;
  177. right: -9rpx;
  178. }
  179. swiper {
  180. height: 320rpx;
  181. }
  182. .swiper-wrapper {
  183. padding: 0 10rpx;
  184. box-sizing: border-box;
  185. }
  186. .swiper-item {
  187. width: 100%;
  188. height: 300rpx;
  189. box-shadow: 0 26rpx 40rpx 0 rgba(255, 255, 255, 0.31);
  190. background: url("http://file.supermm.me/miniProgram/images/personal/bg_doc.png") no-repeat bottom center;
  191. }
  192. .dots {
  193. position: absolute;
  194. left: 0;
  195. right: 0;
  196. bottom: -40rpx;
  197. display: flex;
  198. justify-content: center;
  199. }
  200. .dots .dot {
  201. margin: 0 8rpx;
  202. width: 14rpx;
  203. height: 14rpx;
  204. background: #E4E4E4;
  205. border-radius: 8rpx;
  206. transition: all .6s;
  207. }
  208. .dots .dot.active {
  209. width: 24rpx;
  210. background: rgb(153, 153, 153);
  211. }
  212. .game-wrap {
  213. position: relative;
  214. width: 100%;
  215. height: 100%;
  216. overflow: hidden;
  217. box-sizing: border-box;
  218. }
  219. .game-item {
  220. height: 100%;
  221. background: url("https://file.supermm.me/h5/wechat-h5/integral/personeBg001.jpg") no-repeat;
  222. background-size: 100% 100%;
  223. background-position: center center;
  224. border-radius: 100rpx;
  225. }
  226. </style>