bxs-tools-ui 1.2.18 → 1.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/lib/.DS_Store ADDED
Binary file
@@ -1189,7 +1189,7 @@ function initInsuranceData(insData) {
1189
1189
  e.opts = options;
1190
1190
  }
1191
1191
  if (e.opts && e.opts.length) {
1192
- e.opts = e.opts.map(function (o) { return (Object(tslib__WEBPACK_IMPORTED_MODULE_0__[/* __assign */ "a"])(Object(tslib__WEBPACK_IMPORTED_MODULE_0__[/* __assign */ "a"])({}, o), { isHide: o.isHide || null, isDisabled: o.isDisabled || null, isInvalid: o.isInvalid || null })); });
1192
+ e.opts = e.opts.map(function (o) { return (Object(tslib__WEBPACK_IMPORTED_MODULE_0__[/* __assign */ "a"])(Object(tslib__WEBPACK_IMPORTED_MODULE_0__[/* __assign */ "a"])({}, o), { desc: o.desc || o.val, isHide: o.isHide || null, isDisabled: o.isDisabled || null, isInvalid: o.isInvalid || null })); });
1193
1193
  }
1194
1194
  });
1195
1195
  }
@@ -2035,7 +2035,7 @@ function productDataHandler(prodData, productVerifyData, personData) {
2035
2035
  var option = backupOpts_1.find(function (o) { return o.val == c.value; });
2036
2036
  return {
2037
2037
  val: c.value,
2038
- desc: c.desc,
2038
+ desc: c.desc || c.value,
2039
2039
  isHide: (option && option.isHide) || null,
2040
2040
  isDisabled: (option && option.isDisabled) || null,
2041
2041
  isInvalid: null
@@ -2093,7 +2093,7 @@ function productDataHandler(prodData, productVerifyData, personData) {
2093
2093
  return elementVerify && elementVerify.some(function (c) { return c.value == eleData.value; });
2094
2094
  }).map(function (v) { return ({
2095
2095
  val: v.value,
2096
- desc: v.desc,
2096
+ desc: v.desc || v.value,
2097
2097
  isHide: null,
2098
2098
  isDisabled: null,
2099
2099
  isInvalid: null
@@ -1189,7 +1189,7 @@ function initInsuranceData(insData) {
1189
1189
  e.opts = options;
1190
1190
  }
1191
1191
  if (e.opts && e.opts.length) {
1192
- e.opts = e.opts.map(function (o) { return (Object(tslib__WEBPACK_IMPORTED_MODULE_0__[/* __assign */ "a"])(Object(tslib__WEBPACK_IMPORTED_MODULE_0__[/* __assign */ "a"])({}, o), { isHide: o.isHide || null, isDisabled: o.isDisabled || null, isInvalid: o.isInvalid || null })); });
1192
+ e.opts = e.opts.map(function (o) { return (Object(tslib__WEBPACK_IMPORTED_MODULE_0__[/* __assign */ "a"])(Object(tslib__WEBPACK_IMPORTED_MODULE_0__[/* __assign */ "a"])({}, o), { desc: o.desc || o.val, isHide: o.isHide || null, isDisabled: o.isDisabled || null, isInvalid: o.isInvalid || null })); });
1193
1193
  }
1194
1194
  });
1195
1195
  }
@@ -2035,7 +2035,7 @@ function productDataHandler(prodData, productVerifyData, personData) {
2035
2035
  var option = backupOpts_1.find(function (o) { return o.val == c.value; });
2036
2036
  return {
2037
2037
  val: c.value,
2038
- desc: c.desc,
2038
+ desc: c.desc || c.value,
2039
2039
  isHide: (option && option.isHide) || null,
2040
2040
  isDisabled: (option && option.isDisabled) || null,
2041
2041
  isInvalid: null
@@ -2093,7 +2093,7 @@ function productDataHandler(prodData, productVerifyData, personData) {
2093
2093
  return elementVerify && elementVerify.some(function (c) { return c.value == eleData.value; });
2094
2094
  }).map(function (v) { return ({
2095
2095
  val: v.value,
2096
- desc: v.desc,
2096
+ desc: v.desc || v.value,
2097
2097
  isHide: null,
2098
2098
  isDisabled: null,
2099
2099
  isInvalid: null
@@ -919,7 +919,7 @@ function initInsuranceData(insData) {
919
919
  e.opts = options;
920
920
  }
921
921
  if (e.opts && e.opts.length) {
922
- e.opts = e.opts.map(function (o) { return (Object(tslib__WEBPACK_IMPORTED_MODULE_0__[/* __assign */ "a"])(Object(tslib__WEBPACK_IMPORTED_MODULE_0__[/* __assign */ "a"])({}, o), { isHide: o.isHide || null, isDisabled: o.isDisabled || null, isInvalid: o.isInvalid || null })); });
922
+ e.opts = e.opts.map(function (o) { return (Object(tslib__WEBPACK_IMPORTED_MODULE_0__[/* __assign */ "a"])(Object(tslib__WEBPACK_IMPORTED_MODULE_0__[/* __assign */ "a"])({}, o), { desc: o.desc || o.val, isHide: o.isHide || null, isDisabled: o.isDisabled || null, isInvalid: o.isInvalid || null })); });
923
923
  }
924
924
  });
925
925
  }
@@ -2317,7 +2317,7 @@ function productDataHandler(prodData, productVerifyData, personData) {
2317
2317
  var option = backupOpts_1.find(function (o) { return o.val == c.value; });
2318
2318
  return {
2319
2319
  val: c.value,
2320
- desc: c.desc,
2320
+ desc: c.desc || c.value,
2321
2321
  isHide: (option && option.isHide) || null,
2322
2322
  isDisabled: (option && option.isDisabled) || null,
2323
2323
  isInvalid: null
@@ -2375,7 +2375,7 @@ function productDataHandler(prodData, productVerifyData, personData) {
2375
2375
  return elementVerify && elementVerify.some(function (c) { return c.value == eleData.value; });
2376
2376
  }).map(function (v) { return ({
2377
2377
  val: v.value,
2378
- desc: v.desc,
2378
+ desc: v.desc || v.value,
2379
2379
  isHide: null,
2380
2380
  isDisabled: null,
2381
2381
  isInvalid: null
package/lib/index.css CHANGED
@@ -2099,8 +2099,40 @@ footer {
2099
2099
  .bxt-product-info {
2100
2100
  padding: 10px
2101
2101
  }
2102
+ .bxt-product-info .bxt-custom-result {
2103
+ margin-bottom: 9px;
2104
+ background: white;
2105
+ font-size: 15px;
2106
+ color: #333
2107
+ }
2108
+ .bxt-product-info .bxt-custom-result .bxt-custom-result-title {
2109
+ padding: 15px;
2110
+ position: relative
2111
+ }
2112
+ .bxt-product-info .bxt-custom-result .bxt-custom-result-title .bxt-custom-result-title_desc .icon-arrows_up,
2113
+ .bxt-product-info .bxt-custom-result .bxt-custom-result-title .bxt-custom-result-title_desc .icon-arrows_down {
2114
+ color: #ccc;
2115
+ }
2116
+ .bxt-product-info .bxt-custom-result .bxt-custom-result-title .bx-switch-box {
2117
+ position: absolute;
2118
+ top: 50%;
2119
+ right: 0;
2120
+ -webkit-transform: translateY(-50%);
2121
+ transform: translateY(-50%);
2122
+
2123
+ right: 15px
2124
+ }
2125
+ .bxt-product-info .bxt-custom-result .bxt-custom-result-title .bx-switch-box .bx-switch-circle {
2126
+ pointer-events: none;
2127
+ }
2128
+ .bxt-product-info .bxt-custom-result .bxt-custom-result-tips {
2129
+ padding: 0 15px 15px;
2130
+ font-size: 14px;
2131
+ line-height: normal;
2132
+ color: #999;
2133
+ }
2102
2134
  .bxt-product-info .bxt-product-info-form {
2103
- background: #fff;
2135
+ background: white;
2104
2136
  margin-bottom: 9px;
2105
2137
  border-radius: 6px
2106
2138
  }
@@ -2214,7 +2246,7 @@ footer {
2214
2246
  padding: 1px 12px;
2215
2247
  line-height: normal;
2216
2248
  background: #666;
2217
- color: #fff;
2249
+ color: white;
2218
2250
  font-size: 12px;
2219
2251
  border-radius: 4px;
2220
2252
  }
package/lib/index.js CHANGED
@@ -3141,10 +3141,10 @@ module.exports = getNative;
3141
3141
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3142
3142
 
3143
3143
  "use strict";
3144
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return initInsuranceData; });
3145
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return insuranceDataHandler; });
3146
- /* unused harmony export initElementValidateRules */
3147
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return restrictElementsInInsurance; });
3144
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return initInsuranceData; });
3145
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return insuranceDataHandler; });
3146
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return initElementValidateRules; });
3147
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return restrictElementsInInsurance; });
3148
3148
  /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
3149
3149
  /* harmony import */ var _common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
3150
3150
 
@@ -3203,7 +3203,7 @@ function initInsuranceData(insData) {
3203
3203
  e.opts = options;
3204
3204
  }
3205
3205
  if (e.opts && e.opts.length) {
3206
- e.opts = e.opts.map(function (o) { return (Object(tslib__WEBPACK_IMPORTED_MODULE_0__[/* __assign */ "a"])(Object(tslib__WEBPACK_IMPORTED_MODULE_0__[/* __assign */ "a"])({}, o), { isHide: o.isHide || null, isDisabled: o.isDisabled || null, isInvalid: o.isInvalid || null })); });
3206
+ e.opts = e.opts.map(function (o) { return (Object(tslib__WEBPACK_IMPORTED_MODULE_0__[/* __assign */ "a"])(Object(tslib__WEBPACK_IMPORTED_MODULE_0__[/* __assign */ "a"])({}, o), { desc: o.desc || o.val, isHide: o.isHide || null, isDisabled: o.isDisabled || null, isInvalid: o.isInvalid || null })); });
3207
3207
  }
3208
3208
  });
3209
3209
  }
@@ -6075,7 +6075,7 @@ function initProductData(prodData) {
6075
6075
  prodData.adjustBaoeData = prodData.adjustBaoeData || null;
6076
6076
  }
6077
6077
  prodData.mulInsOrderList.forEach(function (ins) {
6078
- Object(_insurance__WEBPACK_IMPORTED_MODULE_3__[/* initInsuranceData */ "a"])(ins);
6078
+ Object(_insurance__WEBPACK_IMPORTED_MODULE_3__[/* initInsuranceData */ "b"])(ins);
6079
6079
  });
6080
6080
  return prodData;
6081
6081
  }
@@ -6090,7 +6090,7 @@ function productDataHandler(prodData, productVerifyData, personData) {
6090
6090
  setCommonInfo(prodData);
6091
6091
  (_a = prodData.mulInsOrderList) === null || _a === void 0 ? void 0 : _a.forEach(function (ins, ii, insList) {
6092
6092
  var _a, _b, _c;
6093
- Object(_insurance__WEBPACK_IMPORTED_MODULE_3__[/* insuranceDataHandler */ "b"])(ins, prodData);
6093
+ Object(_insurance__WEBPACK_IMPORTED_MODULE_3__[/* insuranceDataHandler */ "c"])(ins, prodData);
6094
6094
  var insuranceVerifyData = productVerifyData[ins.key];
6095
6095
  if (!insuranceVerifyData) {
6096
6096
  if (window.DEBUG_TEMP_CONSOLE_FLAG) {
@@ -6187,7 +6187,7 @@ function productDataHandler(prodData, productVerifyData, personData) {
6187
6187
  var option = backupOpts_1.find(function (o) { return o.val == c.value; });
6188
6188
  return {
6189
6189
  val: c.value,
6190
- desc: c.desc,
6190
+ desc: c.desc || c.value,
6191
6191
  isHide: (option && option.isHide) || null,
6192
6192
  isDisabled: (option && option.isDisabled) || null,
6193
6193
  isInvalid: null
@@ -6245,7 +6245,7 @@ function productDataHandler(prodData, productVerifyData, personData) {
6245
6245
  return elementVerify && elementVerify.some(function (c) { return c.value == eleData.value; });
6246
6246
  }).map(function (v) { return ({
6247
6247
  val: v.value,
6248
- desc: v.desc,
6248
+ desc: v.desc || v.value,
6249
6249
  isHide: null,
6250
6250
  isDisabled: null,
6251
6251
  isInvalid: null
@@ -6510,7 +6510,7 @@ function verifyProductRules(_a) {
6510
6510
  ins.eleOrderList.forEach(function (ele) {
6511
6511
  errorMsg =
6512
6512
  errorMsg ||
6513
- Object(_insurance__WEBPACK_IMPORTED_MODULE_3__[/* restrictElementsInInsurance */ "c"])({
6513
+ Object(_insurance__WEBPACK_IMPORTED_MODULE_3__[/* restrictElementsInInsurance */ "d"])({
6514
6514
  personOrderList: personOrderList,
6515
6515
  insData: ins,
6516
6516
  eleData: ele
@@ -16574,8 +16574,8 @@ function isSlowBuffer (obj) {
16574
16574
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
16575
16575
 
16576
16576
  "use strict";
16577
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_e116ecb2_prod_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(87);
16578
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_e116ecb2_prod_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_e116ecb2_prod_lang_css___WEBPACK_IMPORTED_MODULE_0__);
16577
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_403daf62_prod_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(87);
16578
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_403daf62_prod_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_403daf62_prod_lang_css___WEBPACK_IMPORTED_MODULE_0__);
16579
16579
  /* unused harmony reexport * */
16580
16580
 
16581
16581
 
@@ -22659,15 +22659,44 @@ var person_info_component = normalizeComponent(
22659
22659
  )
22660
22660
 
22661
22661
  /* harmony default export */ var person_info = (person_info_component.exports);
22662
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib??ref--1!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/vue-loader/lib??vue-loader-options!./packages/product-info/index.vue?vue&type=template&id=e116ecb2&
22663
- var product_infovue_type_template_id_e116ecb2_render = function render() {
22662
+ // CONCATENATED MODULE: ./node_modules/babel-loader/lib??ref--1!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/vue-loader/lib??vue-loader-options!./packages/product-info/index.vue?vue&type=template&id=403daf62&
22663
+ var product_infovue_type_template_id_403daf62_render = function render() {
22664
22664
  var _vm = this,
22665
22665
  _c = _vm._self._c,
22666
22666
  _setup = _vm._self._setupProxy;
22667
22667
 
22668
22668
  return _vm.productData && _vm.productData.mulInsOrderList ? _c('div', {
22669
22669
  staticClass: "bxt-product-info"
22670
- }, [_vm._l(_vm.filterInsuranceList, function (ins) {
22670
+ }, [_vm.params.allowCustomResult ? _c('section', {
22671
+ staticClass: "bxt-custom-result"
22672
+ }, [_c('div', {
22673
+ staticClass: "bxt-custom-result-title"
22674
+ }, [_c('span', {
22675
+ staticClass: "bxt-custom-result-title_desc",
22676
+ on: {
22677
+ "click": function click($event) {
22678
+ _vm.isShowCustomValueTips = !_vm.isShowCustomValueTips;
22679
+ }
22680
+ }
22681
+ }, [_vm._v("\n 自定义保费\n "), _c('i', {
22682
+ staticClass: "iconfont",
22683
+ class: _vm.isShowCustomValueTips ? 'icon-arrows_up' : 'icon-arrows_down'
22684
+ })]), _c('bxs-switch', {
22685
+ on: {
22686
+ "change": function change($event) {
22687
+ return _vm.createInsuranceInputResultEle();
22688
+ }
22689
+ },
22690
+ model: {
22691
+ value: _vm.productData.inputResultSwitch,
22692
+ callback: function callback($$v) {
22693
+ _vm.$set(_vm.productData, "inputResultSwitch", $$v);
22694
+ },
22695
+ expression: "productData.inputResultSwitch"
22696
+ }
22697
+ })], 1), _vm.isShowCustomValueTips ? _c('div', {
22698
+ staticClass: "bxt-custom-result-tips"
22699
+ }, [_vm._v("\n 保险公司会因非标准体等原因修改费率。"), _c('br'), _vm._v("\n 打开\"自定义保费\"功能,按保单填写实际保费/保额\n ")]) : _vm._e()]) : _vm._e(), _vm._l(_vm.filterInsuranceList, function (ins) {
22671
22700
  return [_c('bxs-form', {
22672
22701
  key: ins.key,
22673
22702
  ref: "insuranceForm".concat(ins.key),
@@ -22943,9 +22972,9 @@ var product_infovue_type_template_id_e116ecb2_render = function render() {
22943
22972
  })], 2) : _vm._e();
22944
22973
  };
22945
22974
 
22946
- var product_infovue_type_template_id_e116ecb2_staticRenderFns = [];
22975
+ var product_infovue_type_template_id_403daf62_staticRenderFns = [];
22947
22976
 
22948
- // CONCATENATED MODULE: ./packages/product-info/index.vue?vue&type=template&id=e116ecb2&
22977
+ // CONCATENATED MODULE: ./packages/product-info/index.vue?vue&type=template&id=403daf62&
22949
22978
 
22950
22979
  // EXTERNAL MODULE: ./node_modules/md5/md5.js
22951
22980
  var md5 = __webpack_require__(47);
@@ -23526,6 +23555,7 @@ var product_infovue_type_script_lang_ts_BxtProductInfo = (function (_super) {
23526
23555
  _this.numberUnitStr = '';
23527
23556
  _this.recommendValues = {};
23528
23557
  _this.recommendValuesCache = {};
23558
+ _this.isShowCustomValueTips = true;
23529
23559
  return _this;
23530
23560
  }
23531
23561
  Object.defineProperty(BxtProductInfo.prototype, "personData", {
@@ -23626,6 +23656,12 @@ var product_infovue_type_script_lang_ts_BxtProductInfo = (function (_super) {
23626
23656
  Object(product["a" /* clearAddAndTakeAndAdjustBaoeData */])(productData);
23627
23657
  }
23628
23658
  Object(product["d" /* productDataHandler */])(productData, this.verifyData && this.verifyData[productData.key], this.personData);
23659
+ if (options.type === 'change') {
23660
+ this.createInsuranceInputResultEle(options.insData, options.eleData);
23661
+ }
23662
+ else {
23663
+ this.createInsuranceInputResultEle();
23664
+ }
23629
23665
  return Object(product["e" /* verifyProductRules */])(Object(tslib_es6["a" /* __assign */])({ personData: this.personData, productData: productData }, options));
23630
23666
  };
23631
23667
  BxtProductInfo.prototype.isInsuranceChecked = function (ins) {
@@ -23824,6 +23860,51 @@ var product_infovue_type_script_lang_ts_BxtProductInfo = (function (_super) {
23824
23860
  }
23825
23861
  });
23826
23862
  };
23863
+ BxtProductInfo.prototype.createInsuranceInputResultEle = function (insData, eleData) {
23864
+ var _a = this, params = _a.params, productData = _a.productData;
23865
+ if (!params.allowCustomResult) {
23866
+ return;
23867
+ }
23868
+ productData.mulInsOrderList
23869
+ .filter(function (e) { return e.key !== 'common' || e.eleOrderList; })
23870
+ .forEach(function (ins) {
23871
+ if (ins.groupKey) {
23872
+ return;
23873
+ }
23874
+ if (insData && eleData && !insData.isGroup && insData.key === ins.key && eleData.key !== 'calMethod') {
23875
+ return;
23876
+ }
23877
+ var calMethod = ins.eleOrderList.find(function (e) { return e.key === 'calMethod'; });
23878
+ var baof = ins.eleOrderList.find(function (e) { return e.key === 'baof'; });
23879
+ var inputResult = ins.eleOrderList.find(function (e) { return e.key === 'inputResult'; });
23880
+ var labelName = calMethod ? (calMethod.value === 'baof2baoe' ? '保额' : '保费') : baof ? '保额' : '保费';
23881
+ var value = ins.inputResult === undefined ? null : ins.inputResult;
23882
+ if (inputResult) {
23883
+ value = inputResult.value;
23884
+ }
23885
+ if (insData && eleData && insData.key === ins.key && eleData.key === 'inputResult') {
23886
+ value = eleData.value;
23887
+ }
23888
+ inputResult = {
23889
+ componentName: 'cmCommonInput',
23890
+ placeholder: "\u6309\u7167\u4FDD\u5355\u586B\u5199" + labelName,
23891
+ isHide: !productData.inputResultSwitch,
23892
+ key: 'inputResult',
23893
+ labelName: "\u81EA\u5B9A\u4E49" + labelName,
23894
+ inputType: 'text',
23895
+ required: false,
23896
+ regExp: '/^\\d{1,}(\\.\\d{1,2})?$/',
23897
+ regExpMessage: '请输入1-2位小数的值',
23898
+ value: value
23899
+ };
23900
+ inputResult.rules = Object(planbook_insurance["a" /* initElementValidateRules */])(inputResult);
23901
+ delete ins.inputResult;
23902
+ ins.eleOrderList = ins.eleOrderList.filter(function (e) { return e.key !== 'inputResult'; });
23903
+ if (productData.inputResultSwitch) {
23904
+ ins.eleOrderList.push(inputResult);
23905
+ }
23906
+ });
23907
+ };
23827
23908
  Object(tslib_es6["c" /* __decorate */])([
23828
23909
  Prop({
23829
23910
  default: function () { return ({}); }
@@ -23848,6 +23929,12 @@ var product_infovue_type_script_lang_ts_BxtProductInfo = (function (_super) {
23848
23929
  }),
23849
23930
  Object(tslib_es6["f" /* __metadata */])("design:type", Object)
23850
23931
  ], BxtProductInfo.prototype, "productKey", void 0);
23932
+ Object(tslib_es6["c" /* __decorate */])([
23933
+ Prop({
23934
+ default: function () { return ({}); }
23935
+ }),
23936
+ Object(tslib_es6["f" /* __metadata */])("design:type", Object)
23937
+ ], BxtProductInfo.prototype, "params", void 0);
23851
23938
  BxtProductInfo = Object(tslib_es6["c" /* __decorate */])([
23852
23939
  vue_class_component_esm({
23853
23940
  name: 'BxtProductInfo',
@@ -23860,6 +23947,7 @@ var product_infovue_type_script_lang_ts_BxtProductInfo = (function (_super) {
23860
23947
  product_infovue_type_script_lang_ts_a[external_root_bxs_commonjs_bxs_ui_vue_commonjs2_bxs_ui_vue_amd_bxs_ui_vue_["Input"].name] = external_root_bxs_commonjs_bxs_ui_vue_commonjs2_bxs_ui_vue_amd_bxs_ui_vue_["Input"],
23861
23948
  product_infovue_type_script_lang_ts_a[external_root_bxs_commonjs_bxs_ui_vue_commonjs2_bxs_ui_vue_amd_bxs_ui_vue_["RadioGroup"].name] = external_root_bxs_commonjs_bxs_ui_vue_commonjs2_bxs_ui_vue_amd_bxs_ui_vue_["RadioGroup"],
23862
23949
  product_infovue_type_script_lang_ts_a[external_root_bxs_commonjs_bxs_ui_vue_commonjs2_bxs_ui_vue_amd_bxs_ui_vue_["Radio"].name] = external_root_bxs_commonjs_bxs_ui_vue_commonjs2_bxs_ui_vue_amd_bxs_ui_vue_["Radio"],
23950
+ product_infovue_type_script_lang_ts_a[external_root_bxs_commonjs_bxs_ui_vue_commonjs2_bxs_ui_vue_amd_bxs_ui_vue_["Switch"].name] = external_root_bxs_commonjs_bxs_ui_vue_commonjs2_bxs_ui_vue_amd_bxs_ui_vue_["Switch"],
23863
23951
  product_infovue_type_script_lang_ts_a)
23864
23952
  })
23865
23953
  ], BxtProductInfo);
@@ -23869,8 +23957,8 @@ var product_infovue_type_script_lang_ts_BxtProductInfo = (function (_super) {
23869
23957
 
23870
23958
  // CONCATENATED MODULE: ./packages/product-info/index.vue?vue&type=script&lang=ts&
23871
23959
  /* harmony default export */ var packages_product_infovue_type_script_lang_ts_ = (product_infovue_type_script_lang_ts_);
23872
- // EXTERNAL MODULE: ./packages/product-info/index.vue?vue&type=style&index=0&id=e116ecb2&prod&lang=css&
23873
- var product_infovue_type_style_index_0_id_e116ecb2_prod_lang_css_ = __webpack_require__(226);
23960
+ // EXTERNAL MODULE: ./packages/product-info/index.vue?vue&type=style&index=0&id=403daf62&prod&lang=css&
23961
+ var product_infovue_type_style_index_0_id_403daf62_prod_lang_css_ = __webpack_require__(226);
23874
23962
 
23875
23963
  // CONCATENATED MODULE: ./packages/product-info/index.vue
23876
23964
 
@@ -23883,8 +23971,8 @@ var product_infovue_type_style_index_0_id_e116ecb2_prod_lang_css_ = __webpack_re
23883
23971
 
23884
23972
  var product_info_component = normalizeComponent(
23885
23973
  packages_product_infovue_type_script_lang_ts_,
23886
- product_infovue_type_template_id_e116ecb2_render,
23887
- product_infovue_type_template_id_e116ecb2_staticRenderFns,
23974
+ product_infovue_type_template_id_403daf62_render,
23975
+ product_infovue_type_template_id_403daf62_staticRenderFns,
23888
23976
  false,
23889
23977
  null,
23890
23978
  null,
@@ -728,7 +728,7 @@ function productDataHandler(prodData, productVerifyData, personData) {
728
728
  var option = backupOpts_1.find(function (o) { return o.val == c.value; });
729
729
  return {
730
730
  val: c.value,
731
- desc: c.desc,
731
+ desc: c.desc || c.value,
732
732
  isHide: (option && option.isHide) || null,
733
733
  isDisabled: (option && option.isDisabled) || null,
734
734
  isInvalid: null
@@ -786,7 +786,7 @@ function productDataHandler(prodData, productVerifyData, personData) {
786
786
  return elementVerify && elementVerify.some(function (c) { return c.value == eleData.value; });
787
787
  }).map(function (v) { return ({
788
788
  val: v.value,
789
- desc: v.desc,
789
+ desc: v.desc || v.value,
790
790
  isHide: null,
791
791
  isDisabled: null,
792
792
  isInvalid: null
@@ -4916,7 +4916,7 @@ function initInsuranceData(insData) {
4916
4916
  e.opts = options;
4917
4917
  }
4918
4918
  if (e.opts && e.opts.length) {
4919
- e.opts = e.opts.map(function (o) { return (Object(tslib__WEBPACK_IMPORTED_MODULE_0__[/* __assign */ "a"])(Object(tslib__WEBPACK_IMPORTED_MODULE_0__[/* __assign */ "a"])({}, o), { isHide: o.isHide || null, isDisabled: o.isDisabled || null, isInvalid: o.isInvalid || null })); });
4919
+ e.opts = e.opts.map(function (o) { return (Object(tslib__WEBPACK_IMPORTED_MODULE_0__[/* __assign */ "a"])(Object(tslib__WEBPACK_IMPORTED_MODULE_0__[/* __assign */ "a"])({}, o), { desc: o.desc || o.val, isHide: o.isHide || null, isDisabled: o.isDisabled || null, isInvalid: o.isInvalid || null })); });
4920
4920
  }
4921
4921
  });
4922
4922
  }
@@ -728,7 +728,7 @@ function productDataHandler(prodData, productVerifyData, personData) {
728
728
  var option = backupOpts_1.find(function (o) { return o.val == c.value; });
729
729
  return {
730
730
  val: c.value,
731
- desc: c.desc,
731
+ desc: c.desc || c.value,
732
732
  isHide: (option && option.isHide) || null,
733
733
  isDisabled: (option && option.isDisabled) || null,
734
734
  isInvalid: null
@@ -786,7 +786,7 @@ function productDataHandler(prodData, productVerifyData, personData) {
786
786
  return elementVerify && elementVerify.some(function (c) { return c.value == eleData.value; });
787
787
  }).map(function (v) { return ({
788
788
  val: v.value,
789
- desc: v.desc,
789
+ desc: v.desc || v.value,
790
790
  isHide: null,
791
791
  isDisabled: null,
792
792
  isInvalid: null
@@ -5001,7 +5001,7 @@ function initInsuranceData(insData) {
5001
5001
  e.opts = options;
5002
5002
  }
5003
5003
  if (e.opts && e.opts.length) {
5004
- e.opts = e.opts.map(function (o) { return (Object(tslib__WEBPACK_IMPORTED_MODULE_0__[/* __assign */ "a"])(Object(tslib__WEBPACK_IMPORTED_MODULE_0__[/* __assign */ "a"])({}, o), { isHide: o.isHide || null, isDisabled: o.isDisabled || null, isInvalid: o.isInvalid || null })); });
5004
+ e.opts = e.opts.map(function (o) { return (Object(tslib__WEBPACK_IMPORTED_MODULE_0__[/* __assign */ "a"])(Object(tslib__WEBPACK_IMPORTED_MODULE_0__[/* __assign */ "a"])({}, o), { desc: o.desc || o.val, isHide: o.isHide || null, isDisabled: o.isDisabled || null, isInvalid: o.isInvalid || null })); });
5005
5005
  }
5006
5006
  });
5007
5007
  }
@@ -314,8 +314,40 @@ footer {
314
314
  .bxt-product-info {
315
315
  padding: 10px
316
316
  }
317
+ .bxt-product-info .bxt-custom-result {
318
+ margin-bottom: 9px;
319
+ background: white;
320
+ font-size: 15px;
321
+ color: #333
322
+ }
323
+ .bxt-product-info .bxt-custom-result .bxt-custom-result-title {
324
+ padding: 15px;
325
+ position: relative
326
+ }
327
+ .bxt-product-info .bxt-custom-result .bxt-custom-result-title .bxt-custom-result-title_desc .icon-arrows_up,
328
+ .bxt-product-info .bxt-custom-result .bxt-custom-result-title .bxt-custom-result-title_desc .icon-arrows_down {
329
+ color: #ccc;
330
+ }
331
+ .bxt-product-info .bxt-custom-result .bxt-custom-result-title .bx-switch-box {
332
+ position: absolute;
333
+ top: 50%;
334
+ right: 0;
335
+ -webkit-transform: translateY(-50%);
336
+ transform: translateY(-50%);
337
+
338
+ right: 15px
339
+ }
340
+ .bxt-product-info .bxt-custom-result .bxt-custom-result-title .bx-switch-box .bx-switch-circle {
341
+ pointer-events: none;
342
+ }
343
+ .bxt-product-info .bxt-custom-result .bxt-custom-result-tips {
344
+ padding: 0 15px 15px;
345
+ font-size: 14px;
346
+ line-height: normal;
347
+ color: #999;
348
+ }
317
349
  .bxt-product-info .bxt-product-info-form {
318
- background: #fff;
350
+ background: white;
319
351
  margin-bottom: 9px;
320
352
  border-radius: 6px
321
353
  }
@@ -429,7 +461,7 @@ footer {
429
461
  padding: 1px 12px;
430
462
  line-height: normal;
431
463
  background: #666;
432
- color: #fff;
464
+ color: white;
433
465
  font-size: 12px;
434
466
  border-radius: 4px;
435
467
  }