hh-doctor-sdk 0.0.1

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 (131) hide show
  1. package/components/apis/api-host-define.js +69 -0
  2. package/components/apis/consultation-reply-api.js +21 -0
  3. package/components/apis/dicom-api.js +31 -0
  4. package/components/apis/family-api.js +20 -0
  5. package/components/apis/file-upload-api.js +35 -0
  6. package/components/apis/order-app-api.js +206 -0
  7. package/components/apis/stat-log-api.js +42 -0
  8. package/components/apis/video-chat-log-api.js +47 -0
  9. package/components/apis/video-message-api.js +88 -0
  10. package/components/consultation/detail/behaviors/chat-cell-base-behaviors.js +29 -0
  11. package/components/consultation/detail/behaviors/consultation-behaviors.js +60 -0
  12. package/components/consultation/detail/behaviors/consultation-chat-behaviors.js +321 -0
  13. package/components/consultation/detail/behaviors/consultation-header-media-behaviors.js +176 -0
  14. package/components/consultation/detail/behaviors/consultation-header-text-behaviors.js +325 -0
  15. package/components/consultation/detail/behaviors/consultation-reply-behaviors.js +67 -0
  16. package/components/consultation/detail/consultation-detail-page.js +219 -0
  17. package/components/consultation/detail/consultation-detail-page.json +10 -0
  18. package/components/consultation/detail/consultation-detail-page.wxml +65 -0
  19. package/components/consultation/detail/consultation-detail-page.wxss +51 -0
  20. package/components/consultation/detail/widget/case-image-filter.js +47 -0
  21. package/components/consultation/detail/widget/chat-base-cell/chat-base-cell.js +31 -0
  22. package/components/consultation/detail/widget/chat-base-cell/chat-base-cell.json +4 -0
  23. package/components/consultation/detail/widget/chat-base-cell/chat-base-cell.wxml +17 -0
  24. package/components/consultation/detail/widget/chat-base-cell/chat-base-cell.wxss +9 -0
  25. package/components/consultation/detail/widget/chat-bottom/chat-bottom.js +100 -0
  26. package/components/consultation/detail/widget/chat-bottom/chat-bottom.json +4 -0
  27. package/components/consultation/detail/widget/chat-bottom/chat-bottom.wxml +24 -0
  28. package/components/consultation/detail/widget/chat-bottom/chat-bottom.wxss +54 -0
  29. package/components/consultation/detail/widget/chat-bottom/chat-menu-builder.js +131 -0
  30. package/components/consultation/detail/widget/chat-cell-template/chat-cell-template.wxml +173 -0
  31. package/components/consultation/detail/widget/chat-cell.wxss +394 -0
  32. package/components/consultation/detail/widget/detail-media/detail-media.js +47 -0
  33. package/components/consultation/detail/widget/detail-media/detail-media.json +4 -0
  34. package/components/consultation/detail/widget/detail-media/detail-media.wxml +12 -0
  35. package/components/consultation/detail/widget/detail-media/detail-media.wxss +57 -0
  36. package/components/consultation/detail/widget/detail-text/detail-text.js +31 -0
  37. package/components/consultation/detail/widget/detail-text/detail-text.json +4 -0
  38. package/components/consultation/detail/widget/detail-text/detail-text.wxml +6 -0
  39. package/components/consultation/detail/widget/detail-text/detail-text.wxss +14 -0
  40. package/components/consultation/evaluate/evaluate-page.js +157 -0
  41. package/components/consultation/evaluate/evaluate-page.json +3 -0
  42. package/components/consultation/evaluate/evaluate-page.wxml +42 -0
  43. package/components/consultation/evaluate/evaluate-page.wxss +103 -0
  44. package/components/consultation/list/behaviors/consultation-list-base-behaviors.js +144 -0
  45. package/components/consultation/list/consultation-list-page.js +84 -0
  46. package/components/consultation/list/consultation-list-page.json +5 -0
  47. package/components/consultation/list/consultation-list-page.wxml +53 -0
  48. package/components/consultation/list/consultation-list-page.wxss +105 -0
  49. package/components/consultation/reply/behaviors/reply-base-behaviors.js +175 -0
  50. package/components/consultation/reply/consultation-reply-page.js +251 -0
  51. package/components/consultation/reply/consultation-reply-page.json +6 -0
  52. package/components/consultation/reply/consultation-reply-page.wxml +103 -0
  53. package/components/consultation/reply/consultation-reply-page.wxss +169 -0
  54. package/components/consultation/reply/widget/audio-record-view/audio-record-view.js +144 -0
  55. package/components/consultation/reply/widget/audio-record-view/audio-record-view.json +4 -0
  56. package/components/consultation/reply/widget/audio-record-view/audio-record-view.wxml +27 -0
  57. package/components/consultation/reply/widget/audio-record-view/audio-record-view.wxss +197 -0
  58. package/components/hh-doctor.js +36 -0
  59. package/components/hh-navigation.js +87 -0
  60. package/components/public/app-config.js +13 -0
  61. package/components/public/behaviors/order-base-behaviors.js +53 -0
  62. package/components/public/cache-data.js +134 -0
  63. package/components/public/doctor-loader.js +60 -0
  64. package/components/public/im-manager.js +135 -0
  65. package/components/public/pdf-viewer.js +59 -0
  66. package/components/public/stat-log.js +13 -0
  67. package/components/static/Agora_Miniapp_SDK_for_WeChat.js +2 -0
  68. package/components/static/trtc-wx.js +2 -0
  69. package/components/uikit/css/common.wxss +23 -0
  70. package/components/uikit/custom-bottom-pop/custom-bottom-pop.js +37 -0
  71. package/components/uikit/custom-bottom-pop/custom-bottom-pop.json +4 -0
  72. package/components/uikit/custom-bottom-pop/custom-bottom-pop.wxml +9 -0
  73. package/components/uikit/custom-bottom-pop/custom-bottom-pop.wxss +79 -0
  74. package/components/uikit/date-time-picker/date-time-picker.js +115 -0
  75. package/components/uikit/web-view-page/web-view-page.js +87 -0
  76. package/components/uikit/web-view-page/web-view-page.json +3 -0
  77. package/components/uikit/web-view-page/web-view-page.wxml +6 -0
  78. package/components/uikit/web-view-page/web-view-page.wxss +1 -0
  79. package/components/utils/checksumUtils.js +56 -0
  80. package/components/utils/common-utils.js +59 -0
  81. package/components/utils/dateUtils.js +142 -0
  82. package/components/utils/eventBus.js +77 -0
  83. package/components/utils/httpUtils.js +123 -0
  84. package/components/utils/number-utils.js +48 -0
  85. package/components/utils/permission-utils.js +164 -0
  86. package/components/video-chat/agora-rtc/agora-player/agora-player.js +106 -0
  87. package/components/video-chat/agora-rtc/agora-player/agora-player.json +4 -0
  88. package/components/video-chat/agora-rtc/agora-player/agora-player.wxml +24 -0
  89. package/components/video-chat/agora-rtc/agora-player/agora-player.wxss +1 -0
  90. package/components/video-chat/agora-rtc/agora-pusher/agora-pusher.js +92 -0
  91. package/components/video-chat/agora-rtc/agora-pusher/agora-pusher.json +4 -0
  92. package/components/video-chat/agora-rtc/agora-pusher/agora-pusher.wxml +22 -0
  93. package/components/video-chat/agora-rtc/agora-pusher/agora-pusher.wxss +1 -0
  94. package/components/video-chat/agora-rtc/agora-rtc.js +391 -0
  95. package/components/video-chat/agora-rtc/agora-rtc.json +7 -0
  96. package/components/video-chat/agora-rtc/agora-rtc.wxml +39 -0
  97. package/components/video-chat/agora-rtc/agora-rtc.wxss +1 -0
  98. package/components/video-chat/callback/callback.js +39 -0
  99. package/components/video-chat/callback/callback.json +4 -0
  100. package/components/video-chat/callback/callback.wxml +29 -0
  101. package/components/video-chat/callback/callback.wxss +26 -0
  102. package/components/video-chat/calling/calling.js +75 -0
  103. package/components/video-chat/calling/calling.json +4 -0
  104. package/components/video-chat/calling/calling.wxml +32 -0
  105. package/components/video-chat/calling/calling.wxss +45 -0
  106. package/components/video-chat/controller/controller.js +86 -0
  107. package/components/video-chat/controller/controller.json +4 -0
  108. package/components/video-chat/controller/controller.wxml +73 -0
  109. package/components/video-chat/controller/controller.wxss +71 -0
  110. package/components/video-chat/remote-player/remote-player.js +42 -0
  111. package/components/video-chat/remote-player/remote-player.json +4 -0
  112. package/components/video-chat/remote-player/remote-player.wxml +37 -0
  113. package/components/video-chat/remote-player/remote-player.wxss +1 -0
  114. package/components/video-chat/video-chat.js +297 -0
  115. package/components/video-chat/video-chat.json +7 -0
  116. package/components/video-chat/video-chat.wxml +56 -0
  117. package/components/video-chat/video-chat.wxss +97 -0
  118. package/components/video-chat-page/behaviors/chat-files-behaviors.js +243 -0
  119. package/components/video-chat-page/behaviors/chat-log-behaviors.js +90 -0
  120. package/components/video-chat-page/behaviors/chat-sound-behaviors.js +60 -0
  121. package/components/video-chat-page/behaviors/video-chat-behaviors.js +524 -0
  122. package/components/video-chat-page/case-group-view/case-group-view.js +38 -0
  123. package/components/video-chat-page/case-group-view/case-group-view.json +4 -0
  124. package/components/video-chat-page/case-group-view/case-group-view.wxml +32 -0
  125. package/components/video-chat-page/case-group-view/case-group-view.wxss +44 -0
  126. package/components/video-chat-page/video-chat-defines.js +39 -0
  127. package/components/video-chat-page/video-chat-page.js +212 -0
  128. package/components/video-chat-page/video-chat-page.json +14 -0
  129. package/components/video-chat-page/video-chat-page.wxml +88 -0
  130. package/components/video-chat-page/video-chat-page.wxss +45 -0
  131. package/package.json +18 -0
@@ -0,0 +1,394 @@
1
+ .chat-triangle {
2
+ height: 0px;
3
+ width: 0px;
4
+ border-width: 12rpx;
5
+ border-style: solid;
6
+ border-color: transparent white transparent transparent;
7
+ position: relative;
8
+ left: -22rpx;
9
+ float: left;
10
+ top: 5rpx;
11
+ }
12
+
13
+ .chat-triangle.sender {
14
+ border-color: transparent transparent transparent #c6e2fe;
15
+ left: auto;
16
+ float: right;
17
+ right: -22rpx;
18
+ }
19
+
20
+ .chat-cell {
21
+ float: left;
22
+ font-size: 28rpx;
23
+ margin-left: 10rpx;
24
+ }
25
+
26
+ .chat-cell.sender {
27
+ float: right;
28
+ margin-right: 10rpx;
29
+ }
30
+
31
+ .chat-cell-photo-image {
32
+ width: 80rpx;
33
+ height: 80rpx;
34
+ border-radius: 10rpx;
35
+ }
36
+
37
+ .chat-cell-photo {
38
+ float: left;
39
+ }
40
+ .chat-cell-content {
41
+ background-color: white;
42
+ margin: 0 50px 10px 50px;
43
+ padding: 10rpx 20rpx 10rpx 0;
44
+ border-radius: 7px;
45
+ width: fit-content;
46
+ min-height: 30rpx;
47
+ }
48
+
49
+ .chat-cell-sender-photo {
50
+ float: right;
51
+ }
52
+
53
+ .chat-cell-sender-content {
54
+ background-color: #c6e2fe;
55
+ margin: 0px 50px 10px 50px;
56
+ padding: 10rpx 0 10rpx 20rpx;
57
+ border-radius: 7px;
58
+ width: fit-content;
59
+ min-height: 30rpx;
60
+ }
61
+
62
+ .chat-time-container {
63
+ display: flex;
64
+ width: 100%;
65
+ justify-content: center;
66
+ margin-top: 30rpx;
67
+ }
68
+
69
+ .chat-time {
70
+ justify-content: center;
71
+ font-size: 20rpx;
72
+ color: white;
73
+ background-color: rgba(0, 0, 0, 0.3);
74
+ padding: 4rpx 8rpx 4rpx 8rpx;
75
+ border-radius: 10rpx;
76
+ margin-bottom: 20rpx;
77
+ }
78
+
79
+ .chat-image-container {
80
+ display: flex;
81
+ position: relative;
82
+ margin: 10rpx 0 10rpx 0;
83
+ }
84
+
85
+ .chat-image {
86
+ max-width: 150rpx;
87
+ max-height: 200rpx;
88
+ background-color: #f3f5fb;
89
+ }
90
+
91
+ .chat-video-play {
92
+ width: 60rpx;
93
+ height: 60rpx;
94
+ position: absolute;
95
+ top: calc(50% - 30rpx);
96
+ left: calc(50% - 30rpx);
97
+ }
98
+
99
+ .chat-image-count {
100
+ position: absolute;
101
+ right: 0;
102
+ bottom: 0;
103
+ font-size: 20rpx;
104
+ color: white;
105
+ background-color: rgba(0, 0, 0, 0.3);
106
+ padding: 2rpx 8rpx 2rpx 10rpx;
107
+ border-radius: 20rpx 0 0 0;
108
+ }
109
+
110
+ .pdf-body {
111
+ display: flex;
112
+ padding: 10rpx 0 0 0;
113
+ }
114
+
115
+ .pdf-body-image {
116
+ width: 100rpx;
117
+ height: 100rpx;
118
+ margin: auto;
119
+ }
120
+
121
+ .pdf-content {
122
+ display: flex;
123
+ flex-direction: column;
124
+ margin-left: 10rpx;
125
+ }
126
+
127
+ .pdf-name {
128
+ font-size: 24rpx;
129
+ color: #333333;
130
+ }
131
+
132
+ .pdf-size {
133
+ font-size: 20rpx;
134
+ color: grey;
135
+ margin-top: 10rpx;
136
+ }
137
+
138
+ .chatting-text-container {
139
+ display: flex;
140
+ flex-direction: column;
141
+ padding: 0;
142
+ line-height: 1.5;
143
+ }
144
+
145
+ .chatting-text {
146
+ display: contents;
147
+ font-size: 24rpx;
148
+ color: #333333;
149
+ word-break: break-all;
150
+ }
151
+
152
+ .chatting-text.link {
153
+ font-size: 24rpx;
154
+ color: #1482f0;
155
+ text-decoration: underline;
156
+ word-break: break-all;
157
+ }
158
+
159
+ .msg-sound-container {
160
+ width: 200rpx;
161
+ height: 40rpx;
162
+ position: relative;
163
+ flex-direction: row;
164
+ }
165
+
166
+ .msg-sound-text {
167
+ margin-top: 2rpx;
168
+ position: absolute;
169
+ font-size: 26rpx;
170
+ color: #333333;
171
+ left: 40rpx;
172
+ }
173
+
174
+ .msg-sound-text.sender {
175
+ left: auto;
176
+ right: 60rpx;
177
+ }
178
+
179
+ .sound-icon {
180
+ border: 2px solid #646464;
181
+ border-left: 2px solid transparent;
182
+ border-bottom: 2px solid transparent;
183
+ border-top: 2px solid transparent;
184
+ border-radius: 50%;
185
+ margin-top: -5rpx;
186
+ }
187
+
188
+ .sound-icon.sender {
189
+ border: 2px solid #646464;
190
+ border-right: 2px solid transparent;
191
+ border-bottom: 2px solid transparent;
192
+ border-top: 2px solid transparent;
193
+ }
194
+
195
+ .sound-icon.arc1 {
196
+ width: 0px;
197
+ height: 0px;
198
+ border-width: 3px;
199
+ position: absolute;
200
+ top: calc(50% - 1px);
201
+ /* margin: calc(50% - 1.5px) 0 0 0; */
202
+ }
203
+
204
+ .sound-icon.arc2 {
205
+ width: 10px;
206
+ height: 10px;
207
+ position: absolute;
208
+ top: calc(50% - 5px);
209
+ margin-left: -8rpx;
210
+ /* margin: calc(50% - 5px) 0 0 0; */
211
+ }
212
+
213
+ .sound-icon.arc3 {
214
+ width: 20px;
215
+ height: 20px;
216
+ position: absolute;
217
+ top: calc(50% - 10px);
218
+ margin-left: -19rpx;
219
+ }
220
+
221
+ .sound-icon.arc1.sender {
222
+ left: auto;
223
+ right: 8px;
224
+ }
225
+
226
+ .sound-icon.arc2.sender {
227
+ left: auto;
228
+ right: 5px;
229
+ }
230
+
231
+ .sound-icon.arc3.sender {
232
+ left: auto;
233
+ right: 0px;
234
+ }
235
+
236
+ .sound-length {
237
+ margin-left: 10px;
238
+ line-height: 40px;
239
+ height: 40px;
240
+ font-size: 12px;
241
+ color: #969696;
242
+ }
243
+
244
+ .sound-length.sender {
245
+ margin-left: auto;
246
+ margin-right: 10px;
247
+ }
248
+
249
+ .notify-end-time-body {
250
+ display: flex;
251
+ justify-content: center;
252
+ align-items: flex-start;
253
+ }
254
+
255
+ .notify-end-time-icon {
256
+ width: 50rpx;
257
+ height: 50rpx;
258
+ margin: auto;
259
+ }
260
+
261
+ .notify-end-time-text {
262
+ font-size: 24rpx;
263
+ color: #333333;
264
+ margin-left: 10rpx;
265
+ margin: auto 0 auto 10rpx;
266
+ }
267
+
268
+ .notify-time-container {
269
+ display: flex;
270
+ flex-direction: column;
271
+ align-items: flex-end;
272
+ }
273
+
274
+ .notify-time-edit {
275
+ font-size: 24rpx;
276
+ color: #0096f0;
277
+ margin: 0rpx 0 10rpx 0;
278
+ }
279
+
280
+ .notify-time-join {
281
+ width: 100%;
282
+ font-size: 24rpx;
283
+ color: white;
284
+ background-color: #1482f0;
285
+ padding: 16rpx 0rpx;
286
+ margin: 10rpx 0;
287
+ text-align: center;
288
+ border-radius: 10rpx;
289
+ }
290
+
291
+ .update-notice-body {
292
+ width: 100%;
293
+ display: flex;
294
+ flex-direction: column;
295
+ align-items: center;
296
+ margin: 20rpx 0;
297
+ }
298
+
299
+ .update-notice-text {
300
+ width: fit-content;
301
+ background-color: white;
302
+ padding: 10rpx 20rpx;
303
+ border-radius: 10rpx;
304
+ font-size: 20rpx;
305
+ color: #0592f5;
306
+ }
307
+
308
+ .meesage-tip-container {
309
+ flex-direction: column;
310
+ }
311
+
312
+ .message-tip-box {
313
+ background-color: white;
314
+ margin: 0 50rpx 0 50rpx;
315
+ align-items: center;
316
+ display: flex;
317
+ flex-direction: column;
318
+ border-radius: 10rpx;
319
+ overflow: hidden;
320
+ }
321
+
322
+ .message-tip-title {
323
+ width: 100%;
324
+ background-color: #c6e2fe;
325
+ text-align: center;
326
+ padding: 10rpx 0;
327
+ font-size: 28rpx;
328
+ font-weight: bold;
329
+ color: #333333;
330
+ }
331
+
332
+ .message-tip-content {
333
+ width: 100%;
334
+ margin: 20rpx 20rpx 0 20rpx;
335
+ font-size: 28rpx;
336
+ color: #333333;
337
+ text-align: center;
338
+ padding-bottom: 20rpx;
339
+ }
340
+
341
+ .message-tip-button-container {
342
+ display: flex;
343
+ flex-direction: column;
344
+ width: 100%;
345
+ border-top: 1rpx #dcdcdcff solid;
346
+ align-items: center;
347
+ }
348
+
349
+ .message-tip-button {
350
+ width: 30%;
351
+ font-size: 28rpx;
352
+ text-align: center;
353
+ color: #0096f0;
354
+ border: #0096f0 1rpx solid;
355
+ background-color: white;
356
+ margin: 20rpx 0rpx;
357
+ padding: 10rpx 20rpx;
358
+ border-radius: 10rpx;
359
+ }
360
+
361
+ .evaluate-body {
362
+ width: 100%;
363
+ display: flex;
364
+ flex-direction: column;
365
+ align-items: center;
366
+ margin: 20rpx 0;
367
+ }
368
+
369
+ .evaluate-box {
370
+ display: flex;
371
+ flex-direction: row;
372
+ align-items: center;
373
+ background-color: white;
374
+ padding: 14rpx 20rpx;
375
+ border-radius: 8rpx;
376
+ }
377
+
378
+ .evaluate-icon {
379
+ width: 40rpx;
380
+ height: 40rpx;
381
+ margin: 0 10rpx 0 10rpx;
382
+ }
383
+
384
+ .evaluate-to {
385
+ color: #0096f0;
386
+ font-size: 26rpx;
387
+ margin-left: 10rpx;
388
+ }
389
+
390
+ .evaluate-did {
391
+ color: #999999;
392
+ font-size: 26rpx;
393
+ margin-left: 10rpx;
394
+ }
@@ -0,0 +1,47 @@
1
+ // components/consultation/detail/widget/detail-media/detail-media.js
2
+ Component({
3
+
4
+ /**
5
+ * 组件的属性列表
6
+ */
7
+ properties: {
8
+ index: {
9
+ type: Number,
10
+ value: 0
11
+ },
12
+ label: {
13
+ type: String,
14
+ value: null
15
+ },
16
+ url: {
17
+ type: String,
18
+ value: null
19
+ },
20
+ showNumber: {
21
+ type: String,
22
+ value: null
23
+ },
24
+ type: {
25
+ type: Number,
26
+ value: 0
27
+ }
28
+ },
29
+
30
+ /**
31
+ * 组件的初始数据
32
+ */
33
+ data: {
34
+
35
+ },
36
+
37
+ /**
38
+ * 组件的方法列表
39
+ */
40
+ methods: {
41
+ click() {
42
+ this.triggerEvent('clickMedia', {
43
+ index: this.properties.index
44
+ })
45
+ }
46
+ }
47
+ })
@@ -0,0 +1,4 @@
1
+ {
2
+ "component": true,
3
+ "usingComponents": {}
4
+ }
@@ -0,0 +1,12 @@
1
+ <view class="detail-media-container" bind:tap="click">
2
+ <view class="image-container">
3
+ <image class="detail-image" src="{{url}}" mode="aspectFill"> </image>
4
+ <text class="image-count">{{showNumber}}</text>
5
+ <image
6
+ wx:if="{{type == 4}}"
7
+ class="chat-video-play"
8
+ src="https://imgs.hh-medic.com/icon/wmp/hhdoctor/video-play.png"
9
+ />
10
+ </view>
11
+ <text class="detail-image-label">{{label}}</text>
12
+ </view>
@@ -0,0 +1,57 @@
1
+ .detail-media-container {
2
+ position: relative;
3
+ width: 150rpx;
4
+ display: flex;
5
+ flex-direction: column;
6
+ align-items: center;
7
+ margin-left: 30rpx;
8
+ overflow: hidden;
9
+ }
10
+
11
+ .image-container {
12
+ position: relative;
13
+ display: flex;
14
+ width: 150rpx;
15
+ height: 150rpx;
16
+ border-radius: 12rpx;
17
+ overflow: hidden;
18
+ }
19
+
20
+ .chat-video-play {
21
+ width: 60rpx;
22
+ height: 60rpx;
23
+ position: absolute;
24
+ top: calc(50% - 30rpx);
25
+ left: calc(50% - 30rpx);
26
+ }
27
+
28
+ .image-count {
29
+ width: 100%;
30
+ position: absolute;
31
+ bottom: 0rpx;
32
+ text-align: center;
33
+ font-size: 22rpx;
34
+ padding-top: 4rpx;
35
+ padding-bottom: 4rpx;
36
+ background-color: rgba(0, 0, 0, 0.5);
37
+ color: white;
38
+ }
39
+
40
+ .detail-image {
41
+ position: absolute;
42
+ width: 100%;
43
+ height: 100%;
44
+ }
45
+
46
+ .detail-image-label {
47
+ width: 100%;
48
+ position: relative;
49
+ display: block;
50
+ font-size: 24rpx;
51
+ color: #333333;
52
+ margin-top: 5rpx;
53
+ overflow: hidden;
54
+ text-overflow: ellipsis;
55
+ text-align: center;
56
+ white-space: nowrap;
57
+ }
@@ -0,0 +1,31 @@
1
+ // components/consultation/detail/widget/detail-text/detail-text.js
2
+ Component({
3
+
4
+ /**
5
+ * 组件的属性列表
6
+ */
7
+ properties: {
8
+ label: {
9
+ type: String,
10
+ value: ''
11
+ },
12
+ content: {
13
+ type: String,
14
+ value: ''
15
+ }
16
+ },
17
+
18
+ /**
19
+ * 组件的初始数据
20
+ */
21
+ data: {
22
+
23
+ },
24
+
25
+ /**
26
+ * 组件的方法列表
27
+ */
28
+ methods: {
29
+
30
+ }
31
+ })
@@ -0,0 +1,4 @@
1
+ {
2
+ "component": true,
3
+ "usingComponents": {}
4
+ }
@@ -0,0 +1,6 @@
1
+ <view class="detail-text-container">
2
+ <text class="detail-text-font">{{label}}</text>
3
+ <text class="detail-text-font" style="flex: 1" user-select
4
+ >{{content}}</text
5
+ >
6
+ </view>
@@ -0,0 +1,14 @@
1
+ .detail-text-container {
2
+ display: flex;
3
+ flex-direction: row;
4
+ border-bottom: 1rpx #dcdcdcff solid;
5
+ margin-left: 30rpx;
6
+ padding-right: 30rpx;
7
+ }
8
+
9
+ .detail-text-font {
10
+ font-size: 28rpx;
11
+ color: #333333;
12
+ margin-top: 14rpx;
13
+ margin-bottom: 14rpx;
14
+ }