123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- <template>
- <div class="dashboard-editor-container">
- <div class=" clearfix">
- <!-- <pan-thumb :image="avatar" style="float: left">
- Your roles:
- <span v-for="item in roles" :key="item" class="pan-info-roles">{{ item }}</span>
- </pan-thumb> -->
- <!-- <div class="info-container">
- <span class="display_name">{{ name }}</span>
- <span style="font-size:20px;padding-top:20px;display:inline-block;">Editor's Dashboard</span>
- </div> -->
- <img src="@/assets/images/login-bg1.jpg" alt="">
- </div>
- <div>
- <!-- <img :src="emptyGif" class="emptyGif"> -->
- </div>
- </div>
- </template>
- <script>
- import { mapGetters } from 'vuex'
- import PanThumb from '@/components/PanThumb'
- export default {
- name: 'DashboardEditor',
- components: { PanThumb },
- data() {
- return {
- emptyGif: 'https://wpimg.wallstcn.com/0e03b7da-db9e-4819-ba10-9016ddfdaed3'
- }
- },
- computed: {
- ...mapGetters([
- 'name',
- 'avatar',
- 'roles'
- ])
- }
- }
- </script>
- <style lang="scss" scoped>
- .emptyGif {
- display: block;
- width: 45%;
- margin: 0 auto;
- }
- .clearfix{
- img{
- width: 100%;
- height: 100%;
- }
- }
- .dashboard-editor-container {
- background-color: #e3e3e3;
- min-height: 100vh;
- // padding: 50px 60px 0px;
- .pan-info-roles {
- font-size: 12px;
- font-weight: 700;
- color: #333;
- display: block;
- }
- .info-container {
- position: relative;
- margin-left: 190px;
- height: 150px;
- line-height: 200px;
- .display_name {
- font-size: 48px;
- line-height: 48px;
- color: #212121;
- position: absolute;
- top: 25px;
- }
- }
- }
- </style>
|