index.vue 1.9KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <template>
  2. <div class="page_articleManagement">
  3. <div class="articleManagementTitle">
  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. <van-cell center title="文章分类">
  23. <van-switch v-model="checked" slot="right-icon" size="24" />
  24. </van-cell>
  25. <van-cell center title="评论列表">
  26. <van-switch v-model="checked" slot="right-icon" size="24" />
  27. </van-cell>
  28. <van-cell center title="文章评论">
  29. <van-switch v-model="checked" slot="right-icon" size="24" />
  30. </van-cell>
  31. </div>
  32. </div>
  33. </template>
  34. <style lang="scss" scoped>
  35. .page_articleManagement {
  36. height: 100%;
  37. overflow-y: auto;
  38. background: #fafafa;
  39. .articleManagementTitle {
  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>