@uxda/appkit 4.0.3 → 4.0.14

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/package.json +75 -80
  5. package/project.config.json +15 -15
  6. package/project.tt.json +13 -13
  7. package/rollup.config.mjs +56 -56
  8. package/src/Appkit.ts +65 -65
  9. package/src/balance/api/endpoints.ts +126 -126
  10. package/src/balance/api/index.ts +82 -82
  11. package/src/balance/components/AccountView.vue +748 -748
  12. package/src/balance/components/BalanceCard.vue +205 -209
  13. package/src/balance/components/BalanceReminder.vue +85 -85
  14. package/src/balance/components/ConsumptionFilter.vue +218 -218
  15. package/src/balance/components/ConsumptionRules.vue +68 -68
  16. package/src/balance/components/DateFilter.vue +227 -226
  17. package/src/balance/components/DateRange.vue +78 -0
  18. package/src/balance/components/ListFilter.vue +64 -0
  19. package/src/balance/components/ListFilterPicker.vue +187 -0
  20. package/src/balance/components/SecondBalance.vue +71 -71
  21. package/src/balance/components/Tip.vue +45 -45
  22. package/src/balance/components/index.ts +13 -9
  23. package/src/balance/types.ts +91 -90
  24. package/src/components/bt-cropper/index.vue +774 -774
  25. package/src/components/bt-cropper/utils/calcCropper.js +42 -42
  26. package/src/components/bt-cropper/utils/calcImagePosition.js +23 -23
  27. package/src/components/bt-cropper/utils/calcImageSize.js +37 -37
  28. package/src/components/bt-cropper/utils/calcPointDistance.js +12 -12
  29. package/src/components/bt-cropper/utils/calcRightAndBottom.js +7 -7
  30. package/src/components/bt-cropper/utils/ratio.js +3 -3
  31. package/src/components/bt-cropper/utils/tools.js +25 -25
  32. package/src/components/dd-area/index.vue +225 -225
  33. package/src/components/dd-icon/doc.md +21 -21
  34. package/src/components/dd-icon/index.vue +23 -23
  35. package/src/components/dd-notice-bar/index.vue +78 -78
  36. package/src/components/dd-search/doc.md +34 -34
  37. package/src/components/dd-search/index.vue +168 -168
  38. package/src/components/dd-selector/index.vue +124 -124
  39. package/src/components/dd-skeleton/doc.md +19 -19
  40. package/src/components/dd-skeleton/index.vue +36 -36
  41. package/src/components/ocr-id/index.vue +114 -114
  42. package/src/components/ocr-id/types.d.ts +12 -12
  43. package/src/global.ts +6 -6
  44. package/src/index.ts +89 -89
  45. package/src/main.scss +1 -1
  46. package/src/notice/api/endpoints.ts +17 -17
  47. package/src/notice/api/index.ts +82 -82
  48. package/src/notice/components/NoticeBanner.vue +243 -243
  49. package/src/notice/components/NoticeEntry.vue +99 -99
  50. package/src/notice/components/NoticeList.vue +315 -315
  51. package/src/notice/components/NoticePopup.vue +161 -161
  52. package/src/notice/components/index.ts +5 -5
  53. package/src/notice/components/useCommonList.ts +86 -86
  54. package/src/notice/components/useNotice.ts +35 -35
  55. package/src/notice/index.ts +1 -1
  56. package/src/notice/types.ts +25 -25
  57. package/src/payment/api/config.ts +7 -7
  58. package/src/payment/api/endpoints.ts +103 -103
  59. package/src/payment/api/index.ts +71 -71
  60. package/src/payment/components/AmountPicker.vue +93 -93
  61. package/src/payment/components/RechargeResult.vue +69 -69
  62. package/src/payment/components/RechargeView.vue +154 -154
  63. package/src/payment/components/RightsPicker.vue +105 -105
  64. package/src/payment/components/TradeView.vue +298 -298
  65. package/src/payment/components/UserAgreement.vue +234 -234
  66. package/src/payment/components/index.ts +22 -22
  67. package/src/payment/index.ts +5 -5
  68. package/src/payment/services/index.ts +16 -16
  69. package/src/payment/services/invoke-recharge.ts +25 -25
  70. package/src/payment/services/request-payment.ts +58 -58
  71. package/src/payment/types.ts +28 -28
  72. package/src/register/components/SelfRegistration.vue +254 -254
  73. package/src/register/components/index.ts +2 -2
  74. package/src/shared/components/AppDrawer.vue +58 -58
  75. package/src/shared/components/AppVerify.vue +98 -0
  76. package/src/shared/components/DeviceVersion.vue +68 -68
  77. package/src/shared/components/EmptyView.vue +33 -33
  78. package/src/shared/components/OcrIcon.vue +119 -0
  79. package/src/shared/components/PageHeader.vue +79 -79
  80. package/src/shared/components/index.ts +7 -5
  81. package/src/shared/composables/index.ts +7 -5
  82. package/src/shared/composables/useCountdown.ts +46 -46
  83. package/src/shared/composables/useCrypto.ts +76 -0
  84. package/src/shared/composables/useDragBox.ts +97 -97
  85. package/src/shared/composables/useEncode.ts +43 -43
  86. package/src/shared/composables/useSafeArea.ts +46 -46
  87. package/src/shared/composables/useTabbar.ts +24 -24
  88. package/src/shared/composables/useUpload.ts +55 -0
  89. package/src/shared/composables/useValidator.ts +31 -31
  90. package/src/shared/http/Http.ts +136 -136
  91. package/src/shared/http/index.ts +1 -1
  92. package/src/shared/http/types.ts +157 -157
  93. package/src/shared/index.ts +3 -3
  94. package/src/shared/weixin/payment.ts +38 -38
  95. package/src/styles/fonts.scss +2 -2
  96. package/src/styles/vars.scss +3 -3
  97. package/src/user/api/endpoints.ts +17 -17
  98. package/src/user/api/index.ts +87 -87
  99. package/src/user/components/LoginSetting.vue +114 -114
  100. package/src/user/components/UserBinding.vue +307 -307
  101. package/src/user/components/UserBindingSuccess.vue +80 -80
  102. package/src/user/components/UserEntry.vue +137 -142
  103. package/src/user/components/UserFeedback.vue +440 -440
  104. package/src/user/components/UserFeedbackEntry.vue +192 -192
  105. package/src/user/components/UserHeadCrop.vue +65 -65
  106. package/src/user/components/UserInfo.vue +632 -632
  107. package/src/user/components/UserResourceEmpty.vue +75 -75
  108. package/src/user/components/index.ts +21 -21
  109. package/src/user/index.ts +1 -1
  110. package/tsconfig.json +30 -30
  111. package/types/global.d.ts +21 -21
  112. package/types/vue.d.ts +10 -10
  113. package/dist/appkit.css +0 -2331
  114. package/dist/assets/asset-3B_CoPto +0 -1
  115. package/dist/assets/asset-DcH8Kg-2 +0 -1
  116. package/dist/index.js +0 -7176
@@ -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>