血透系统pad前端

index.vue 4.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. <template>
  2. <div class="container">
  3. <div class="userinfo">
  4. <div class="head">
  5. <img :src="avatar" alt="">
  6. </div>
  7. <span class="name">{{this.$store.getters.user.org.org_short_name}}-{{this.$store.getters.user.user.user_name}}</span>
  8. <span class="Set"><a href="">设置</a></span>
  9. <span class="out"><router-link tag="a" to="/">退出</router-link></span>
  10. </div>
  11. <div class="logo"><img src="../../assets/product/logo.png" alt=""></div>
  12. <div class="productList">
  13. <ul>
  14. <!-- <li>
  15. <img src="../../assets/product/ico_1.png" alt="">
  16. <h1 class="title">酷医聚客</h1>
  17. <p class="text">病友管家是社会化病人关系管理系统(简称SPRM),是基于移动社交时代全新营销模式下的病人关系管理系统。以病人为中心,通过获取、留存、活跃、洞悉、营销和服务六大手段,帮助品牌建立与消费者坚实有效的关系,
  18. 提升个性化营销能力,有效挖掘用户价值并推进价值转化。</p>
  19. <span class="btn">
  20. <button type="button">立即进入( 医生 )</button>
  21. <button type="button">立即进入( 护士 )</button>
  22. </span>
  23. </li> -->
  24. <li>
  25. <img src="../../assets/product/ico_2.png" alt="">
  26. <h1 class="title">血透管理</h1>
  27. <p class="text">血透管理是基于血透临床应用标准流程研发的血透管理协作平台,用全新的互联网、云技术和友好的用户体验,为血液透析中心提供透前、透中、透后全过程协作支撑,实现无纸化、数字化和规范化的管理,提升血透中心管理水平,改善病人就医体验。</p>
  28. <span class="btn">
  29. <button type="button" @click="doctorEnterAction">立即进入 </button>
  30. <!-- <button type="button">立即进入( 护士 )</button> -->
  31. </span>
  32. </li>
  33. </ul>
  34. </div>
  35. </div>
  36. </template>
  37. <script>
  38. export default {
  39. name: 'Product',
  40. data () {
  41. return {}
  42. },
  43. computed: {
  44. avatar: function () {
  45. var avatar = this.$store.getters.user.user.avatar
  46. return avatar.length > 0 ? avatar : require('@/assets/product/test.jpg')
  47. }
  48. },
  49. methods: {
  50. doctorEnterAction: function () {
  51. this.$store.dispatch('SwitchRoleTypeToDoctor')
  52. this.$router.push({path: '/main'})
  53. // this.$router.push({path: "/layout"})
  54. }
  55. }
  56. }
  57. </script>
  58. <style style="stylesheet/scss" lang="scss" scoped >
  59. .userinfo {
  60. background: $main-color;
  61. @include box-sizing;
  62. @include display-flex;
  63. @include align-items-center;
  64. @include justify-content-end;
  65. @include text-align;
  66. padding: 5px 15px;
  67. font-size: 14px;
  68. color: $text-color;
  69. z-index: 999;
  70. .head {
  71. display: inline-block;
  72. width: 40px;
  73. height: 40px;
  74. margin: 0 6px 0 0;
  75. img {
  76. width: 100%;
  77. height: 100%;
  78. display: block;
  79. object-fit: cover;
  80. object-position: contain;
  81. float: left;
  82. border-radius: 50%;
  83. }
  84. }
  85. .Set {
  86. margin: 0 30px;
  87. }
  88. a {
  89. color: $text-color;
  90. }
  91. }
  92. .logo {
  93. @include box-sizing;
  94. @include display-flex;
  95. @include align-items-center;
  96. @include justify-content-center;
  97. @include text-align;
  98. width: 100%;
  99. padding: 0.63rem 0;
  100. img {
  101. width: 4rem;
  102. height: auto;
  103. display: inline-block;
  104. }
  105. }
  106. .productList {
  107. background: $base-color;
  108. li {
  109. @include box-sizing;
  110. @include display-flex;
  111. @include align-items-center;
  112. @include justify-content-center;
  113. @include text-align;
  114. @include flex-direction;
  115. background: $white-bg;
  116. margin: 0 0.8rem;
  117. border-radius:0.15rem;
  118. @include box-shadow;
  119. padding: 0.84rem 0 0.73rem 0;
  120. &:first-child {
  121. margin-bottom: 3%;
  122. }
  123. img {
  124. width: 1.78rem;
  125. height: auto;
  126. display: block;
  127. }
  128. .title {
  129. font-size:0.37rem;
  130. color: $pgh-color;
  131. font-weight: bold;
  132. margin:0.4rem 0 0.4rem 0;
  133. }
  134. .text {
  135. font-size: 0.28rem;
  136. color: $pgh-color;
  137. line-height:0.44rem;
  138. width: 13.17rem;
  139. text-align: left;
  140. padding: 0 0 1.5% 0;
  141. }
  142. .btn {
  143. button {
  144. height:0.9rem;
  145. line-height:0.9rem;
  146. @include text-align;
  147. color: $text-color;
  148. border-radius:0.06rem;
  149. padding: 0 1rem;
  150. background: $main-color;
  151. font-size: 0.28rem;
  152. a {
  153. color: $text-color;
  154. }
  155. }
  156. }
  157. }
  158. }
  159. </style>