@uxda/appkit 1.2.72 → 4.0.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.
- package/.eslintrc.mjs +7 -7
- package/README.md +187 -187
- package/babel.config.js +12 -12
- package/dist/appkit.css +7 -501
- package/dist/index.js +58 -85
- package/package.json +78 -78
- package/project.config.json +15 -15
- package/project.tt.json +13 -13
- package/rollup.config.mjs +54 -54
- package/src/Appkit.ts +65 -65
- package/src/balance/api/endpoints.ts +126 -126
- package/src/balance/api/index.ts +82 -82
- package/src/balance/components/AccountView.vue +748 -748
- package/src/balance/components/BalanceCard.vue +209 -209
- package/src/balance/components/BalanceReminder.vue +85 -85
- package/src/balance/components/ConsumptionFilter.vue +218 -218
- package/src/balance/components/ConsumptionRules.vue +68 -68
- package/src/balance/components/DateFilter.vue +235 -235
- package/src/balance/components/SecondBalance.vue +71 -71
- package/src/balance/components/Tip.vue +45 -45
- package/src/balance/components/index.ts +9 -9
- package/src/balance/types.ts +90 -90
- package/src/components/dd-area/index.vue +225 -225
- package/src/components/dd-icon/doc.md +21 -21
- package/src/components/dd-icon/index.vue +23 -23
- package/src/components/dd-notice-bar/index.vue +78 -78
- package/src/components/dd-search/doc.md +34 -34
- package/src/components/dd-search/index.vue +168 -168
- package/src/components/dd-selector/index.vue +124 -124
- package/src/components/ocr-id/index.vue +114 -114
- package/src/components/ocr-id/types.d.ts +12 -12
- package/src/global.ts +6 -6
- package/src/index.ts +88 -88
- package/src/main.scss +1 -1
- package/src/notice/api/endpoints.ts +17 -17
- package/src/notice/api/index.ts +82 -82
- package/src/notice/components/LoginSetting.vue +112 -112
- package/src/notice/components/NoticeBanner.vue +243 -243
- package/src/notice/components/NoticeEntry.vue +99 -99
- package/src/notice/components/NoticeList.vue +278 -315
- package/src/notice/components/NoticePopup.vue +163 -161
- package/src/notice/components/index.ts +6 -6
- package/src/notice/components/useCommonList.ts +86 -86
- package/src/notice/components/useNotice.ts +35 -35
- package/src/notice/index.ts +1 -1
- package/src/notice/types.ts +25 -25
- package/src/payment/api/config.ts +7 -7
- package/src/payment/api/endpoints.ts +103 -103
- package/src/payment/api/index.ts +71 -71
- package/src/payment/components/AmountPicker.vue +93 -93
- package/src/payment/components/RechargeResult.vue +69 -69
- package/src/payment/components/RechargeView.vue +154 -154
- package/src/payment/components/RightsPicker.vue +105 -105
- package/src/payment/components/TradeView.vue +298 -298
- package/src/payment/components/UserAgreement.vue +141 -141
- package/src/payment/components/index.ts +22 -22
- package/src/payment/index.ts +5 -5
- package/src/payment/services/index.ts +16 -16
- package/src/payment/services/invoke-recharge.ts +25 -25
- package/src/payment/services/request-payment.ts +58 -58
- package/src/payment/types.ts +28 -28
- package/src/register/components/SelfRegistration.vue +227 -227
- package/src/register/components/index.ts +2 -2
- package/src/shared/components/AppDrawer.vue +58 -58
- package/src/shared/components/DeviceVersion.vue +67 -67
- package/src/shared/components/EmptyView.vue +33 -33
- package/src/shared/components/PageHeader.vue +79 -79
- package/src/shared/components/index.ts +5 -5
- package/src/shared/composables/index.ts +2 -2
- package/src/shared/composables/useSafeArea.ts +46 -46
- package/src/shared/composables/useTabbar.ts +24 -24
- package/src/shared/http/Http.ts +135 -135
- package/src/shared/http/index.ts +1 -1
- package/src/shared/http/types.ts +157 -157
- package/src/shared/index.ts +3 -3
- package/src/shared/weixin/payment.ts +38 -38
- package/src/styles/fonts.scss +2 -2
- package/src/styles/vars.scss +3 -3
- package/tsconfig.json +30 -30
- package/types/global.d.ts +21 -21
- package/types/vue.d.ts +10 -10
- package/dist/main.css +0 -3
- package/dist/styles.css +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>
|