Authored by 沈志敏

去掉无效css

@@ -5,165 +5,3 @@ @@ -5,165 +5,3 @@
5 @import "about-us"; 5 @import "about-us";
6 @import "coin"; 6 @import "coin";
7 @import "logistics"; 7 @import "logistics";
8 -  
9 -.my-page {  
10 - color: #444;  
11 - background: #f0f0f0;  
12 -  
13 - a {  
14 - color: #000;  
15 - }  
16 -  
17 - .user-info {  
18 - display: block;  
19 - position: relative;  
20 - padding: 0 30px;  
21 - color: #000;  
22 - font-size: 34px;  
23 - line-height: 138px;  
24 - height: 469px;  
25 - background-size: cover;  
26 - background: resolve("home/header-bg.png");  
27 - text-align: center;  
28 -  
29 - .user-avatar {  
30 - display: inline-block;  
31 - position: relative;  
32 - top: 90px;  
33 - width: 200px;  
34 - height: 200px;  
35 - border-radius: 50%;  
36 - border: 6px solid #a7a8a9;  
37 - background: resolve("home/user-icon.png");  
38 - background-size: 100%;  
39 - }  
40 -  
41 - .username {  
42 - display: inline-block;  
43 - padding: 0 16px;  
44 - text-overflow: ellipsis;  
45 - overflow: hidden;  
46 - white-space: nowrap;  
47 - font-size: 32px;  
48 - max-width: 260px;  
49 - }  
50 - }  
51 -  
52 - .login-btn {  
53 - display: inline-block;  
54 - top: 40px;  
55 - left: 194px;  
56 - width: 244px;  
57 - height: 82px;  
58 - line-height: 82px;  
59 - color: #fff;  
60 - border: 4px solid #fff;  
61 - margin: 150px auto;  
62 - }  
63 -  
64 - .my-order {  
65 - margin-bottom: 30px;  
66 - border-top: 1px solid #e0e0e0;  
67 - border-bottom: 1px solid #e0e0e0;  
68 - background: #fff;  
69 -  
70 - .order-title {  
71 - display: block;  
72 - padding: 0 29px;  
73 - font-size: 34px;  
74 - line-height: 88px;  
75 -  
76 - span {  
77 - color: #e0e0e0;  
78 - float: right;  
79 - }  
80 -  
81 - &.highlight {  
82 - background: #eee;  
83 - }  
84 -  
85 - .read-order {  
86 - font-size: 30px;  
87 - }  
88 - }  
89 -  
90 - .order-type {  
91 - padding: 20px 30px;  
92 - text-align: center;  
93 - border-top: 1px solid #e0e0e0;  
94 -  
95 - .type-item {  
96 - position: relative;  
97 - float: left;  
98 - color: #444;  
99 - font-size: 24px;  
100 - line-height: 1.5;  
101 - width: 170px;  
102 -  
103 - &.highlight {  
104 - background: #eee;  
105 - }  
106 -  
107 - .num {  
108 - position: absolute;  
109 - top: -24px;  
110 - right: 36px;  
111 - width: 72px;  
112 - height: 72px;  
113 - font-size: 34px;  
114 - line-height: 72px;  
115 - color: #fff;  
116 - background: #f03d35;  
117 - text-align: center;  
118 - border-radius: 50%;  
119 - transform: scale(0.5);  
120 - }  
121 - }  
122 - }  
123 - }  
124 -  
125 - .group-list {  
126 - margin-bottom: 30px;  
127 - border-top: 1px solid #e0e0e0;  
128 - border-bottom: 1px solid #e0e0e0;  
129 - background: #fff;  
130 -  
131 - .list-item {  
132 - display: block;  
133 - position: relative;  
134 - padding: 0 30px;  
135 - font-size: 34px;  
136 - line-height: 90px;  
137 - overflow: hidden;  
138 -  
139 - &.highlight {  
140 - background: #eee;  
141 - }  
142 -  
143 - &:after {  
144 - content: "";  
145 - position: absolute;  
146 - right: 0;  
147 - bottom: 0;  
148 - width: 100%;  
149 - height: 0;  
150 - border-top: 1px solid #f0f0f0;  
151 - }  
152 -  
153 - &:last-child:after {  
154 - content: none;  
155 - }  
156 - }  
157 -  
158 - .icon {  
159 - margin-right: 5px;  
160 - font-size: 34px;  
161 - vertical-align: top;  
162 - }  
163 -  
164 - .num {  
165 - color: #b0b0b0;  
166 - float: right;  
167 - }  
168 - }  
169 -}