@uxda/appkit 4.2.82 → 4.2.84

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 (127) 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 +41 -3
  5. package/dist/index.js +994 -535
  6. package/package.json +81 -81
  7. package/project.config.json +15 -15
  8. package/project.tt.json +13 -13
  9. package/rollup.config.mjs +77 -77
  10. package/src/Appkit.ts +67 -67
  11. package/src/balance/api/endpoints.ts +133 -133
  12. package/src/balance/api/index.ts +112 -106
  13. package/src/balance/components/AccountView.vue +773 -773
  14. package/src/balance/components/BalanceCard.vue +210 -210
  15. package/src/balance/components/BalanceReminder.vue +84 -84
  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 +259 -259
  19. package/src/balance/components/DateRange.vue +111 -111
  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 +310 -310
  23. package/src/balance/components/SecondBalance.vue +77 -77
  24. package/src/balance/components/Tip.vue +45 -45
  25. package/src/balance/components/index.ts +8 -8
  26. package/src/balance/types.ts +99 -99
  27. package/src/components/bt-cropper/index.vue +730 -730
  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 +93 -93
  46. package/src/main.scss +1 -1
  47. package/src/notice/api/endpoints.ts +54 -17
  48. package/src/notice/api/index.ts +115 -106
  49. package/src/notice/components/NoticeBanner.vue +247 -247
  50. package/src/notice/components/NoticeEntry.vue +99 -99
  51. package/src/notice/components/NoticeList.vue +311 -311
  52. package/src/notice/components/NoticeList2.vue +243 -0
  53. package/src/notice/components/NoticePopup.vue +163 -163
  54. package/src/notice/components/index.ts +6 -5
  55. package/src/notice/components/useCommonList.ts +86 -86
  56. package/src/notice/components/useNotice.ts +35 -35
  57. package/src/notice/index.ts +1 -1
  58. package/src/notice/types.ts +25 -25
  59. package/src/payment/api/config.ts +7 -7
  60. package/src/payment/api/endpoints.ts +95 -95
  61. package/src/payment/api/index.ts +101 -101
  62. package/src/payment/components/AmountPicker.vue +90 -90
  63. package/src/payment/components/RechargeResult.vue +69 -69
  64. package/src/payment/components/RechargeView.vue +190 -190
  65. package/src/payment/components/RightsPicker.vue +105 -105
  66. package/src/payment/components/TradeView.vue +363 -363
  67. package/src/payment/components/UserAgreement.vue +234 -234
  68. package/src/payment/components/index.ts +22 -22
  69. package/src/payment/index.ts +5 -5
  70. package/src/payment/services/index.ts +16 -16
  71. package/src/payment/services/invoke-recharge.ts +25 -25
  72. package/src/payment/services/request-payment.ts +130 -130
  73. package/src/payment/types.ts +32 -32
  74. package/src/register/components/SelfRegistration.vue +233 -233
  75. package/src/register/components/index.ts +2 -2
  76. package/src/scenarios/components/SharePoster.vue +364 -364
  77. package/src/scenarios/components/index.ts +2 -2
  78. package/src/scenarios/components/poster-paste.vue +93 -93
  79. package/src/scenarios/components/share-poster.md +273 -273
  80. package/src/shared/components/AppDrawer.vue +53 -53
  81. package/src/shared/components/AppVerify.vue +128 -128
  82. package/src/shared/components/DeviceVersion.vue +78 -78
  83. package/src/shared/components/EmptyView.vue +33 -33
  84. package/src/shared/components/OcrBusinessLicense.vue +137 -137
  85. package/src/shared/components/OcrIcon.vue +229 -229
  86. package/src/shared/components/PageHeader.vue +84 -84
  87. package/src/shared/components/index.ts +8 -8
  88. package/src/shared/composables/index.ts +9 -9
  89. package/src/shared/composables/useAmount.ts +46 -46
  90. package/src/shared/composables/useCountdown.ts +46 -46
  91. package/src/shared/composables/useCrypto.ts +76 -76
  92. package/src/shared/composables/useDeviceEnv.ts +11 -11
  93. package/src/shared/composables/useDragBox.ts +97 -97
  94. package/src/shared/composables/useEncode.ts +43 -43
  95. package/src/shared/composables/useLogger.ts +131 -131
  96. package/src/shared/composables/useSafeArea.ts +46 -46
  97. package/src/shared/composables/useTabbar.ts +24 -24
  98. package/src/shared/composables/useUpload.ts +61 -61
  99. package/src/shared/composables/useValidator.ts +32 -32
  100. package/src/shared/composables/useWxAuth.ts +48 -48
  101. package/src/shared/http/Http.ts +148 -146
  102. package/src/shared/http/index.ts +1 -1
  103. package/src/shared/http/types.ts +163 -160
  104. package/src/shared/index.ts +8 -8
  105. package/src/shared/weixin/index.ts +9 -9
  106. package/src/shared/weixin/jssdk.ts +103 -103
  107. package/src/shared/weixin/payment.ts +38 -38
  108. package/src/styles/vars.scss +3 -3
  109. package/src/user/api/endpoints.ts +17 -17
  110. package/src/user/api/index.ts +117 -111
  111. package/src/user/components/LoginSetting.vue +114 -114
  112. package/src/user/components/UserAuth.vue +220 -220
  113. package/src/user/components/UserBinding.vue +277 -277
  114. package/src/user/components/UserBindingSuccess.vue +80 -80
  115. package/src/user/components/UserEntry.vue +139 -139
  116. package/src/user/components/UserFeedback.vue +427 -427
  117. package/src/user/components/UserFeedbackEntry.vue +175 -175
  118. package/src/user/components/UserHeadCrop.vue +65 -65
  119. package/src/user/components/UserInfo.vue +708 -708
  120. package/src/user/components/UserResourceEmpty.vue +75 -75
  121. package/src/user/components/index.ts +23 -23
  122. package/src/user/index.ts +1 -1
  123. package/src/utils/utils.ts +28 -28
  124. package/tsconfig.json +30 -30
  125. package/types/global.d.ts +22 -22
  126. package/types/vue.d.ts +10 -10
  127. /package/dist/assets/{asset-DcH8Kg-2 → asset-3B_CoPto} +0 -0
@@ -1,219 +1,219 @@
1
- <template>
2
- <div class="consumption-filter">
3
- <div class="consumption-filter-title">
4
- 选择筛选项
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
+ 选择筛选项
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>