@uxda/appkit 4.3.28 → 4.3.30

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 (141) hide show
  1. package/.cursor/skills/appkit-build-update-component-rules/SKILL.md +54 -49
  2. package/.cursor/skills/appkit-sync-component-rules/SKILL.md +60 -0
  3. package/.eslintrc.mjs +7 -7
  4. package/Appkit/347/273/204/344/273/266/344/275/277/347/224/250/350/247/204/345/210/231.md +2002 -1786
  5. package/PROJECT_DOCS.md +142 -142
  6. package/README.md +194 -194
  7. package/babel.config.js +12 -12
  8. package/dist/appkit.css +112 -3
  9. package/dist/index.js +155 -28
  10. package/package.json +82 -82
  11. package/project.config.json +15 -15
  12. package/project.tt.json +13 -13
  13. package/rollup.config.mjs +81 -81
  14. package/src/Appkit.ts +72 -72
  15. package/src/balance/api/endpoints.ts +133 -133
  16. package/src/balance/api/index.ts +118 -118
  17. package/src/balance/components/AccountView.vue +770 -770
  18. package/src/balance/components/BalanceCard.vue +210 -210
  19. package/src/balance/components/BalanceReminder.vue +84 -84
  20. package/src/balance/components/ConsumptionFilter.vue +218 -218
  21. package/src/balance/components/ConsumptionRules.vue +68 -68
  22. package/src/balance/components/DateFilter.vue +259 -259
  23. package/src/balance/components/DateRange.vue +111 -111
  24. package/src/balance/components/ListFilter.vue +62 -62
  25. package/src/balance/components/ListFilterPicker.vue +191 -191
  26. package/src/balance/components/PromoterCard.vue +308 -308
  27. package/src/balance/components/SecondBalance.vue +77 -77
  28. package/src/balance/components/Tip.vue +45 -45
  29. package/src/balance/components/index.ts +8 -8
  30. package/src/balance/types.ts +99 -99
  31. package/src/components/bt-cropper/index.vue +730 -730
  32. package/src/components/bt-cropper/utils/calcCropper.js +42 -42
  33. package/src/components/bt-cropper/utils/calcImagePosition.js +23 -23
  34. package/src/components/bt-cropper/utils/calcImageSize.js +37 -37
  35. package/src/components/bt-cropper/utils/calcPointDistance.js +12 -12
  36. package/src/components/bt-cropper/utils/calcRightAndBottom.js +7 -7
  37. package/src/components/bt-cropper/utils/ratio.js +3 -3
  38. package/src/components/bt-cropper/utils/tools.js +25 -25
  39. package/src/components/dd-area/index.vue +225 -225
  40. package/src/components/dd-icon/doc.md +21 -21
  41. package/src/components/dd-icon/index.vue +23 -23
  42. package/src/components/dd-notice-bar/index.vue +78 -78
  43. package/src/components/dd-search/doc.md +34 -34
  44. package/src/components/dd-search/index.vue +168 -168
  45. package/src/components/dd-selector/index.vue +124 -124
  46. package/src/components/dd-skeleton/doc.md +19 -19
  47. package/src/components/dd-skeleton/index.vue +36 -36
  48. package/src/global.ts +6 -6
  49. package/src/index.ts +101 -101
  50. package/src/main.scss +1 -1
  51. package/src/notice/api/endpoints.ts +54 -54
  52. package/src/notice/api/index.ts +121 -121
  53. package/src/notice/components/NoticeBanner.vue +247 -247
  54. package/src/notice/components/NoticeEntry.vue +99 -99
  55. package/src/notice/components/NoticeList.vue +311 -311
  56. package/src/notice/components/NoticeList2.vue +401 -401
  57. package/src/notice/components/NoticePopup.vue +163 -163
  58. package/src/notice/components/index.ts +6 -6
  59. package/src/notice/components/useCommonList.ts +87 -87
  60. package/src/notice/components/useNotice.ts +35 -35
  61. package/src/notice/index.ts +1 -1
  62. package/src/notice/types.ts +25 -25
  63. package/src/payment/api/config.ts +7 -7
  64. package/src/payment/api/endpoints.ts +112 -112
  65. package/src/payment/api/index.ts +108 -108
  66. package/src/payment/components/AmountPicker.vue +77 -68
  67. package/src/payment/components/RechargeResult.vue +68 -68
  68. package/src/payment/components/RechargeView.vue +414 -227
  69. package/src/payment/components/RightsPicker.vue +105 -105
  70. package/src/payment/components/TradeView.vue +616 -616
  71. package/src/payment/components/UserAgreement.vue +234 -234
  72. package/src/payment/components/index.ts +22 -22
  73. package/src/payment/components/recharge-amount.spec.ts +51 -0
  74. package/src/payment/components/recharge-amount.ts +63 -0
  75. package/src/payment/index.ts +5 -5
  76. package/src/payment/services/index.ts +16 -16
  77. package/src/payment/services/invoke-recharge.ts +25 -25
  78. package/src/payment/services/request-payment.ts +136 -136
  79. package/src/payment/types.ts +34 -34
  80. package/src/register/components/SelfRegistration.vue +233 -233
  81. package/src/register/components/index.ts +2 -2
  82. package/src/scenarios/components/SharePoster.vue +364 -364
  83. package/src/scenarios/components/index.ts +2 -2
  84. package/src/scenarios/components/poster-paste.vue +93 -93
  85. package/src/scenarios/components/share-poster.md +273 -273
  86. package/src/shared/components/AppDrawer.vue +53 -53
  87. package/src/shared/components/AppVerify.vue +137 -137
  88. package/src/shared/components/DeviceVersion.vue +78 -78
  89. package/src/shared/components/EmptyView.vue +33 -33
  90. package/src/shared/components/OcrBank.vue +202 -202
  91. package/src/shared/components/OcrBusinessLicense.vue +120 -120
  92. package/src/shared/components/OcrIcon.vue +267 -267
  93. package/src/shared/components/OcrInvoice.vue +323 -323
  94. package/src/shared/components/OfficeDocx.vue +33 -33
  95. package/src/shared/components/OfficePdf.vue +35 -35
  96. package/src/shared/components/PageHeader.vue +84 -84
  97. package/src/shared/components/index.ts +12 -12
  98. package/src/shared/composables/index.ts +10 -10
  99. package/src/shared/composables/useAmount.ts +46 -46
  100. package/src/shared/composables/useCompress.ts +64 -64
  101. package/src/shared/composables/useCountdown.ts +46 -46
  102. package/src/shared/composables/useCrypto.ts +76 -76
  103. package/src/shared/composables/useDeviceEnv.ts +61 -61
  104. package/src/shared/composables/useDragBox.ts +97 -97
  105. package/src/shared/composables/useEncode.ts +43 -43
  106. package/src/shared/composables/useLogger.ts +149 -149
  107. package/src/shared/composables/useSafeArea.ts +46 -46
  108. package/src/shared/composables/useTabbar.ts +24 -24
  109. package/src/shared/composables/useUpload.ts +106 -106
  110. package/src/shared/composables/useValidator.ts +32 -32
  111. package/src/shared/composables/useWxAuth.ts +49 -49
  112. package/src/shared/http/Http.ts +149 -149
  113. package/src/shared/http/index.ts +1 -1
  114. package/src/shared/http/types.ts +163 -163
  115. package/src/shared/index.ts +9 -9
  116. package/src/shared/tracking/directives/index.ts +40 -40
  117. package/src/shared/tracking/examples/page-tracking-template.vue +27 -27
  118. package/src/shared/weixin/index.ts +9 -9
  119. package/src/shared/weixin/jssdk.ts +104 -104
  120. package/src/shared/weixin/payment.ts +38 -38
  121. package/src/styles/vars.scss +3 -3
  122. package/src/user/api/endpoints.ts +17 -17
  123. package/src/user/api/index.ts +123 -123
  124. package/src/user/components/LoginSetting.vue +114 -114
  125. package/src/user/components/UserAuth.vue +218 -218
  126. package/src/user/components/UserBinding.vue +277 -277
  127. package/src/user/components/UserBindingSuccess.vue +80 -80
  128. package/src/user/components/UserEntry.vue +139 -139
  129. package/src/user/components/UserFeedback.vue +428 -428
  130. package/src/user/components/UserFeedbackEntry.vue +175 -175
  131. package/src/user/components/UserHeadCrop.vue +65 -65
  132. package/src/user/components/UserInfo.vue +711 -711
  133. package/src/user/components/UserResourceEmpty.vue +75 -75
  134. package/src/user/components/index.ts +23 -23
  135. package/src/user/index.ts +1 -1
  136. package/src/utils/utils.ts +33 -33
  137. package/tsconfig.json +30 -30
  138. package/types/global.d.ts +23 -23
  139. package/types/vue.d.ts +10 -10
  140. package/dist/assets/asset-3B_CoPto +0 -1
  141. package/dist/assets/asset-DcH8Kg-2 +0 -1
@@ -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" v-track-click="'选择筛选项-确定'" @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 {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OUMzNC41ODUgOC42NTgyOCAzNC42MTMzIDkuNjQ4MDMgMzQuMDQ4NSAxMC4zMDI4TDIzLjM1NjEgMjAuOTk5OVoiIGZpbGw9IiMxNzFBMUQiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS1vcGFjaXR5PSIwLjAxIi8+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" v-track-click="'选择筛选项-确定'" @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,PHN2ZyB3aWR0aD0iNDIiIGhlaWdodD0iNDIiIHZpZXdCb3g9IjAgMCA0MiA0MiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggb3BhY2l0eT0iMC4wMSIgZmlsbC1ydWxlPSJldmVub2RkIi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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" v-track-click="'规则说明-我知道了'" @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" v-track-click="'规则说明-我知道了'" @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>