| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- <template>
- <div id="app" class="fm-design-container">
- <router-view/>
- </div>
- </template>
- <script>
- export default {
- name: 'app',
- methods: {
- handleHome () {
- this.$router.push({path: '/'})
- }
- }
- }
- </script>
- <style lang="scss">
- .fm-header{
- height: 50px;
- box-shadow: 0 2px 10px rgba(70,160,252, 0.6);
- padding: 0 10px;
- background-image: linear-gradient(to right,#1278f6,#00b4aa);
- position: relative;
- .fm-logo{
- height: 26px;
- vertical-align: middle;
- }
- .fm-title{
- display: inline-block;
- line-height: 50px;
- vertical-align: middle;
- color: #fff;
- font-size: 20px;
- font-weight: 600;
- opacity: 0.8;
- margin-left: 6px;
- cursor: pointer;
- }
- .fm-sub-title{
- display: inline-block;
- vertical-align: middle;
- color: #fff;
- font-size: 14px;
- opacity: 0.6;
- margin-left: 10px;
- font-weight: 500;
- padding-top: 5px;
- }
- .fm-link{
- height: 50px;
- float: right;
-
- a{
- color: #fff;
- text-decoration: none;
- font-size: 14px;
- line-height: 50px;
- font-weight: 500;
- margin-left: 15px;
-
- &:hover{
- opacity: 0.8;
- }
- &.ad{
- color: #f5dab1;
- }
- }
- }
- }
- .fm-container{
- height: calc(100% - 50px);
- }
- *, :after, :before {
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- }
- html,body{
- height: 100%;
- }
- #app {
- font-family: "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- color: #2c3e50;
- min-height: 100%;
- height: 100%;
- padding: 10px;
- }
- </style>
|