|
|
219
|
+ height: 400px;
|
|
|
220
|
+}
|
|
|
221
|
+.wxParse-thead,.wxParse-tfoot,.wxParse-tr{
|
|
|
222
|
+ display: flex;
|
|
|
223
|
+ flex-direction: row;
|
|
|
224
|
+}
|
|
|
225
|
+.wxParse-th,.wxParse-td{
|
|
|
226
|
+ display: flex;
|
|
|
227
|
+ width: 580px;
|
|
|
228
|
+ overflow: auto;
|
|
|
229
|
+}*/
|
|
|
230
|
+
|
|
|
231
|
+.wxParse-u {
|
|
|
232
|
+ text-decoration: underline;
|
|
|
233
|
+}
|
|
|
234
|
+.wxParse-hide {
|
|
|
235
|
+ display: none;
|
|
|
236
|
+}
|
|
|
237
|
+.WxEmojiView {
|
|
|
238
|
+ align-items: center;
|
|
|
239
|
+}
|
|
|
240
|
+.wxEmoji {
|
|
|
241
|
+ width: 16px;
|
|
|
242
|
+ height: 16px;
|
|
|
243
|
+}
|
|
|
244
|
+.wxParse-tr {
|
|
|
245
|
+ display: flex;
|
|
|
246
|
+ border-right: 1px solid #e0e0e0;
|
|
|
247
|
+ border-bottom: 1px solid #e0e0e0;
|
|
|
248
|
+ border-top: 1px solid #e0e0e0;
|
|
|
249
|
+}
|
|
|
250
|
+.wxParse-th,
|
|
|
251
|
+.wxParse-td {
|
|
|
252
|
+ flex: 1;
|
|
|
253
|
+ padding: 5px;
|
|
|
254
|
+ font-size: 28rpx;
|
|
|
255
|
+ border-left: 1px solid #e0e0e0;
|
|
|
256
|
+ word-break: break-all;
|
|
|
257
|
+}
|
|
|
258
|
+.wxParse-td:last {
|
|
|
259
|
+ border-top: 1px solid #e0e0e0;
|
|
|
260
|
+}
|
|
|
261
|
+.wxParse-th {
|
|
|
262
|
+ background: #f0f0f0;
|
|
|
263
|
+ border-top: 1px solid #e0e0e0;
|
|
|
264
|
+}
|
|
|
265
|
+.wxParse-del {
|
|
|
266
|
+ display: inline;
|
|
|
267
|
+}
|
|
|
268
|
+.wxParse-figure {
|
|
|
269
|
+ overflow: hidden;
|
|
|
270
|
+}
|
|
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+var filter = function (text) {
|
|
|
2
|
+ if (text) {
|
|
|
3
|
+ var pattern = '\\\\n';
|
|
|
4
|
+ var target = '\n';
|
|
|
5
|
+ var reg = getRegExp(pattern, 'g');
|
|
|
6
|
+ return text.replace(reg, target);
|
|
|
7
|
+ }
|
|
|
8
|
+};
|
|
|
9
|
+
|
|
|
10
|
+module.exports.filter = filter;
|