inleft
2022-01-14 56a4b88b16b5f86a2a697018a3e2546d3abf73e3
commit | author | age
d3f921 1 <template>
56a4b8 2     <div id="components-layout-basic" >
d3f921 3         <a-layout>
ad2b70 4             <a-layout-header>
56a4b8 5                 <tag-Header ></tag-Header>
ad2b70 6             </a-layout-header>
d3f921 7             <a-layout>
ad2b70 8                 <router-view class="fade"></router-view>
d3f921 9             </a-layout>
ad2b70 10             <a-layout-footer>
L 11                 <div>
12                     <p>备案号:
13                         <a href="http://www.miitbeian.gov.cn/" target="_blank">粤ICP备19000592号-1</a>
14                     </p>
15                 </div>
16             </a-layout-footer>
d3f921 17         </a-layout>
I 18     </div>
19 </template>
20
21 <script>
ad2b70 22     import tagHeader from "./tag-header.vue"
d3f921 23     export default {
I 24         components: {
ad2b70 25             tagHeader
d3f921 26         },
I 27         data() {
28             return {
29
30             }
56a4b8 31         },
I 32         
ad2b70 33
d3f921 34     }
I 35 </script>
36
37 <style lang="less">
38     #components-layout-basic {
39         width: 100%;
40         margin: 0;
41         padding: 0;
42
ad2b70 43         .ant-layout {}
L 44
45         .ant-layout-header {
56a4b8 46             margin-bottom: 15px;
I 47             background-color: #ffffff;
d3f921 48         }
I 49
50         .ant-layout-footer {
ad2b70 51             background-color: #edf1f299;
L 52             padding: 0px;
53
54             p {
55                 margin: auto;
56                 color: #757575;
57             }
58
59             a {
60                 opacity: 0.8;
61                 color: #757575;
62             }
d3f921 63         }
I 64
65         .ant-layout-sider {
66             background: #3ba0e9;
67             color: #fff;
68             line-height: 120px;
69         }
70
71         .ant-col,
72         .ant-layout-content {
73             height: 100%;
74         }
75
76
77     }
78
79
80     .h1,
81     .h2,
82     .h3,
83     .h4,
84     .h5,
85     .h6,
86     h1,
87     h2,
88     h3,
89     h4,
90     h5,
91     h6 {
92         font-weight: 400;
93     }
94
95     span,
96     p {
97         font-size: 17px;
98         letter-spacing: 0.8px;
ad2b70 99         line-height: 22px;
L 100     }
101
102     .fade {
103         -webkit-animation-name: "fade";
104         -webkit-animation-duration: 2s;
105         -webkit-animation-iteration-count: 1;
d3f921 106     }
I 107
108     .fadeInLeft {
109         -webkit-animation-name: "fadeInLeft";
110         -webkit-animation-duration: 1s;
111         -webkit-animation-iteration-count: 1;
112     }
113
114     .fadeInRight {
115         -webkit-animation-name: "fadeInRight";
116         -webkit-animation-duration: 1s;
117         -webkit-animation-iteration-count: 1;
118     }
119
120
121     // 动画
122     @-webkit-keyframes fadeInLeft {
123         0% {
124             opacity: 0;
125             -webkit-transform: translateX(-120px);
126         }
127
128         100% {
129             opacity: 1;
130             -webkit-transform: translateX(0);
131         }
132     }
133
134     @keyframes fadeInLeft {
135         0% {
136             opacity: 0;
137             transform: translateX(-120px);
138         }
139
140         100% {
141             opacity: 1;
142             transform: translateX(0);
143         }
144     }
145
146     @-webkit-keyframes fadeInRight {
147         0% {
148             opacity: 0;
149             -webkit-transform: translateX(120px);
150         }
151
152         100% {
153             opacity: 1;
154             -webkit-transform: translateX(0);
155         }
156     }
157
158     @keyframes fadeInRight {
159         0% {
160             opacity: 0;
161             transform: translateX(120px);
162         }
163
164         100% {
165             opacity: 1;
166             transform: translateX(0);
167         }
168     }
169
170     @-webkit-keyframes fade {
171         0% {
172             opacity: 0;
173         }
174
175         100% {
176             opacity: 1;
177         }
178     }
179
180     @keyframes fade {
181         0% {
182             opacity: 0;
183         }
184
185         100% {
186             opacity: 1;
187         }
188     }
189 </style>