12 |
IconFont 图标
13 |
202 |
203 |
font-class引用
204 |
205 |
206 |
font-class是unicode使用方式的一种变种,主要是解决unicode书写不直观,语意不明确的问题。
207 |
与unicode使用方式相比,具有如下特点:
208 |
209 | - 兼容性良好,支持ie8+,及所有现代浏览器。
210 | - 相比于unicode语意明确,书写更直观。可以很容易分辨这个icon是什么。
211 | - 因为使用class来定义图标,所以当要替换图标时,只需要修改class里面的unicode引用。
212 | - 不过因为本质上还是使用的字体,所以多色图标还是不支持的。
213 |
214 |
使用步骤如下:
215 |
第一步:引入项目下面生成的fontclass代码:
216 |
217 |
218 |
219 |
第二步:挑选相应图标并获取类名,应用于页面:
220 |
<i class="iconfont icon-xxx"></i>
221 |
222 | "iconfont"是你项目下的font-family。可以通过编辑项目查看,默认是"iconfont"。
223 |
224 |
225 |
226 |
227 |
--------------------------------------------------------------------------------
/static/font_demo/iconfont.css:
--------------------------------------------------------------------------------
1 |
2 | @font-face {font-family: "iconfont";
3 | src: url('iconfont.eot?t=1535082662696'); /* IE9*/
4 | src: url('iconfont.eot?t=1535082662696#iefix') format('embedded-opentype'), /* IE6-IE8 */
5 | url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAABnMAAsAAAAAKTAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADMAAABCsP6z7U9TLzIAAAE8AAAARAAAAFY8jklJY21hcAAAAYAAAAFUAAADxL0Eo3NnbHlmAAAC1AAAE9gAAB78mdOJoGhlYWQAABasAAAAMQAAADYSaoc9aGhlYQAAFuAAAAAgAAAAJAfeA6JobXR4AAAXAAAAABYAAACAgAH//2xvY2EAABcYAAAAQgAAAEJ8dHPSbWF4cAAAF1wAAAAfAAAAIAE7AOJuYW1lAAAXfAAAAUUAAAJtPlT+fXBvc3QAABjEAAABCAAAAWeGZqr7eJxjYGRgYOBikGPQYWB0cfMJYeBgYGGAAJAMY05meiJQDMoDyrGAaQ4gZoOIAgCKIwNPAHicY2BkYWCcwMDKwMHUyXS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OeA8MD34AAHicY2BkYGBQYLjGIMgAAkxAzAWEDAz/wXwGACIXAh4AeJxlj01OwzAQhV/6B6QSqqhgh+QFYgEo/RGrblhUavdddN+mTpsqiSPHrdQDcB6OwAk4AtyAO/BIJ5s2lsffvHljTwDc4Acejt8t95E9XDI7cg0XuBeuU38QbpBfhJto41W4Rf1N2MczpsJtdGF5g9e4YvaEd2EPHXwI13CNT+E69S/hBvlbuIk7/Aq30PHqwj7mXle4jUcv9sdWL5xeqeVBxaHJIpM5v4KZXu+Sha3S6pxrW8QmU4OgX0lTnWlb3VPs10PnIhVZk6oJqzpJjMqt2erQBRvn8lGvF4kehCblWGP+tsYCjnEFhSUOjDFCGGSIyujoO1Vm9K+xQ8Jee1Y9zed0WxTU/3OFAQL0z1xTurLSeTpPgT1fG1J1dCtuy56UNJFezUkSskJe1rZUQuoBNmVXjhF6XNGJPyhnSP8ACVpuyAAAAHicbY7bUsIwGIS7pK2lgOcDHsEH4KI6Aj6HTxCS3zZDmnSSVKxPL8iMM864V3ux++1GvWivPPpfU/TAECNBigNk6CPHAEOMcIgjHOMEpzjDOS5wiSuMcY0b3OIO93jABFM8RoxrHa+4WKdCW09FKklToLgi3eS1ddSad6sla5RIPXEnKuYpJL5WmgYfijblFkCuy3ZeKx+SH07m21VwXIRRSY7MV2VN+anMUAlrpN0YbblkNW/Yisu4tFaOOmU01a1X4qlYxJWtabzfK4rl4vV5Sdx3u7ah8Cc7T5wqq8AqGxiXsu8b4mtys/mve8k7vn1Apqx59kaidSp0/R1rFsiHKPoG6NleTw==') format('woff'),
6 | url('iconfont.ttf?t=1535082662696') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
7 | url('iconfont.svg?t=1535082662696#iconfont') format('svg'); /* iOS 4.1- */
8 | }
9 |
10 | .iconfont {
11 | font-family:"iconfont" !important;
12 | font-size:16px;
13 | font-style:normal;
14 | -webkit-font-smoothing: antialiased;
15 | -moz-osx-font-smoothing: grayscale;
16 | }
17 |
18 | .icon-all:before { content: "\e696"; }
19 |
20 | .icon-back:before { content: "\e697"; }
21 |
22 | .icon-close1:before { content: "\e69a"; }
23 |
24 | .icon-delete:before { content: "\e69d"; }
25 |
26 | .icon-help:before { content: "\e6a3"; }
27 |
28 | .icon-moreunfold:before { content: "\e6a6"; }
29 |
30 | .icon-pic:before { content: "\e6a8"; }
31 |
32 | .icon-search:before { content: "\e6ac"; }
33 |
34 | .icon-set:before { content: "\e6ae"; }
35 |
36 | .icon-smile:before { content: "\e6af"; }
37 |
38 | .icon-viewgallery:before { content: "\e6b4"; }
39 |
40 | .icon-viewlist:before { content: "\e6b5"; }
41 |
42 | .icon-close:before { content: "\e619"; }
43 |
44 | .icon-subtract:before { content: "\e6fe"; }
45 |
46 | .icon-gerenzhongxin:before { content: "\e70b"; }
47 |
48 | .icon-icondownload:before { content: "\e714"; }
49 |
50 | .icon-map:before { content: "\e715"; }
51 |
52 | .icon-bad:before { content: "\e716"; }
53 |
54 | .icon-good:before { content: "\e717"; }
55 |
56 | .icon-yinlemusic217:before { content: "\e713"; }
57 |
58 | .icon-home:before { content: "\e60b"; }
59 |
60 | .icon-search1187938easyiconnet:before { content: "\e61d"; }
61 |
62 | .icon-yinlemusic216:before { content: "\e71e"; }
63 |
64 | .icon-right:before { content: "\e6c7"; }
65 |
66 | .icon-hot:before { content: "\e756"; }
67 |
68 | .icon-add:before { content: "\e63c"; }
69 |
70 | .icon-speaker-6:before { content: "\e66f"; }
71 |
72 | .icon-speaker-5:before { content: "\e670"; }
73 |
74 | .icon-yanzhengma:before { content: "\e682"; }
75 |
76 | .icon-Security:before { content: "\e630"; }
77 |
78 | .icon-icon-test:before { content: "\e62b"; }
79 |
80 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | Apache License
2 | Version 2.0, January 2004
3 | http://www.apache.org/licenses/
4 |
5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6 |
7 | 1. Definitions.
8 |
9 | "License" shall mean the terms and conditions for use, reproduction, and
10 | distribution as defined by Sections 1 through 9 of this document.
11 |
12 | "Licensor" shall mean the copyright owner or entity authorized by the copyright
13 | owner that is granting the License.
14 |
15 | "Legal Entity" shall mean the union of the acting entity and all other entities
16 | that control, are controlled by, or are under common control with that entity.
17 | For the purposes of this definition, "control" means (i) the power, direct or
18 | indirect, to cause the direction or management of such entity, whether by
19 | contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the
20 | outstanding shares, or (iii) beneficial ownership of such entity.
21 |
22 | "You" (or "Your") shall mean an individual or Legal Entity exercising
23 | permissions granted by this License.
24 |
25 | "Source" form shall mean the preferred form for making modifications, including
26 | but not limited to software source code, documentation source, and configuration
27 | files.
28 |
29 | "Object" form shall mean any form resulting from mechanical transformation or
30 | translation of a Source form, including but not limited to compiled object code,
31 | generated documentation, and conversions to other media types.
32 |
33 | "Work" shall mean the work of authorship, whether in Source or Object form, made
34 | available under the License, as indicated by a copyright notice that is included
35 | in or attached to the work (an example is provided in the Appendix below).
36 |
37 | "Derivative Works" shall mean any work, whether in Source or Object form, that
38 | is based on (or derived from) the Work and for which the editorial revisions,
39 | annotations, elaborations, or other modifications represent, as a whole, an
40 | original work of authorship. For the purposes of this License, Derivative Works
41 | shall not include works that remain separable from, or merely link (or bind by
42 | name) to the interfaces of, the Work and Derivative Works thereof.
43 |
44 | "Contribution" shall mean any work of authorship, including the original version
45 | of the Work and any modifications or additions to that Work or Derivative Works
46 | thereof, that is intentionally submitted to Licensor for inclusion in the Work
47 | by the copyright owner or by an individual or Legal Entity authorized to submit
48 | on behalf of the copyright owner. For the purposes of this definition,
49 | "submitted" means any form of electronic, verbal, or written communication sent
50 | to the Licensor or its representatives, including but not limited to
51 | communication on electronic mailing lists, source code control systems, and
52 | issue tracking systems that are managed by, or on behalf of, the Licensor for
53 | the purpose of discussing and improving the Work, but excluding communication
54 | that is conspicuously marked or otherwise designated in writing by the copyright
55 | owner as "Not a Contribution."
56 |
57 | "Contributor" shall mean Licensor and any individual or Legal Entity on behalf
58 | of whom a Contribution has been received by Licensor and subsequently
59 | incorporated within the Work.
60 |
61 | 2. Grant of Copyright License.
62 |
63 | Subject to the terms and conditions of this License, each Contributor hereby
64 | grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
65 | irrevocable copyright license to reproduce, prepare Derivative Works of,
66 | publicly display, publicly perform, sublicense, and distribute the Work and such
67 | Derivative Works in Source or Object form.
68 |
69 | 3. Grant of Patent License.
70 |
71 | Subject to the terms and conditions of this License, each Contributor hereby
72 | grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
73 | irrevocable (except as stated in this section) patent license to make, have
74 | made, use, offer to sell, sell, import, and otherwise transfer the Work, where
75 | such license applies only to those patent claims licensable by such Contributor
76 | that are necessarily infringed by their Contribution(s) alone or by combination
77 | of their Contribution(s) with the Work to which such Contribution(s) was
78 | submitted. If You institute patent litigation against any entity (including a
79 | cross-claim or counterclaim in a lawsuit) alleging that the Work or a
80 | Contribution incorporated within the Work constitutes direct or contributory
81 | patent infringement, then any patent licenses granted to You under this License
82 | for that Work shall terminate as of the date such litigation is filed.
83 |
84 | 4. Redistribution.
85 |
86 | You may reproduce and distribute copies of the Work or Derivative Works thereof
87 | in any medium, with or without modifications, and in Source or Object form,
88 | provided that You meet the following conditions:
89 |
90 | You must give any other recipients of the Work or Derivative Works a copy of
91 | this License; and
92 | You must cause any modified files to carry prominent notices stating that You
93 | changed the files; and
94 | You must retain, in the Source form of any Derivative Works that You distribute,
95 | all copyright, patent, trademark, and attribution notices from the Source form
96 | of the Work, excluding those notices that do not pertain to any part of the
97 | Derivative Works; and
98 | If the Work includes a "NOTICE" text file as part of its distribution, then any
99 | Derivative Works that You distribute must include a readable copy of the
100 | attribution notices contained within such NOTICE file, excluding those notices
101 | that do not pertain to any part of the Derivative Works, in at least one of the
102 | following places: within a NOTICE text file distributed as part of the
103 | Derivative Works; within the Source form or documentation, if provided along
104 | with the Derivative Works; or, within a display generated by the Derivative
105 | Works, if and wherever such third-party notices normally appear. The contents of
106 | the NOTICE file are for informational purposes only and do not modify the
107 | License. You may add Your own attribution notices within Derivative Works that
108 | You distribute, alongside or as an addendum to the NOTICE text from the Work,
109 | provided that such additional attribution notices cannot be construed as
110 | modifying the License.
111 | You may add Your own copyright statement to Your modifications and may provide
112 | additional or different license terms and conditions for use, reproduction, or
113 | distribution of Your modifications, or for any such Derivative Works as a whole,
114 | provided Your use, reproduction, and distribution of the Work otherwise complies
115 | with the conditions stated in this License.
116 |
117 | 5. Submission of Contributions.
118 |
119 | Unless You explicitly state otherwise, any Contribution intentionally submitted
120 | for inclusion in the Work by You to the Licensor shall be under the terms and
121 | conditions of this License, without any additional terms or conditions.
122 | Notwithstanding the above, nothing herein shall supersede or modify the terms of
123 | any separate license agreement you may have executed with Licensor regarding
124 | such Contributions.
125 |
126 | 6. Trademarks.
127 |
128 | This License does not grant permission to use the trade names, trademarks,
129 | service marks, or product names of the Licensor, except as required for
130 | reasonable and customary use in describing the origin of the Work and
131 | reproducing the content of the NOTICE file.
132 |
133 | 7. Disclaimer of Warranty.
134 |
135 | Unless required by applicable law or agreed to in writing, Licensor provides the
136 | Work (and each Contributor provides its Contributions) on an "AS IS" BASIS,
137 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied,
138 | including, without limitation, any warranties or conditions of TITLE,
139 | NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are
140 | solely responsible for determining the appropriateness of using or
141 | redistributing the Work and assume any risks associated with Your exercise of
142 | permissions under this License.
143 |
144 | 8. Limitation of Liability.
145 |
146 | In no event and under no legal theory, whether in tort (including negligence),
147 | contract, or otherwise, unless required by applicable law (such as deliberate
148 | and grossly negligent acts) or agreed to in writing, shall any Contributor be
149 | liable to You for damages, including any direct, indirect, special, incidental,
150 | or consequential damages of any character arising as a result of this License or
151 | out of the use or inability to use the Work (including but not limited to
152 | damages for loss of goodwill, work stoppage, computer failure or malfunction, or
153 | any and all other commercial damages or losses), even if such Contributor has
154 | been advised of the possibility of such damages.
155 |
156 | 9. Accepting Warranty or Additional Liability.
157 |
158 | While redistributing the Work or Derivative Works thereof, You may choose to
159 | offer, and charge a fee for, acceptance of support, warranty, indemnity, or
160 | other liability obligations and/or rights consistent with this License. However,
161 | in accepting such obligations, You may act only on Your own behalf and on Your
162 | sole responsibility, not on behalf of any other Contributor, and only if You
163 | agree to indemnify, defend, and hold each Contributor harmless for any liability
164 | incurred by, or claims asserted against, such Contributor by reason of your
165 | accepting any such warranty or additional liability.
166 |
167 | END OF TERMS AND CONDITIONS
168 |
169 | APPENDIX: How to apply the Apache License to your work
170 |
171 | To apply the Apache License to your work, attach the following boilerplate
172 | notice, with the fields enclosed by brackets "{}" replaced with your own
173 | identifying information. (Don't include the brackets!) The text should be
174 | enclosed in the appropriate comment syntax for the file format. We also
175 | recommend that a file or class name and description of purpose be included on
176 | the same "printed page" as the copyright notice for easier identification within
177 | third-party archives.
178 |
179 | Copyright 2018 purestart
180 |
181 | Licensed under the Apache License, Version 2.0 (the "License");
182 | you may not use this file except in compliance with the License.
183 | You may obtain a copy of the License at
184 |
185 | http://www.apache.org/licenses/LICENSE-2.0
186 |
187 | Unless required by applicable law or agreed to in writing, software
188 | distributed under the License is distributed on an "AS IS" BASIS,
189 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
190 | See the License for the specific language governing permissions and
191 | limitations under the License.
192 |
--------------------------------------------------------------------------------
/static/font_demo/demo_unicode.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
32 |
IconFont 图标
33 |
34 |
35 | -
36 |
37 |
all
38 | 
39 |
40 |
41 | -
42 |
43 |
back
44 | 
45 |
46 |
47 | -
48 |
49 |
close
50 | 
51 |
52 |
53 | -
54 |
55 |
delete
56 | 
57 |
58 |
59 | -
60 |
61 |
help
62 | 
63 |
64 |
65 | -
66 |
67 |
more_unfold
68 | 
69 |
70 |
71 | -
72 |
73 |
pic
74 | 
75 |
76 |
77 | -
78 |
79 |
search
80 | 
81 |
82 |
83 | -
84 |
85 |
set
86 | 
87 |
88 |
89 | -
90 |
91 |
Smile
92 | 
93 |
94 |
95 | -
96 |
97 |
ViewGallery
98 | 
99 |
100 |
101 | -
102 |
103 |
Viewlist
104 | 
105 |
106 |
107 | -
108 |
109 |
close
110 | 
111 |
112 |
113 | -
114 |
115 |
subtract
116 | 
117 |
118 |
119 | -
120 |
121 |
personal-center
122 | 
123 |
124 |
125 | -
126 |
127 |
download
128 | 
129 |
130 |
131 | -
132 |
133 |
map
134 | 
135 |
136 |
137 | -
138 |
139 |
bad
140 | 
141 |
142 |
143 | -
144 |
145 |
good
146 | 
147 |
148 |
149 | -
150 |
151 |
音乐_music217
152 | 
153 |
154 |
155 | -
156 |
157 |
home
158 | 
159 |
160 |
161 | -
162 |
163 |
search
164 | 
165 |
166 |
167 | -
168 |
169 |
音乐_music216
170 | 
171 |
172 |
173 | -
174 |
175 |
right
176 | 
177 |
178 |
179 | -
180 |
181 |
hot
182 | 
183 |
184 |
185 | -
186 |
187 |
add
188 | 
189 |
190 |
191 | -
192 |
193 |
speaker-6
194 | 
195 |
196 |
197 | -
198 |
199 |
speaker-5
200 | 
201 |
202 |
203 | -
204 |
205 |
security
206 | 
207 |
208 |
209 | -
210 |
211 |
Security
212 | 
213 |
214 |
215 | -
216 |
217 |
scan
218 | 
219 |
220 |
221 |
222 |
unicode引用
223 |
224 |
225 |
unicode是字体在网页端最原始的应用方式,特点是:
226 |
227 | - 兼容性最好,支持ie6+,及所有现代浏览器。
228 | - 支持按字体的方式去动态调整图标大小,颜色等等。
229 | - 但是因为是字体,所以不支持多色。只能使用平台里单色的图标,就算项目里有多色图标也会自动去色。
230 |
231 |
232 | 注意:新版iconfont支持多色图标,这些多色图标在unicode模式下将不能使用,如果有需求建议使用symbol的引用方式
233 |
234 |
unicode使用步骤如下:
235 |
第一步:拷贝项目下面生成的font-face
236 |
@font-face {
237 | font-family: 'iconfont';
238 | src: url('iconfont.eot');
239 | src: url('iconfont.eot?#iefix') format('embedded-opentype'),
240 | url('iconfont.woff') format('woff'),
241 | url('iconfont.ttf') format('truetype'),
242 | url('iconfont.svg#iconfont') format('svg');
243 | }
244 |
245 |
第二步:定义使用iconfont的样式
246 |
.iconfont{
247 | font-family:"iconfont" !important;
248 | font-size:16px;font-style:normal;
249 | -webkit-font-smoothing: antialiased;
250 | -webkit-text-stroke-width: 0.2px;
251 | -moz-osx-font-smoothing: grayscale;
252 | }
253 |
254 |
第三步:挑选相应图标并获取字体编码,应用于页面
255 |
<i class="iconfont">3</i>
256 |
257 |
258 | "iconfont"是你项目下的font-family。可以通过编辑项目查看,默认是"iconfont"。
259 |
260 |
261 |
262 |
263 |
264 |
265 |
--------------------------------------------------------------------------------
/static/font_demo/demo_symbol.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
27 |
IconFont 图标
28 |
279 |
280 |
281 |
symbol引用
282 |
283 |
284 |
这是一种全新的使用方式,应该说这才是未来的主流,也是平台目前推荐的用法。相关介绍可以参考这篇文章
285 | 这种用法其实是做了一个svg的集合,与另外两种相比具有如下特点:
286 |
287 | - 支持多色图标了,不再受单色限制。
288 | - 通过一些技巧,支持像字体那样,通过
font-size,color来调整样式。
289 | - 兼容性较差,支持 ie9+,及现代浏览器。
290 | - 浏览器渲染svg的性能一般,还不如png。
291 |
292 |
使用步骤如下:
293 |
第一步:引入项目下面生成的symbol代码:
294 |
295 |
第二步:加入通用css代码(引入一次就行):
296 |
<style type="text/css">
297 | .icon {
298 | width: 1em; height: 1em;
299 | vertical-align: -0.15em;
300 | fill: currentColor;
301 | overflow: hidden;
302 | }
303 | </style>
304 |
第三步:挑选相应图标并获取类名,应用于页面:
305 |
<svg class="icon" aria-hidden="true">
306 | <use xlink:href="#icon-xxx"></use>
307 | </svg>
308 |
309 |
310 |
311 |
312 |
--------------------------------------------------------------------------------
/dist/vue-image-transform.min.css:
--------------------------------------------------------------------------------
1 | @font-face{font-family:iconfont;src:url(//fonts/iconfont.d46bcc2.eot);src:url(//fonts/iconfont.d46bcc2.eot#iefix) format("embedded-opentype"),url("data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAABnMAAsAAAAAKTAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADMAAABCsP6z7U9TLzIAAAE8AAAARAAAAFY8jklJY21hcAAAAYAAAAFUAAADxL0Eo3NnbHlmAAAC1AAAE9gAAB78mdOJoGhlYWQAABasAAAAMQAAADYSaoc9aGhlYQAAFuAAAAAgAAAAJAfeA6JobXR4AAAXAAAAABYAAACAgAH//2xvY2EAABcYAAAAQgAAAEJ8dHPSbWF4cAAAF1wAAAAfAAAAIAE7AOJuYW1lAAAXfAAAAUUAAAJtPlT+fXBvc3QAABjEAAABCAAAAWeGZqr7eJxjYGRgYOBikGPQYWB0cfMJYeBgYGGAAJAMY05meiJQDMoDyrGAaQ4gZoOIAgCKIwNPAHicY2BkYWCcwMDKwMHUyXSGgYGhH0IzvmYwYuRgYGBiYGVmwAoC0lxTGByecT8PY27438AQw9zI0AsUZgTJAQDlAgxTeJzdk01OAkEQhb9R/MUfFAFRQfe4IMYYY1x4Cq8BZyCeQRMTVyTEBdGNnsGbvL4F+prCRJZs7co3ma509XTXewOsAMvm3JRg6Y7CbxQ3zhbT/DKb03yp2PG8y5nXVVRWUy111NWt+hroSc960VAjvWqsd33qS5NUTo3UTvff3zBX0XPF41zFmz5mFdXfioVG4ZP9jQvH5VxccT2LOwfU2KbOKW2OOOaElvdY8m1L7skqa6yz4ZuX2eKQHXY5oMIe+1Rp0PQHVxc84X8cW/lRPMxmp1nlwN1FzcB9Rq3AHUedYLq+G1gFdBtYD9QLrAzqB9YIDQLyfo9B9qmeAiuInoPsa70E2dsaBtnzGgVWGr0G1hyNA6uP3gL7AL0H+V/QR0C+62eQO6GvwH5Bk8DOIZUDe4hUDewm0gz7ilQL7DBSPbDXSI2AXNcOyLn7gOYP+rSdUXicnVkNdF1Vlb77nPv/++67fy8v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V3ux++1GvWivPPpfU/TAECNBigNk6CPHAEOMcIgjHOMEpzjDOS5wiSuMcY0b3OIO93jABFM8RoxrHa+4WKdCW09FKklToLgi3eS1ddSad6sla5RIPXEnKuYpJL5WmgYfijblFkCuy3ZeKx+SH07m21VwXIRRSY7MV2VN+anMUAlrpN0YbblkNW/Yisu4tFaOOmU01a1X4qlYxJWtabzfK4rl4vV5Sdx3u7ah8Cc7T5wqq8AqGxiXsu8b4mtys/mve8k7vn1Apqx59kaidSp0/R1rFsiHKPoG6NleTw==") format("woff"),url(//fonts/iconfont.400930b.ttf) format("truetype"),url(//img/iconfont.4327f2c.svg#iconfont) format("svg")}.iconfont[data-v-58932f48]{font-family:iconfont!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-all[data-v-58932f48]:before{content:"\E696"}.icon-back[data-v-58932f48]:before{content:"\E697"}.icon-close1[data-v-58932f48]:before{content:"\E69A"}.icon-delete[data-v-58932f48]:before{content:"\E69D"}.icon-help[data-v-58932f48]:before{content:"\E6A3"}.icon-moreunfold[data-v-58932f48]:before{content:"\E6A6"}.icon-pic[data-v-58932f48]:before{content:"\E6A8"}.icon-search[data-v-58932f48]:before{content:"\E6AC"}.icon-set[data-v-58932f48]:before{content:"\E6AE"}.icon-smile[data-v-58932f48]:before{content:"\E6AF"}.icon-viewgallery[data-v-58932f48]:before{content:"\E6B4"}.icon-viewlist[data-v-58932f48]:before{content:"\E6B5"}.icon-close[data-v-58932f48]:before{content:"\E619"}.icon-subtract[data-v-58932f48]:before{content:"\E6FE"}.icon-gerenzhongxin[data-v-58932f48]:before{content:"\E70B"}.icon-icondownload[data-v-58932f48]:before{content:"\E714"}.icon-map[data-v-58932f48]:before{content:"\E715"}.icon-bad[data-v-58932f48]:before{content:"\E716"}.icon-good[data-v-58932f48]:before{content:"\E717"}.icon-yinlemusic217[data-v-58932f48]:before{content:"\E713"}.icon-home[data-v-58932f48]:before{content:"\E60B"}.icon-search1187938easyiconnet[data-v-58932f48]:before{content:"\E61D"}.icon-yinlemusic216[data-v-58932f48]:before{content:"\E71E"}.icon-right[data-v-58932f48]:before{content:"\E6C7"}.icon-hot[data-v-58932f48]:before{content:"\E756"}.icon-add[data-v-58932f48]:before{content:"\E63C"}.icon-speaker-6[data-v-58932f48]:before{content:"\E66F"}.icon-speaker-5[data-v-58932f48]:before{content:"\E670"}.icon-yanzhengma[data-v-58932f48]:before{content:"\E682"}.icon-Security[data-v-58932f48]:before{content:"\E630"}.icon-icon-test[data-v-58932f48]:before{content:"\E62B"}[data-v-58932f48],[data-v-58932f48]:after,[data-v-58932f48]:before{box-sizing:border-box}.image-dialog .image-dialog-trigger[data-v-58932f48],.image-dialog[data-v-58932f48]{width:100%}.image-dialog .image-dialog-trigger.hidden[data-v-58932f48]{opacity:0}.image-dialog .slot-content[data-v-58932f48]{transition:opacity .6s ease;opacity:0}.image-dialog .slot-content.visible[data-v-58932f48]{opacity:1}.image-dialog .image-dialog-full[data-v-58932f48]{display:-ms-flexbox;display:flex}.image-dialog .image-dialog-full .cancle-btn[data-v-58932f48]{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;font-size:15px;padding-left:10px;padding-right:4px;color:#777}.image-dialog .input-wrapper[data-v-58932f48]{background-color:#efeff4;border-bottom:1px solid #e4e4e4;padding:2vw;box-sizing:border-box;width:100vw}.image-dialog .input-wrapper .input[data-v-58932f48]{border:none;outline:none;padding:5px;font-size:15px;border-radius:5px;min-height:7vw;background-color:#fff;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex:1;flex:1;transition:width 3s}.image-dialog .input-wrapper .input input[data-v-58932f48]{border:none;outline:none;padding:5px;font-size:15px;border-radius:5px;padding-left:0;-ms-flex:1;flex:1}.image-dialog .input-wrapper .input .iconfont[data-v-58932f48]{color:#999;margin-left:1vw;margin-right:2vw;font-size:15px;padding-top:0}.image-dialog .input-wrapper .input .palceholder[data-v-58932f48]{color:#999}.image-dialog-thumb[data-v-58932f48]{-o-object-fit:cover;object-fit:cover}.image-dialog-trigger[data-v-58932f48]{margin:0;padding:0;background:none;border:none;cursor:pointer}.image-dialog-close[data-v-58932f48]{position:absolute;right:20px;top:20px;width:40px;height:40px;padding:0;background:none;border:none;cursor:pointer;transition:.3s ease-out;outline:none}.image-dialog-close[data-v-58932f48]:after,.image-dialog-close[data-v-58932f48]:before{content:"";position:absolute;left:50%;top:50%;margin-top:-.5px;margin-left:-20px;width:30px;height:1px;background-color:#000}.image-dialog-close[data-v-58932f48]:before{transform:rotate(45deg)}.image-dialog-close[data-v-58932f48]:after{transform:rotate(135deg)}.image-dialog-close[data-v-58932f48]:hover{transform:rotate(270deg)}.image-dialog-background[data-v-58932f48]{overflow:auto;position:fixed;top:0;right:0;left:0;bottom:0;width:100vw;height:100vh;background-color:hsla(0,0%,100%,.95);text-align:center;z-index:1}.image-dialog-animate[data-v-58932f48]{display:none;position:absolute;transform-origin:left top}.image-dialog-animate.loading[data-v-58932f48]{display:block}.dialog-enter-active[data-v-58932f48],.dialog-leave-active[data-v-58932f48]{transition:background-color .3s ease-out}.dialog-enter[data-v-58932f48],.dialog-leave-to[data-v-58932f48]{background-color:hsla(0,0%,100%,0)}.dialog-enter-active .image-dialog-animate[data-v-58932f48],.dialog-leave-active .image-dialog-animate[data-v-58932f48]{display:block;transition:transform .3s cubic-bezier(1,0,.7,1)}.dialog-enter-active .image-dialog-full[data-v-58932f48],.dialog-leave-active .image-dialog-full[data-v-58932f48]{visibility:hidden}.image-dialog-trigger img[data-v-58932f48]{width:100%;height:100%}
--------------------------------------------------------------------------------
/src/components/ImageTransform/ImageTransform.vue:
--------------------------------------------------------------------------------
1 |