bxs-tools-ui 3.0.0-0 → 3.0.0-2
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/es/add-and-take/index.css +1 -1
- package/es/add-and-take/index.js +52 -155
- package/es/adjust-baoe/index.js +23 -7
- package/es/index.css +1 -1
- package/es/index.js +114 -203
- package/es/insure-calculate/index.css +1 -1
- package/es/insure-calculate/index.js +25 -19
- package/es/person-info/index.js +77 -94
- package/es/product-info/index.js +80 -44
- package/es/utils/index.js +52 -34
- package/lib/add-and-take/index.css +1 -1
- package/lib/add-and-take/index.js +55 -158
- package/lib/adjust-baoe/index.js +23 -7
- package/lib/index.css +1 -1
- package/lib/index.js +117 -206
- package/lib/insure-calculate/index.css +1 -1
- package/lib/insure-calculate/index.js +25 -19
- package/lib/person-info/index.js +77 -94
- package/lib/product-info/index.js +80 -44
- package/lib/utils/index.js +52 -34
- package/package.json +1 -1
- package/packages/add-and-take/api.ts +3 -2
- package/packages/add-and-take/components/interest-table.css +47 -93
- package/packages/add-and-take/components/interest-table.vue +37 -165
- package/packages/add-and-take/index.css +0 -1
- package/packages/adjust-baoe/demo/index.vue +2 -1
- package/packages/adjust-baoe/index.vue +2 -2
- package/packages/bxs-utils/planbook/product.ts +27 -10
- package/packages/bxs-utils/trade/insureCalculate.js +2 -11
- package/packages/index.ts +1 -1
- package/packages/insure-calculate/index.vue +5 -2
- package/packages/person-info/demo/index.vue +2 -1
- package/packages/person-info/index.vue +3 -0
- package/packages/planbook-input/api.js +2 -1
- package/packages/planbook-input/components/product-table.vue +25 -12
- package/packages/planbook-input/helper.js +2 -1
- package/packages/planbook-input/index.vue +3 -2
- package/packages/product-info/demo/index.vue +2 -1
- package/packages/product-info/index.vue +6 -4
- package/src/components/common/common-age-birthday.vue +5 -0
- package/src/components/common/common-radio.vue +5 -0
- package/src/components/common/common-select.vue +5 -1
- package/src/js/variables.js +34 -8
- package/src/components/common/common-switch.vue +0 -94
|
@@ -1 +1 @@
|
|
|
1
|
-
.bxt_common_field_radio{padding-bottom:11px;padding-top:11px}.bxt_common_field_radio .van-field__control--right .bxt_common_form_radio.disabled .bxt_common_form_radio_item{padding-right:0}.bxt_common_field_radio .bxt_common_form_radio{font-size:13px;margin-bottom:-8px;margin-right:-8px}.bxt_common_field_radio .bxt_common_form_radio .bxt_common_form_radio_item{background:#f2f2f2;border:1px solid #f2f2f2;border-radius:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;color:#999;display:inline-block;font-weight:400;line-height:13px;margin-bottom:6px;margin-right:8px;min-width:60px;padding:6px 9px;text-align:center}.bxt_common_field_radio .bxt_common_form_radio .bxt_common_form_radio_item.active{background:rgba(2,92,234,.1);border-color:#0a64fe;color:#0a64fe;font-weight:700;font-weight:500}.bxt_common_field_radio .bxt_common_form_radio .bxt_common_form_radio_item.disabled{color:#999}.bxt_common_field_radio .bxt_common_form_radio .van-radio-group .van-radio .van-radio__icon{font-size:16px}.bxt_common_field_radio .bxt_common_form_radio.disabled .bxt_common_form_radio_item{border-color:transparent;color:#ccc;padding-left:0;padding-right:0}.bxt_common_field_radio .bxt_common_form_radio.disabled .bxt_common_form_radio_item.active{background:0;border-color:transparent;color:#ccc}.bxt_common_field_radio.bxt_border .bxt_common_form_radio{margin-bottom:0}.bxt_aat_interest_form{color:#333;font-size:16px;line-height:24px}.bxt_aat_interest_form .bxt_aatif_adjust{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0 16px}.bxt_aat_interest_form .bxt_aatif_adjust table{border-collapse:collapse;font-size:12px;font-weight:700;font-weight:500;line-height:12px;width:100%}.bxt_aat_interest_form .bxt_aatif_adjust table tr td{background:#f8f8f8;border-bottom:1px solid #fff;border-left:1px solid #fff;line-height:normal;min-width:32px;padding:6px;text-align:center}.bxt_aat_interest_form .bxt_aatif_adjust table tr td:first-child,.bxt_aat_interest_form .bxt_aatif_adjust table tr td:nth-child(2){width:32px}.bxt_aat_interest_form .bxt_aatif_adjust table tr td:nth-child(3),.bxt_aat_interest_form .bxt_aatif_adjust table tr td:nth-child(4),.bxt_aat_interest_form .bxt_aatif_adjust table tr td:nth-child(5){min-width:50px}.bxt_aat_interest_form .bxt_aatif_adjust table tr td:last-child{border-right:1px solid #fff;width:32px}.bxt_aat_interest_form .bxt_aatif_adjust table tr:first-child td{background:#e6f0ff}.bxt_aat_interest_form .bxt_aatif_form input{padding-right:9px;text-align:right}.bxt_aat_interest_form .bxt_aatif_form input::-webkit-input-placeholder{font-size:14px}.bxt_aat_interest_form .bxt_aatif_form .van-cell:after{right:0}.bxt_aat_interest_form .bxt_aatif_form .bxt_select{font-weight:700;position:relative;text-align:right;width:100%}.bxt_aat_interest_form .bxt_aatif_form .bxt_select .bxt_content{display:inline-block}.bxt_aat_interest_form .bxt_aatif_form .bxt_select .bxt_van-icon-arrow{color:#fffeed}.bxt_aat_interest_form .bxt_aatif_form .bxt_aatif_form_item{position:relative}.bxt_aat_interest_form .bxt_aatif_form .bxt_aatif_form_item .van-cell:after{border-bottom:0}.bxt_aat_interest_form .bxt_aatif_form .bxt_aatif_form_item.purpose .bxt_custom_purpose{padding-top:6px}.bxt_aat_interest_form .bxt_aatif_form .bxt_aatif_form_item.baof .bxt_max_baof{color:#ff752a;font-size:12px;font-weight:700;font-weight:500;line-height:18px;padding:0 16px 14px}.bxt_aat_interest_form .bxt_aatif_form .bxt_aatif_form_item:after{border-bottom:1px solid #ebedf0;bottom:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";left:1rem;pointer-events:none;position:absolute;right:0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.bxt_aat_interest_form .bxt_aatif_form .bxt_aatif_form_item__extra{font-size:16px;font-weight:700;font-weight:500;line-height:24px}.bxt_aat_interest_form .bxt_take_limit{color:#666;font-size:14px;padding:10px 16px}.bxt_aat_interest_form .bxt_take_limit .bxt_take_limit_title{font-size:15px;font-weight:700}.bxt_aat_interest_form .bxt_take_limit .bxt_take_limit_tx{color:#999}.aat_interest_form .aatif_add_button .add-disabled{background:rgba(2,92,234,.3);border:.0625rem solid transparent;color:#fff}.bxt_aat_interest_items{font-size:13px}.bxt_aat_interest_items input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:0 0;border:none;vertical-align:middle}.bxt_aat_interest_items .bxt_aatii_item{border-radius:6px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;margin-bottom:9px;margin-right:10px}.bxt_aat_interest_items .bxt_aatii_item .bxt_aatii_item_left{-webkit-box-flex:0;-moz-box-flex:0;color:#999;-webkit-flex:0 0 5em;-ms-flex:0 0 5em;flex:0 0 5em;margin-bottom:12px;margin-right:7px;margin-top:3px;text-align:right}.bxt_aat_interest_items .bxt_aatii_item .bxt_aatii_item_right{-webkit-box-flex:1;-moz-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.bxt_aat_interest_items .bxt_aatii_item .bxt_aatii_item_right .bxt_aatii_item_right_options>span{background:rgba(0,0,0,.04);border-radius:50px;display:inline-block;margin:0 9px 9px 0;overflow:hidden;padding:3px 6px;text-align:center;white-space:nowrap;width:42%}.bxt_aat_interest_items .bxt_aatii_item .bxt_aatii_item_right .bxt_aatii_item_right_options>span.active{background:#e6effe;color:#0a64fe;font-weight:700}.bxt_aat_interest_items .bxt_aatii_item .bxt_aatii_item_right .bxt_aatii_item_right_custom{background:#f4f8ff;border-radius:6px;margin-bottom:9px;padding:12px;position:relative}.bxt_aat_interest_items .bxt_aatii_item .bxt_aatii_item_right .bxt_aatii_item_right_custom .bxt_aatii_item_right_custom_input input{background:#fff;border:1px solid #e6e6e6;border-radius:50px;margin-right:6px;padding:3px 9px;vertical-align:middle;width:110px}.bxt_aat_interest_items .bxt_aatii_item .bxt_aatii_item_right .bxt_aatii_item_right_custom .bxt_aatii_item_right_custom_input span{vertical-align:middle}.bxt_aat_interest_items .bxt_aatii_item .bxt_aatii_item_right .bxt_aatii_item_right_custom .bxt_aatii_item_right_custom_tips span{background:#f5f5f5;border:1px solid #d3d3d3;border-radius:50px;color:#666;display:inline-block;margin-top:12px;padding:3px 9px}.bxt_aat_interest_table .bxt_aatit_content{color:#333;font-size:0;white-space:nowrap;width:100%}.bxt_aat_interest_table .bxt_aatit_content .bxt_aatit_content_left,.bxt_aat_interest_table .bxt_aatit_content .bxt_aatit_content_right{display:inline-block;font-size:12px;text-align:left;vertical-align:top;width:18%}.bxt_aat_interest_table .bxt_aatit_content .bxt_aatit_content_left .bxt_aatit_content_record,.bxt_aat_interest_table .bxt_aatit_content .bxt_aatit_content_right .bxt_aatit_content_record{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;height:32px;line-height:32px;white-space:nowrap}.bxt_aat_interest_table .bxt_aatit_content .bxt_aatit_content_left .bxt_aatit_content_record .bxt_aatit_content_cell,.bxt_aat_interest_table .bxt_aatit_content .bxt_aatit_content_right .bxt_aatit_content_record .bxt_aatit_content_cell{-webkit-box-flex:1;-moz-box-flex:1;border-bottom:1px solid #e5e5e5;border-right:1px solid #e5e5e5;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:inline-block;-webkit-flex:1;-ms-flex:1;flex:1;overflow:hidden;padding:0 6px;white-space:nowrap}.bxt_aat_interest_table .bxt_aatit_content .bxt_aatit_content_left .bxt_aatit_content_record:first-child,.bxt_aat_interest_table .bxt_aatit_content .bxt_aatit_content_right .bxt_aatit_content_record:first-child{height:auto;line-height:14px;min-height:32px}.bxt_aat_interest_table .bxt_aatit_content .bxt_aatit_content_left .bxt_aatit_content_record:first-child .bxt_aatit_content_cell,.bxt_aat_interest_table .bxt_aatit_content .bxt_aatit_content_right .bxt_aatit_content_record:first-child .bxt_aatit_content_cell{-webkit-box-align:center;-moz-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-moz-box-pack:center;-ms-flex-pack:center;-webkit-align-items:center;align-items:center;background:#f2f3f5;border-color:#fff;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;height:auto;-webkit-justify-content:center;justify-content:center;padding:6px;white-space:normal}.bxt_aat_interest_table .bxt_aatit_content .bxt_aatit_content_left .bxt_aatit_content_record:first-child .bxt_aatit_content_cell span,.bxt_aat_interest_table .bxt_aatit_content .bxt_aatit_content_right .bxt_aatit_content_record:first-child .bxt_aatit_content_cell span{text-align:center}.bxt_aat_interest_table .bxt_aatit_content .bxt_aatit_content_left{overflow:hidden}.bxt_aat_interest_table .bxt_aatit_content .bxt_aatit_content_left .bxt_aatit_content_record .bxt_aatit_content_cell{color:#999;text-align:center;width:50%}.bxt_aat_interest_table .bxt_aatit_content .bxt_aatit_content_left .bxt_aatit_content_record .bxt_aatit_content_cell:first-child{border-left:1px solid #e5e5e5}.bxt_aat_interest_table .bxt_aatit_content .bxt_aatit_content_right{min-height:0;overflow:hidden;width:82%}.bxt_aat_interest_table .bxt_aatit_content .bxt_aatit_content_right .bxt_aatit_content_record .bxt_aatit_content_cell{font-weight:700;font-weight:500}.bxt_aat_interest_table .bxt_aatit_content .bxt_aatit_content_right .bxt_aatit_content_record .bxt_aatit_content_cell.disabled,.bxt_aat_interest_table .bxt_aatit_content .bxt_aatit_content_right .bxt_aatit_content_record .bxt_aatit_content_cell.zero span:first-child{color:#999}.bxt_aat_interest_table .bxt_aatit_content .bxt_aatit_content_right .bxt_aatit_content_record .bxt_aatit_content_cell.purpose span{vertical-align:middle}.bxt_aat_interest_table .bxt_aatit_content .bxt_aatit_content_right .bxt_aatit_content_record .bxt_aatit_content_cell.purpose span:nth-child(2){background:rgba(10,100,254,.1);border-radius:2px;color:#0a64fe;display:inline-block;font-size:12px;line-height:100%;margin-left:2px;padding:2px;-webkit-transform:scale(.8333);transform:scale(.8333);-webkit-transform-origin:left center;transform-origin:left center}.bxt_aatit_fixed{line-height:normal!important;min-height:50px;position:fixed;width:inherit}.bxt_aatit_fixed .bxt_aatit_fixed_head{-webkit-box-pack:center;-moz-box-pack:center;-ms-flex-pack:center;-webkit-box-align:center;-moz-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;background-color:#f2f3f5;display:-webkit-box!important;display:-webkit-flex!important;display:-moz-box!important;display:-ms-flexbox!important;display:flex!important;-webkit-justify-content:center;justify-content:center;white-space:normal!important}.bxt_aatit_fixed .bxt_aatit_fixed_head span{text-align:center}*{margin:0;padding:0}body{color:#333}dl,ul{list-style:none}img{max-width:100%}a{color:#333;display:block;text-decoration:none}em{font-style:normal}article,aside,footer,header,nav,section{display:block}.bxt_add_and_take{background:#fff;padding-top:16px}.bxt_add_and_take.bxt_add_and_take__footer:after{content:"";display:block;height:constant(safe-area-inset-bottom);height:env(safe-area-inset-bottom)}.bxt_add_and_take.bxt_add_and_take__footer{margin-bottom:64px}.bxt_add_and_take .bxt_add_and_take_tips{color:#999;font-size:13px;margin-bottom:8px;text-align:center}.bxt_add_and_take .bxt_add_and_take_footer:after{content:"";display:block;height:constant(safe-area-inset-bottom);height:env(safe-area-inset-bottom)}.bxt_add_and_take .bxt_add_and_take_footer{background:#fff;bottom:0;-webkit-box-shadow:0 -6px 10px 0 rgba(23,32,77,.05);box-shadow:0 -6px 10px 0 rgba(23,32,77,.05);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;left:0;padding:7px 16px;position:fixed;width:100%}.bxt_add_and_take .bxt_add_and_take_footer .bxt_add_and_take_footer_wrapper{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;font-size:14px;line-height:20px}.bxt_add_and_take .bxt_add_and_take_footer .bxt_add_and_take_footer_wrapper .bxt_item{-webkit-box-flex:1;-moz-box-flex:1;background:#fff;border:1px solid #e5e5e5;border-radius:8px;color:#333;-webkit-flex:1;-ms-flex:1;flex:1;margin-right:12px;padding:7px 0;text-align:center}.bxt_add_and_take .bxt_add_and_take_footer .bxt_add_and_take_footer_wrapper .bxt_item.primary{background:#0a64fe;border:1px solid #0a64fe;color:#fff}.bxt_add_and_take .bxt_add_and_take_footer .bxt_add_and_take_footer_wrapper .bxt_item.minor{background:#fff;border:1px solid #0a64fe;color:#0a64fe}.bxt_add_and_take .bxt_add_and_take_footer .bxt_add_and_take_footer_wrapper .bxt_item.disabled{background:rgba(2,92,234,.3);border:1px solid transparent;color:#fff}.bxt_add_and_take .bxt_add_and_take_footer .bxt_add_and_take_footer_wrapper .bxt_item:last-child{margin-right:0}
|
|
1
|
+
.bxt_common_field_radio{padding-bottom:11px;padding-top:11px}.bxt_common_field_radio .van-field__control--right .bxt_common_form_radio.disabled .bxt_common_form_radio_item{padding-right:0}.bxt_common_field_radio .bxt_common_form_radio{font-size:13px;margin-bottom:-8px;margin-right:-8px}.bxt_common_field_radio .bxt_common_form_radio .bxt_common_form_radio_item{background:#f2f2f2;border:1px solid #f2f2f2;border-radius:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;color:#999;display:inline-block;font-weight:400;line-height:13px;margin-bottom:6px;margin-right:8px;min-width:60px;padding:6px 9px;text-align:center}.bxt_common_field_radio .bxt_common_form_radio .bxt_common_form_radio_item.active{background:rgba(2,92,234,.1);border-color:#0a64fe;color:#0a64fe;font-weight:700;font-weight:500}.bxt_common_field_radio .bxt_common_form_radio .bxt_common_form_radio_item.disabled{color:#999}.bxt_common_field_radio .bxt_common_form_radio .van-radio-group .van-radio .van-radio__icon{font-size:16px}.bxt_common_field_radio .bxt_common_form_radio.disabled .bxt_common_form_radio_item{border-color:transparent;color:#ccc;padding-left:0;padding-right:0}.bxt_common_field_radio .bxt_common_form_radio.disabled .bxt_common_form_radio_item.active{background:0;border-color:transparent;color:#ccc}.bxt_common_field_radio.bxt_border .bxt_common_form_radio{margin-bottom:0}.bxt_aat_interest_form{color:#333;font-size:16px;line-height:24px}.bxt_aat_interest_form .bxt_aatif_adjust{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0 16px}.bxt_aat_interest_form .bxt_aatif_adjust table{border-collapse:collapse;font-size:12px;font-weight:700;font-weight:500;line-height:12px;width:100%}.bxt_aat_interest_form .bxt_aatif_adjust table tr td{background:#f8f8f8;border-bottom:1px solid #fff;border-left:1px solid #fff;line-height:normal;min-width:32px;padding:6px;text-align:center}.bxt_aat_interest_form .bxt_aatif_adjust table tr td:first-child,.bxt_aat_interest_form .bxt_aatif_adjust table tr td:nth-child(2){width:32px}.bxt_aat_interest_form .bxt_aatif_adjust table tr td:nth-child(3),.bxt_aat_interest_form .bxt_aatif_adjust table tr td:nth-child(4),.bxt_aat_interest_form .bxt_aatif_adjust table tr td:nth-child(5){min-width:50px}.bxt_aat_interest_form .bxt_aatif_adjust table tr td:last-child{border-right:1px solid #fff;width:32px}.bxt_aat_interest_form .bxt_aatif_adjust table tr:first-child td{background:#e6f0ff}.bxt_aat_interest_form .bxt_aatif_form input{padding-right:9px;text-align:right}.bxt_aat_interest_form .bxt_aatif_form input::-webkit-input-placeholder{font-size:14px}.bxt_aat_interest_form .bxt_aatif_form .van-cell:after{right:0}.bxt_aat_interest_form .bxt_aatif_form .bxt_select{font-weight:700;position:relative;text-align:right;width:100%}.bxt_aat_interest_form .bxt_aatif_form .bxt_select .bxt_content{display:inline-block}.bxt_aat_interest_form .bxt_aatif_form .bxt_select .bxt_van-icon-arrow{color:#fffeed}.bxt_aat_interest_form .bxt_aatif_form .bxt_aatif_form_item{position:relative}.bxt_aat_interest_form .bxt_aatif_form .bxt_aatif_form_item .van-cell:after{border-bottom:0}.bxt_aat_interest_form .bxt_aatif_form .bxt_aatif_form_item.purpose .bxt_custom_purpose{padding-top:6px}.bxt_aat_interest_form .bxt_aatif_form .bxt_aatif_form_item.baof .bxt_max_baof{color:#ff752a;font-size:12px;font-weight:700;font-weight:500;line-height:18px;padding:0 16px 14px}.bxt_aat_interest_form .bxt_aatif_form .bxt_aatif_form_item:after{border-bottom:1px solid #ebedf0;bottom:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";left:1rem;pointer-events:none;position:absolute;right:0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.bxt_aat_interest_form .bxt_aatif_form .bxt_aatif_form_item__extra{font-size:16px;font-weight:700;font-weight:500;line-height:24px}.bxt_aat_interest_form .bxt_take_limit{color:#666;font-size:14px;padding:10px 16px}.bxt_aat_interest_form .bxt_take_limit .bxt_take_limit_title{font-size:15px;font-weight:700}.bxt_aat_interest_form .bxt_take_limit .bxt_take_limit_tx{color:#999}.aat_interest_form .aatif_add_button .add-disabled{background:rgba(2,92,234,.3);border:.0625rem solid transparent;color:#fff}.bxt_aat_interest_items{font-size:13px}.bxt_aat_interest_items input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:0 0;border:none;vertical-align:middle}.bxt_aat_interest_items .bxt_aatii_item{border-radius:6px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;margin-bottom:9px;margin-right:10px}.bxt_aat_interest_items .bxt_aatii_item .bxt_aatii_item_left{-webkit-box-flex:0;-moz-box-flex:0;color:#999;-webkit-flex:0 0 5em;-ms-flex:0 0 5em;flex:0 0 5em;margin-bottom:12px;margin-right:7px;margin-top:3px;text-align:right}.bxt_aat_interest_items .bxt_aatii_item .bxt_aatii_item_right{-webkit-box-flex:1;-moz-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.bxt_aat_interest_items .bxt_aatii_item .bxt_aatii_item_right .bxt_aatii_item_right_options>span{background:rgba(0,0,0,.04);border-radius:50px;display:inline-block;margin:0 9px 9px 0;overflow:hidden;padding:3px 6px;text-align:center;white-space:nowrap;width:42%}.bxt_aat_interest_items .bxt_aatii_item .bxt_aatii_item_right .bxt_aatii_item_right_options>span.active{background:#e6effe;color:#0a64fe;font-weight:700}.bxt_aat_interest_items .bxt_aatii_item .bxt_aatii_item_right .bxt_aatii_item_right_custom{background:#f4f8ff;border-radius:6px;margin-bottom:9px;padding:12px;position:relative}.bxt_aat_interest_items .bxt_aatii_item .bxt_aatii_item_right .bxt_aatii_item_right_custom .bxt_aatii_item_right_custom_input input{background:#fff;border:1px solid #e6e6e6;border-radius:50px;margin-right:6px;padding:3px 9px;vertical-align:middle;width:110px}.bxt_aat_interest_items .bxt_aatii_item .bxt_aatii_item_right .bxt_aatii_item_right_custom .bxt_aatii_item_right_custom_input span{vertical-align:middle}.bxt_aat_interest_items .bxt_aatii_item .bxt_aatii_item_right .bxt_aatii_item_right_custom .bxt_aatii_item_right_custom_tips span{background:#f5f5f5;border:1px solid #d3d3d3;border-radius:50px;color:#666;display:inline-block;margin-top:12px;padding:3px 9px}.bxt_aat_interest_table table{border-collapse:collapse;border-spacing:0;color:#333;font-size:12px;table-layout:fixed;text-align:left;width:100%}.bxt_aat_interest_table table tr td{border:1px solid #e5e5e5;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;padding:6px}.bxt_aat_interest_table table tr td .bxt_aatit_purpose{background:rgba(10,100,254,.1);border-radius:2px;color:#0a64fe;display:inline-block;line-height:100%;margin-left:2px;padding:2px;-webkit-transform:scale(.8333);transform:scale(.8333);-webkit-transform-origin:left center;transform-origin:left center;white-space:nowrap}.bxt_aat_interest_table table tr td:first-child,.bxt_aat_interest_table table tr td:nth-child(2){color:#999;text-align:center;width:1.8em}.bxt_aat_interest_table table tr td:nth-child(3),.bxt_aat_interest_table table tr td:nth-child(4){width:5.5em}.bxt_aat_interest_table table tr td.edit{color:#0a64fe;text-decoration:underline}.bxt_aat_interest_table table tr td.disabled{color:#ccc;text-decoration:none}.bxt_aat_interest_table table tr:first-child{position:-webkit-sticky;position:sticky;top:0;will-change:scroll-position;z-index:1}.bxt_aat_interest_table table tr:first-child td{background-color:#f2f3f5;border:0;font-weight:700;text-align:center}*{margin:0;padding:0}body{color:#333}dl,ul{list-style:none}img{max-width:100%}a{color:#333;display:block;text-decoration:none}em{font-style:normal}article,aside,footer,header,nav,section{display:block}.bxt_add_and_take{background:#fff}.bxt_add_and_take.bxt_add_and_take__footer:after{content:"";display:block;height:constant(safe-area-inset-bottom);height:env(safe-area-inset-bottom)}.bxt_add_and_take.bxt_add_and_take__footer{margin-bottom:64px}.bxt_add_and_take .bxt_add_and_take_tips{color:#999;font-size:13px;margin-bottom:8px;text-align:center}.bxt_add_and_take .bxt_add_and_take_footer:after{content:"";display:block;height:constant(safe-area-inset-bottom);height:env(safe-area-inset-bottom)}.bxt_add_and_take .bxt_add_and_take_footer{background:#fff;bottom:0;-webkit-box-shadow:0 -6px 10px 0 rgba(23,32,77,.05);box-shadow:0 -6px 10px 0 rgba(23,32,77,.05);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;left:0;padding:7px 16px;position:fixed;width:100%}.bxt_add_and_take .bxt_add_and_take_footer .bxt_add_and_take_footer_wrapper{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;font-size:14px;line-height:20px}.bxt_add_and_take .bxt_add_and_take_footer .bxt_add_and_take_footer_wrapper .bxt_item{-webkit-box-flex:1;-moz-box-flex:1;background:#fff;border:1px solid #e5e5e5;border-radius:8px;color:#333;-webkit-flex:1;-ms-flex:1;flex:1;margin-right:12px;padding:7px 0;text-align:center}.bxt_add_and_take .bxt_add_and_take_footer .bxt_add_and_take_footer_wrapper .bxt_item.primary{background:#0a64fe;border:1px solid #0a64fe;color:#fff}.bxt_add_and_take .bxt_add_and_take_footer .bxt_add_and_take_footer_wrapper .bxt_item.minor{background:#fff;border:1px solid #0a64fe;color:#0a64fe}.bxt_add_and_take .bxt_add_and_take_footer .bxt_add_and_take_footer_wrapper .bxt_item.disabled{background:rgba(2,92,234,.3);border:1px solid transparent;color:#fff}.bxt_add_and_take .bxt_add_and_take_footer .bxt_add_and_take_footer_wrapper .bxt_item:last-child{margin-right:0}
|
package/es/add-and-take/index.js
CHANGED
|
@@ -6,9 +6,9 @@ import 'vant/lib/index.css';
|
|
|
6
6
|
import _Vant from 'vant/lib';
|
|
7
7
|
import Vue from 'vue';
|
|
8
8
|
import { memoize, cloneDeep, get } from 'lodash';
|
|
9
|
+
import QS from 'qs';
|
|
9
10
|
import 'vant/lib/icon/index.css';
|
|
10
11
|
import _Icon from 'vant/lib/icon';
|
|
11
|
-
import QS from 'qs';
|
|
12
12
|
|
|
13
13
|
function _typeof$1(o) {
|
|
14
14
|
"@babel/helpers - typeof";
|
|
@@ -499,8 +499,28 @@ function requireRegenerator () {
|
|
|
499
499
|
var regeneratorExports = requireRegenerator();
|
|
500
500
|
const _regeneratorRuntime = /*@__PURE__*/getDefaultExportFromCjs(regeneratorExports);
|
|
501
501
|
|
|
502
|
-
var
|
|
503
|
-
var
|
|
502
|
+
var hostname = window && window.location && window.location.hostname || '';
|
|
503
|
+
var IS_PRODUCT_ENV = hostname.search(/(winbaoxian|ai-baoxiaozhu)\.com/) !== -1;
|
|
504
|
+
hostname.search(/(winbaoxian|ai-baoxiaozhu)\.cn/) !== -1;
|
|
505
|
+
hostname.search(/localhost|192\.168|127\.0\.0\.1|dev\.winbaoxian\.cn/) !== -1;
|
|
506
|
+
var IS_UAT_ENV = hostname.includes("pbf-uat.");
|
|
507
|
+
var IS_ENABLE_DEBUG = !IS_PRODUCT_ENV;
|
|
508
|
+
if (IS_ENABLE_DEBUG) {
|
|
509
|
+
console.error("\u975E\u7EBF\u4E0A\u73AF\u5883\uFF0C\u9ED8\u8BA4\u5F00\u542F\u8C03\u8BD5\u6A21\u5F0F");
|
|
510
|
+
}
|
|
511
|
+
var topDomain = IS_PRODUCT_ENV ? 'com' : 'cn';
|
|
512
|
+
var secondDomain = hostname.includes('ai-baoxiaozhu') ? 'ai-baoxiaozhu' : 'winbaoxian';
|
|
513
|
+
var MAIN_DOMAIN = "".concat(secondDomain, ".").concat(topDomain);
|
|
514
|
+
var APP_HOSTNAME = "https://app.".concat(MAIN_DOMAIN);
|
|
515
|
+
var PLANBOOK_API_HOSTNAME = "https://bxs-planbook-api".concat(IS_UAT_ENV ? '-uat' : '', ".").concat(MAIN_DOMAIN);
|
|
516
|
+
getUrlParams();
|
|
517
|
+
function getUrlParams(url) {
|
|
518
|
+
var _url = location.search || '';
|
|
519
|
+
var _searchStr = _url.split('?')[1];
|
|
520
|
+
return _searchStr ? QS.parse(_searchStr) : {};
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
var apiBaseUrl = "".concat(PLANBOOK_API_HOSTNAME, "/planBook");
|
|
504
524
|
function initInsuranceInterest(reqParams) {
|
|
505
525
|
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
506
526
|
var scene = options.scene;
|
|
@@ -625,8 +645,7 @@ function formatNumberToThousand(n) {
|
|
|
625
645
|
* @returns {Promise<any>} 产品下所有险种的费率
|
|
626
646
|
*/
|
|
627
647
|
memoize(function (params) {
|
|
628
|
-
var
|
|
629
|
-
var url = "https://app.winbaoxian.".concat(IS_PRODUCT_ENV ? 'com' : 'cn', "/planBook/input/insurance/verifyData");
|
|
648
|
+
var url = "".concat(APP_HOSTNAME, "/planBook/input/insurance/verifyData");
|
|
630
649
|
return fetch(url, {
|
|
631
650
|
method: 'POST',
|
|
632
651
|
credentials: 'include',
|
|
@@ -686,6 +705,7 @@ if (document && document.cookie && document.cookie.match('LIZHAO_DEBUG_CONSOLE_F
|
|
|
686
705
|
//
|
|
687
706
|
//
|
|
688
707
|
//
|
|
708
|
+
//
|
|
689
709
|
|
|
690
710
|
const script$4 = {
|
|
691
711
|
name: 'CommonRadio',
|
|
@@ -700,6 +720,10 @@ const script$4 = {
|
|
|
700
720
|
default: function _default() {
|
|
701
721
|
return [];
|
|
702
722
|
}
|
|
723
|
+
},
|
|
724
|
+
dataStatId: {
|
|
725
|
+
type: String,
|
|
726
|
+
default: ''
|
|
703
727
|
}
|
|
704
728
|
},
|
|
705
729
|
computed: {
|
|
@@ -792,6 +816,9 @@ var __vue_render__$4 = function __vue_render__() {
|
|
|
792
816
|
disabled: option.isDisabled,
|
|
793
817
|
active: option.value === _vm.value
|
|
794
818
|
},
|
|
819
|
+
attrs: {
|
|
820
|
+
"data-stat-id": _vm.dataStatId
|
|
821
|
+
},
|
|
795
822
|
on: {
|
|
796
823
|
"click": function click($event) {
|
|
797
824
|
return _vm.onClickItem(option);
|
|
@@ -2141,14 +2168,7 @@ var __vue_component__$2 = /*#__PURE__*/normalizeComponent({
|
|
|
2141
2168
|
staticRenderFns: __vue_staticRenderFns__$2
|
|
2142
2169
|
}, __vue_inject_styles__$2, __vue_script__$2);
|
|
2143
2170
|
|
|
2144
|
-
var interestTableTimer = null;
|
|
2145
2171
|
const script$1 = {
|
|
2146
|
-
data: function data() {
|
|
2147
|
-
return {
|
|
2148
|
-
isShow: false,
|
|
2149
|
-
fixedTop: 0
|
|
2150
|
-
};
|
|
2151
|
-
},
|
|
2152
2172
|
props: {
|
|
2153
2173
|
type: String,
|
|
2154
2174
|
interestInitData: {
|
|
@@ -2165,6 +2185,7 @@ const script$1 = {
|
|
|
2165
2185
|
},
|
|
2166
2186
|
insuredAge: Number,
|
|
2167
2187
|
minTakeYear: Number,
|
|
2188
|
+
headFixedTop: Number,
|
|
2168
2189
|
footer: Boolean
|
|
2169
2190
|
},
|
|
2170
2191
|
computed: {
|
|
@@ -2238,75 +2259,12 @@ const script$1 = {
|
|
|
2238
2259
|
columnWidthObj: function columnWidthObj() {
|
|
2239
2260
|
return calcColumnsWidth(this.addAndTakeTable);
|
|
2240
2261
|
}
|
|
2241
|
-
},
|
|
2242
|
-
watch: {
|
|
2243
|
-
addAndTakeTable: {
|
|
2244
|
-
deep: true,
|
|
2245
|
-
immediate: true,
|
|
2246
|
-
handler: function handler() {
|
|
2247
|
-
var _this = this;
|
|
2248
|
-
this.setTableHeaderHeight();
|
|
2249
|
-
this.$nextTick(function () {
|
|
2250
|
-
_this.initIntersectionOberver();
|
|
2251
|
-
});
|
|
2252
|
-
}
|
|
2253
|
-
}
|
|
2254
|
-
},
|
|
2255
|
-
mounted: function mounted() {
|
|
2256
|
-
this.setTableHeaderHeight();
|
|
2257
|
-
},
|
|
2258
|
-
methods: {
|
|
2259
|
-
setTableHeaderHeight: function setTableHeaderHeight() {
|
|
2260
|
-
var self = this;
|
|
2261
|
-
var count = 3;
|
|
2262
|
-
clearInterval(interestTableTimer);
|
|
2263
|
-
interestTableTimer = setInterval(function () {
|
|
2264
|
-
if (count <= 0) {
|
|
2265
|
-
clearInterval(interestTableTimer);
|
|
2266
|
-
return;
|
|
2267
|
-
}
|
|
2268
|
-
count -= 1;
|
|
2269
|
-
var rightRecord = self.$el.querySelector('.bxt_aat_interest_table .bxt_aatit_content_right .bxt_aatit_content_record');
|
|
2270
|
-
var leftRecord = self.$el.querySelector('.bxt_aat_interest_table .bxt_aatit_content_left .bxt_aatit_content_record');
|
|
2271
|
-
if (rightRecord && leftRecord) {
|
|
2272
|
-
leftRecord.style.height = "".concat(rightRecord.clientHeight, "px");
|
|
2273
|
-
}
|
|
2274
|
-
}, 100);
|
|
2275
|
-
},
|
|
2276
|
-
initIntersectionOberver: function initIntersectionOberver() {
|
|
2277
|
-
var _this2 = this;
|
|
2278
|
-
if (this.intersectionObserver) {
|
|
2279
|
-
this.intersectionObserver.disconnect();
|
|
2280
|
-
}
|
|
2281
|
-
this.intersectionObserver = new IntersectionObserver(function (entries) {
|
|
2282
|
-
var _isIntersecting = entries[0].isIntersecting;
|
|
2283
|
-
if (_isIntersecting) {
|
|
2284
|
-
_this2.isShow = false;
|
|
2285
|
-
} else {
|
|
2286
|
-
var $el = get(_this2, '$parent.$parent.$el');
|
|
2287
|
-
var target = $el && ($el.querySelector('.common_popup_title') || $el.querySelector('.bxt_common_popup_title') || $el.querySelector('.bx-sheets-header'));
|
|
2288
|
-
if (target) {
|
|
2289
|
-
_this2.fixedTop = target.getBoundingClientRect().top + target.getBoundingClientRect().height - 1;
|
|
2290
|
-
}
|
|
2291
|
-
_this2.isShow = !!target;
|
|
2292
|
-
}
|
|
2293
|
-
});
|
|
2294
|
-
// 开始监听
|
|
2295
|
-
var targetNode = document.querySelector('.ageAndYear').parentNode;
|
|
2296
|
-
if (targetNode) {
|
|
2297
|
-
this.intersectionObserver.observe(targetNode);
|
|
2298
|
-
}
|
|
2299
|
-
}
|
|
2300
|
-
},
|
|
2301
|
-
beforeDestroy: function beforeDestroy() {
|
|
2302
|
-
if (this.intersectionObserver) {
|
|
2303
|
-
this.intersectionObserver.disconnect();
|
|
2304
|
-
}
|
|
2305
2262
|
}
|
|
2306
2263
|
};
|
|
2307
2264
|
|
|
2308
2265
|
/* script */
|
|
2309
2266
|
var __vue_script__$1 = script$1;
|
|
2267
|
+
|
|
2310
2268
|
/* template */
|
|
2311
2269
|
var __vue_render__$1 = function __vue_render__() {
|
|
2312
2270
|
var _vm = this;
|
|
@@ -2314,85 +2272,22 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
2314
2272
|
var _c = _vm._self._c || _h;
|
|
2315
2273
|
return _c('section', {
|
|
2316
2274
|
staticClass: "bxt_aat_interest_table"
|
|
2317
|
-
}, [_c('
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
staticClass: "bxt_aatit_content_record"
|
|
2325
|
-
}, _vm._l(['year', 'age'], function (key) {
|
|
2326
|
-
return _c('div', {
|
|
2327
|
-
key: key,
|
|
2328
|
-
staticClass: "bxt_aatit_content_cell",
|
|
2329
|
-
class: {
|
|
2330
|
-
ageAndYear: record[key] === '年度'
|
|
2331
|
-
}
|
|
2332
|
-
}, [_c('span', [_vm._v(" " + _vm._s(record[key]) + " ")])]);
|
|
2333
|
-
}), 0);
|
|
2334
|
-
}), _vm.isShow ? _vm._l([{
|
|
2335
|
-
year: '年度',
|
|
2336
|
-
age: '年龄'
|
|
2337
|
-
}], function (record) {
|
|
2338
|
-
return _c('div', {
|
|
2339
|
-
key: JSON.stringify(record),
|
|
2340
|
-
staticClass: "bxt_aatit_content_record bxt_aatit_fixed",
|
|
2341
|
-
style: {
|
|
2342
|
-
top: _vm.fixedTop + 'px'
|
|
2343
|
-
}
|
|
2344
|
-
}, _vm._l(['year', 'age'], function (key) {
|
|
2345
|
-
return _c('div', {
|
|
2346
|
-
key: key,
|
|
2347
|
-
staticClass: "bxt_aatit_content_cell bxt_aatit_fixed_head",
|
|
2348
|
-
class: {
|
|
2349
|
-
ageAndYear: record[key] === '年度'
|
|
2350
|
-
}
|
|
2351
|
-
}, [_c('span', [_vm._v(" " + _vm._s(record[key]) + " ")])]);
|
|
2352
|
-
}), 0);
|
|
2353
|
-
}) : _vm._e()], 2), _c('div', {
|
|
2354
|
-
staticClass: "bxt_aatit_content_right"
|
|
2355
|
-
}, [_vm._l(_vm.addAndTakeTable, function (record, recordIndex) {
|
|
2356
|
-
return _c('div', {
|
|
2357
|
-
key: JSON.stringify(record),
|
|
2358
|
-
staticClass: "bxt_aatit_content_record"
|
|
2359
|
-
}, _vm._l(Object.keys(record).filter(function (k) {
|
|
2275
|
+
}, [_c('table', _vm._l(_vm.addAndTakeTable, function (record, recordIndex) {
|
|
2276
|
+
return _c('tr', {
|
|
2277
|
+
key: record.year,
|
|
2278
|
+
style: recordIndex === 0 ? {
|
|
2279
|
+
top: _vm.headFixedTop + "px"
|
|
2280
|
+
} : {}
|
|
2281
|
+
}, _vm._l(['year', 'age'].concat(Object.keys(record).filter(function (k) {
|
|
2360
2282
|
return !['year', 'age', 'purpose'].includes(k);
|
|
2361
|
-
}), function (key) {
|
|
2362
|
-
|
|
2363
|
-
return _c('div', {
|
|
2283
|
+
})), function (key) {
|
|
2284
|
+
return _c('td', {
|
|
2364
2285
|
key: key,
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2286
|
+
class: {
|
|
2287
|
+
key: true,
|
|
2288
|
+
disabled: recordIndex > 0 && ['take', 'draw_value'].includes(key) && record.year < _vm.minTakeYear,
|
|
2289
|
+
edit: recordIndex !== 0 && ['take', 'draw_value'].includes(key)
|
|
2369
2290
|
},
|
|
2370
|
-
on: {
|
|
2371
|
-
"click": function click($event) {
|
|
2372
|
-
return _vm.$emit('clickTableCell', key, record, recordIndex);
|
|
2373
|
-
}
|
|
2374
|
-
}
|
|
2375
|
-
}, [_c('span', {
|
|
2376
|
-
domProps: {
|
|
2377
|
-
"innerHTML": _vm._s(record[key])
|
|
2378
|
-
}
|
|
2379
|
-
}), recordIndex !== 0 && ['take', 'draw_value'].includes(key) && _vm.columnWidthObj.purpose && record.purpose ? _c('span', [_vm._v("\n " + _vm._s(record.purpose) + "\n ")]) : _vm._e()]);
|
|
2380
|
-
}), 0);
|
|
2381
|
-
}), _vm.isShow ? _vm._l(_vm.addAndTakeTable.slice(0, 1), function (record, recordIndex) {
|
|
2382
|
-
return _c('div', {
|
|
2383
|
-
key: recordIndex,
|
|
2384
|
-
staticClass: "bxt_aatit_content_record bxt_aatit_fixed",
|
|
2385
|
-
style: {
|
|
2386
|
-
top: _vm.fixedTop + 'px'
|
|
2387
|
-
}
|
|
2388
|
-
}, _vm._l(Object.keys(record).filter(function (k) {
|
|
2389
|
-
return !['year', 'age', 'purpose'].includes(k);
|
|
2390
|
-
}), function (key) {
|
|
2391
|
-
var _obj;
|
|
2392
|
-
return _c('div', {
|
|
2393
|
-
key: key,
|
|
2394
|
-
staticClass: "bxt_aatit_content_cell bxt_aatit_fixed_head",
|
|
2395
|
-
class: (_obj = {}, _obj["aatit_content_cell_" + key] = true, _obj.zero = !record[key], _obj.purpose = ['take', 'draw_value'].includes(key) && _vm.columnWidthObj.purpose, _obj),
|
|
2396
2291
|
style: {
|
|
2397
2292
|
'min-width': (_vm.columnWidthObj[key] || 3) + (['take', 'draw_value'].includes(key) ? _vm.columnWidthObj.purpose : 0) + "em"
|
|
2398
2293
|
},
|
|
@@ -2401,13 +2296,15 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
2401
2296
|
return _vm.$emit('clickTableCell', key, record, recordIndex);
|
|
2402
2297
|
}
|
|
2403
2298
|
}
|
|
2404
|
-
}, [_c('span', {
|
|
2299
|
+
}, [recordIndex !== 0 && !(['take', 'draw_value'].includes(key) && _vm.columnWidthObj.purpose && record.purpose) ? [_vm._v("\n " + _vm._s(record[key]) + "\n ")] : [_c('span', {
|
|
2405
2300
|
domProps: {
|
|
2406
2301
|
"innerHTML": _vm._s(record[key])
|
|
2407
2302
|
}
|
|
2408
|
-
}),
|
|
2303
|
+
}), record.purpose ? _c('span', {
|
|
2304
|
+
staticClass: "bxt_aatit_purpose"
|
|
2305
|
+
}, [_vm._v("\n " + _vm._s(record.purpose) + "\n ")]) : _vm._e()]], 2);
|
|
2409
2306
|
}), 0);
|
|
2410
|
-
})
|
|
2307
|
+
}), 0), _vm.footer ? _c('footer', {
|
|
2411
2308
|
staticClass: "bxt_add_and_take_footer"
|
|
2412
2309
|
}, [_c('div', {
|
|
2413
2310
|
staticClass: "bxt_add_and_take_footer_wrapper"
|
package/es/adjust-baoe/index.js
CHANGED
|
@@ -1031,6 +1031,27 @@ function requireRegenerator () {
|
|
|
1031
1031
|
|
|
1032
1032
|
requireRegenerator();
|
|
1033
1033
|
|
|
1034
|
+
var hostname = window && window.location && window.location.hostname || '';
|
|
1035
|
+
var IS_PRODUCT_ENV = hostname.search(/(winbaoxian|ai-baoxiaozhu)\.com/) !== -1;
|
|
1036
|
+
hostname.search(/(winbaoxian|ai-baoxiaozhu)\.cn/) !== -1;
|
|
1037
|
+
hostname.search(/localhost|192\.168|127\.0\.0\.1|dev\.winbaoxian\.cn/) !== -1;
|
|
1038
|
+
var IS_UAT_ENV = hostname.includes("pbf-uat.");
|
|
1039
|
+
var IS_ENABLE_DEBUG = !IS_PRODUCT_ENV;
|
|
1040
|
+
if (IS_ENABLE_DEBUG) {
|
|
1041
|
+
console.error("\u975E\u7EBF\u4E0A\u73AF\u5883\uFF0C\u9ED8\u8BA4\u5F00\u542F\u8C03\u8BD5\u6A21\u5F0F");
|
|
1042
|
+
}
|
|
1043
|
+
var topDomain = IS_PRODUCT_ENV ? 'com' : 'cn';
|
|
1044
|
+
var secondDomain = hostname.includes('ai-baoxiaozhu') ? 'ai-baoxiaozhu' : 'winbaoxian';
|
|
1045
|
+
var MAIN_DOMAIN = "".concat(secondDomain, ".").concat(topDomain);
|
|
1046
|
+
var APP_HOSTNAME = "https://app.".concat(MAIN_DOMAIN);
|
|
1047
|
+
var PLANBOOK_API_HOSTNAME = "https://bxs-planbook-api".concat(IS_UAT_ENV ? '-uat' : '', ".").concat(MAIN_DOMAIN);
|
|
1048
|
+
getUrlParams();
|
|
1049
|
+
function getUrlParams(url) {
|
|
1050
|
+
var _url = location.search || '';
|
|
1051
|
+
var _searchStr = _url.split('?')[1];
|
|
1052
|
+
return _searchStr ? QS.parse(_searchStr) : {};
|
|
1053
|
+
}
|
|
1054
|
+
|
|
1034
1055
|
function ownKeys$1(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
1035
1056
|
function _objectSpread$1(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1(Object(t), true).forEach(function (r) { _defineProperty$1(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
1036
1057
|
|
|
@@ -1042,8 +1063,7 @@ function _objectSpread$1(e) { for (var r = 1; r < arguments.length; r++) { var t
|
|
|
1042
1063
|
* @returns {Promise<any>} 产品下所有险种的费率
|
|
1043
1064
|
*/
|
|
1044
1065
|
memoize(function (params) {
|
|
1045
|
-
var
|
|
1046
|
-
var url = "https://app.winbaoxian.".concat(IS_PRODUCT_ENV ? 'com' : 'cn', "/planBook/input/insurance/verifyData");
|
|
1066
|
+
var url = "".concat(APP_HOSTNAME, "/planBook/input/insurance/verifyData");
|
|
1047
1067
|
return fetch(url, {
|
|
1048
1068
|
method: 'POST',
|
|
1049
1069
|
credentials: 'include',
|
|
@@ -1124,10 +1144,6 @@ if (document && document.cookie && document.cookie.match('LIZHAO_DEBUG_CONSOLE_F
|
|
|
1124
1144
|
window.DEBUG_TEMP_CONSOLE_FLAG = true;
|
|
1125
1145
|
}
|
|
1126
1146
|
|
|
1127
|
-
var IS_PRODUCT_ENV = location.hostname.search(/pbf\.winbaoxian\.com/) !== -1;
|
|
1128
|
-
location.hostname.search(/pbf\.winbaoxian\.cn/) !== -1;
|
|
1129
|
-
location.hostname.search(/localhost|192\.168|127\.0\.0\.1|0\.0\.0\.0/) !== -1;
|
|
1130
|
-
|
|
1131
1147
|
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4;
|
|
1132
1148
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
1133
1149
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), true).forEach(function (r) { _defineProperty$1(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
@@ -1343,7 +1359,7 @@ var AdjustBaoe = (_dec = Component({}), _dec2 = Prop({
|
|
|
1343
1359
|
delete ins[ele];
|
|
1344
1360
|
});
|
|
1345
1361
|
});
|
|
1346
|
-
var url = "
|
|
1362
|
+
var url = "".concat(PLANBOOK_API_HOSTNAME, "/planBook/").concat(params.publicPbUuid ? 'public' : 'V2', "/validateAccount/-1/low");
|
|
1347
1363
|
return fetch(url, {
|
|
1348
1364
|
method: 'POST',
|
|
1349
1365
|
credentials: 'include',
|