@uxda/appkit 4.1.62 → 4.2.0

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 (117) 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 +6 -8
  5. package/dist/index.js +49 -19
  6. package/package.json +79 -77
  7. package/project.config.json +15 -15
  8. package/project.tt.json +13 -13
  9. package/rollup.config.mjs +67 -56
  10. package/src/Appkit.ts +66 -66
  11. package/src/balance/api/endpoints.ts +133 -133
  12. package/src/balance/api/index.ts +106 -106
  13. package/src/balance/components/AccountView.vue +750 -749
  14. package/src/balance/components/BalanceCard.vue +215 -215
  15. package/src/balance/components/BalanceReminder.vue +85 -85
  16. package/src/balance/components/ConsumptionFilter.vue +218 -218
  17. package/src/balance/components/ConsumptionRules.vue +68 -68
  18. package/src/balance/components/DateFilter.vue +250 -250
  19. package/src/balance/components/DateRange.vue +80 -80
  20. package/src/balance/components/ListFilter.vue +62 -62
  21. package/src/balance/components/ListFilterPicker.vue +191 -191
  22. package/src/balance/components/PromoterCard.vue +237 -237
  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 +8 -8
  26. package/src/balance/types.ts +97 -97
  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/global.ts +6 -6
  45. package/src/index.ts +89 -89
  46. package/src/main.scss +1 -1
  47. package/src/notice/api/endpoints.ts +17 -17
  48. package/src/notice/api/index.ts +106 -106
  49. package/src/notice/components/NoticeBanner.vue +243 -243
  50. package/src/notice/components/NoticeEntry.vue +99 -99
  51. package/src/notice/components/NoticeList.vue +315 -315
  52. package/src/notice/components/NoticePopup.vue +162 -162
  53. package/src/notice/components/index.ts +5 -5
  54. package/src/notice/components/useCommonList.ts +86 -86
  55. package/src/notice/components/useNotice.ts +35 -35
  56. package/src/notice/index.ts +1 -1
  57. package/src/notice/types.ts +25 -25
  58. package/src/payment/api/config.ts +7 -7
  59. package/src/payment/api/endpoints.ts +103 -103
  60. package/src/payment/api/index.ts +100 -100
  61. package/src/payment/components/AmountPicker.vue +90 -90
  62. package/src/payment/components/RechargeResult.vue +69 -69
  63. package/src/payment/components/RechargeView.vue +155 -155
  64. package/src/payment/components/RightsPicker.vue +105 -105
  65. package/src/payment/components/TradeView.vue +317 -317
  66. package/src/payment/components/UserAgreement.vue +234 -234
  67. package/src/payment/components/index.ts +22 -22
  68. package/src/payment/index.ts +5 -5
  69. package/src/payment/services/index.ts +16 -16
  70. package/src/payment/services/invoke-recharge.ts +25 -25
  71. package/src/payment/services/request-payment.ts +58 -58
  72. package/src/payment/types.ts +28 -28
  73. package/src/register/components/SelfRegistration.vue +233 -233
  74. package/src/register/components/index.ts +2 -2
  75. package/src/shared/components/AppDrawer.vue +54 -58
  76. package/src/shared/components/AppVerify.vue +128 -128
  77. package/src/shared/components/DeviceVersion.vue +68 -68
  78. package/src/shared/components/EmptyView.vue +33 -33
  79. package/src/shared/components/OcrBusinessLicense.vue +130 -130
  80. package/src/shared/components/OcrIcon.vue +202 -202
  81. package/src/shared/components/PageHeader.vue +79 -79
  82. package/src/shared/components/index.ts +8 -8
  83. package/src/shared/composables/index.ts +8 -8
  84. package/src/shared/composables/useAmount.ts +46 -46
  85. package/src/shared/composables/useCountdown.ts +46 -46
  86. package/src/shared/composables/useCrypto.ts +76 -76
  87. package/src/shared/composables/useDragBox.ts +97 -97
  88. package/src/shared/composables/useEncode.ts +43 -43
  89. package/src/shared/composables/useLogger.ts +123 -123
  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 +32 -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/vars.scss +3 -3
  100. package/src/user/api/endpoints.ts +17 -17
  101. package/src/user/api/index.ts +111 -111
  102. package/src/user/components/LoginSetting.vue +114 -114
  103. package/src/user/components/UserAuth.vue +238 -216
  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 +133 -133
  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 +732 -723
  111. package/src/user/components/UserResourceEmpty.vue +75 -75
  112. package/src/user/components/index.ts +23 -23
  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
  117. package/dist/assets/asset-3B_CoPto +0 -1
@@ -1,219 +1,219 @@
1
- <template>
2
- <div class="consumption-filter">
3
- <div class="consumption-filter-title">
4
- <h3>选择筛选项</h3>
5
- </div>
6
- <div class="consumption-filter-content">
7
- <template v-for="(item, index) in filterSections" :key="index">
8
- <div class="title">{{ item.title }}</div>
9
- <div class="info">
10
- <div
11
- v-for="(it, i) in item.data"
12
- @click="() => onFilterSectionClick(index, it.code)"
13
- :class="getItemClass(index, it.code)"
14
- class="info-item"
15
- :key="i">
16
- {{ typeof it === 'string' ? it : it.name }}
17
- </div>
18
- </div>
19
- </template>
20
- </div>
21
- <div class="consumption-filter-btn spa-between">
22
- <div class="btn" @click="reset">重置</div>
23
- <div class="btn confirm" @click="onOkClick">确定</div>
24
- </div>
25
- <div class="consumption-filter-bottom"></div>
26
- </div>
27
- </template>
28
-
29
- <script lang="ts" setup>
30
- import { reactive, ref } from 'vue'
31
- import {
32
- type ConsumptionDirection,
33
- type ConsumptionPosition,
34
- type ConsumptionType,
35
- consumptionDirections,
36
- consumptionPositions,
37
- consumptionTypes,
38
- 权益类目,
39
- } from '../types'
40
- import { endpoints, useHttp } from '../api'
41
-
42
- const $http = useHttp()
43
-
44
- type ConsumptionFilterModelValue = [
45
- ConsumptionPosition | '全部',
46
- ConsumptionDirection | '全部',
47
- ConsumptionType | '全部',
48
- string | '',
49
-
50
- ]
51
- type MixteValues =
52
- ConsumptionPosition |
53
- ConsumptionDirection |
54
- ConsumptionType |
55
- string |''
56
-
57
- interface ConsumptionFilterProps {
58
- modelValue: ConsumptionFilterModelValue
59
- }
60
-
61
- const props = withDefaults(
62
- defineProps<ConsumptionFilterProps>(), {
63
- modelValue: () => ['全部', '全部', '全部', '']
64
- }
65
- )
66
- const emit = defineEmits(['complete'])
67
-
68
- const result = reactive<ConsumptionFilterModelValue>(props.modelValue)
69
-
70
- type FilterSecion = {
71
- title: string,
72
- data: {
73
- code: string,
74
- name: string
75
- }[]
76
- }
77
-
78
- /**
79
- * 筛选项目里面所有按钮
80
- */
81
- const filterSections = ref<FilterSecion[]>([
82
- {
83
- title: '类型',
84
- data: consumptionPositions.map(s => ({code: s, name: s})),
85
- },
86
- {
87
- title: '收入/支出',
88
- data: consumptionDirections.map(s => ({code: s, name: s})),
89
- },
90
- {
91
- title: '明细类型',
92
- data: consumptionTypes.map(s => ({code: s, name: s})),
93
- },
94
- {
95
- title: '权益类目',
96
- data: []
97
- }
98
- ])
99
-
100
- const getItemClass = (index: number, value) => result[index] === value ? ['current'] : ['']
101
-
102
- const onFilterSectionClick = (index: number, value: MixteValues) => {
103
- result[index] = value
104
- }
105
-
106
- const reset = () => {
107
- result[0] = '全部'
108
- result[1] = '全部'
109
- result[2] = '全部'
110
- result[3] = ''
111
- }
112
-
113
- const 请求权益类目 = () => {
114
- $http.get<权益类目[]>(endpoints.获取权益类目).then(data => {
115
- filterSections.value[3].data = [
116
- { code: '', name: '全部' },
117
- ...data
118
- ]
119
- })
120
- }
121
-
122
- 请求权益类目()
123
-
124
- const onOkClick = () => {
125
- emit('complete', result)
126
- }
127
- </script>
128
- <style lang="scss">
129
- .consumption-filter {
130
- height: 100%;
131
- display: flex;
132
- flex-direction: column;
133
- width: 100%;
134
- &-title {
135
- position: relative;
136
- height: 44px;
137
- line-height: 44px;
138
- font-size: 17px;
139
- color: #353535;
140
- background: #f5f5f5;
141
- text-align: center;
142
- }
143
- &-content {
144
- flex: 1;
145
- margin: 15px;
146
- overflow-y: scroll;
147
- color: #353535;
148
- font-size: 13px;
149
- .title {
150
- opacity: 0.6;
151
- line-height: 18px;
152
- }
153
- .info {
154
- display: grid;
155
- grid-template-columns: 1fr 1fr 1fr;
156
- grid-gap: 10px;
157
- margin: 10px 0;
158
- &-item {
159
- height: 30px;
160
- line-height: 30px;
161
- border: 1px solid #ccc;
162
- border-radius: 6px;
163
- text-align: center;
164
- }
165
- .current {
166
- border-radius: 5px;
167
- border: 1px solid #EFD082;
168
- background: linear-gradient(180deg, #FFF7E3 0%, #FEFDE6 100%);
169
- }
170
- }
171
- }
172
- &-btn {
173
- margin: 0 15px;
174
- display: flex;
175
- justify-content: space-between;
176
- align-items: center;
177
- .btn {
178
- flex: 1;
179
- height: 40px;
180
- line-height: 40px;
181
- text-align: center;
182
- border: 1px solid #ccc;
183
- box-sizing: border-box;
184
- color: #666;
185
- font-size: 16px;
186
- border-radius: 6px;
187
- }
188
- .confirm {
189
- margin-left: 11px;
190
- color: #000;
191
- border: none;
192
- background: linear-gradient(
193
- 90deg,
194
- #ffebc1 0%,
195
- #ffd7a7 52.29%,
196
- #ffb875 100%
197
- );
198
- }
199
- }
200
- &-bottom {
201
- height: 32px;
202
- background: #fff;
203
- }
204
- .icon {
205
- display: block;
206
- width: 20px;
207
- height: 20px;
208
- background-size: 40px;
209
- background-repeat: no-repeat;
210
- background-position: center center;
211
- &.icon-x {
212
- position: absolute;
213
- right: 10px;
214
- top: 11px;
215
- background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDIiIGhlaWdodD0iNDIiIHZpZXdCb3g9IjAgMCA0MiA0MiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggb3BhY2l0eT0iMC4wMSIgZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik00MSA0MUgxVjFINDFWNDFaIiBmaWxsPSIjRDhEOEQ4IiBzdHJva2U9ImJsYWNrIiBzdHJva2Utb3BhY2l0eT0iMC4wMSIvPgo8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTIzLjM1NjEgMjAuOTk5OUwzMy45NjM3IDMxLjYwNzJDMzQuNjE0NiAzMi4yNTgxIDM0LjYxNDYgMzMuMzEzNCAzMy45NjM3IDMzLjk2NDJDMzMuMzQyNSAzNC41ODU1IDMyLjM1MjcgMzQuNjEzOCAzMS42OTc5IDM0LjA0ODlMMjAuOTk5NCAyMy4zNTY2TDEwLjM5MzUgMzMuOTY0MkM5Ljc0MjY1IDM0LjYxNTEgOC42ODczOCAzNC42MTUxIDguMDM2NSAzMy45NjQyQzcuNDE1MTkgMzMuMzQyOSA3LjM4Njk3IDMyLjM1MzIgNy45NTE3OSAzMS42OTg0TDE4LjY0MjggMjAuOTk5OUw4LjAzNjUgMTAuMzk0QzcuMzg1NjMgOS43NDMxNCA3LjM4NTYzIDguNjg3ODcgOC4wMzY1IDguMDM2OTlDOC42NTc3OSA3LjQxNTY4IDkuNjQ3NTQgNy4zODc0NiAxMC4zMDIzIDcuOTUyMjdMMjAuOTk5NCAxOC42NDMzTDMxLjYwNjcgOC4wMzY5OUMzMi4yNTc2IDcuMzg2MTIgMzMuMzEyOSA3LjM4NjEyIDMzLjk2MzcgOC4wMzY5OUMzNC41ODUgOC42NTgyOCAzNC42MTMzIDkuNjQ4MDMgMzQuMDQ4NSAxMC4zMDI4TDIzLjM1NjEgMjAuOTk5OVoiIGZpbGw9IiMxNzFBMUQiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS1vcGFjaXR5PSIwLjAxIi8+Cjwvc3ZnPgo=")
216
- }
217
- }
218
- }
1
+ <template>
2
+ <div class="consumption-filter">
3
+ <div class="consumption-filter-title">
4
+ <h3>选择筛选项</h3>
5
+ </div>
6
+ <div class="consumption-filter-content">
7
+ <template v-for="(item, index) in filterSections" :key="index">
8
+ <div class="title">{{ item.title }}</div>
9
+ <div class="info">
10
+ <div
11
+ v-for="(it, i) in item.data"
12
+ @click="() => onFilterSectionClick(index, it.code)"
13
+ :class="getItemClass(index, it.code)"
14
+ class="info-item"
15
+ :key="i">
16
+ {{ typeof it === 'string' ? it : it.name }}
17
+ </div>
18
+ </div>
19
+ </template>
20
+ </div>
21
+ <div class="consumption-filter-btn spa-between">
22
+ <div class="btn" @click="reset">重置</div>
23
+ <div class="btn confirm" @click="onOkClick">确定</div>
24
+ </div>
25
+ <div class="consumption-filter-bottom"></div>
26
+ </div>
27
+ </template>
28
+
29
+ <script lang="ts" setup>
30
+ import { reactive, ref } from 'vue'
31
+ import {
32
+ type ConsumptionDirection,
33
+ type ConsumptionPosition,
34
+ type ConsumptionType,
35
+ consumptionDirections,
36
+ consumptionPositions,
37
+ consumptionTypes,
38
+ 权益类目,
39
+ } from '../types'
40
+ import { endpoints, useHttp } from '../api'
41
+
42
+ const $http = useHttp()
43
+
44
+ type ConsumptionFilterModelValue = [
45
+ ConsumptionPosition | '全部',
46
+ ConsumptionDirection | '全部',
47
+ ConsumptionType | '全部',
48
+ string | '',
49
+
50
+ ]
51
+ type MixteValues =
52
+ ConsumptionPosition |
53
+ ConsumptionDirection |
54
+ ConsumptionType |
55
+ string |''
56
+
57
+ interface ConsumptionFilterProps {
58
+ modelValue: ConsumptionFilterModelValue
59
+ }
60
+
61
+ const props = withDefaults(
62
+ defineProps<ConsumptionFilterProps>(), {
63
+ modelValue: () => ['全部', '全部', '全部', '']
64
+ }
65
+ )
66
+ const emit = defineEmits(['complete'])
67
+
68
+ const result = reactive<ConsumptionFilterModelValue>(props.modelValue)
69
+
70
+ type FilterSecion = {
71
+ title: string,
72
+ data: {
73
+ code: string,
74
+ name: string
75
+ }[]
76
+ }
77
+
78
+ /**
79
+ * 筛选项目里面所有按钮
80
+ */
81
+ const filterSections = ref<FilterSecion[]>([
82
+ {
83
+ title: '类型',
84
+ data: consumptionPositions.map(s => ({code: s, name: s})),
85
+ },
86
+ {
87
+ title: '收入/支出',
88
+ data: consumptionDirections.map(s => ({code: s, name: s})),
89
+ },
90
+ {
91
+ title: '明细类型',
92
+ data: consumptionTypes.map(s => ({code: s, name: s})),
93
+ },
94
+ {
95
+ title: '权益类目',
96
+ data: []
97
+ }
98
+ ])
99
+
100
+ const getItemClass = (index: number, value) => result[index] === value ? ['current'] : ['']
101
+
102
+ const onFilterSectionClick = (index: number, value: MixteValues) => {
103
+ result[index] = value
104
+ }
105
+
106
+ const reset = () => {
107
+ result[0] = '全部'
108
+ result[1] = '全部'
109
+ result[2] = '全部'
110
+ result[3] = ''
111
+ }
112
+
113
+ const 请求权益类目 = () => {
114
+ $http.get<权益类目[]>(endpoints.获取权益类目).then(data => {
115
+ filterSections.value[3].data = [
116
+ { code: '', name: '全部' },
117
+ ...data
118
+ ]
119
+ })
120
+ }
121
+
122
+ 请求权益类目()
123
+
124
+ const onOkClick = () => {
125
+ emit('complete', result)
126
+ }
127
+ </script>
128
+ <style lang="scss">
129
+ .consumption-filter {
130
+ height: 100%;
131
+ display: flex;
132
+ flex-direction: column;
133
+ width: 100%;
134
+ &-title {
135
+ position: relative;
136
+ height: 44px;
137
+ line-height: 44px;
138
+ font-size: 17px;
139
+ color: #353535;
140
+ background: #f5f5f5;
141
+ text-align: center;
142
+ }
143
+ &-content {
144
+ flex: 1;
145
+ margin: 15px;
146
+ overflow-y: scroll;
147
+ color: #353535;
148
+ font-size: 13px;
149
+ .title {
150
+ opacity: 0.6;
151
+ line-height: 18px;
152
+ }
153
+ .info {
154
+ display: grid;
155
+ grid-template-columns: 1fr 1fr 1fr;
156
+ grid-gap: 10px;
157
+ margin: 10px 0;
158
+ &-item {
159
+ height: 30px;
160
+ line-height: 30px;
161
+ border: 1px solid #ccc;
162
+ border-radius: 6px;
163
+ text-align: center;
164
+ }
165
+ .current {
166
+ border-radius: 5px;
167
+ border: 1px solid #EFD082;
168
+ background: linear-gradient(180deg, #FFF7E3 0%, #FEFDE6 100%);
169
+ }
170
+ }
171
+ }
172
+ &-btn {
173
+ margin: 0 15px;
174
+ display: flex;
175
+ justify-content: space-between;
176
+ align-items: center;
177
+ .btn {
178
+ flex: 1;
179
+ height: 40px;
180
+ line-height: 40px;
181
+ text-align: center;
182
+ border: 1px solid #ccc;
183
+ box-sizing: border-box;
184
+ color: #666;
185
+ font-size: 16px;
186
+ border-radius: 6px;
187
+ }
188
+ .confirm {
189
+ margin-left: 11px;
190
+ color: #000;
191
+ border: none;
192
+ background: linear-gradient(
193
+ 90deg,
194
+ #ffebc1 0%,
195
+ #ffd7a7 52.29%,
196
+ #ffb875 100%
197
+ );
198
+ }
199
+ }
200
+ &-bottom {
201
+ height: 32px;
202
+ background: #fff;
203
+ }
204
+ .icon {
205
+ display: block;
206
+ width: 20px;
207
+ height: 20px;
208
+ background-size: 40px;
209
+ background-repeat: no-repeat;
210
+ background-position: center center;
211
+ &.icon-x {
212
+ position: absolute;
213
+ right: 10px;
214
+ top: 11px;
215
+ background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDIiIGhlaWdodD0iNDIiIHZpZXdCb3g9IjAgMCA0MiA0MiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggb3BhY2l0eT0iMC4wMSIgZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik00MSA0MUgxVjFINDFWNDFaIiBmaWxsPSIjRDhEOEQ4IiBzdHJva2U9ImJsYWNrIiBzdHJva2Utb3BhY2l0eT0iMC4wMSIvPgo8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTIzLjM1NjEgMjAuOTk5OUwzMy45NjM3IDMxLjYwNzJDMzQuNjE0NiAzMi4yNTgxIDM0LjYxNDYgMzMuMzEzNCAzMy45NjM3IDMzLjk2NDJDMzMuMzQyNSAzNC41ODU1IDMyLjM1MjcgMzQuNjEzOCAzMS42OTc5IDM0LjA0ODlMMjAuOTk5NCAyMy4zNTY2TDEwLjM5MzUgMzMuOTY0MkM5Ljc0MjY1IDM0LjYxNTEgOC42ODczOCAzNC42MTUxIDguMDM2NSAzMy45NjQyQzcuNDE1MTkgMzMuMzQyOSA3LjM4Njk3IDMyLjM1MzIgNy45NTE3OSAzMS42OTg0TDE4LjY0MjggMjAuOTk5OUw4LjAzNjUgMTAuMzk0QzcuMzg1NjMgOS43NDMxNCA3LjM4NTYzIDguNjg3ODcgOC4wMzY1IDguMDM2OTlDOC42NTc3OSA3LjQxNTY4IDkuNjQ3NTQgNy4zODc0NiAxMC4zMDIzIDcuOTUyMjdMMjAuOTk5NCAxOC42NDMzTDMxLjYwNjcgOC4wMzY5OUMzMi4yNTc2IDcuMzg2MTIgMzMuMzEyOSA3LjM4NjEyIDMzLjk2MzcgOC4wMzY5OUMzNC41ODUgOC42NTgyOCAzNC42MTMzIDkuNjQ4MDMgMzQuMDQ4NSAxMC4zMDI4TDIzLjM1NjEgMjAuOTk5OVoiIGZpbGw9IiMxNzFBMUQiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS1vcGFjaXR5PSIwLjAxIi8+Cjwvc3ZnPgo=")
216
+ }
217
+ }
218
+ }
219
219
  </style>
@@ -1,68 +1,68 @@
1
- <template>
2
- <div class="consumption-rules">
3
- <div class="title">规则说明</div>
4
- <div class="desc">
5
- <div class="desc-title">【云豆】</div>
6
- <div>
7
- 1、云豆系大道云平台为用户提供的数字化商品,用于大道云平台上的产品权益抵扣使用或者产品权益的兑换。
8
- </div>
9
- <div>
10
- 人民币与云豆的兑换比例:1人民币=1云豆。云豆购买成功过后不可转让或者逆向兑换。
11
- </div>
12
- <div>
13
- 2、云豆的使用范围:云豆可用于大道云平台各个系统的产品权益抵扣使用或兑换,系统包括但不限于企明星、AI审批、电子签约、蜂鸟周转系统、蜂鸟居间系统。
14
- </div>
15
- <div class="desc-title">【产品权益】</div>
16
- <div>
17
- 1、产品权益系大道云平台各个系统产品的使用消耗标准,可直接用于单项产品的使用消耗。产品权益可通过人民币充值购买、云豆兑换或大道云平台赠送获得。产品权益仅用于指定的产品使用消耗,也无法逆向兑换成云豆或人民币。
18
- </div>
19
- <div>
20
- 2、产品权益的使用范围:产品权益用于大道云平台各个系统产品的消耗使用,系统包括但不限于企明星、AI审批、电子签约、蜂鸟周转系统、蜂鸟居间系统,各个系统的产品权益仅用于各产品专项使用,无法跨产品使用。
21
- </div>
22
- </div>
23
- <div class="know" @click="emit('complete')">我知道了</div>
24
- </div>
25
- </template>
26
-
27
- <script lang="ts" setup>
28
- const emit = defineEmits(["complete"]);
29
- </script>
30
- <style lang="scss">
31
- .consumption-rules {
32
- .title {
33
- line-height: 16px;
34
- font-weight: 500;
35
- color: #1a1a1a;
36
- font-size: 16px;
37
- text-align: center;
38
- width: 100%;
39
- }
40
- .desc {
41
- flex: 1;
42
- font-size: 14px;
43
- line-height: 21px;
44
- color: #666;
45
- overflow-y: scroll;
46
- margin: 10px 0;
47
- &-title {
48
- font-weight: 600;
49
- }
50
- }
51
- .know {
52
- background: linear-gradient(
53
- 90deg,
54
- #ffebc1 0%,
55
- #ffd7a7 52.29%,
56
- #ffb875 100%
57
- );
58
- height: 30px;
59
- line-height: 30px;
60
- font-size: 14px;
61
- color: #353535;
62
- border-radius: 15px;
63
- width: 130px;
64
- margin: 0 auto;
65
- text-align: center;
66
- }
67
- }
68
- </style>
1
+ <template>
2
+ <div class="consumption-rules">
3
+ <div class="title">规则说明</div>
4
+ <div class="desc">
5
+ <div class="desc-title">【云豆】</div>
6
+ <div>
7
+ 1、云豆系大道云平台为用户提供的数字化商品,用于大道云平台上的产品权益抵扣使用或者产品权益的兑换。
8
+ </div>
9
+ <div>
10
+ 人民币与云豆的兑换比例:1人民币=1云豆。云豆购买成功过后不可转让或者逆向兑换。
11
+ </div>
12
+ <div>
13
+ 2、云豆的使用范围:云豆可用于大道云平台各个系统的产品权益抵扣使用或兑换,系统包括但不限于企明星、AI审批、电子签约、蜂鸟周转系统、蜂鸟居间系统。
14
+ </div>
15
+ <div class="desc-title">【产品权益】</div>
16
+ <div>
17
+ 1、产品权益系大道云平台各个系统产品的使用消耗标准,可直接用于单项产品的使用消耗。产品权益可通过人民币充值购买、云豆兑换或大道云平台赠送获得。产品权益仅用于指定的产品使用消耗,也无法逆向兑换成云豆或人民币。
18
+ </div>
19
+ <div>
20
+ 2、产品权益的使用范围:产品权益用于大道云平台各个系统产品的消耗使用,系统包括但不限于企明星、AI审批、电子签约、蜂鸟周转系统、蜂鸟居间系统,各个系统的产品权益仅用于各产品专项使用,无法跨产品使用。
21
+ </div>
22
+ </div>
23
+ <div class="know" @click="emit('complete')">我知道了</div>
24
+ </div>
25
+ </template>
26
+
27
+ <script lang="ts" setup>
28
+ const emit = defineEmits(["complete"]);
29
+ </script>
30
+ <style lang="scss">
31
+ .consumption-rules {
32
+ .title {
33
+ line-height: 16px;
34
+ font-weight: 500;
35
+ color: #1a1a1a;
36
+ font-size: 16px;
37
+ text-align: center;
38
+ width: 100%;
39
+ }
40
+ .desc {
41
+ flex: 1;
42
+ font-size: 14px;
43
+ line-height: 21px;
44
+ color: #666;
45
+ overflow-y: scroll;
46
+ margin: 10px 0;
47
+ &-title {
48
+ font-weight: 600;
49
+ }
50
+ }
51
+ .know {
52
+ background: linear-gradient(
53
+ 90deg,
54
+ #ffebc1 0%,
55
+ #ffd7a7 52.29%,
56
+ #ffb875 100%
57
+ );
58
+ height: 30px;
59
+ line-height: 30px;
60
+ font-size: 14px;
61
+ color: #353535;
62
+ border-radius: 15px;
63
+ width: 130px;
64
+ margin: 0 auto;
65
+ text-align: center;
66
+ }
67
+ }
68
+ </style>