xiaoe_mp_npm 1.0.21 → 1.0.22-store2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.prettierrc.js +32 -6
- package/miniprogram_dist/GoodsItem/index.json +6 -6
- package/miniprogram_dist/GoodsItem/index.wxs +18 -18
- package/miniprogram_dist/LiveGoodsList/Header/index.js +54 -54
- package/miniprogram_dist/LiveGoodsList/Header/index.json +6 -6
- package/miniprogram_dist/LiveGoodsList/Header/index.less +45 -45
- package/miniprogram_dist/LiveGoodsList/Header/index.scss +105 -105
- package/miniprogram_dist/LiveGoodsList/Header/index.wxml +32 -32
- package/miniprogram_dist/LiveGoodsList/README.md +9 -9
- package/miniprogram_dist/LiveGoodsList/index.json +8 -8
- package/miniprogram_dist/LiveGoodsList/index.less +53 -53
- package/miniprogram_dist/LiveGoodsList/index.scss +92 -92
- package/miniprogram_dist/Task/TaskBubble/index.js +2 -1
- package/miniprogram_dist/Task/TaskPopup/component/RewardList/index.js +23 -21
- package/miniprogram_dist/Task/TaskPopup/component/RewardList/index.wxml +1 -0
- package/miniprogram_dist/Task/TaskPopup/component/TaskItem/index.js +264 -169
- package/miniprogram_dist/Task/TaskPopup/component/TaskItem/index.scss +26 -0
- package/miniprogram_dist/Task/TaskPopup/component/TaskItem/index.wxml +32 -13
- package/miniprogram_dist/Task/TaskPopup/component/TaskItem/index.wxss +96 -0
- package/miniprogram_dist/Task/TaskPopup/component/TaskList/index.js +8 -0
- package/miniprogram_dist/Task/TaskPopup/component/TaskList/index.wxml +1 -0
- package/miniprogram_dist/Task/TaskPopup/component/TaskType/index.js +4 -0
- package/miniprogram_dist/Task/TaskPopup/component/TaskType/index.wxml +1 -0
- package/miniprogram_dist/Task/TaskPopup/index.js +76 -70
- package/miniprogram_dist/Task/TaskPopup/index.json +2 -2
- package/miniprogram_dist/Task/TaskPopup/index.wxml +2 -0
- package/miniprogram_dist/Task/TaskQuizPopup/components/quizContent/index.js +132 -0
- package/miniprogram_dist/Task/TaskQuizPopup/components/quizContent/index.json +6 -0
- package/miniprogram_dist/Task/TaskQuizPopup/components/quizContent/index.scss +192 -0
- package/miniprogram_dist/Task/TaskQuizPopup/components/quizContent/index.wxml +65 -0
- package/miniprogram_dist/Task/TaskQuizPopup/components/quizContent/index.wxs +79 -0
- package/miniprogram_dist/Task/TaskQuizPopup/components/quizContent/index.wxss +521 -0
- package/miniprogram_dist/Task/TaskQuizPopup/components/quizRichText/index.js +40 -0
- package/miniprogram_dist/Task/TaskQuizPopup/components/quizRichText/index.json +6 -0
- package/miniprogram_dist/Task/TaskQuizPopup/components/quizRichText/index.scss +7 -0
- package/miniprogram_dist/Task/TaskQuizPopup/components/quizRichText/index.wxml +2 -0
- package/miniprogram_dist/Task/TaskQuizPopup/components/quizRichText/index.wxss +298 -0
- package/miniprogram_dist/Task/TaskQuizPopup/components/wxParse/base.wxml +50 -0
- package/miniprogram_dist/Task/TaskQuizPopup/components/wxParse/html2json.js +623 -0
- package/miniprogram_dist/Task/TaskQuizPopup/components/wxParse/htmlparser.js +183 -0
- package/miniprogram_dist/Task/TaskQuizPopup/components/wxParse/iframeParse.js +216 -0
- package/miniprogram_dist/Task/TaskQuizPopup/components/wxParse/loop.wxml +3563 -0
- package/miniprogram_dist/Task/TaskQuizPopup/components/wxParse/showdown.js +2364 -0
- package/miniprogram_dist/Task/TaskQuizPopup/components/wxParse/wxDiscode.js +209 -0
- package/miniprogram_dist/Task/TaskQuizPopup/components/wxParse/wxParse.js +269 -0
- package/miniprogram_dist/Task/TaskQuizPopup/components/wxParse/wxParse.wxml +1276 -0
- package/miniprogram_dist/Task/TaskQuizPopup/components/wxParse/wxParse.wxss +316 -0
- package/miniprogram_dist/Task/TaskQuizPopup/index.js +225 -0
- package/miniprogram_dist/Task/TaskQuizPopup/index.json +8 -0
- package/miniprogram_dist/Task/TaskQuizPopup/index.scss +159 -0
- package/miniprogram_dist/Task/TaskQuizPopup/index.wxml +97 -0
- package/miniprogram_dist/Task/TaskQuizPopup/index.wxss +478 -0
- package/miniprogram_dist/Task/taskQuizRemindPopup/index.js +74 -0
- package/miniprogram_dist/Task/taskQuizRemindPopup/index.json +6 -0
- package/miniprogram_dist/Task/taskQuizRemindPopup/index.scss +108 -0
- package/miniprogram_dist/Task/taskQuizRemindPopup/index.wxml +27 -0
- package/miniprogram_dist/Task/taskQuizRemindPopup/index.wxss +286 -0
- package/miniprogram_dist/common/utils/tool.js +54 -48
- package/package.json +1 -1
- package/src/AliveInvite/LiveRoomVertical/index.wxss +252 -252
- package/src/CollectionAddress/index.wxss +5 -5
- package/src/ConfirmOrder/components/AddressEdit/index.wxss +120 -120
- package/src/ConfirmOrder/components/AddressManage/index.wxss +98 -98
- package/src/ConfirmOrder/components/AddressSelect/index.wxss +67 -67
- package/src/ConfirmOrder/components/ChoosePicker/index.wxss +18 -18
- package/src/ConfirmOrder/components/GoodsInfo/components/GoodsCommerce/components/entityGiftList/index.wxss +45 -45
- package/src/ConfirmOrder/components/GoodsInfo/components/GoodsCommerce/components/entityItem/index.wxss +100 -100
- package/src/ConfirmOrder/components/GoodsInfo/components/GoodsCommerce/index.wxss +55 -55
- package/src/ConfirmOrder/components/GoodsInfo/components/ImageData/index.wxss +13 -13
- package/src/ConfirmOrder/components/Header/index.wxss +26 -26
- package/src/ConfirmOrder/components/IntegralSelect/componenets/integralTips/index.wxss +85 -85
- package/src/ConfirmOrder/components/Invoice/components/InvoiceSelect/index.wxss +155 -155
- package/src/ConfirmOrder/components/Invoice/components/InvoiceTip/index.wxss +51 -51
- package/src/ConfirmOrder/components/ModeSelect/index.wxss +44 -44
- package/src/ConfirmOrder/components/PickupSelect/index.wxss +22 -22
- package/src/ConfirmOrder/components/SelectSite/index.wxss +82 -82
- package/src/ConfirmOrder/components/Shipper/index.wxss +76 -76
- package/src/ConfirmOrder/components/ShipperEdit/index.wxss +78 -78
- package/src/ConfirmOrder/components/WechatAddress/index.wxss +22 -22
- package/src/ConfirmOrder/index.wxss +5 -5
- package/src/CouponList/couponMsg/index.wxss +3 -3
- package/src/CustomPopup/index.wxss +22 -22
- package/src/GoodsItem/index.json +6 -6
- package/src/GoodsItem/index.wxs +18 -18
- package/src/LiveGoodsList/Header/index.js +54 -54
- package/src/LiveGoodsList/Header/index.json +6 -6
- package/src/LiveGoodsList/Header/index.less +45 -45
- package/src/LiveGoodsList/Header/index.scss +105 -105
- package/src/LiveGoodsList/Header/index.wxml +32 -32
- package/src/LiveGoodsList/README.md +9 -9
- package/src/LiveGoodsList/index.json +8 -8
- package/src/LiveGoodsList/index.less +53 -53
- package/src/LiveGoodsList/index.scss +92 -92
- package/src/LiveGoodsList/index.wxss +218 -218
- package/src/PayComplete/Components/CouponItem/index.wxss +122 -122
- package/src/PayComplete/Components/Header/index.wxss +27 -27
- package/src/PayComplete/Components/LeadGroup/index.wxss +33 -33
- package/src/PayComplete/Components/PayGifts/index.wxss +157 -157
- package/src/PayComplete/Components/PayState/earnIntegral/index.wxss +23 -23
- package/src/PayComplete/Components/PayState/index.wxss +20 -20
- package/src/PayComplete/index.wxss +27 -27
- package/src/PayModule/wechatLoading/index.wxss +57 -57
- package/src/Recommend/index.wxss +110 -110
- package/src/Sku/Header/index.wxss +27 -27
- package/src/Sku/goods-info/index.wxss +52 -52
- package/src/Sku/index/index.wxss +52 -52
- package/src/Sku/row-item/index.wxss +50 -50
- package/src/Sku/step/index.wxss +11 -11
- package/src/Task/TaskBubble/index.js +2 -1
- package/src/Task/TaskBubble/index.wxss +289 -289
- package/src/Task/TaskIcon/index.wxss +130 -130
- package/src/Task/TaskPopup/component/RewardList/index.js +23 -21
- package/src/Task/TaskPopup/component/RewardList/index.wxml +1 -0
- package/src/Task/TaskPopup/component/RewardList/index.wxss +18 -18
- package/src/Task/TaskPopup/component/TaskItem/index.js +264 -169
- package/src/Task/TaskPopup/component/TaskItem/index.scss +26 -0
- package/src/Task/TaskPopup/component/TaskItem/index.wxml +32 -13
- package/src/Task/TaskPopup/component/TaskItem/index.wxss +1 -394
- package/src/Task/TaskPopup/component/TaskList/index.js +8 -0
- package/src/Task/TaskPopup/component/TaskList/index.wxml +1 -0
- package/src/Task/TaskPopup/component/TaskList/index.wxss +118 -118
- package/src/Task/TaskPopup/component/TaskType/index.js +4 -0
- package/src/Task/TaskPopup/component/TaskType/index.wxml +1 -0
- package/src/Task/TaskPopup/component/TaskType/index.wxss +110 -110
- package/src/Task/TaskPopup/index.js +76 -70
- package/src/Task/TaskPopup/index.json +2 -2
- package/src/Task/TaskPopup/index.wxml +2 -0
- package/src/Task/TaskPopup/index.wxss +406 -406
- package/src/Task/TaskQuizPopup/components/quizContent/index.js +132 -0
- package/src/Task/TaskQuizPopup/components/quizContent/index.json +6 -0
- package/src/Task/TaskQuizPopup/components/quizContent/index.scss +192 -0
- package/src/Task/TaskQuizPopup/components/quizContent/index.wxml +65 -0
- package/src/Task/TaskQuizPopup/components/quizContent/index.wxs +79 -0
- package/src/Task/TaskQuizPopup/components/quizContent/index.wxss +1 -0
- package/src/Task/TaskQuizPopup/components/quizRichText/index.js +40 -0
- package/src/Task/TaskQuizPopup/components/quizRichText/index.json +6 -0
- package/src/Task/TaskQuizPopup/components/quizRichText/index.scss +7 -0
- package/src/Task/TaskQuizPopup/components/quizRichText/index.wxml +2 -0
- package/src/Task/TaskQuizPopup/components/quizRichText/index.wxss +1 -0
- package/src/Task/TaskQuizPopup/components/wxParse/base.wxml +50 -0
- package/src/Task/TaskQuizPopup/components/wxParse/html2json.js +623 -0
- package/src/Task/TaskQuizPopup/components/wxParse/htmlparser.js +183 -0
- package/src/Task/TaskQuizPopup/components/wxParse/iframeParse.js +216 -0
- package/src/Task/TaskQuizPopup/components/wxParse/loop.wxml +3563 -0
- package/src/Task/TaskQuizPopup/components/wxParse/showdown.js +2364 -0
- package/src/Task/TaskQuizPopup/components/wxParse/wxDiscode.js +209 -0
- package/src/Task/TaskQuizPopup/components/wxParse/wxParse.js +269 -0
- package/src/Task/TaskQuizPopup/components/wxParse/wxParse.wxml +1276 -0
- package/src/Task/TaskQuizPopup/components/wxParse/wxParse.wxss +283 -0
- package/src/Task/TaskQuizPopup/index.js +225 -0
- package/src/Task/TaskQuizPopup/index.json +8 -0
- package/src/Task/TaskQuizPopup/index.scss +159 -0
- package/src/Task/TaskQuizPopup/index.wxml +97 -0
- package/src/Task/TaskQuizPopup/index.wxss +1 -0
- package/src/Task/taskQuizRemindPopup/index.js +74 -0
- package/src/Task/taskQuizRemindPopup/index.json +6 -0
- package/src/Task/taskQuizRemindPopup/index.scss +108 -0
- package/src/Task/taskQuizRemindPopup/index.wxml +27 -0
- package/src/Task/taskQuizRemindPopup/index.wxss +1 -0
- package/src/Task/taskReceivePopup/customPrizes/index.wxss +220 -220
- package/src/Task/taskReceivePopup/index.wxss +1 -1
- package/src/Task/taskReceivePopup/integral/index.wxss +94 -94
- package/src/common/css/theme.wxss +16 -16
- package/src/common/utils/tool.js +54 -48
- package/src/miniprogram_npm/miniprogram-computed/index.js +1 -0
|
@@ -0,0 +1,298 @@
|
|
|
1
|
+
.wxParse {
|
|
2
|
+
color: #666;
|
|
3
|
+
line-height: 1.8;
|
|
4
|
+
overflow: hidden;
|
|
5
|
+
}
|
|
6
|
+
.wxParse view {
|
|
7
|
+
white-space: pre-line;
|
|
8
|
+
word-wrap: break-word;
|
|
9
|
+
box-sizing: border-box;
|
|
10
|
+
}
|
|
11
|
+
.wxParse view,
|
|
12
|
+
.wxParse navigator,
|
|
13
|
+
.wxParse text,
|
|
14
|
+
.wxParse image,
|
|
15
|
+
.wxParse video,
|
|
16
|
+
.wxParse input,
|
|
17
|
+
.wxParse button,
|
|
18
|
+
.wxParse checkbox,
|
|
19
|
+
.wxParse label,
|
|
20
|
+
.wxParse textarea,
|
|
21
|
+
.wxParse form,
|
|
22
|
+
.wxParse radio,
|
|
23
|
+
.wxParse navigator {
|
|
24
|
+
max-width: 100% !important;
|
|
25
|
+
}
|
|
26
|
+
view {
|
|
27
|
+
word-wrap: break-word;
|
|
28
|
+
white-space: normal;
|
|
29
|
+
}
|
|
30
|
+
.wxParse .user-select view,
|
|
31
|
+
.wxParse .user-select text {
|
|
32
|
+
user-select: text;
|
|
33
|
+
-webkit-user-select: text;
|
|
34
|
+
}
|
|
35
|
+
.wxParse-inline {
|
|
36
|
+
display: inline;
|
|
37
|
+
margin: 0;
|
|
38
|
+
padding: 0;
|
|
39
|
+
}
|
|
40
|
+
.wxParse-div {
|
|
41
|
+
margin: 0;
|
|
42
|
+
padding: 0;
|
|
43
|
+
}
|
|
44
|
+
.wxParse-h1 {
|
|
45
|
+
font-size: 2em;
|
|
46
|
+
margin: 0.67em 0;
|
|
47
|
+
}
|
|
48
|
+
.wxParse-h2 {
|
|
49
|
+
font-size: 1.5em;
|
|
50
|
+
margin: 0.75em 0;
|
|
51
|
+
}
|
|
52
|
+
.wxParse-h3 {
|
|
53
|
+
font-size: 1.17em;
|
|
54
|
+
margin: 0.83em 0;
|
|
55
|
+
}
|
|
56
|
+
.wxParse-h4 {
|
|
57
|
+
margin: 1.12em 0;
|
|
58
|
+
}
|
|
59
|
+
.wxParse-h5 {
|
|
60
|
+
font-size: 0.83em;
|
|
61
|
+
margin: 1.5em 0;
|
|
62
|
+
}
|
|
63
|
+
.wxParse-h6 {
|
|
64
|
+
font-size: 0.75em;
|
|
65
|
+
margin: 1.67em 0;
|
|
66
|
+
}
|
|
67
|
+
.wxParse-h1 {
|
|
68
|
+
font-size: 18px;
|
|
69
|
+
font-weight: 400;
|
|
70
|
+
margin-bottom: 0.9em;
|
|
71
|
+
}
|
|
72
|
+
.wxParse-h2 {
|
|
73
|
+
font-size: 16px;
|
|
74
|
+
font-weight: 400;
|
|
75
|
+
margin-bottom: 0.34em;
|
|
76
|
+
}
|
|
77
|
+
.wxParse-h3 {
|
|
78
|
+
font-weight: 400;
|
|
79
|
+
font-size: 15px;
|
|
80
|
+
margin-bottom: 0.34em;
|
|
81
|
+
}
|
|
82
|
+
.wxParse-h4 {
|
|
83
|
+
font-weight: 400;
|
|
84
|
+
font-size: 14px;
|
|
85
|
+
margin-bottom: 0.24em;
|
|
86
|
+
}
|
|
87
|
+
.wxParse-h5 {
|
|
88
|
+
font-weight: 400;
|
|
89
|
+
font-size: 13px;
|
|
90
|
+
margin-bottom: 0.14em;
|
|
91
|
+
}
|
|
92
|
+
.wxParse-h6 {
|
|
93
|
+
font-weight: 400;
|
|
94
|
+
font-size: 12px;
|
|
95
|
+
margin-bottom: 0.04em;
|
|
96
|
+
}
|
|
97
|
+
.wxParse-section {
|
|
98
|
+
width: 100%;
|
|
99
|
+
max-width: 100% !important;
|
|
100
|
+
box-sizing: border-box;
|
|
101
|
+
}
|
|
102
|
+
.wxParse-h1,
|
|
103
|
+
.wxParse-h2,
|
|
104
|
+
.wxParse-h3,
|
|
105
|
+
.wxParse-h4,
|
|
106
|
+
.wxParse-h5,
|
|
107
|
+
.wxParse-h6,
|
|
108
|
+
.wxParse-b,
|
|
109
|
+
.wxParse-strong {
|
|
110
|
+
font-weight: bolder;
|
|
111
|
+
}
|
|
112
|
+
.wxParse-i,
|
|
113
|
+
.wxParse-cite,
|
|
114
|
+
.wxParse-em,
|
|
115
|
+
.wxParse-var,
|
|
116
|
+
.wxParse-address {
|
|
117
|
+
font-style: italic;
|
|
118
|
+
}
|
|
119
|
+
.wxParse-pre,
|
|
120
|
+
.wxParse-tt,
|
|
121
|
+
.wxParse-code,
|
|
122
|
+
.wxParse-kbd,
|
|
123
|
+
.wxParse-samp {
|
|
124
|
+
font-family: monospace;
|
|
125
|
+
}
|
|
126
|
+
.wxParse-pre {
|
|
127
|
+
white-space: pre;
|
|
128
|
+
}
|
|
129
|
+
.wxParse-big {
|
|
130
|
+
font-size: 1.17em;
|
|
131
|
+
}
|
|
132
|
+
.wxParse-small,
|
|
133
|
+
.wxParse-sub,
|
|
134
|
+
.wxParse-sup {
|
|
135
|
+
font-size: 0.83em;
|
|
136
|
+
}
|
|
137
|
+
.wxParse-sub {
|
|
138
|
+
vertical-align: sub;
|
|
139
|
+
}
|
|
140
|
+
.wxParse-sup {
|
|
141
|
+
vertical-align: super;
|
|
142
|
+
}
|
|
143
|
+
.wxParse-s,
|
|
144
|
+
.wxParse-strike,
|
|
145
|
+
.wxParse-del {
|
|
146
|
+
text-decoration: line-through;
|
|
147
|
+
}
|
|
148
|
+
.wxParse-strong,
|
|
149
|
+
wxParse-s {
|
|
150
|
+
display: inline;
|
|
151
|
+
}
|
|
152
|
+
.wxParse-a {
|
|
153
|
+
color: blue;
|
|
154
|
+
word-break: break-all;
|
|
155
|
+
overflow: auto;
|
|
156
|
+
text-decoration: underline;
|
|
157
|
+
}
|
|
158
|
+
.wxParse-video {
|
|
159
|
+
text-align: center;
|
|
160
|
+
margin: 10px 0;
|
|
161
|
+
}
|
|
162
|
+
.wxParse-video-video,
|
|
163
|
+
.wxParse-iframe-video {
|
|
164
|
+
width: 100%;
|
|
165
|
+
margin-bottom: 10rpx;
|
|
166
|
+
}
|
|
167
|
+
video.xiaoe-iframe-video {
|
|
168
|
+
height: 386rpx;
|
|
169
|
+
margin-bottom: 20rpx;
|
|
170
|
+
max-width: 100%;
|
|
171
|
+
box-sizing: border-box;
|
|
172
|
+
display: block;
|
|
173
|
+
}
|
|
174
|
+
.xiaoe-iframe-audio {
|
|
175
|
+
margin-bottom: 20rpx;
|
|
176
|
+
max-width: 100%;
|
|
177
|
+
display: block;
|
|
178
|
+
}
|
|
179
|
+
.xiaoe-iframe-audio .audio-player {
|
|
180
|
+
width: auto !important;
|
|
181
|
+
max-width: 100%;
|
|
182
|
+
}
|
|
183
|
+
.wxParse-img {
|
|
184
|
+
overflow: hidden !important;
|
|
185
|
+
}
|
|
186
|
+
.hidden {
|
|
187
|
+
visibility: hidden;
|
|
188
|
+
}
|
|
189
|
+
.box-center {
|
|
190
|
+
margin: 0 auto;
|
|
191
|
+
}
|
|
192
|
+
.wxParse-blockquote {
|
|
193
|
+
margin: 0;
|
|
194
|
+
padding: 10px 0 10px 5px;
|
|
195
|
+
font-family: Courier, Calibri, "宋体";
|
|
196
|
+
background: #f5f5f5;
|
|
197
|
+
border-left: 3px solid #dbdbdb;
|
|
198
|
+
}
|
|
199
|
+
.wxParse-code,
|
|
200
|
+
.wxParse-wxxxcode-style {
|
|
201
|
+
display: inline;
|
|
202
|
+
background: #f5f5f5;
|
|
203
|
+
}
|
|
204
|
+
.wxParse-ul {
|
|
205
|
+
margin: 20rpx 10rpx;
|
|
206
|
+
}
|
|
207
|
+
.wxParse-li,
|
|
208
|
+
.wxParse-li-inner {
|
|
209
|
+
display: flex;
|
|
210
|
+
align-items: baseline;
|
|
211
|
+
margin: 10rpx 0;
|
|
212
|
+
}
|
|
213
|
+
.wxParse-li .wxParse-li-init {
|
|
214
|
+
width: 90rpx;
|
|
215
|
+
height: 100%;
|
|
216
|
+
text-align: right;
|
|
217
|
+
overflow: hidden;
|
|
218
|
+
line-height: 40rpx;
|
|
219
|
+
height: 45rpx;
|
|
220
|
+
}
|
|
221
|
+
.wxParse-li-text {
|
|
222
|
+
align-items: center;
|
|
223
|
+
line-height: 20px;
|
|
224
|
+
}
|
|
225
|
+
.wxParse-hr {
|
|
226
|
+
display: block;
|
|
227
|
+
unicode-bidi: isolate;
|
|
228
|
+
margin-block-start: 0.5em;
|
|
229
|
+
margin-block-end: 0.5em;
|
|
230
|
+
margin-inline-start: auto;
|
|
231
|
+
margin-inline-end: auto;
|
|
232
|
+
overflow: hidden;
|
|
233
|
+
border-style: inset;
|
|
234
|
+
border-width: 1px;
|
|
235
|
+
}
|
|
236
|
+
.wxParse-li-circle {
|
|
237
|
+
width: 10rpx;
|
|
238
|
+
height: 10rpx;
|
|
239
|
+
background-color: #333;
|
|
240
|
+
margin: 0rpx 32rpx 4rpx;
|
|
241
|
+
border-radius: 10rpx;
|
|
242
|
+
}
|
|
243
|
+
.wxParse-li-square {
|
|
244
|
+
width: 10rpx;
|
|
245
|
+
height: 10rpx;
|
|
246
|
+
background-color: #333;
|
|
247
|
+
margin: 0rpx 32rpx 4rpx;
|
|
248
|
+
}
|
|
249
|
+
.wxParse-li-ring {
|
|
250
|
+
width: 10rpx;
|
|
251
|
+
height: 10rpx;
|
|
252
|
+
border: 2rpx solid #333;
|
|
253
|
+
border-radius: 50%;
|
|
254
|
+
background-color: #fff;
|
|
255
|
+
margin: 0rpx 30rpx 3rpx;
|
|
256
|
+
}
|
|
257
|
+
.wxParse-u {
|
|
258
|
+
text-decoration: underline;
|
|
259
|
+
}
|
|
260
|
+
.wxParse-hide {
|
|
261
|
+
display: none;
|
|
262
|
+
}
|
|
263
|
+
.WxEmojiView {
|
|
264
|
+
align-items: center;
|
|
265
|
+
}
|
|
266
|
+
.wxEmoji {
|
|
267
|
+
width: 16px;
|
|
268
|
+
height: 16px;
|
|
269
|
+
}
|
|
270
|
+
.wxParse-tr {
|
|
271
|
+
display: flex;
|
|
272
|
+
border-right: 1px solid #e0e0e0;
|
|
273
|
+
border-bottom: 1px solid #e0e0e0;
|
|
274
|
+
}
|
|
275
|
+
.wxParse-th,
|
|
276
|
+
.wxParse-td {
|
|
277
|
+
flex: 1;
|
|
278
|
+
padding: 5px;
|
|
279
|
+
font-size: 28rpx;
|
|
280
|
+
border-left: 1px solid #e0e0e0;
|
|
281
|
+
word-wrap: break-word;
|
|
282
|
+
}
|
|
283
|
+
.wxParse-td:last {
|
|
284
|
+
border-top: 1px solid #e0e0e0;
|
|
285
|
+
}
|
|
286
|
+
.wxParse-th {
|
|
287
|
+
background: #f0f0f0;
|
|
288
|
+
border-top: 1px solid #e0e0e0;
|
|
289
|
+
}
|
|
290
|
+
.img {
|
|
291
|
+
max-width: 100%;
|
|
292
|
+
}
|
|
293
|
+
.wxParse-br {
|
|
294
|
+
min-height: 1em;
|
|
295
|
+
}
|
|
296
|
+
.wxParse-p {
|
|
297
|
+
min-height: 1em;
|
|
298
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
<!--基础元素-->
|
|
2
|
+
<template name="wxParseVideo">
|
|
3
|
+
<!--增加video标签支持,并循环添加-->
|
|
4
|
+
<view class="{{item.classStr}} wxParse-{{item.tag}}" style="{{item.styleStr}}">
|
|
5
|
+
<video class="{{item.classStr}} wxParse-{{item.tag}}-video" src="{{item.attr.src}}"></video>
|
|
6
|
+
</view>
|
|
7
|
+
</template>
|
|
8
|
+
|
|
9
|
+
<template name="xiaoeAudio">
|
|
10
|
+
<!-- 如果要应用此组件,需要在相应的页面添加组件声明,具体参考 page/home/content/content_img_text/content_img_text.json -->
|
|
11
|
+
<audio-player
|
|
12
|
+
class="{{item.classStr}}"
|
|
13
|
+
isMaxWidth="{{true}}"
|
|
14
|
+
id="{{item.id}}"
|
|
15
|
+
src="{{item.attr.src}}"
|
|
16
|
+
length="{{item.attr.length}}"
|
|
17
|
+
title="{{item.attr.title}}"
|
|
18
|
+
></audio-player>
|
|
19
|
+
</template>
|
|
20
|
+
|
|
21
|
+
<template name="xiaoeVideo">
|
|
22
|
+
<video bindloadedmetadata="videoLoad" class="{{item.classStr}}" src="{{item.attr.src}}" controls></video>
|
|
23
|
+
</template>
|
|
24
|
+
|
|
25
|
+
<template name="wxParseImg">
|
|
26
|
+
<image
|
|
27
|
+
class="{{item.classStr}} wxParse-{{item.tag}} {{!item.show?'hidden':''}} {{item.center?'box-center':''}}"
|
|
28
|
+
data-width="{{ item.width }}"
|
|
29
|
+
data-no_img_preview="{{item.no_img_preview}}"
|
|
30
|
+
data-from="{{item.from}}"
|
|
31
|
+
data-src="{{item.attr.src}}"
|
|
32
|
+
data-idx="{{item.imgIndex}}"
|
|
33
|
+
src="{{item.attr.src}}"
|
|
34
|
+
mode="widthFix"
|
|
35
|
+
style="width:{{ item.width }};max-width:100%;{{item.styleStr}};{{item.importWidth}};{{item.center?'display:block;':'display:inline-block;'}}"
|
|
36
|
+
bindload="imageInit"
|
|
37
|
+
catchtap="wxParsePreview"
|
|
38
|
+
/>
|
|
39
|
+
</template>
|
|
40
|
+
|
|
41
|
+
<template name="WxEmojiView" catchtap="showNoSupportUrl">
|
|
42
|
+
<view class="WxEmojiView wxParse-inline" style="{{item.styleStr}}">
|
|
43
|
+
<block wx:for="{{item.textArray}}" wx:key="">
|
|
44
|
+
<block class="{{item.text == '\\n' ? 'wxParse-hide':''}}" wx:if="{{item.node == 'text'}}">{{item.text}}</block>
|
|
45
|
+
<block wx:elif="{{item.node == 'element'}}">
|
|
46
|
+
<image class="wxEmoji" src="{{item.baseSrc}}{{item.text}}" />
|
|
47
|
+
</block>
|
|
48
|
+
</block>
|
|
49
|
+
</view>
|
|
50
|
+
</template>
|