index.vue 1.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <template>
  2. <div class="page_patientCenter">
  3. <div class="patientCenterTitle">
  4. <i class="iconfont icon-zuojiantou jiantou"></i>
  5. <span class="titleName">患者中心</span>
  6. </div>
  7. <div class="allTitle">
  8. <van-cell center title="全部权限">
  9. <van-switch v-model="checked" slot="right-icon" size="24" />
  10. </van-cell>
  11. </div>
  12. <div class="allTitle1">
  13. <van-cell center title="功能权限配置"> </van-cell>
  14. </div>
  15. <div class="allBox">
  16. <van-cell center title="新增患者">
  17. <van-switch v-model="checked" slot="right-icon" size="24" />
  18. </van-cell>
  19. <van-cell center title="患者管理">
  20. <van-switch v-model="checked" slot="right-icon" size="24" />
  21. </van-cell>
  22. </div>
  23. </div>
  24. </template>
  25. <script>
  26. export default {
  27. data() {
  28. return {
  29. checked: false
  30. };
  31. }
  32. };
  33. </script>
  34. <style lang="scss" scoped>
  35. .page_patientCenter {
  36. height: 100%;
  37. overflow-y: auto;
  38. background: #fafafa;
  39. .patientCenterTitle {
  40. background: #fff;
  41. padding: 0 1.125rem;
  42. height: 3.125rem;
  43. display: flex;
  44. align-items: center;
  45. }
  46. .jiantou {
  47. font-size: 1.5rem;
  48. font-weight: 600;
  49. margin-right: 7rem;
  50. }
  51. .titleName {
  52. font-size: 1.125rem;
  53. font-weight: 600;
  54. }
  55. .allTitle {
  56. margin: 1rem 0;
  57. .van-cell__title {
  58. font-weight: bold;
  59. font-size: 1rem;
  60. color: #313234;
  61. }
  62. }
  63. .allTitle1 {
  64. .van-cell__title {
  65. font-weight: bold;
  66. font-size: 1rem;
  67. color: #313234;
  68. }
  69. }
  70. .allBox {
  71. margin-bottom: 1rem;
  72. .van-cell__title {
  73. font-size: 1rem;
  74. color: #313234;
  75. }
  76. }
  77. }
  78. </style>