faba46e17d494384e6fd5315d1d64d3a542c0cbd.svn-base 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <template>
  2. <div class="dashboard-editor-container">
  3. <div class=" clearfix">
  4. <!-- <pan-thumb :image="avatar" style="float: left">
  5. Your roles:
  6. <span v-for="item in roles" :key="item" class="pan-info-roles">{{ item }}</span>
  7. </pan-thumb> -->
  8. <!-- <div class="info-container">
  9. <span class="display_name">{{ name }}</span>
  10. <span style="font-size:20px;padding-top:20px;display:inline-block;">Editor's Dashboard</span>
  11. </div> -->
  12. <img src="@/assets/images/login-bg1.jpg" alt="">
  13. </div>
  14. <div>
  15. <!-- <img :src="emptyGif" class="emptyGif"> -->
  16. </div>
  17. </div>
  18. </template>
  19. <script>
  20. import { mapGetters } from 'vuex'
  21. import PanThumb from '@/components/PanThumb'
  22. export default {
  23. name: 'DashboardEditor',
  24. components: { PanThumb },
  25. data() {
  26. return {
  27. emptyGif: 'https://wpimg.wallstcn.com/0e03b7da-db9e-4819-ba10-9016ddfdaed3'
  28. }
  29. },
  30. computed: {
  31. ...mapGetters([
  32. 'name',
  33. 'avatar',
  34. 'roles'
  35. ])
  36. }
  37. }
  38. </script>
  39. <style lang="scss" scoped>
  40. .emptyGif {
  41. display: block;
  42. width: 45%;
  43. margin: 0 auto;
  44. }
  45. .clearfix{
  46. img{
  47. width: 100%;
  48. height: 100%;
  49. }
  50. }
  51. .dashboard-editor-container {
  52. background-color: #e3e3e3;
  53. min-height: 100vh;
  54. // padding: 50px 60px 0px;
  55. .pan-info-roles {
  56. font-size: 12px;
  57. font-weight: 700;
  58. color: #333;
  59. display: block;
  60. }
  61. .info-container {
  62. position: relative;
  63. margin-left: 190px;
  64. height: 150px;
  65. line-height: 200px;
  66. .display_name {
  67. font-size: 48px;
  68. line-height: 48px;
  69. color: #212121;
  70. position: absolute;
  71. top: 25px;
  72. }
  73. }
  74. }
  75. </style>