main.css 2.01 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
:root {
  --bColor: #F5F5F5;
  --cf7: #F7F7F7;
  --cfb: #FBFBFB;
  --c9: #999999;
  --c6: #666666;
  --c3: #333333;
  --c2: #222222;
  --c0: #ffffff;
  --c-1: #000000;
  --ce3: #abd8e326;
  --ceb: #EBEBEB;
  --ce6: #E61B00;
  --c036: #036EF5;
  --c396: #396FFF;
  --cdf: #DFDFDF;
  --ce9: #E9E9E9;
  --c427: #427DD5;
  --c247: #27417C;
  --cb7b: #B7B7B7;
  --f24: 24upx;
  --f26: 26upx;
  --f28: 28upx;
  --f30: 30upx;
  --f32: 32upx;
  --f40: 40upx;
lanbaoming's avatar
lanbaoming committed
27
}
28 29 30 31

page {
  background-color: var(--bColor);
  font-size: var(--f30);
lanbaoming's avatar
lanbaoming committed
32
}
33 34 35

view {
  word-break: break-word;
lanbaoming's avatar
lanbaoming committed
36
}
37

lanbaoming's avatar
lanbaoming committed
38
/* #ifdef H5*/
39 40 41 42 43 44 45 46 47 48 49
.header-toper {
  width: 100%;
  background-image: url(@/static/img/top.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding: 30upx 0;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 99;
  background-color: var(--bColor);
lanbaoming's avatar
lanbaoming committed
50
}
51

lanbaoming's avatar
lanbaoming committed
52 53
/* #endif */
/* #ifdef APP-PLUS*/
54 55 56 57 58 59 60 61 62 63 64 65 66
.header-toper {
  width: 100%;
  height: 60upx;
  background-image: url(@/static/img/top.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  /* padding-top: env(safe-area-inset-top); */
  padding-top: var(--status-bar-height);
  position: fixed;
  left: 0;
  top: 0;
  z-index: 99;
  background-color: var(--bColor);
lanbaoming's avatar
lanbaoming committed
67
}
68

lanbaoming's avatar
lanbaoming committed
69
/* #endif */
70 71 72 73 74 75 76 77
.header-toper-title {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: var(--f32);
  color: var(--c0);
  font-weight: 700;
lanbaoming's avatar
lanbaoming committed
78
}
79 80 81 82 83 84 85

.header-toper-title image {
  width: 48upx;
  height: 44upx;
  position: absolute;
  left: 0;
  padding: 40upx;
lanbaoming's avatar
lanbaoming committed
86
}
87 88 89 90 91 92 93

.header-toper-title image:last-child {
  left: auto;
  right: 0;
}

/* .start-bar {
lanbaoming's avatar
lanbaoming committed
94 95 96
		width: 100%;
		height: var(--status-bar-height);
	} */
dragondean@qq.com's avatar
dragondean@qq.com committed
97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125

.flex{
	display: flex;
}
.items-center{
	align-items: center;
}
.items-start{
	align-items: start;
}
.items-end{
	align-items: end;
}
.justify-center{
	justify-content: center;
}
.justify-start{
	justify-content: start;
}
.justify-end{
	justify-content: end;
}
.justify-between{
	justify-content: space-between;
}
.justify-around{
	justify-content: space-around;
}
.flex-1{
Smile's avatar
Smile committed
126
    line-height: 23px;
dragondean@qq.com's avatar
dragondean@qq.com committed
127 128
	flex: 1;
}