File tree Expand file tree Collapse file tree 7 files changed +173
-486
lines changed
Expand file tree Collapse file tree 7 files changed +173
-486
lines changed Original file line number Diff line number Diff line change 2424 "md5" : " ^2.2.1" ,
2525 "mockjs2" : " 1.0.8" ,
2626 "moment" : " ^2.24.0" ,
27- "node-sass" : " ^4.13.0" ,
2827 "nprogress" : " ^0.2.0" ,
2928 "sass-loader" : " ^8.0.0" ,
3029 "store" : " ^2.0.12" ,
6463 "less-loader" : " ^5.0.0" ,
6564 "opencollective" : " ^1.0.3" ,
6665 "opencollective-postinstall" : " ^2.0.2" ,
66+ "sass" : " ^1.32.8" ,
6767 "vue-svg-icon-loader" : " ^2.1.1" ,
6868 "vue-template-compiler" : " ^2.6.10" ,
6969 "webpack-theme-color-replacer" : " ^1.3.12"
Original file line number Diff line number Diff line change 2525 <span >头像</span >
2626 </dir >
2727 <div class =" account-settings-info-view-avatar" >
28- <a-avatar :src =" avatar" style =" width : 144 px ; height :144px " />
28+ <a-avatar :src =" avatar" style =" width : 144 pxheight :144px " />
2929 </div >
3030 <a-upload
3131 name =" file"
@@ -117,57 +117,45 @@ export default {
117117}
118118 </script >
119119
120- <style lang="scss" scoped>
121- .account-settings-info-view {
122- display : flex ;
123- padding-top : 12px ;
124- }
125- .account-settings-info-view- {
126- & button_view {
127- width : 144px ;
128- text-align : center ;
129- }
130- & avatar_title {
131- height : 22px ;
132- margin-bottom : 8px ;
133- color : rgba (0 ,0 ,0 ,.85 );
134- font-size : 14px ;
135- padding-left : 0 ;
136- margin-top : 0 ;
137- line-height : 22px ;
138- }
139- & left {
140- min-width : 224px ;
141- max-width : 448px ;
142- }
143- & right {
144- flex : 1 1 ;
145- padding-left : 104px ;
146- }
147- & avatar {
148- width : 144px ;
149- height : 144px ;
150- margin-bottom : 12px ;
151- overflow : hidden ;
152- img {
153- width : 100% ;
154- }
155- }
156- }
120+ <style lang="sass" scoped>
121+ .account-settings-info-view
122+ display : flex
123+ padding-top : 12px
124+ .account-settings-info-view-
125+ & button_view
126+ width : 144px
127+ text-align : center
128+ & avatar_title
129+ height : 22px
130+ margin-bottom : 8px
131+ color : rgba(0 ,0 ,0 ,.85 )
132+ font-size : 14px
133+ padding-left : 0
134+ margin-top : 0
135+ line-height : 22px
136+ & left
137+ min-width : 224px
138+ max-width : 448px
139+ & right
140+ flex : 1 1
141+ padding-left : 104px
142+ & avatar
143+ width : 144px
144+ height : 144px
145+ margin-bottom : 12px
146+ overflow : hidden
147+ img
148+ width : 100%
157149
158- @media screen and (max-width : 1200px ) {
159- .account-settings-info-view {
160- flex-direction : column-reverse ;
161- }
162- .account-settings-info-view-avatar_title {
150+ @media screen and (max-width : 1200px )
151+ .account-settings-info-view
152+ flex-direction : column-reverse
153+ .account-settings-info-view-avatar_title
163154 display : none
164- }
165- .account-settings-info-view-right {
166- display : flex ;
167- flex-direction : column ;
168- align-items : center ;
169- max-width : 448px ;
170- padding : 20px ;
171- }
172- }
155+ .account-settings-info-view-right
156+ display : flex
157+ flex-direction : column
158+ align-items : center
159+ max-width : 448px
160+ padding : 20px
173161 </style >
Original file line number Diff line number Diff line change @@ -244,9 +244,8 @@ export default {
244244}
245245 </script >
246246
247- <style lang="scss" scoped>
248- .article-image {
249- max-width : 25px ;
250- max-height : 25px ;
251- }
247+ <style lang="sass" scoped>
248+ .article-image
249+ max-width : 25px
250+ max-height : 25px
252251 </style >
Original file line number Diff line number Diff line change @@ -187,8 +187,8 @@ export default {
187187}
188188 </script >
189189
190- <style lang="scss ">
191- .avatar-uploader img {
190+ <style lang="sass ">
191+ .avatar-uploader img
192192 max-width : 100%
193- }
193+
194194 </style >
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ export default {
7272}
7373 </script >
7474
75- <style lang="scss " scoped>
75+ <style lang="sass " scoped>
7676.article-image {
7777 max-width : 25px ;
7878 max-height : 25px ;
Original file line number Diff line number Diff line change @@ -206,20 +206,18 @@ export default {
206206}
207207 </script >
208208
209- <style lang="scss">
210- .company {
211- display : flex ;
212- align-items : center ;
213- justify-content : space-between ;
214- height : 64px ;
215- padding : 0 24px ;
216- line-height : 64px ;
217- & -title {
218- flex : 1 1 ;
219- color : #000 ;
220- font-size : 16px ;
221- line-height : 24px ;
222- opacity : .85 ;
223- }
224- }
209+ <style lang="sass">
210+ .company
211+ display : flex
212+ align-items : center
213+ justify-content : space-between
214+ height : 64px
215+ padding : 0 24px
216+ line-height : 64px
217+ & -title
218+ flex : 1 1
219+ color : #000
220+ font-size : 16px
221+ line-height : 24px
222+ opacity : .85
225223 </style >
You can’t perform that action at this time.
0 commit comments