bxs-tools-ui 3.2.0 → 3.3.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/README.md +20 -20
- package/es/add-and-take/index.css +1 -1
- package/es/add-and-take/index.js +283 -64
- package/es/adjust-baoe/index.css +1 -1
- package/es/adjust-baoe/index.js +444 -195
- package/es/business-card/index.css +1 -1
- package/es/business-card/index.js +1 -0
- package/es/canvas-poster/index.css +1 -1
- package/es/canvas-poster/index.js +1 -0
- package/es/index.css +1 -1
- package/es/index.js +936 -824
- package/es/insure-calculate/index.css +1 -1
- package/es/insure-calculate/index.js +438 -265
- package/es/person-info/index.css +1 -1
- package/es/person-info/index.js +296 -1370
- package/es/product-info/index.css +1 -1
- package/es/product-info/index.js +644 -548
- package/es/share-sheet/index.css +1 -1
- package/es/share-sheet/index.js +313 -21
- package/es/utils/index.js +530 -429
- package/lib/add-and-take/index.css +1 -1
- package/lib/add-and-take/index.js +283 -64
- package/lib/adjust-baoe/index.css +1 -1
- package/lib/adjust-baoe/index.js +441 -194
- package/lib/business-card/index.css +1 -1
- package/lib/business-card/index.js +1 -0
- package/lib/canvas-poster/index.css +1 -1
- package/lib/canvas-poster/index.js +1 -0
- package/lib/index.css +1 -1
- package/lib/index.js +939 -826
- package/lib/insure-calculate/index.css +1 -1
- package/lib/insure-calculate/index.js +438 -268
- package/lib/person-info/index.css +1 -1
- package/lib/person-info/index.js +295 -1372
- package/lib/product-info/index.css +1 -1
- package/lib/product-info/index.js +645 -550
- package/lib/share-sheet/index.css +1 -1
- package/lib/share-sheet/index.js +313 -25
- package/lib/utils/index.js +531 -433
- package/package.json +9 -7
- package/packages/add-and-take/components/interest-form.less +144 -0
- package/packages/add-and-take/components/interest-form.vue +179 -179
- package/packages/add-and-take/components/interest-items.less +87 -0
- package/packages/add-and-take/components/interest-items.vue +67 -80
- package/packages/add-and-take/components/interest-table.less +111 -0
- package/packages/add-and-take/components/interest-table.vue +31 -31
- package/packages/add-and-take/constant.ts +2 -2
- package/packages/add-and-take/demo/index.vue +89 -86
- package/packages/add-and-take/handler.ts +52 -57
- package/packages/add-and-take/index.less +69 -0
- package/packages/add-and-take/index.vue +156 -156
- package/packages/add-and-take/readme.md +87 -98
- package/packages/adjust-baoe/demo/index.vue +37 -47
- package/packages/adjust-baoe/index.less +125 -0
- package/packages/adjust-baoe/index.vue +134 -147
- package/packages/adjust-baoe/readme.md +35 -45
- package/packages/business-card/demo/index.vue +7 -7
- package/packages/business-card/index.less +100 -0
- package/packages/business-card/index.vue +18 -21
- package/packages/business-card/readme.md +46 -53
- package/packages/bxs-utils/demo/index.vue +2 -2
- package/packages/bxs-utils/index.ts +5 -5
- package/packages/bxs-utils/planbook/common.ts +56 -92
- package/packages/bxs-utils/planbook/index.ts +4 -4
- package/packages/bxs-utils/planbook/insurance.ts +137 -127
- package/packages/bxs-utils/planbook/person.ts +143 -147
- package/packages/bxs-utils/planbook/product.ts +473 -509
- package/packages/bxs-utils/readme.md +94 -84
- package/packages/bxs-utils/trade/index.js +1 -1
- package/packages/bxs-utils/trade/insureCalculate.js +91 -204
- package/packages/canvas-poster/demo/index.vue +9 -13
- package/packages/canvas-poster/index.less +5 -0
- package/packages/canvas-poster/index.vue +68 -79
- package/packages/canvas-poster/readme.md +106 -109
- package/packages/index.ts +1 -1
- package/packages/insure-calculate/demo/index.vue +20 -20
- package/packages/insure-calculate/index.less +366 -0
- package/packages/insure-calculate/index.vue +305 -329
- package/packages/insure-calculate/readme.md +99 -106
- package/packages/person-info/crm-popup.vue +81 -80
- package/packages/person-info/demo/index.vue +25 -37
- package/packages/person-info/index-inline.less +11 -0
- package/packages/person-info/index.vue +53 -83
- package/packages/person-info/readme.md +109 -115
- package/packages/planbook-input/components/footer.less +54 -0
- package/packages/planbook-input/components/footer.vue +8 -64
- package/packages/planbook-input/components/handler.js +33 -44
- package/packages/planbook-input/components/product-table.less +235 -0
- package/packages/planbook-input/components/product-table.vue +114 -108
- package/packages/planbook-input/demo/index.vue +3 -3
- package/packages/planbook-input/helper.js +852 -465
- package/packages/planbook-input/index.less +30 -0
- package/packages/planbook-input/index.vue +86 -103
- package/packages/planbook-input/readme.md +72 -90
- package/packages/product-info/demo/constant.js +1 -1
- package/packages/product-info/demo/index.vue +31 -43
- package/packages/product-info/index.less +271 -0
- package/packages/product-info/index.vue +198 -210
- package/packages/product-info/readme.md +72 -75
- package/packages/share-sheet/constant.js +4 -4
- package/packages/share-sheet/demo/index.vue +10 -10
- package/packages/share-sheet/handler.js +14 -14
- package/packages/share-sheet/index.less +201 -0
- package/packages/share-sheet/index.vue +39 -39
- package/packages/share-sheet/readme.md +121 -127
- package/src/api/add-and-take.js +45 -0
- package/src/api/adjust-baoe.js +16 -0
- package/src/api/index.js +6 -0
- package/src/api/planbook.js +93 -0
- package/src/api/request.js +211 -0
- package/src/api/trade.js +56 -0
- package/src/api/user.js +18 -0
- package/src/components/common/common-age-birthday.less +66 -0
- package/src/components/common/common-age-birthday.vue +27 -95
- package/src/components/common/common-popup.less +81 -0
- package/src/components/common/common-popup.vue +12 -96
- package/src/components/common/common-radio.less +75 -0
- package/src/components/common/common-radio.vue +13 -91
- package/src/components/common/common-select.less +13 -0
- package/src/components/common/common-select.vue +21 -38
- package/src/components/common/common-title.less +115 -0
- package/src/components/common/common-title.vue +24 -24
- package/src/js/loading.js +6 -6
- package/src/js/md5Token.js +38 -44
- package/src/js/utils.js +45 -53
- package/src/js/variables.js +47 -25
- package/src/style/base.less +18 -0
- package/src/style/color.less +40 -0
- package/src/style/variables.less +21 -42
- package/packages/add-and-take/api.ts +0 -70
- package/packages/add-and-take/components/interest-form.css +0 -146
- package/packages/add-and-take/components/interest-items.css +0 -87
- package/packages/add-and-take/components/interest-table.css +0 -113
- package/packages/add-and-take/index.css +0 -70
- package/packages/adjust-baoe/index.css +0 -123
- package/packages/business-card/index.css +0 -101
- package/packages/canvas-poster/index.css +0 -5
- package/packages/insure-calculate/index.css +0 -368
- package/packages/planbook-input/api.js +0 -29
- package/packages/planbook-input/components/product-table.css +0 -236
- package/packages/planbook-input/index.css +0 -31
- package/packages/product-info/index.css +0 -264
- package/packages/share-sheet/index.css +0 -203
- package/src/components/common/common-title.css +0 -116
- package/src/js/request.js +0 -64
- package/src/style/apply.css +0 -25
- package/src/style/base.css +0 -36
- package/src/style/color.css +0 -74
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bxs-tools-ui",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.3.0",
|
|
4
4
|
"description": "微易前端业务组件",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -17,7 +17,6 @@
|
|
|
17
17
|
"build": "npm run init && rollup -c rollup/rollup.prod.js",
|
|
18
18
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
19
19
|
"eslint:fix": "eslint --fix '{src,packages,docs}/**/*.{js,vue,ts}'",
|
|
20
|
-
"precommit": "lint-staged",
|
|
21
20
|
"prettier": "prettier --write '{src,packages}/**/*.{js,vue}'",
|
|
22
21
|
"ts": "tsc --noEmit -w",
|
|
23
22
|
"create": "node build/node.copy.demo.js",
|
|
@@ -29,13 +28,14 @@
|
|
|
29
28
|
"prettier --write",
|
|
30
29
|
"git add"
|
|
31
30
|
],
|
|
32
|
-
"{src,packages}/**/*.{css,vue}": [
|
|
31
|
+
"{src,packages}/**/*.{css,less,vue}": [
|
|
33
32
|
"stylelint --fix",
|
|
34
33
|
"git add"
|
|
35
34
|
]
|
|
36
35
|
},
|
|
37
36
|
"husky": {
|
|
38
37
|
"hooks": {
|
|
38
|
+
"pre-commit": "lint-staged",
|
|
39
39
|
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
|
40
40
|
}
|
|
41
41
|
},
|
|
@@ -57,12 +57,13 @@
|
|
|
57
57
|
"@rollup/plugin-alias": "^5.1.1",
|
|
58
58
|
"@rollup/plugin-babel": "^6.0.4",
|
|
59
59
|
"@rollup/plugin-commonjs": "^28.0.6",
|
|
60
|
-
"@rollup/plugin-eslint": "
|
|
60
|
+
"@rollup/plugin-eslint": "~9.1.0",
|
|
61
61
|
"@rollup/plugin-html": "^1.1.0",
|
|
62
62
|
"@rollup/plugin-json": "^6.1.0",
|
|
63
63
|
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
64
64
|
"@rollup/plugin-replace": "^6.0.2",
|
|
65
65
|
"@rollup/plugin-typescript": "^12.1.4",
|
|
66
|
+
"@types/node": "~18.19.0",
|
|
66
67
|
"@types/vue": "^2.0.0",
|
|
67
68
|
"@typescript-eslint/eslint-plugin": "^2.34.0",
|
|
68
69
|
"@typescript-eslint/parser": "^2.34.0",
|
|
@@ -81,10 +82,10 @@
|
|
|
81
82
|
"eslint-plugin-prettier": "^3.4.1",
|
|
82
83
|
"eslint-plugin-vue": "^7.1.0",
|
|
83
84
|
"husky": "^3.0.2",
|
|
85
|
+
"less": "^4.6.4",
|
|
84
86
|
"lint-staged": "^7.2.2",
|
|
85
87
|
"md5": "^2.3.0",
|
|
86
88
|
"open": "^11.0.0",
|
|
87
|
-
"postcss-apply": "^0.12.0",
|
|
88
89
|
"postcss-import": "^12.0.1",
|
|
89
90
|
"postcss-preset-env": "^6.7.0",
|
|
90
91
|
"precss": "^4.0.0",
|
|
@@ -108,15 +109,16 @@
|
|
|
108
109
|
"tslint-config-standard": "^9.0.0",
|
|
109
110
|
"typescript": "^4.5.0",
|
|
110
111
|
"vconsole": "^3.15.0",
|
|
112
|
+
"vue": "2.6.14",
|
|
111
113
|
"vue-class-component": "^7.2.1",
|
|
112
114
|
"vue-json-tree": "^0.4.3",
|
|
113
115
|
"vue-property-decorator": "^8.3.0",
|
|
114
|
-
"vue-router": "^3.0.7"
|
|
116
|
+
"vue-router": "^3.0.7",
|
|
117
|
+
"vue-template-compiler": "2.6.14"
|
|
115
118
|
},
|
|
116
119
|
"dependencies": {
|
|
117
120
|
"@babel/runtime": "^7.27.6",
|
|
118
121
|
"@bxs/jax": "^1.23.0",
|
|
119
|
-
"axios": "^0.20.0",
|
|
120
122
|
"bxs-ui-vue": "^4.2.1",
|
|
121
123
|
"lodash": "^4.17.21",
|
|
122
124
|
"qs": "^6.15.0"
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
.bxt_aat_interest_form {
|
|
2
|
+
color: var(--bxt-text-primary);
|
|
3
|
+
font-size: 16px;
|
|
4
|
+
line-height: 24px;
|
|
5
|
+
padding-bottom: calc(62px + env(safe-area-inset-bottom));
|
|
6
|
+
|
|
7
|
+
& .bxt_aatif_adjust {
|
|
8
|
+
padding: 0 16px;
|
|
9
|
+
box-sizing: border-box;
|
|
10
|
+
|
|
11
|
+
& table {
|
|
12
|
+
width: 100%;
|
|
13
|
+
border-collapse: collapse;
|
|
14
|
+
font-size: 12px;
|
|
15
|
+
line-height: 12px;
|
|
16
|
+
font-weight: bold;
|
|
17
|
+
font-weight: 500;
|
|
18
|
+
|
|
19
|
+
& tr {
|
|
20
|
+
& td {
|
|
21
|
+
min-width: 32px;
|
|
22
|
+
padding: 6px;
|
|
23
|
+
border-bottom: 1px solid white;
|
|
24
|
+
border-left: 1px solid white;
|
|
25
|
+
text-align: center;
|
|
26
|
+
line-height: normal;
|
|
27
|
+
background: var(--bxt-bg-minor);
|
|
28
|
+
box-sizing: content-box;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
& td:nth-child(1),
|
|
32
|
+
& td:nth-child(2) {
|
|
33
|
+
width: 32px;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
& td:nth-child(3),
|
|
37
|
+
& td:nth-child(4),
|
|
38
|
+
& td:nth-child(5) {
|
|
39
|
+
min-width: 50px;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
& td:last-child {
|
|
43
|
+
width: 32px;
|
|
44
|
+
border-right: 1px solid white;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
& tr:first-child {
|
|
49
|
+
& td {
|
|
50
|
+
background: #e6f0ff;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
& .bxt_aatif_form {
|
|
57
|
+
& input {
|
|
58
|
+
text-align: right;
|
|
59
|
+
padding-right: 9px;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
& input::-webkit-input-placeholder {
|
|
63
|
+
font-size: 14px;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
& .van-cell::after {
|
|
67
|
+
right: 0;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
& .bxt_select {
|
|
71
|
+
position: relative;
|
|
72
|
+
width: 100%;
|
|
73
|
+
font-weight: bold;
|
|
74
|
+
text-align: right;
|
|
75
|
+
|
|
76
|
+
& .bxt_content {
|
|
77
|
+
display: inline-block;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
& .bxt_van-icon-arrow {
|
|
81
|
+
color: var(--bxt-feature-assist);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
& .bxt_aatif_form_item {
|
|
86
|
+
position: relative;
|
|
87
|
+
|
|
88
|
+
& .van-cell::after {
|
|
89
|
+
border-bottom: 0;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
& .bxt_aatif_form_item.purpose {
|
|
94
|
+
& .bxt_custom_purpose {
|
|
95
|
+
padding-top: 6px;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
& .bxt_aatif_form_item.baof {
|
|
100
|
+
& .bxt_max_baof {
|
|
101
|
+
padding: 0 16px 14px 16px;
|
|
102
|
+
font-size: 12px;
|
|
103
|
+
line-height: 18px;
|
|
104
|
+
font-weight: bold;
|
|
105
|
+
font-weight: 500;
|
|
106
|
+
color: #ff752a;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
& .bxt_aatif_form_item::after {
|
|
111
|
+
position: absolute;
|
|
112
|
+
box-sizing: border-box;
|
|
113
|
+
content: ' ';
|
|
114
|
+
pointer-events: none;
|
|
115
|
+
right: 0;
|
|
116
|
+
bottom: 0;
|
|
117
|
+
left: 1rem;
|
|
118
|
+
border-bottom: 1px solid #ebedf0;
|
|
119
|
+
transform: scaleY(0.5);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
& .bxt_aatif_form_item__extra {
|
|
123
|
+
font-size: 16px;
|
|
124
|
+
line-height: 24px;
|
|
125
|
+
font-weight: bold;
|
|
126
|
+
font-weight: 500;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
& .bxt_take_limit {
|
|
131
|
+
padding: 10px 16px;
|
|
132
|
+
font-size: 14px;
|
|
133
|
+
color: var(--bxt-text-minor);
|
|
134
|
+
|
|
135
|
+
& .bxt_take_limit_title {
|
|
136
|
+
font-size: 15px;
|
|
137
|
+
font-weight: bold;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
& .bxt_take_limit_tx {
|
|
141
|
+
color: var(--bxt-text-patch);
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
}
|