@uxda/appkit 4.3.6 → 4.3.8

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 (135) hide show
  1. package/.eslintrc.mjs +7 -7
  2. package/COMPONENT_USAGE.md +1523 -1523
  3. package/PROJECT_DOCS.md +142 -142
  4. package/README.md +187 -187
  5. package/babel.config.js +12 -12
  6. package/dist/appkit.css +15 -63
  7. package/dist/assets/asset-DcH8Kg-2 +1 -0
  8. package/dist/index.js +259 -806
  9. package/package.json +79 -79
  10. package/project.config.json +15 -15
  11. package/project.tt.json +13 -13
  12. package/rollup.config.mjs +78 -78
  13. package/src/Appkit.ts +72 -72
  14. package/src/balance/api/endpoints.ts +133 -133
  15. package/src/balance/api/index.ts +118 -118
  16. package/src/balance/components/AccountView.vue +770 -770
  17. package/src/balance/components/BalanceCard.vue +210 -210
  18. package/src/balance/components/BalanceReminder.vue +84 -84
  19. package/src/balance/components/ConsumptionFilter.vue +218 -218
  20. package/src/balance/components/ConsumptionRules.vue +68 -68
  21. package/src/balance/components/DateFilter.vue +259 -259
  22. package/src/balance/components/DateRange.vue +111 -111
  23. package/src/balance/components/ListFilter.vue +62 -62
  24. package/src/balance/components/ListFilterPicker.vue +191 -191
  25. package/src/balance/components/PromoterCard.vue +307 -308
  26. package/src/balance/components/SecondBalance.vue +77 -77
  27. package/src/balance/components/Tip.vue +45 -45
  28. package/src/balance/components/index.ts +8 -8
  29. package/src/balance/types.ts +99 -99
  30. package/src/components/bt-cropper/index.vue +730 -730
  31. package/src/components/bt-cropper/utils/calcCropper.js +42 -42
  32. package/src/components/bt-cropper/utils/calcImagePosition.js +23 -23
  33. package/src/components/bt-cropper/utils/calcImageSize.js +37 -37
  34. package/src/components/bt-cropper/utils/calcPointDistance.js +12 -12
  35. package/src/components/bt-cropper/utils/calcRightAndBottom.js +7 -7
  36. package/src/components/bt-cropper/utils/ratio.js +3 -3
  37. package/src/components/bt-cropper/utils/tools.js +25 -25
  38. package/src/components/dd-area/index.vue +225 -225
  39. package/src/components/dd-icon/doc.md +21 -21
  40. package/src/components/dd-icon/index.vue +23 -23
  41. package/src/components/dd-notice-bar/index.vue +78 -78
  42. package/src/components/dd-search/doc.md +34 -34
  43. package/src/components/dd-search/index.vue +168 -168
  44. package/src/components/dd-selector/index.vue +124 -124
  45. package/src/components/dd-skeleton/doc.md +19 -19
  46. package/src/components/dd-skeleton/index.vue +36 -36
  47. package/src/global.ts +6 -6
  48. package/src/index.ts +101 -101
  49. package/src/main.scss +1 -1
  50. package/src/notice/api/endpoints.ts +54 -54
  51. package/src/notice/api/index.ts +121 -121
  52. package/src/notice/components/NoticeBanner.vue +247 -247
  53. package/src/notice/components/NoticeEntry.vue +99 -99
  54. package/src/notice/components/NoticeList.vue +311 -311
  55. package/src/notice/components/NoticeList2.vue +400 -399
  56. package/src/notice/components/NoticePopup.vue +163 -163
  57. package/src/notice/components/index.ts +6 -6
  58. package/src/notice/components/useCommonList.ts +86 -87
  59. package/src/notice/components/useNotice.ts +35 -35
  60. package/src/notice/index.ts +1 -1
  61. package/src/notice/types.ts +25 -25
  62. package/src/payment/api/config.ts +7 -7
  63. package/src/payment/api/endpoints.ts +96 -98
  64. package/src/payment/api/index.ts +107 -108
  65. package/src/payment/components/AmountPicker.vue +90 -90
  66. package/src/payment/components/RechargeResult.vue +69 -68
  67. package/src/payment/components/RechargeView.vue +191 -191
  68. package/src/payment/components/RightsPicker.vue +105 -105
  69. package/src/payment/components/TradeView.vue +363 -571
  70. package/src/payment/components/UserAgreement.vue +234 -234
  71. package/src/payment/components/index.ts +22 -22
  72. package/src/payment/index.ts +5 -5
  73. package/src/payment/services/index.ts +16 -16
  74. package/src/payment/services/invoke-recharge.ts +25 -25
  75. package/src/payment/services/request-payment.ts +130 -132
  76. package/src/payment/types.ts +33 -34
  77. package/src/register/components/SelfRegistration.vue +233 -233
  78. package/src/register/components/index.ts +2 -2
  79. package/src/scenarios/components/SharePoster.vue +364 -364
  80. package/src/scenarios/components/index.ts +2 -2
  81. package/src/scenarios/components/poster-paste.vue +93 -93
  82. package/src/scenarios/components/share-poster.md +273 -273
  83. package/src/shared/components/AppDrawer.vue +53 -53
  84. package/src/shared/components/AppVerify.vue +128 -137
  85. package/src/shared/components/DeviceVersion.vue +78 -78
  86. package/src/shared/components/EmptyView.vue +33 -33
  87. package/src/shared/components/OcrBusinessLicense.vue +137 -120
  88. package/src/shared/components/OcrIcon.vue +229 -267
  89. package/src/shared/components/PageHeader.vue +84 -84
  90. package/src/shared/components/index.ts +8 -10
  91. package/src/shared/composables/index.ts +9 -10
  92. package/src/shared/composables/useAmount.ts +46 -46
  93. package/src/shared/composables/useCountdown.ts +46 -46
  94. package/src/shared/composables/useCrypto.ts +76 -76
  95. package/src/shared/composables/useDeviceEnv.ts +26 -26
  96. package/src/shared/composables/useDragBox.ts +97 -97
  97. package/src/shared/composables/useEncode.ts +43 -43
  98. package/src/shared/composables/useLogger.ts +144 -144
  99. package/src/shared/composables/useSafeArea.ts +46 -46
  100. package/src/shared/composables/useTabbar.ts +24 -24
  101. package/src/shared/composables/useUpload.ts +61 -106
  102. package/src/shared/composables/useValidator.ts +32 -32
  103. package/src/shared/composables/useWxAuth.ts +48 -48
  104. package/src/shared/http/Http.ts +148 -149
  105. package/src/shared/http/index.ts +1 -1
  106. package/src/shared/http/types.ts +163 -163
  107. package/src/shared/index.ts +9 -9
  108. package/src/shared/tracking/directives/index.ts +40 -40
  109. package/src/shared/tracking/examples/page-tracking-template.vue +27 -27
  110. package/src/shared/tracking/tracking-sdk.ts +1 -0
  111. package/src/shared/weixin/index.ts +9 -9
  112. package/src/shared/weixin/jssdk.ts +103 -104
  113. package/src/shared/weixin/payment.ts +38 -38
  114. package/src/styles/vars.scss +3 -3
  115. package/src/user/api/endpoints.ts +17 -17
  116. package/src/user/api/index.ts +123 -123
  117. package/src/user/components/LoginSetting.vue +114 -114
  118. package/src/user/components/UserAuth.vue +218 -218
  119. package/src/user/components/UserBinding.vue +277 -277
  120. package/src/user/components/UserBindingSuccess.vue +80 -80
  121. package/src/user/components/UserEntry.vue +139 -139
  122. package/src/user/components/UserFeedback.vue +427 -428
  123. package/src/user/components/UserFeedbackEntry.vue +175 -175
  124. package/src/user/components/UserHeadCrop.vue +65 -65
  125. package/src/user/components/UserInfo.vue +709 -711
  126. package/src/user/components/UserResourceEmpty.vue +75 -75
  127. package/src/user/components/index.ts +23 -23
  128. package/src/user/index.ts +1 -1
  129. package/src/utils/utils.ts +33 -33
  130. package/tsconfig.json +30 -30
  131. package/types/global.d.ts +22 -24
  132. package/types/vue.d.ts +10 -10
  133. package/src/shared/components/OcrBank.vue +0 -202
  134. package/src/shared/components/OcrInvoice.vue +0 -218
  135. package/src/shared/composables/useCompress.ts +0 -64
@@ -1,311 +1,311 @@
1
- <template>
2
- <div class="notice-list">
3
- <DdSearch :bordered="false" :focus="false" :value="query.title" placeholder="请输入关键字搜索" @search="onSearch" />
4
-
5
- <div style="flex: 1; overflow: hidden">
6
- <div class="wrapper" v-if="list.length">
7
- <ScrollView class="content" :scroll-y="true" :refresher-enabled="true" :refresherTriggered="isRefresh"
8
- @refresherrefresh="onRefresh" :lower-threshold="100" @scrolltolower="runNext" bindscroll="">
9
- <div class="card" :class="{ active: item.isRead != '1' }" v-for="(item, index) in list" :key="index" v-track-click="'消息详情'"
10
- @click="notifyRead(item, index)">
11
- <div class="point"></div>
12
- <div>
13
- <div class="time">{{ formatMinutes(item.receiveTime) }}</div>
14
- <div v-if="app !== 'loankit' || (app === 'loankit' && item.title !== item.context)" class="text tit"
15
- style="display: flex; align-items: center" :class="{ gray: item.isRead == '1' }">
16
- {{ item.title }}
17
- <div class="notice-list-label" v-if="showApp && appMap[item.appCode]">
18
- {{ appMap[item.appCode] }}
19
- </div>
20
- </div>
21
- <div class="text" :class="{ gray: item.isRead == '1' }">
22
- <rich-text style="white-space: pre-wrap" :nodes="item.context"></rich-text>
23
- <span v-if="item.link && item.msgType == 3" class="notice-list-file" v-track-click="'消息详情-附件'" @click="onNoticeView(item.link)">
24
- 查看附件
25
- </span>
26
- </div>
27
- </div>
28
- </div>
29
- <div v-if="isLast" class="cue-text" style="padding-bottom: 40px">没有更多了</div>
30
- </ScrollView>
31
- </div>
32
- <div v-else class="no-data">
33
- <div class="no-data-img">
34
- <img style="width: 100%; height: 100%" src="https://cdn.ddjf.com/static/images/loan-manage/no-data.png"
35
- alt="" />
36
- </div>
37
- <div class="text">暂无记录</div>
38
- </div>
39
- </div>
40
- </div>
41
- </template>
42
-
43
- <script lang="ts" setup>
44
- import { onMounted, ref } from 'vue'
45
- import Taro, { showToast } from '@tarojs/taro'
46
- import DdSearch from '../../components/dd-search/index.vue'
47
- import dayjs from 'dayjs'
48
- import { useNotice } from './useNotice'
49
- import { useCommonList } from './useCommonList'
50
- import { NoticeListQueryTypes, NoticeListTypes } from '../types'
51
- import { useAppKitOptions } from '../../Appkit'
52
- import { ScrollView } from '@tarojs/components'
53
-
54
- const props = withDefaults(
55
- defineProps<{
56
- app: string
57
- userId: string
58
- showApp?: boolean
59
- checkBeforeRead?: Function
60
- }>(),
61
- {
62
- app: '',
63
- userId: '',
64
- showApp: false,
65
- }
66
- )
67
-
68
- const query = ref<any>({
69
- pageNum: 1,
70
- pageSize: 15,
71
- title: '',
72
- deviceType: 2,
73
- })
74
-
75
- const { toReadFun } = useNotice()
76
- const { list, init, runNext, runRefresh, isLast } = useCommonList<
77
- NoticeListTypes,
78
- NoticeListQueryTypes
79
- >('/cas/msg/queryUserMsg', query, true, 'POST')
80
-
81
- onMounted(async () => {
82
- if (!props.app) {
83
- return showToast({
84
- title: 'NoticeList组件缺少appcode',
85
- icon: 'none',
86
- })
87
- }
88
-
89
- const appkitOptions = useAppKitOptions()
90
- query.value.appCode = props.app
91
- query.value.tenantId = appkitOptions.tenant()
92
- query.value.userId = props.userId
93
- await init()
94
- })
95
-
96
- // 格式化时间
97
- function formatMinutes(time: number) {
98
- if (!time) return ''
99
- const start = dayjs(time)
100
- const end = dayjs()
101
-
102
- // 使用diff方法计算差异,单位为分钟
103
- const diffInMinutes = end.diff(start, 'minute')
104
- if (diffInMinutes < 60 && diffInMinutes > 0) {
105
- return `${diffInMinutes}分钟前`
106
- } else if (diffInMinutes === 0) {
107
- return `刚刚`
108
- }
109
-
110
- return dayjs(time).format('YYYY-MM-DD HH:mm:ss')
111
- }
112
-
113
- // 消息读取
114
- async function notifyRead(notice: any, index) {
115
- if (props.checkBeforeRead) {
116
- if (!props.checkBeforeRead(notice, index)) return
117
- }
118
-
119
- if (notice.isRead == '0') {
120
- const res = await toReadFun([notice.id])
121
-
122
- if (res) {
123
- list.value[index].isRead = '1'
124
- }
125
- }
126
- showToast({
127
- title: '消息已读',
128
- icon: 'none',
129
- })
130
- }
131
-
132
- // 点击搜索
133
- function onSearch(key: string) {
134
- delete query.value.title
135
- query.value.content = key || ''
136
- init()
137
- }
138
-
139
- // 下拉刷新
140
- const isRefresh = ref(false)
141
- async function onRefresh() {
142
- isRefresh.value = true
143
- await runRefresh()
144
- isRefresh.value = false
145
- }
146
-
147
- // 查看附件
148
- function onNoticeView(link) {
149
- emits('view', link)
150
- }
151
-
152
- const appMap = { aiapprove: 'AI审批', corporateStar: '企明星' }
153
-
154
- // 父组件事件
155
- const emits = defineEmits(['view'])
156
- </script>
157
-
158
- <style lang="scss">
159
- .notice-list {
160
- height: 100vh;
161
- overflow: hidden;
162
- display: flex;
163
- flex-direction: column;
164
-
165
- .wrapper {
166
- height: 100%;
167
- padding: 10px 12px;
168
- box-sizing: border-box;
169
-
170
- .content {
171
- height: 100%;
172
- background: #ffffff;
173
- border-radius: 10px;
174
-
175
- .card {
176
- margin: 0 10px;
177
- min-height: 64px;
178
- background: #fff;
179
- position: relative;
180
- padding: 10px;
181
-
182
- &::before {
183
- content: '';
184
- position: absolute;
185
- left: 2px;
186
- top: 0;
187
- height: 18px;
188
- width: 1px;
189
- background: #d8d8d8;
190
- }
191
-
192
- &::after {
193
- content: '';
194
- position: absolute;
195
- left: 2px;
196
- top: 18px;
197
- bottom: 0;
198
- width: 1px;
199
- background: #d8d8d8;
200
- }
201
-
202
- &:first-child::before {
203
- display: none;
204
- }
205
-
206
- &:last-child::after {
207
- display: none;
208
- }
209
-
210
- .point {
211
- width: 5px;
212
- height: 5px;
213
- background-color: #d8d8d8;
214
- border-radius: 50%;
215
- position: absolute;
216
- left: 0;
217
- top: 18px;
218
- z-index: 9;
219
- }
220
-
221
- .time {
222
- font-size: 13px;
223
- color: #353535;
224
- line-height: 19px;
225
- opacity: 0.2;
226
- margin-bottom: 5px;
227
- }
228
-
229
- .text {
230
- font-size: 14px;
231
- line-height: 20px;
232
- color: #9fa0a1;
233
- }
234
-
235
- &.active {
236
- .point {
237
- background-color: #f43309;
238
- }
239
-
240
- .text {
241
- color: #171a1d;
242
- font-size: 13px;
243
-
244
- &.tit {
245
- font-size: 15px;
246
- margin-bottom: 4px;
247
- }
248
- }
249
-
250
- .notice-list-label {
251
- opacity: 1;
252
- }
253
-
254
- .notice-list-file {
255
- opacity: 1;
256
- }
257
- }
258
- }
259
- }
260
- }
261
-
262
- .no-data {
263
- background-color: #fff;
264
- display: flex;
265
- align-items: center;
266
- flex-direction: column;
267
- height: 100%;
268
-
269
- .text {
270
- height: 20px;
271
- font-size: 14px;
272
- color: #7e7e7e;
273
- line-height: 20px;
274
- }
275
-
276
- &-img {
277
- width: 238px;
278
- height: 157px;
279
- margin-top: 105px;
280
- margin-bottom: 19px;
281
- }
282
- }
283
-
284
- &-file {
285
- font-size: 10px;
286
- color: var(--app-primary-color, #017fff);
287
- opacity: 0.5;
288
- }
289
-
290
- .cue-text {
291
- font-size: 13px;
292
- color: rgba(60, 60, 60, 0.5);
293
- padding: 30px 0 calc(30px + env(safe-area-inset-bottom, 0px));
294
- text-align: center;
295
- }
296
-
297
- &-label {
298
- border: 1px solid #caa264;
299
- color: #caa264;
300
- border-radius: 1px;
301
- font-size: 8px;
302
- display: inline-flex;
303
- justify-content: center;
304
- align-items: center;
305
- height: 14px;
306
- padding: 0 5px;
307
- margin-left: 4px;
308
- opacity: 0.5;
309
- }
310
- }
311
- </style>
1
+ <template>
2
+ <div class="notice-list">
3
+ <DdSearch :bordered="false" :focus="false" :value="query.title" placeholder="请输入关键字搜索" @search="onSearch" />
4
+
5
+ <div style="flex: 1; overflow: hidden">
6
+ <div class="wrapper" v-if="list.length">
7
+ <ScrollView class="content" :scroll-y="true" :refresher-enabled="true" :refresherTriggered="isRefresh"
8
+ @refresherrefresh="onRefresh" :lower-threshold="100" @scrolltolower="runNext" bindscroll="">
9
+ <div class="card" :class="{ active: item.isRead != '1' }" v-for="(item, index) in list" :key="index" v-track-click="'消息详情'"
10
+ @click="notifyRead(item, index)">
11
+ <div class="point"></div>
12
+ <div>
13
+ <div class="time">{{ formatMinutes(item.receiveTime) }}</div>
14
+ <div v-if="app !== 'loankit' || (app === 'loankit' && item.title !== item.context)" class="text tit"
15
+ style="display: flex; align-items: center" :class="{ gray: item.isRead == '1' }">
16
+ {{ item.title }}
17
+ <div class="notice-list-label" v-if="showApp && appMap[item.appCode]">
18
+ {{ appMap[item.appCode] }}
19
+ </div>
20
+ </div>
21
+ <div class="text" :class="{ gray: item.isRead == '1' }">
22
+ <rich-text style="white-space: pre-wrap" :nodes="item.context"></rich-text>
23
+ <span v-if="item.link && item.msgType == 3" class="notice-list-file" v-track-click="'消息详情-附件'" @click="onNoticeView(item.link)">
24
+ 查看附件
25
+ </span>
26
+ </div>
27
+ </div>
28
+ </div>
29
+ <div v-if="isLast" class="cue-text" style="padding-bottom: 40px">没有更多了</div>
30
+ </ScrollView>
31
+ </div>
32
+ <div v-else class="no-data">
33
+ <div class="no-data-img">
34
+ <img style="width: 100%; height: 100%" src="https://cdn.ddjf.com/static/images/loan-manage/no-data.png"
35
+ alt="" />
36
+ </div>
37
+ <div class="text">暂无记录</div>
38
+ </div>
39
+ </div>
40
+ </div>
41
+ </template>
42
+
43
+ <script lang="ts" setup>
44
+ import { onMounted, ref } from 'vue'
45
+ import Taro, { showToast } from '@tarojs/taro'
46
+ import DdSearch from '../../components/dd-search/index.vue'
47
+ import dayjs from 'dayjs'
48
+ import { useNotice } from './useNotice'
49
+ import { useCommonList } from './useCommonList'
50
+ import { NoticeListQueryTypes, NoticeListTypes } from '../types'
51
+ import { useAppKitOptions } from '../../Appkit'
52
+ import { ScrollView } from '@tarojs/components'
53
+
54
+ const props = withDefaults(
55
+ defineProps<{
56
+ app: string
57
+ userId: string
58
+ showApp?: boolean
59
+ checkBeforeRead?: Function
60
+ }>(),
61
+ {
62
+ app: '',
63
+ userId: '',
64
+ showApp: false,
65
+ }
66
+ )
67
+
68
+ const query = ref<any>({
69
+ pageNum: 1,
70
+ pageSize: 15,
71
+ title: '',
72
+ deviceType: 2,
73
+ })
74
+
75
+ const { toReadFun } = useNotice()
76
+ const { list, init, runNext, runRefresh, isLast } = useCommonList<
77
+ NoticeListTypes,
78
+ NoticeListQueryTypes
79
+ >('/cas/msg/queryUserMsg', query, true, 'POST')
80
+
81
+ onMounted(async () => {
82
+ if (!props.app) {
83
+ return showToast({
84
+ title: 'NoticeList组件缺少appcode',
85
+ icon: 'none',
86
+ })
87
+ }
88
+
89
+ const appkitOptions = useAppKitOptions()
90
+ query.value.appCode = props.app
91
+ query.value.tenantId = appkitOptions.tenant()
92
+ query.value.userId = props.userId
93
+ await init()
94
+ })
95
+
96
+ // 格式化时间
97
+ function formatMinutes(time: number) {
98
+ if (!time) return ''
99
+ const start = dayjs(time)
100
+ const end = dayjs()
101
+
102
+ // 使用diff方法计算差异,单位为分钟
103
+ const diffInMinutes = end.diff(start, 'minute')
104
+ if (diffInMinutes < 60 && diffInMinutes > 0) {
105
+ return `${diffInMinutes}分钟前`
106
+ } else if (diffInMinutes === 0) {
107
+ return `刚刚`
108
+ }
109
+
110
+ return dayjs(time).format('YYYY-MM-DD HH:mm:ss')
111
+ }
112
+
113
+ // 消息读取
114
+ async function notifyRead(notice: any, index) {
115
+ if (props.checkBeforeRead) {
116
+ if (!props.checkBeforeRead(notice, index)) return
117
+ }
118
+
119
+ if (notice.isRead == '0') {
120
+ const res = await toReadFun([notice.id])
121
+
122
+ if (res) {
123
+ list.value[index].isRead = '1'
124
+ }
125
+ }
126
+ showToast({
127
+ title: '消息已读',
128
+ icon: 'none',
129
+ })
130
+ }
131
+
132
+ // 点击搜索
133
+ function onSearch(key: string) {
134
+ delete query.value.title
135
+ query.value.content = key || ''
136
+ init()
137
+ }
138
+
139
+ // 下拉刷新
140
+ const isRefresh = ref(false)
141
+ async function onRefresh() {
142
+ isRefresh.value = true
143
+ await runRefresh()
144
+ isRefresh.value = false
145
+ }
146
+
147
+ // 查看附件
148
+ function onNoticeView(link) {
149
+ emits('view', link)
150
+ }
151
+
152
+ const appMap = { aiapprove: 'AI审批', corporateStar: '企明星' }
153
+
154
+ // 父组件事件
155
+ const emits = defineEmits(['view'])
156
+ </script>
157
+
158
+ <style lang="scss">
159
+ .notice-list {
160
+ height: 100vh;
161
+ overflow: hidden;
162
+ display: flex;
163
+ flex-direction: column;
164
+
165
+ .wrapper {
166
+ height: 100%;
167
+ padding: 10px 12px;
168
+ box-sizing: border-box;
169
+
170
+ .content {
171
+ height: 100%;
172
+ background: #ffffff;
173
+ border-radius: 10px;
174
+
175
+ .card {
176
+ margin: 0 10px;
177
+ min-height: 64px;
178
+ background: #fff;
179
+ position: relative;
180
+ padding: 10px;
181
+
182
+ &::before {
183
+ content: '';
184
+ position: absolute;
185
+ left: 2px;
186
+ top: 0;
187
+ height: 18px;
188
+ width: 1px;
189
+ background: #d8d8d8;
190
+ }
191
+
192
+ &::after {
193
+ content: '';
194
+ position: absolute;
195
+ left: 2px;
196
+ top: 18px;
197
+ bottom: 0;
198
+ width: 1px;
199
+ background: #d8d8d8;
200
+ }
201
+
202
+ &:first-child::before {
203
+ display: none;
204
+ }
205
+
206
+ &:last-child::after {
207
+ display: none;
208
+ }
209
+
210
+ .point {
211
+ width: 5px;
212
+ height: 5px;
213
+ background-color: #d8d8d8;
214
+ border-radius: 50%;
215
+ position: absolute;
216
+ left: 0;
217
+ top: 18px;
218
+ z-index: 9;
219
+ }
220
+
221
+ .time {
222
+ font-size: 13px;
223
+ color: #353535;
224
+ line-height: 19px;
225
+ opacity: 0.2;
226
+ margin-bottom: 5px;
227
+ }
228
+
229
+ .text {
230
+ font-size: 14px;
231
+ line-height: 20px;
232
+ color: #9fa0a1;
233
+ }
234
+
235
+ &.active {
236
+ .point {
237
+ background-color: #f43309;
238
+ }
239
+
240
+ .text {
241
+ color: #171a1d;
242
+ font-size: 13px;
243
+
244
+ &.tit {
245
+ font-size: 15px;
246
+ margin-bottom: 4px;
247
+ }
248
+ }
249
+
250
+ .notice-list-label {
251
+ opacity: 1;
252
+ }
253
+
254
+ .notice-list-file {
255
+ opacity: 1;
256
+ }
257
+ }
258
+ }
259
+ }
260
+ }
261
+
262
+ .no-data {
263
+ background-color: #fff;
264
+ display: flex;
265
+ align-items: center;
266
+ flex-direction: column;
267
+ height: 100%;
268
+
269
+ .text {
270
+ height: 20px;
271
+ font-size: 14px;
272
+ color: #7e7e7e;
273
+ line-height: 20px;
274
+ }
275
+
276
+ &-img {
277
+ width: 238px;
278
+ height: 157px;
279
+ margin-top: 105px;
280
+ margin-bottom: 19px;
281
+ }
282
+ }
283
+
284
+ &-file {
285
+ font-size: 10px;
286
+ color: var(--app-primary-color, #017fff);
287
+ opacity: 0.5;
288
+ }
289
+
290
+ .cue-text {
291
+ font-size: 13px;
292
+ color: rgba(60, 60, 60, 0.5);
293
+ padding: 30px 0 calc(30px + env(safe-area-inset-bottom, 0px));
294
+ text-align: center;
295
+ }
296
+
297
+ &-label {
298
+ border: 1px solid #caa264;
299
+ color: #caa264;
300
+ border-radius: 1px;
301
+ font-size: 8px;
302
+ display: inline-flex;
303
+ justify-content: center;
304
+ align-items: center;
305
+ height: 14px;
306
+ padding: 0 5px;
307
+ margin-left: 4px;
308
+ opacity: 0.5;
309
+ }
310
+ }
311
+ </style>