xiaoe_mp_npm 1.0.21 → 1.0.22-test02

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.
Files changed (149) hide show
  1. package/.prettierrc.js +32 -6
  2. package/miniprogram_dist/GoodsItem/index.json +6 -6
  3. package/miniprogram_dist/GoodsItem/index.wxs +18 -18
  4. package/miniprogram_dist/LiveGoodsList/Header/index.js +54 -54
  5. package/miniprogram_dist/LiveGoodsList/Header/index.json +6 -6
  6. package/miniprogram_dist/LiveGoodsList/Header/index.less +45 -45
  7. package/miniprogram_dist/LiveGoodsList/Header/index.scss +105 -105
  8. package/miniprogram_dist/LiveGoodsList/Header/index.wxml +32 -32
  9. package/miniprogram_dist/LiveGoodsList/README.md +9 -9
  10. package/miniprogram_dist/LiveGoodsList/index.json +8 -8
  11. package/miniprogram_dist/LiveGoodsList/index.less +53 -53
  12. package/miniprogram_dist/LiveGoodsList/index.scss +92 -92
  13. package/miniprogram_dist/Task/TaskBubble/index.js +2 -1
  14. package/miniprogram_dist/Task/TaskPopup/component/TaskItem/index.js +241 -166
  15. package/miniprogram_dist/Task/TaskPopup/component/TaskItem/index.scss +26 -0
  16. package/miniprogram_dist/Task/TaskPopup/component/TaskItem/index.wxml +27 -8
  17. package/miniprogram_dist/Task/TaskPopup/component/TaskItem/index.wxss +96 -0
  18. package/miniprogram_dist/Task/TaskPopup/component/TaskList/index.js +4 -0
  19. package/miniprogram_dist/Task/TaskQuizPopup/components/quizContent/index.js +132 -0
  20. package/miniprogram_dist/Task/TaskQuizPopup/components/quizContent/index.json +6 -0
  21. package/miniprogram_dist/Task/TaskQuizPopup/components/quizContent/index.scss +192 -0
  22. package/miniprogram_dist/Task/TaskQuizPopup/components/quizContent/index.wxml +65 -0
  23. package/miniprogram_dist/Task/TaskQuizPopup/components/quizContent/index.wxs +79 -0
  24. package/miniprogram_dist/Task/TaskQuizPopup/components/quizContent/index.wxss +521 -0
  25. package/miniprogram_dist/Task/TaskQuizPopup/components/quizRichText/index.js +47 -0
  26. package/miniprogram_dist/Task/TaskQuizPopup/components/quizRichText/index.json +6 -0
  27. package/miniprogram_dist/Task/TaskQuizPopup/components/quizRichText/index.scss +7 -0
  28. package/miniprogram_dist/Task/TaskQuizPopup/components/quizRichText/index.wxml +2 -0
  29. package/miniprogram_dist/Task/TaskQuizPopup/components/quizRichText/index.wxss +298 -0
  30. package/miniprogram_dist/Task/TaskQuizPopup/components/wxParse/base.wxml +50 -0
  31. package/miniprogram_dist/Task/TaskQuizPopup/components/wxParse/html2json.js +623 -0
  32. package/miniprogram_dist/Task/TaskQuizPopup/components/wxParse/htmlparser.js +183 -0
  33. package/miniprogram_dist/Task/TaskQuizPopup/components/wxParse/iframeParse.js +216 -0
  34. package/miniprogram_dist/Task/TaskQuizPopup/components/wxParse/loop.wxml +3563 -0
  35. package/miniprogram_dist/Task/TaskQuizPopup/components/wxParse/showdown.js +2364 -0
  36. package/miniprogram_dist/Task/TaskQuizPopup/components/wxParse/wxDiscode.js +209 -0
  37. package/miniprogram_dist/Task/TaskQuizPopup/components/wxParse/wxParse.js +269 -0
  38. package/miniprogram_dist/Task/TaskQuizPopup/components/wxParse/wxParse.wxml +1276 -0
  39. package/miniprogram_dist/Task/TaskQuizPopup/components/wxParse/wxParse.wxss +316 -0
  40. package/miniprogram_dist/Task/TaskQuizPopup/index.js +232 -0
  41. package/miniprogram_dist/Task/TaskQuizPopup/index.json +8 -0
  42. package/miniprogram_dist/Task/TaskQuizPopup/index.scss +159 -0
  43. package/miniprogram_dist/Task/TaskQuizPopup/index.wxml +97 -0
  44. package/miniprogram_dist/Task/TaskQuizPopup/index.wxss +478 -0
  45. package/miniprogram_dist/Task/taskQuizRemindPopup/index.js +79 -0
  46. package/miniprogram_dist/Task/taskQuizRemindPopup/index.json +6 -0
  47. package/miniprogram_dist/Task/taskQuizRemindPopup/index.scss +108 -0
  48. package/miniprogram_dist/Task/taskQuizRemindPopup/index.wxml +27 -0
  49. package/miniprogram_dist/Task/taskQuizRemindPopup/index.wxss +286 -0
  50. package/miniprogram_dist/common/utils/tool.js +54 -48
  51. package/package.json +1 -1
  52. package/src/AliveInvite/LiveRoomVertical/index.wxss +252 -252
  53. package/src/CollectionAddress/index.wxss +5 -5
  54. package/src/ConfirmOrder/components/AddressEdit/index.wxss +120 -120
  55. package/src/ConfirmOrder/components/AddressManage/index.wxss +98 -98
  56. package/src/ConfirmOrder/components/AddressSelect/index.wxss +67 -67
  57. package/src/ConfirmOrder/components/ChoosePicker/index.wxss +18 -18
  58. package/src/ConfirmOrder/components/GoodsInfo/components/GoodsCommerce/components/entityGiftList/index.wxss +45 -45
  59. package/src/ConfirmOrder/components/GoodsInfo/components/GoodsCommerce/components/entityItem/index.wxss +100 -100
  60. package/src/ConfirmOrder/components/GoodsInfo/components/GoodsCommerce/index.wxss +55 -55
  61. package/src/ConfirmOrder/components/GoodsInfo/components/ImageData/index.wxss +13 -13
  62. package/src/ConfirmOrder/components/Header/index.wxss +26 -26
  63. package/src/ConfirmOrder/components/IntegralSelect/componenets/integralTips/index.wxss +85 -85
  64. package/src/ConfirmOrder/components/Invoice/components/InvoiceSelect/index.wxss +155 -155
  65. package/src/ConfirmOrder/components/Invoice/components/InvoiceTip/index.wxss +51 -51
  66. package/src/ConfirmOrder/components/ModeSelect/index.wxss +44 -44
  67. package/src/ConfirmOrder/components/PickupSelect/index.wxss +22 -22
  68. package/src/ConfirmOrder/components/SelectSite/index.wxss +82 -82
  69. package/src/ConfirmOrder/components/Shipper/index.wxss +76 -76
  70. package/src/ConfirmOrder/components/ShipperEdit/index.wxss +78 -78
  71. package/src/ConfirmOrder/components/WechatAddress/index.wxss +22 -22
  72. package/src/ConfirmOrder/index.wxss +5 -5
  73. package/src/CouponList/couponMsg/index.wxss +3 -3
  74. package/src/CustomPopup/index.wxss +22 -22
  75. package/src/GoodsItem/index.json +6 -6
  76. package/src/GoodsItem/index.wxs +18 -18
  77. package/src/LiveGoodsList/Header/index.js +54 -54
  78. package/src/LiveGoodsList/Header/index.json +6 -6
  79. package/src/LiveGoodsList/Header/index.less +45 -45
  80. package/src/LiveGoodsList/Header/index.scss +105 -105
  81. package/src/LiveGoodsList/Header/index.wxml +32 -32
  82. package/src/LiveGoodsList/README.md +9 -9
  83. package/src/LiveGoodsList/index.json +8 -8
  84. package/src/LiveGoodsList/index.less +53 -53
  85. package/src/LiveGoodsList/index.scss +92 -92
  86. package/src/LiveGoodsList/index.wxss +218 -218
  87. package/src/PayComplete/Components/CouponItem/index.wxss +122 -122
  88. package/src/PayComplete/Components/Header/index.wxss +27 -27
  89. package/src/PayComplete/Components/LeadGroup/index.wxss +33 -33
  90. package/src/PayComplete/Components/PayGifts/index.wxss +157 -157
  91. package/src/PayComplete/Components/PayState/earnIntegral/index.wxss +23 -23
  92. package/src/PayComplete/Components/PayState/index.wxss +20 -20
  93. package/src/PayComplete/index.wxss +27 -27
  94. package/src/PayModule/wechatLoading/index.wxss +57 -57
  95. package/src/Recommend/index.wxss +110 -110
  96. package/src/Sku/Header/index.wxss +27 -27
  97. package/src/Sku/goods-info/index.wxss +52 -52
  98. package/src/Sku/index/index.wxss +52 -52
  99. package/src/Sku/row-item/index.wxss +50 -50
  100. package/src/Sku/step/index.wxss +11 -11
  101. package/src/Task/TaskBubble/index.js +2 -1
  102. package/src/Task/TaskBubble/index.wxss +289 -289
  103. package/src/Task/TaskIcon/index.wxss +130 -130
  104. package/src/Task/TaskPopup/component/RewardList/index.wxss +18 -18
  105. package/src/Task/TaskPopup/component/TaskItem/index.js +241 -166
  106. package/src/Task/TaskPopup/component/TaskItem/index.scss +26 -0
  107. package/src/Task/TaskPopup/component/TaskItem/index.wxml +27 -8
  108. package/src/Task/TaskPopup/component/TaskItem/index.wxss +1 -394
  109. package/src/Task/TaskPopup/component/TaskList/index.js +4 -0
  110. package/src/Task/TaskPopup/component/TaskList/index.wxss +118 -118
  111. package/src/Task/TaskPopup/component/TaskType/index.wxss +110 -110
  112. package/src/Task/TaskPopup/index.wxss +406 -406
  113. package/src/Task/TaskQuizPopup/components/quizContent/index.js +132 -0
  114. package/src/Task/TaskQuizPopup/components/quizContent/index.json +6 -0
  115. package/src/Task/TaskQuizPopup/components/quizContent/index.scss +192 -0
  116. package/src/Task/TaskQuizPopup/components/quizContent/index.wxml +65 -0
  117. package/src/Task/TaskQuizPopup/components/quizContent/index.wxs +79 -0
  118. package/src/Task/TaskQuizPopup/components/quizContent/index.wxss +1 -0
  119. package/src/Task/TaskQuizPopup/components/quizRichText/index.js +47 -0
  120. package/src/Task/TaskQuizPopup/components/quizRichText/index.json +6 -0
  121. package/src/Task/TaskQuizPopup/components/quizRichText/index.scss +7 -0
  122. package/src/Task/TaskQuizPopup/components/quizRichText/index.wxml +2 -0
  123. package/src/Task/TaskQuizPopup/components/quizRichText/index.wxss +1 -0
  124. package/src/Task/TaskQuizPopup/components/wxParse/base.wxml +50 -0
  125. package/src/Task/TaskQuizPopup/components/wxParse/html2json.js +623 -0
  126. package/src/Task/TaskQuizPopup/components/wxParse/htmlparser.js +183 -0
  127. package/src/Task/TaskQuizPopup/components/wxParse/iframeParse.js +216 -0
  128. package/src/Task/TaskQuizPopup/components/wxParse/loop.wxml +3563 -0
  129. package/src/Task/TaskQuizPopup/components/wxParse/showdown.js +2364 -0
  130. package/src/Task/TaskQuizPopup/components/wxParse/wxDiscode.js +209 -0
  131. package/src/Task/TaskQuizPopup/components/wxParse/wxParse.js +269 -0
  132. package/src/Task/TaskQuizPopup/components/wxParse/wxParse.wxml +1276 -0
  133. package/src/Task/TaskQuizPopup/components/wxParse/wxParse.wxss +283 -0
  134. package/src/Task/TaskQuizPopup/index.js +232 -0
  135. package/src/Task/TaskQuizPopup/index.json +8 -0
  136. package/src/Task/TaskQuizPopup/index.scss +159 -0
  137. package/src/Task/TaskQuizPopup/index.wxml +97 -0
  138. package/src/Task/TaskQuizPopup/index.wxss +1 -0
  139. package/src/Task/taskQuizRemindPopup/index.js +79 -0
  140. package/src/Task/taskQuizRemindPopup/index.json +6 -0
  141. package/src/Task/taskQuizRemindPopup/index.scss +108 -0
  142. package/src/Task/taskQuizRemindPopup/index.wxml +27 -0
  143. package/src/Task/taskQuizRemindPopup/index.wxss +1 -0
  144. package/src/Task/taskReceivePopup/customPrizes/index.wxss +220 -220
  145. package/src/Task/taskReceivePopup/index.wxss +1 -1
  146. package/src/Task/taskReceivePopup/integral/index.wxss +94 -94
  147. package/src/common/css/theme.wxss +16 -16
  148. package/src/common/utils/tool.js +54 -48
  149. package/src/miniprogram_npm/miniprogram-computed/index.js +1 -0
@@ -0,0 +1,521 @@
1
+ image {
2
+ vertical-align: middle;
3
+ }
4
+ .card-margin-bottom {
5
+ margin-bottom: 4.26667vmin;
6
+ }
7
+ .question-cover {
8
+ display: flex;
9
+ flex-direction: column;
10
+ align-items: flex-start;
11
+ padding: 4.26667vmin 3.2vmin;
12
+ background-color: #ffffff;
13
+ border-radius: 2.13333vmin;
14
+ }
15
+ .question-cover .question-type {
16
+ display: flex;
17
+ padding: 0.53333vmin 1.06667vmin;
18
+ justify-content: center;
19
+ align-items: center;
20
+ border-radius: 0.53333vmin;
21
+ background: #f5f5f5;
22
+ backdrop-filter: blur(0.1rem);
23
+ font-size: 2.66667vmin;
24
+ font-style: normal;
25
+ font-weight: 500;
26
+ color: #b2b2b2;
27
+ margin-bottom: 2.13333vmin;
28
+ }
29
+ .question-cover .question-content-cover {
30
+ display: flex;
31
+ align-items: flex-start;
32
+ width: 100%;
33
+ margin-bottom: 6.4vmin;
34
+ color: #333333;
35
+ font-family: "PingFang SC";
36
+ font-size: 4.26667vmin;
37
+ font-style: normal;
38
+ font-weight: 500;
39
+ line-height: 6.4vmin;
40
+ }
41
+ .question-cover .question-option-list {
42
+ width: 100%;
43
+ }
44
+ .question-cover .question-option-list .question-option {
45
+ display: flex;
46
+ align-items: flex-start;
47
+ min-height: 6.4vmin;
48
+ border-radius: 2.13333vmin;
49
+ font-family: "PingFang SC";
50
+ font-size: 4.26667vmin;
51
+ font-style: normal;
52
+ font-weight: 400;
53
+ margin-bottom: 6.4vmin;
54
+ }
55
+ .question-cover .question-option-list .question-option:last-child {
56
+ margin-bottom: 0;
57
+ }
58
+ .question-cover .question-option-list .question-option .img-cover {
59
+ height: 6.4vmin;
60
+ width: 5.33333vmin;
61
+ display: flex;
62
+ flex-shrink: 0;
63
+ align-items: center;
64
+ margin-right: 2.13333vmin;
65
+ }
66
+ .question-cover .question-option-list .question-option .img-cover .check-icon {
67
+ width: 5.33333vmin;
68
+ height: 5.33333vmin;
69
+ }
70
+ .question-cover .question-option-list .question-option .judge-item {
71
+ font-size: 3.73333vmin;
72
+ font-weight: 400;
73
+ line-height: 5.86667vmin;
74
+ width: 100%;
75
+ }
76
+ .question-cover .question-option-list .question-option .index {
77
+ line-height: 6.4vmin;
78
+ }
79
+ .question-cover .question-option-list .question-option .title {
80
+ flex: 1;
81
+ overflow: hidden;
82
+ padding: 0;
83
+ word-wrap: break-word;
84
+ line-height: 6.4vmin;
85
+ box-sizing: border-box;
86
+ max-width: 100%;
87
+ }
88
+ .question-cover .question-analysis {
89
+ width: 100%;
90
+ margin-top: 6.4vmin;
91
+ font-size: 3.73333vmin;
92
+ padding: 4.26667vmin 3.2vmin;
93
+ display: flex;
94
+ flex-direction: column;
95
+ align-items: flex-start;
96
+ border-radius: 1.06667vmin;
97
+ background: #f5f5f5;
98
+ box-sizing: border-box;
99
+ }
100
+ .question-cover .question-analysis .question-analysis-top-part .question-result {
101
+ color: #ff4747;
102
+ font-size: 3.73333vmin;
103
+ font-style: normal;
104
+ font-weight: 500;
105
+ margin-bottom: 3.2vmin;
106
+ }
107
+ .question-cover .question-analysis .question-analysis-top-part .right-color {
108
+ color: #07c160;
109
+ }
110
+ .question-cover .question-analysis .question-analysis-top-part .question-answer-box {
111
+ display: flex;
112
+ }
113
+ .question-cover .question-analysis .question-analysis-top-part .question-answer-box .question-answer {
114
+ margin-right: 4.26667vmin;
115
+ font-weight: 400;
116
+ color: #666666;
117
+ }
118
+ .question-cover .question-analysis .question-tip {
119
+ margin-top: 3.2vmin;
120
+ margin-bottom: 1.06667vmin;
121
+ color: #666666;
122
+ line-height: 5.33333vmin;
123
+ }
124
+ .question-cover .question-analysis .question-analysis-content {
125
+ color: #333333;
126
+ font-family: "PingFang SC";
127
+ font-size: 3.73333vmin;
128
+ font-style: normal;
129
+ font-weight: 400;
130
+ line-height: 5.33333vmin;
131
+ }
132
+ @media screen and (min-width: 768px) and (orientation: portrait) {
133
+ .card-margin-bottom {
134
+ margin-bottom: 2.08333vmin;
135
+ }
136
+ .question-cover {
137
+ display: flex;
138
+ flex-direction: column;
139
+ align-items: flex-start;
140
+ padding: 2.08333vmin 1.5625vmin;
141
+ background-color: #ffffff;
142
+ border-radius: 1.04167vmin;
143
+ }
144
+ .question-cover .question-type {
145
+ display: flex;
146
+ padding: 0.26042vmin 0.52083vmin;
147
+ justify-content: center;
148
+ align-items: center;
149
+ border-radius: 0.26042vmin;
150
+ background: #f5f5f5;
151
+ backdrop-filter: blur(0.1rem);
152
+ font-size: 1.30208vmin;
153
+ font-style: normal;
154
+ font-weight: 500;
155
+ color: #b2b2b2;
156
+ margin-bottom: 1.04167vmin;
157
+ }
158
+ .question-cover .question-content-cover {
159
+ display: flex;
160
+ align-items: flex-start;
161
+ width: 100%;
162
+ margin-bottom: 3.125vmin;
163
+ color: #333333;
164
+ font-family: "PingFang SC";
165
+ font-size: 2.08333vmin;
166
+ font-style: normal;
167
+ font-weight: 500;
168
+ line-height: 3.125vmin;
169
+ }
170
+ .question-cover .question-option-list {
171
+ width: 100%;
172
+ }
173
+ .question-cover .question-option-list .question-option {
174
+ display: flex;
175
+ align-items: flex-start;
176
+ min-height: 3.125vmin;
177
+ border-radius: 1.04167vmin;
178
+ font-family: "PingFang SC";
179
+ font-size: 2.08333vmin;
180
+ font-style: normal;
181
+ font-weight: 400;
182
+ margin-bottom: 3.125vmin;
183
+ }
184
+ .question-cover .question-option-list .question-option:last-child {
185
+ margin-bottom: 0;
186
+ }
187
+ .question-cover .question-option-list .question-option .img-cover {
188
+ height: 3.125vmin;
189
+ width: 2.60417vmin;
190
+ display: flex;
191
+ flex-shrink: 0;
192
+ align-items: center;
193
+ margin-right: 1.04167vmin;
194
+ }
195
+ .question-cover .question-option-list .question-option .img-cover .check-icon {
196
+ width: 2.60417vmin;
197
+ height: 2.60417vmin;
198
+ }
199
+ .question-cover .question-option-list .question-option .judge-item {
200
+ font-size: 1.82292vmin;
201
+ font-weight: 400;
202
+ line-height: 2.86458vmin;
203
+ width: 100%;
204
+ }
205
+ .question-cover .question-option-list .question-option .index {
206
+ line-height: 3.125vmin;
207
+ }
208
+ .question-cover .question-option-list .question-option .title {
209
+ flex: 1;
210
+ overflow: hidden;
211
+ padding: 0;
212
+ word-wrap: break-word;
213
+ line-height: 3.125vmin;
214
+ box-sizing: border-box;
215
+ max-width: 100%;
216
+ }
217
+ .question-cover .question-analysis {
218
+ width: 100%;
219
+ margin-top: 3.125vmin;
220
+ font-size: 1.82292vmin;
221
+ padding: 2.08333vmin 1.5625vmin;
222
+ display: flex;
223
+ flex-direction: column;
224
+ align-items: flex-start;
225
+ border-radius: 0.52083vmin;
226
+ background: #f5f5f5;
227
+ box-sizing: border-box;
228
+ }
229
+ .question-cover .question-analysis .question-analysis-top-part .question-result {
230
+ color: #ff4747;
231
+ font-size: 1.82292vmin;
232
+ font-style: normal;
233
+ font-weight: 500;
234
+ margin-bottom: 1.5625vmin;
235
+ }
236
+ .question-cover .question-analysis .question-analysis-top-part .right-color {
237
+ color: #07c160;
238
+ }
239
+ .question-cover .question-analysis .question-analysis-top-part .question-answer-box {
240
+ display: flex;
241
+ }
242
+ .question-cover .question-analysis .question-analysis-top-part .question-answer-box .question-answer {
243
+ margin-right: 2.08333vmin;
244
+ font-weight: 400;
245
+ color: #666666;
246
+ }
247
+ .question-cover .question-analysis .question-tip {
248
+ margin-top: 1.5625vmin;
249
+ margin-bottom: 0.52083vmin;
250
+ color: #666666;
251
+ line-height: 2.60417vmin;
252
+ }
253
+ .question-cover .question-analysis .question-analysis-content {
254
+ color: #333333;
255
+ font-family: "PingFang SC";
256
+ font-size: 1.82292vmin;
257
+ font-style: normal;
258
+ font-weight: 400;
259
+ line-height: 2.60417vmin;
260
+ }
261
+ }
262
+ @media screen and (min-height: 630px) and (orientation: landscape) {
263
+ .card-margin-bottom {
264
+ margin-bottom: 2.53968vmin;
265
+ }
266
+ .question-cover {
267
+ display: flex;
268
+ flex-direction: column;
269
+ align-items: flex-start;
270
+ padding: 2.53968vmin 1.90476vmin;
271
+ background-color: #ffffff;
272
+ border-radius: 1.26984vmin;
273
+ }
274
+ .question-cover .question-type {
275
+ display: flex;
276
+ padding: 0.31746vmin 0.63492vmin;
277
+ justify-content: center;
278
+ align-items: center;
279
+ border-radius: 0.31746vmin;
280
+ background: #f5f5f5;
281
+ backdrop-filter: blur(0.1rem);
282
+ font-size: 1.5873vmin;
283
+ font-style: normal;
284
+ font-weight: 500;
285
+ color: #b2b2b2;
286
+ margin-bottom: 1.26984vmin;
287
+ }
288
+ .question-cover .question-content-cover {
289
+ display: flex;
290
+ align-items: flex-start;
291
+ width: 100%;
292
+ margin-bottom: 3.80952vmin;
293
+ color: #333333;
294
+ font-family: "PingFang SC";
295
+ font-size: 2.53968vmin;
296
+ font-style: normal;
297
+ font-weight: 500;
298
+ line-height: 3.80952vmin;
299
+ }
300
+ .question-cover .question-option-list {
301
+ width: 100%;
302
+ }
303
+ .question-cover .question-option-list .question-option {
304
+ display: flex;
305
+ align-items: flex-start;
306
+ min-height: 3.80952vmin;
307
+ border-radius: 1.26984vmin;
308
+ font-family: "PingFang SC";
309
+ font-size: 2.53968vmin;
310
+ font-style: normal;
311
+ font-weight: 400;
312
+ margin-bottom: 3.80952vmin;
313
+ }
314
+ .question-cover .question-option-list .question-option:last-child {
315
+ margin-bottom: 0;
316
+ }
317
+ .question-cover .question-option-list .question-option .img-cover {
318
+ height: 3.80952vmin;
319
+ width: 3.1746vmin;
320
+ display: flex;
321
+ flex-shrink: 0;
322
+ align-items: center;
323
+ margin-right: 1.26984vmin;
324
+ }
325
+ .question-cover .question-option-list .question-option .img-cover .check-icon {
326
+ width: 3.1746vmin;
327
+ height: 3.1746vmin;
328
+ }
329
+ .question-cover .question-option-list .question-option .judge-item {
330
+ font-size: 2.22222vmin;
331
+ font-weight: 400;
332
+ line-height: 3.49206vmin;
333
+ width: 100%;
334
+ }
335
+ .question-cover .question-option-list .question-option .index {
336
+ line-height: 3.80952vmin;
337
+ }
338
+ .question-cover .question-option-list .question-option .title {
339
+ flex: 1;
340
+ overflow: hidden;
341
+ padding: 0;
342
+ word-wrap: break-word;
343
+ line-height: 3.80952vmin;
344
+ box-sizing: border-box;
345
+ max-width: 100%;
346
+ }
347
+ .question-cover .question-analysis {
348
+ width: 100%;
349
+ margin-top: 3.80952vmin;
350
+ font-size: 2.22222vmin;
351
+ padding: 2.53968vmin 1.90476vmin;
352
+ display: flex;
353
+ flex-direction: column;
354
+ align-items: flex-start;
355
+ border-radius: 0.63492vmin;
356
+ background: #f5f5f5;
357
+ box-sizing: border-box;
358
+ }
359
+ .question-cover .question-analysis .question-analysis-top-part .question-result {
360
+ color: #ff4747;
361
+ font-size: 2.22222vmin;
362
+ font-style: normal;
363
+ font-weight: 500;
364
+ margin-bottom: 1.90476vmin;
365
+ }
366
+ .question-cover .question-analysis .question-analysis-top-part .right-color {
367
+ color: #07c160;
368
+ }
369
+ .question-cover .question-analysis .question-analysis-top-part .question-answer-box {
370
+ display: flex;
371
+ }
372
+ .question-cover .question-analysis .question-analysis-top-part .question-answer-box .question-answer {
373
+ margin-right: 2.53968vmin;
374
+ font-weight: 400;
375
+ color: #666666;
376
+ }
377
+ .question-cover .question-analysis .question-tip {
378
+ margin-top: 1.90476vmin;
379
+ margin-bottom: 0.63492vmin;
380
+ color: #666666;
381
+ line-height: 3.1746vmin;
382
+ }
383
+ .question-cover .question-analysis .question-analysis-content {
384
+ color: #333333;
385
+ font-family: "PingFang SC";
386
+ font-size: 2.22222vmin;
387
+ font-style: normal;
388
+ font-weight: 400;
389
+ line-height: 3.1746vmin;
390
+ }
391
+ }
392
+ @media screen and (min-height: 768px) and (orientation: landscape) {
393
+ .card-margin-bottom {
394
+ margin-bottom: 2.08333vmin;
395
+ }
396
+ .question-cover {
397
+ display: flex;
398
+ flex-direction: column;
399
+ align-items: flex-start;
400
+ padding: 2.08333vmin 1.5625vmin;
401
+ background-color: #ffffff;
402
+ border-radius: 1.04167vmin;
403
+ }
404
+ .question-cover .question-type {
405
+ display: flex;
406
+ padding: 0.26042vmin 0.52083vmin;
407
+ justify-content: center;
408
+ align-items: center;
409
+ border-radius: 0.26042vmin;
410
+ background: #f5f5f5;
411
+ backdrop-filter: blur(0.1rem);
412
+ font-size: 1.30208vmin;
413
+ font-style: normal;
414
+ font-weight: 500;
415
+ color: #b2b2b2;
416
+ margin-bottom: 1.04167vmin;
417
+ }
418
+ .question-cover .question-content-cover {
419
+ display: flex;
420
+ align-items: flex-start;
421
+ width: 100%;
422
+ margin-bottom: 3.125vmin;
423
+ color: #333333;
424
+ font-family: "PingFang SC";
425
+ font-size: 2.08333vmin;
426
+ font-style: normal;
427
+ font-weight: 500;
428
+ line-height: 3.125vmin;
429
+ }
430
+ .question-cover .question-option-list {
431
+ width: 100%;
432
+ }
433
+ .question-cover .question-option-list .question-option {
434
+ display: flex;
435
+ align-items: flex-start;
436
+ min-height: 3.125vmin;
437
+ border-radius: 1.04167vmin;
438
+ font-family: "PingFang SC";
439
+ font-size: 2.08333vmin;
440
+ font-style: normal;
441
+ font-weight: 400;
442
+ margin-bottom: 3.125vmin;
443
+ }
444
+ .question-cover .question-option-list .question-option:last-child {
445
+ margin-bottom: 0;
446
+ }
447
+ .question-cover .question-option-list .question-option .img-cover {
448
+ height: 3.125vmin;
449
+ width: 2.60417vmin;
450
+ display: flex;
451
+ flex-shrink: 0;
452
+ align-items: center;
453
+ margin-right: 1.04167vmin;
454
+ }
455
+ .question-cover .question-option-list .question-option .img-cover .check-icon {
456
+ width: 2.60417vmin;
457
+ height: 2.60417vmin;
458
+ }
459
+ .question-cover .question-option-list .question-option .judge-item {
460
+ font-size: 1.82292vmin;
461
+ font-weight: 400;
462
+ line-height: 2.86458vmin;
463
+ width: 100%;
464
+ }
465
+ .question-cover .question-option-list .question-option .index {
466
+ line-height: 3.125vmin;
467
+ }
468
+ .question-cover .question-option-list .question-option .title {
469
+ flex: 1;
470
+ overflow: hidden;
471
+ padding: 0;
472
+ word-wrap: break-word;
473
+ line-height: 3.125vmin;
474
+ box-sizing: border-box;
475
+ max-width: 100%;
476
+ }
477
+ .question-cover .question-analysis {
478
+ width: 100%;
479
+ margin-top: 3.125vmin;
480
+ font-size: 1.82292vmin;
481
+ padding: 2.08333vmin 1.5625vmin;
482
+ display: flex;
483
+ flex-direction: column;
484
+ align-items: flex-start;
485
+ border-radius: 0.52083vmin;
486
+ background: #f5f5f5;
487
+ box-sizing: border-box;
488
+ }
489
+ .question-cover .question-analysis .question-analysis-top-part .question-result {
490
+ color: #ff4747;
491
+ font-size: 1.82292vmin;
492
+ font-style: normal;
493
+ font-weight: 500;
494
+ margin-bottom: 1.5625vmin;
495
+ }
496
+ .question-cover .question-analysis .question-analysis-top-part .right-color {
497
+ color: #07c160;
498
+ }
499
+ .question-cover .question-analysis .question-analysis-top-part .question-answer-box {
500
+ display: flex;
501
+ }
502
+ .question-cover .question-analysis .question-analysis-top-part .question-answer-box .question-answer {
503
+ margin-right: 2.08333vmin;
504
+ font-weight: 400;
505
+ color: #666666;
506
+ }
507
+ .question-cover .question-analysis .question-tip {
508
+ margin-top: 1.5625vmin;
509
+ margin-bottom: 0.52083vmin;
510
+ color: #666666;
511
+ line-height: 2.60417vmin;
512
+ }
513
+ .question-cover .question-analysis .question-analysis-content {
514
+ color: #333333;
515
+ font-family: "PingFang SC";
516
+ font-size: 1.82292vmin;
517
+ font-style: normal;
518
+ font-weight: 400;
519
+ line-height: 2.60417vmin;
520
+ }
521
+ }
@@ -0,0 +1,47 @@
1
+ import WxParse from '../wxParse/wxParse'
2
+ Component({
3
+
4
+ /**
5
+ * 组件的属性列表
6
+ */
7
+ properties: {
8
+ // 展示的内容对象
9
+ richTextContent: {
10
+ type: String,
11
+ value: '',
12
+ observer(val){
13
+ // 获取富文本的内容操作
14
+ if(val) this.getRichTextContent(val)
15
+ }
16
+ }
17
+ },
18
+
19
+ /**
20
+ * 组件的初始数据
21
+ */
22
+ data: {
23
+
24
+ },
25
+
26
+ /**
27
+ * 组件的方法列表
28
+ */
29
+ methods: {
30
+ // 获取富文本的内容
31
+ getRichTextContent(richContent) {
32
+ WxParse.wxParse('richContent', 'html', richContent, this)
33
+ setTimeout(() => {
34
+ console.error('jer===========richContent', this.data.richContent);
35
+ }, 0);
36
+ },
37
+ imageInit(e) {
38
+ WxParse.imageLoad(e, this).then(() => {
39
+ // 不知道为啥不响应渲染,所以这里重新setdata一次
40
+ this.setData({
41
+ richContent: this.data.richContent
42
+ })
43
+ console.error('jer===========????img', this.data.richTextContent, this.data.richContent);
44
+ })
45
+ },
46
+ }
47
+ })
@@ -0,0 +1,6 @@
1
+ {
2
+ "component": true,
3
+ "usingComponents": {
4
+ "audio-player": "../../../../../../../components/audio_player/index"
5
+ }
6
+ }
@@ -0,0 +1,7 @@
1
+ $deviceWidth: 750;
2
+
3
+ @function vmin($rpx) {
4
+ @return #{$rpx * 100 / $deviceWidth}vmin;
5
+ }
6
+
7
+ @import '..\\wxParse/wxParse.wxss';
@@ -0,0 +1,2 @@
1
+ <import src="../wxParse/wxParse.wxml" />
2
+ <template is="wxParse" data="{{ wxParseData:richContent.nodes }}" />