Skip to content

Commit e844f0e

Browse files
committed
增加 editor 组件示例
1 parent 5822031 commit e844f0e

File tree

4 files changed

+440
-1
lines changed

4 files changed

+440
-1
lines changed

pages.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,14 @@
183183
"navigationBarTitleText": "textarea"
184184
}
185185
},
186+
// #ifdef APP-PLUS || MP-WEIXIN
187+
{
188+
"path": "pages/component/editor/editor",
189+
"style": {
190+
"navigationBarTitleText": "editor"
191+
}
192+
},
193+
// #endif
186194
{
187195
"path": "pages/component/navigator/navigator",
188196
"style": {
Lines changed: 236 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,236 @@
1+
@font-face {
2+
font-family: "iconfont";
3+
src: url('https://img-cdn-qiniu.dcloud.net.cn/fonts/editor-icon.ttf') format('truetype');
4+
}
5+
6+
.iconfont {
7+
font-family: "iconfont" !important;
8+
font-size: 16px;
9+
font-style: normal;
10+
-webkit-font-smoothing: antialiased;
11+
-moz-osx-font-smoothing: grayscale;
12+
}
13+
14+
.icon-redo:before {
15+
content: "\e627";
16+
}
17+
18+
.icon-undo:before {
19+
content: "\e633";
20+
}
21+
22+
.icon-indent:before {
23+
content: "\eb28";
24+
}
25+
26+
.icon-outdent:before {
27+
content: "\e6e8";
28+
}
29+
30+
.icon-fontsize:before {
31+
content: "\e6fd";
32+
}
33+
34+
.icon-format-header-1:before {
35+
content: "\e860";
36+
}
37+
38+
.icon-format-header-4:before {
39+
content: "\e863";
40+
}
41+
42+
.icon-format-header-5:before {
43+
content: "\e864";
44+
}
45+
46+
.icon-format-header-6:before {
47+
content: "\e865";
48+
}
49+
50+
.icon-clearup:before {
51+
content: "\e64d";
52+
}
53+
54+
.icon-preview:before {
55+
content: "\e631";
56+
}
57+
58+
.icon-date:before {
59+
content: "\e63e";
60+
}
61+
62+
.icon-fontbgcolor:before {
63+
content: "\e678";
64+
}
65+
66+
.icon-clearedformat:before {
67+
content: "\e67e";
68+
}
69+
70+
.icon-font:before {
71+
content: "\e684";
72+
}
73+
74+
.icon-723bianjiqi_duanhouju:before {
75+
content: "\e65f";
76+
}
77+
78+
.icon-722bianjiqi_duanqianju:before {
79+
content: "\e660";
80+
}
81+
82+
.icon-text_color:before {
83+
content: "\e72c";
84+
}
85+
86+
.icon-format-header-2:before {
87+
content: "\e75c";
88+
}
89+
90+
.icon-format-header-3:before {
91+
content: "\e75d";
92+
}
93+
94+
.icon--checklist:before {
95+
content: "\e664";
96+
}
97+
98+
.icon-baocun:before {
99+
content: "\ec09";
100+
}
101+
102+
.icon-line-height:before {
103+
content: "\e7f8";
104+
}
105+
106+
.icon-quanping:before {
107+
content: "\ec13";
108+
}
109+
110+
.icon-direction-rtl:before {
111+
content: "\e66e";
112+
}
113+
114+
.icon-direction-ltr:before {
115+
content: "\e66d";
116+
}
117+
118+
.icon-selectall:before {
119+
content: "\e62b";
120+
}
121+
122+
.icon-fuzhi:before {
123+
content: "\ec7a";
124+
}
125+
126+
.icon-shanchu:before {
127+
content: "\ec7b";
128+
}
129+
130+
.icon-bianjisekuai:before {
131+
content: "\ec7c";
132+
}
133+
134+
.icon-fengexian:before {
135+
content: "\ec7f";
136+
}
137+
138+
.icon-dianzan:before {
139+
content: "\ec80";
140+
}
141+
142+
.icon-charulianjie:before {
143+
content: "\ec81";
144+
}
145+
146+
.icon-charutupian:before {
147+
content: "\ec82";
148+
}
149+
150+
.icon-wuxupailie:before {
151+
content: "\ec83";
152+
}
153+
154+
.icon-juzhongduiqi:before {
155+
content: "\ec84";
156+
}
157+
158+
.icon-yinyong:before {
159+
content: "\ec85";
160+
}
161+
162+
.icon-youxupailie:before {
163+
content: "\ec86";
164+
}
165+
166+
.icon-youduiqi:before {
167+
content: "\ec87";
168+
}
169+
170+
.icon-zitidaima:before {
171+
content: "\ec88";
172+
}
173+
174+
.icon-xiaolian:before {
175+
content: "\ec89";
176+
}
177+
178+
.icon-zitijiacu:before {
179+
content: "\ec8a";
180+
}
181+
182+
.icon-zitishanchuxian:before {
183+
content: "\ec8b";
184+
}
185+
186+
.icon-zitishangbiao:before {
187+
content: "\ec8c";
188+
}
189+
190+
.icon-zitibiaoti:before {
191+
content: "\ec8d";
192+
}
193+
194+
.icon-zitixiahuaxian:before {
195+
content: "\ec8e";
196+
}
197+
198+
.icon-zitixieti:before {
199+
content: "\ec8f";
200+
}
201+
202+
.icon-zitiyanse:before {
203+
content: "\ec90";
204+
}
205+
206+
.icon-zuoduiqi:before {
207+
content: "\ec91";
208+
}
209+
210+
.icon-zitiyulan:before {
211+
content: "\ec92";
212+
}
213+
214+
.icon-zitixiabiao:before {
215+
content: "\ec93";
216+
}
217+
218+
.icon-zuoyouduiqi:before {
219+
content: "\ec94";
220+
}
221+
222+
.icon-duigoux:before {
223+
content: "\ec9e";
224+
}
225+
226+
.icon-guanbi:before {
227+
content: "\eca0";
228+
}
229+
230+
.icon-shengyin_shiti:before {
231+
content: "\eca5";
232+
}
233+
234+
.icon-Character-Spacing:before {
235+
content: "\e964";
236+
}

0 commit comments

Comments
 (0)