@uxda/appkit 4.1.12 → 4.1.19

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