You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

98 lines
1.4 KiB

  1. <template>
  2. <div class="type">
  3. <Syd v-if = "userRole === 'vetnotshenhe'"></Syd>
  4. <Gld v-else></Gld>
  5. </div>
  6. </template>
  7. <script>
  8. import Gld from '@/views/gld.vue'
  9. import Syd from '@/views/syd.vue'
  10. export default {
  11. name: "IndexGld",
  12. components: {
  13. Gld,
  14. Syd
  15. },
  16. data() {
  17. return {
  18. }
  19. },
  20. computed: {
  21. userRole() {
  22. return this.$store.state.user.roles[0];
  23. }
  24. },
  25. methods: {
  26. goTarget(href) {
  27. window.open(href, "_blank")
  28. },
  29. }
  30. }
  31. </script>
  32. <style scoped lang="scss">
  33. .home {
  34. blockquote {
  35. padding: 10px 20px;
  36. margin: 0 0 20px;
  37. font-size: 17.5px;
  38. border-left: 5px solid #eee;
  39. }
  40. hr {
  41. margin-top: 20px;
  42. margin-bottom: 20px;
  43. border: 0;
  44. border-top: 1px solid #eee;
  45. }
  46. .col-item {
  47. margin-bottom: 20px;
  48. }
  49. ul {
  50. padding: 0;
  51. margin: 0;
  52. }
  53. font-family: "open sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  54. font-size: 13px;
  55. color: #676a6c;
  56. overflow-x: hidden;
  57. ul {
  58. list-style-type: none;
  59. }
  60. h4 {
  61. margin-top: 0px;
  62. }
  63. h2 {
  64. margin-top: 10px;
  65. font-size: 26px;
  66. font-weight: 100;
  67. }
  68. p {
  69. margin-top: 10px;
  70. b {
  71. font-weight: 700;
  72. }
  73. }
  74. .update-log {
  75. ol {
  76. display: block;
  77. list-style-type: decimal;
  78. margin-block-start: 1em;
  79. margin-block-end: 1em;
  80. margin-inline-start: 0;
  81. margin-inline-end: 0;
  82. padding-inline-start: 40px;
  83. }
  84. }
  85. }
  86. </style>