1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- <template>
- <div class="d-f f-d-c w-h-100" >
- <div ref="appContentRef" class="f-1-h">
- <router-view></router-view>
- </div>
- </div>
- </template>
- <script lang="ts">
- import { defineComponent} from 'vue'
- export default defineComponent({
- name: 'App',
- components: {},
- setup () {
- }
- })
- </script>
- <style lang="scss" scoped>
- @import "../../common";
- .header {
- position: relative;
- padding: 0 20px 0 32px;
- background-color: $darken;
- }
- .header-logo {
- width: auto;
- height: 42px;
- margin: 19px 0;
- }
- .header-center {
- position: absolute;
- left: 50%;
- transform: translateX(-50%);
- div {
- cursor: pointer;
- padding: 0 28px;
- font-size: 14px;
- color: $white;
- transition: background-color 0.15s;
- background-color: $darken-lighten;
- &.active {
- background-color: $darkener;
- }
- }
- img {
- width: auto;
- height: 28px;
- margin-bottom: 4px;
- }
- }
- .header-right {
- div {
- cursor: pointer;
- padding: 0 20px;
- font-size: 14px;
- color: $white;
- border-left: 1px solid $grey;
- }
- img {
- width: auto;
- height: 20px;
- margin-right: 6px;
- }
- }
- </style>
|