Commit 30179e8c by xinla

修改部分问题

1 parent 562ae39f
...@@ -30,10 +30,10 @@ export default { ...@@ -30,10 +30,10 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.app-main { .app-main {
/* 50= navbar 50 */ /* 50= navbar 50 */
min-height: calc(100vh - 50px); // min-height: calc(100vh - 50px);
width: 100%; width: 100%;
position: relative; position: relative;
overflow: hidden; overflow: auto;
background-color: #fff; background-color: #fff;
} }
...@@ -44,7 +44,7 @@ export default { ...@@ -44,7 +44,7 @@ export default {
.hasTagsView { .hasTagsView {
.app-main { .app-main {
/* 84 = navbar + tags-view = 50 + 34 */ /* 84 = navbar + tags-view = 50 + 34 */
min-height: calc(100vh - 84px); height: calc(100vh - 84px);
} }
.fixed-header + .app-main { .fixed-header + .app-main {
......
/** /**
* 通用css样式布局处理 * 通用css样式布局处理
*/ */
*, *,
*:before, *:before,
*:after { *:after {
box-sizing: border-box; box-sizing: border-box;
} }
body { body {
height: 100%; height: 100%;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility; text-rendering: optimizeLegibility;
font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif; font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB,
} Microsoft YaHei, Arial, sans-serif;
}
html { html {
height: 100%; height: 100%;
font-size: 14px; font-size: 14px;
} }
li { li {
list-style: none; list-style: none;
} }
/** 基础通用 **/ /** 基础通用 **/
.bfc-o { .bfc-o {
overflow: hidden; overflow: hidden;
position: relative; position: relative;
} }
.bfc-d { .bfc-d {
display: inline-block; display: inline-block;
vertical-align: top; vertical-align: top;
position: relative; position: relative;
} }
.bfc-p { .bfc-p {
position: absolute; position: absolute;
} }
.flex { .flex {
display: flex; display: flex;
} }
.fxbw { .fxbw {
display: flex; display: flex;
align-items: flex-start; align-items: flex-start;
justify-content: space-between; justify-content: space-between;
} }
ais { .ais {
align-items: stretch; align-items: stretch;
} }
.aic { .aic {
align-items: center; align-items: center;
} }
.fl { .fl {
float: left; float: left;
position: relative; position: relative;
} }
.fr { .fr {
float: right; float: right;
position: relative; position: relative;
} }
.al { .al {
text-align: left; text-align: left;
} }
.ac { .ac {
text-align: center; text-align: center;
} }
.ar { .ar {
text-align: right; text-align: right;
} }
.hide { .hide {
display: none; display: none;
} }
/*top-fixed and bottom-fixed*/ /*top-fixed and bottom-fixed*/
.tf, .tf,
.bf { .bf {
position: fixed; position: fixed;
width: 100%; width: 100%;
left: 0; left: 0;
height: 50px; height: 50px;
z-index: 999; z-index: 999;
} }
.tf { .tf {
top: 0; top: 0;
} }
.bf { .bf {
bottom: 0; bottom: 0;
} }
/*mask*/ /*mask*/
.mask { .mask {
position: fixed; position: fixed;
width: 100%; width: 100%;
height: 100%; height: 100%;
...@@ -112,103 +113,103 @@ ...@@ -112,103 +113,103 @@
bottom: 0; bottom: 0;
margin: auto; margin: auto;
z-index: 9; z-index: 9;
} }
/*center-center*/ /*center-center*/
.cc { .cc {
position: absolute; position: absolute;
top: 50%; top: 50%;
left: 50%; left: 50%;
transform: translate(-50%, -50%); transform: translate(-50%, -50%);
overflow: auto; overflow: auto;
} }
.toe { .toe {
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
} }
.cp { .cp {
cursor: pointer; cursor: pointer;
} }
.pt5 { .pt5 {
padding-top: 5px; padding-top: 5px;
} }
.pr5 { .pr5 {
padding-right: 5px; padding-right: 5px;
} }
.pb5 { .pb5 {
padding-bottom: 5px; padding-bottom: 5px;
} }
.mt5 { .mt5 {
margin-top: 5px; margin-top: 5px;
} }
.mr5 { .mr5 {
margin-right: 5px; margin-right: 5px;
} }
.mb5 { .mb5 {
margin-bottom: 5px; margin-bottom: 5px;
} }
.mb8 { .mb8 {
margin-bottom: 8px; margin-bottom: 8px;
} }
.ml5 { .ml5 {
margin-left: 5px; margin-left: 5px;
} }
.mt10 { .mt10 {
margin-top: 10px; margin-top: 10px;
} }
.mr10 { .mr10 {
margin-right: 10px; margin-right: 10px;
} }
.mb10 { .mb10 {
margin-bottom: 10px; margin-bottom: 10px;
} }
.ml10 { .ml10 {
margin-left: 10px; margin-left: 10px;
} }
.mt15 { .mt15 {
margin-top: 15px; margin-top: 15px;
} }
.mr15 { .mr15 {
margin-right: 15px; margin-right: 15px;
} }
.mb15 { .mb15 {
margin-bottom: 15px; margin-bottom: 15px;
} }
.ml15 { .ml15 {
margin-left: 15px; margin-left: 15px;
} }
.mt20 { .mt20 {
margin-top: 20px; margin-top: 20px;
} }
.mr20 { .mr20 {
margin-right: 20px; margin-right: 20px;
} }
.mb20 { .mb20 {
margin-bottom: 20px; margin-bottom: 20px;
} }
.ml20 { .ml20 {
margin-left: 20px; margin-left: 20px;
}
\ No newline at end of file \ No newline at end of file
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!