bxs-tools-ui 3.1.2 → 3.2.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/es/add-and-take/index.js +2 -4
- package/es/adjust-baoe/index.js +2 -4
- package/es/index.css +1 -1
- package/es/index.js +264 -66
- package/es/insure-calculate/index.js +2 -4
- package/es/person-info/index.js +185 -21
- package/es/product-info/index.js +244 -43
- package/es/share-sheet/index.css +1 -1
- package/es/share-sheet/index.js +4 -11
- package/es/utils/index.js +191 -25
- package/lib/add-and-take/index.js +2 -4
- package/lib/adjust-baoe/index.js +2 -4
- package/lib/index.css +1 -1
- package/lib/index.js +264 -66
- package/lib/insure-calculate/index.js +2 -4
- package/lib/person-info/index.js +185 -21
- package/lib/product-info/index.js +244 -43
- package/lib/share-sheet/index.css +1 -1
- package/lib/share-sheet/index.js +4 -11
- package/lib/utils/index.js +194 -24
- package/package.json +1 -1
- package/packages/add-and-take/demo/index.vue +2 -2
- package/packages/bxs-utils/planbook/common.ts +144 -0
- package/packages/bxs-utils/planbook/index.ts +1 -4
- package/packages/bxs-utils/planbook/person.ts +2 -4
- package/packages/bxs-utils/planbook/product.ts +21 -20
- package/packages/index.ts +1 -1
- package/packages/planbook-input/components/product-table.vue +8 -9
- package/packages/planbook-input/helper.js +134 -11
- package/packages/planbook-input/index.vue +39 -9
- package/packages/product-info/index.vue +42 -8
- package/packages/share-sheet/index.css +1 -3
- package/packages/share-sheet/index.vue +2 -5
- package/packages/share-sheet/readme.md +99 -61
package/es/product-info/index.js
CHANGED
|
@@ -8949,6 +8949,14 @@ function getUrlParams(url) {
|
|
|
8949
8949
|
return _searchStr ? QS.parse(_searchStr) : {};
|
|
8950
8950
|
}
|
|
8951
8951
|
|
|
8952
|
+
var enableLizhaoDebug = document && document.cookie && document.cookie.match('ENABLE_LIZHAO_DEBUG=1');
|
|
8953
|
+
function consoleLogWhenEnable() {
|
|
8954
|
+
if (enableLizhaoDebug) {
|
|
8955
|
+
var _console;
|
|
8956
|
+
(_console = console).log.apply(_console, arguments);
|
|
8957
|
+
}
|
|
8958
|
+
}
|
|
8959
|
+
|
|
8952
8960
|
/**
|
|
8953
8961
|
* **将对象下的 eleOrderList 数组中的子元素下的 value,转换为 key-value 键值对**
|
|
8954
8962
|
* @author Lizhao <lz@winbaoxian.com>
|
|
@@ -9149,6 +9157,167 @@ function getAgeFromBirth(birth, cDate) {
|
|
|
9149
9157
|
}
|
|
9150
9158
|
return age;
|
|
9151
9159
|
}
|
|
9160
|
+
function getExpressionParamMap(personData, product, ins, options) {
|
|
9161
|
+
var map = {
|
|
9162
|
+
planbookId: null,
|
|
9163
|
+
// 计划书id
|
|
9164
|
+
productId: null,
|
|
9165
|
+
// 产品id
|
|
9166
|
+
insured: {},
|
|
9167
|
+
// 被保人
|
|
9168
|
+
insured2: {},
|
|
9169
|
+
// 第二被保人
|
|
9170
|
+
applicant: {},
|
|
9171
|
+
// 投保人
|
|
9172
|
+
recipient: {},
|
|
9173
|
+
// 收件人
|
|
9174
|
+
p: {},
|
|
9175
|
+
// 当前产品
|
|
9176
|
+
m: {},
|
|
9177
|
+
// 主险
|
|
9178
|
+
me: {},
|
|
9179
|
+
// 当前险种
|
|
9180
|
+
common: {},
|
|
9181
|
+
// 通用信息
|
|
9182
|
+
customVariable: null,
|
|
9183
|
+
// 自定义变量
|
|
9184
|
+
cv: null // 简写,自定义变量
|
|
9185
|
+
};
|
|
9186
|
+
if (personData) {
|
|
9187
|
+
var insuredInfo = (personData.personOrderList || []).find(function (p) {
|
|
9188
|
+
return p.key === 'insuredInfo';
|
|
9189
|
+
});
|
|
9190
|
+
var insured2Info = (personData.personOrderList || []).find(function (p) {
|
|
9191
|
+
return p.key === 'insured2Info';
|
|
9192
|
+
});
|
|
9193
|
+
var applicantInfo = (personData.personOrderList || []).find(function (p) {
|
|
9194
|
+
return p.key === 'applicantInfo';
|
|
9195
|
+
});
|
|
9196
|
+
var recipientInfo = personData !== null && personData !== void 0 && personData.recipientInfo ? personData.recipientInfo : null;
|
|
9197
|
+
map.insured = insuredInfo ? convertEleOrderListToObj(insuredInfo) : {};
|
|
9198
|
+
map.insured2 = insured2Info ? convertEleOrderListToObj(insured2Info) : {};
|
|
9199
|
+
map.applicant = applicantInfo ? convertEleOrderListToObj(applicantInfo) : {};
|
|
9200
|
+
map.recipient = recipientInfo ? convertEleOrderListToObj(recipientInfo) : {};
|
|
9201
|
+
}
|
|
9202
|
+
if (ins) {
|
|
9203
|
+
map.me = ins ? convertEleOrderListToObj(ins) : {};
|
|
9204
|
+
map["i".concat(ins.key)] = ins;
|
|
9205
|
+
}
|
|
9206
|
+
if (product) {
|
|
9207
|
+
map.productId = product.key;
|
|
9208
|
+
Object.keys(product).filter(function (k) {
|
|
9209
|
+
return !['mulInsOrderList'].includes(k);
|
|
9210
|
+
}).forEach(function (k) {
|
|
9211
|
+
map.p[k] = product[k];
|
|
9212
|
+
});
|
|
9213
|
+
if (Array.isArray(product.mulInsOrderList)) {
|
|
9214
|
+
var common = product.mulInsOrderList.find(function (item) {
|
|
9215
|
+
return item.key === 'common';
|
|
9216
|
+
});
|
|
9217
|
+
var insuranceList = product.mulInsOrderList.filter(function (item) {
|
|
9218
|
+
return !['common'].includes(item.key);
|
|
9219
|
+
}).map(function (item) {
|
|
9220
|
+
return convertEleOrderListToObj(item);
|
|
9221
|
+
});
|
|
9222
|
+
map.m = insuranceList[0] ? insuranceList[0] : {};
|
|
9223
|
+
map.me = ins && ins.key ? insuranceList.find(function (e) {
|
|
9224
|
+
return e.key === ins.key;
|
|
9225
|
+
}) || {} : {};
|
|
9226
|
+
map.common = common ? convertEleOrderListToObj(common) : {};
|
|
9227
|
+
insuranceList.forEach(function (item) {
|
|
9228
|
+
map["i".concat(item.key)] = item;
|
|
9229
|
+
});
|
|
9230
|
+
}
|
|
9231
|
+
}
|
|
9232
|
+
if (options && options.planbookId) {
|
|
9233
|
+
map.planbookId = options.planbookId;
|
|
9234
|
+
}
|
|
9235
|
+
if (ins && ins.customVariableExp) {
|
|
9236
|
+
var exp = ins.customVariableExp.replace(/(%)(\d+)(\.*\w*)(%)/g, 'map.i$2$3').replace(/(%)(\w*\.*\w*)(%)/g, 'map.$2');
|
|
9237
|
+
map.customVariable = eval(exp);
|
|
9238
|
+
map.cv = map.customVariable;
|
|
9239
|
+
}
|
|
9240
|
+
return map;
|
|
9241
|
+
}
|
|
9242
|
+
function executeElementRule(personData, product, ins, ele) {
|
|
9243
|
+
var options = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : {};
|
|
9244
|
+
var paramMap = getExpressionParamMap(personData, product, ins, options);
|
|
9245
|
+
var newEleMap = {};
|
|
9246
|
+
if (paramMap) {
|
|
9247
|
+
if (['cmCommonTitle'].includes(ele.componentName)) {
|
|
9248
|
+
if (ele.underwriteExp) {
|
|
9249
|
+
var exp = ele.underwriteExp.replace(/(%)(\d+)(\.*\w*)(%)/g, 'paramMap.i$2$3').replace(/(%)(\w*\.*\w*)(%)/g, 'paramMap.$2');
|
|
9250
|
+
var evalValue = eval(exp);
|
|
9251
|
+
if (Array.isArray(evalValue)) {
|
|
9252
|
+
if ([0, 1].includes(evalValue[0])) {
|
|
9253
|
+
newEleMap.value = evalValue[0] === 1;
|
|
9254
|
+
}
|
|
9255
|
+
if ([0, 1].includes(evalValue[1])) {
|
|
9256
|
+
newEleMap.isDisabled = evalValue[1] === 0;
|
|
9257
|
+
}
|
|
9258
|
+
}
|
|
9259
|
+
consoleLogWhenEnable("".concat(ele.key, ": underwriteExp"), exp, evalValue);
|
|
9260
|
+
}
|
|
9261
|
+
}
|
|
9262
|
+
if (['cmCommonSelect', 'cmCommonRadioBtn', 'cmCommonRadio', 'cmCommonCheckbox'].includes(ele.componentName)) {
|
|
9263
|
+
if (ele.defaultValueExp) {
|
|
9264
|
+
if (ele.value !== 0 && !ele.value) {
|
|
9265
|
+
var _exp = ele.defaultValueExp.replace(/(%)(\d+)(\.*\w*)(%)/g, 'paramMap.i$2$3').replace(/(%)(\w*\.*\w*)(%)/g, 'paramMap.$2');
|
|
9266
|
+
newEleMap.value = eval(_exp);
|
|
9267
|
+
consoleLogWhenEnable("".concat(ele.key, ": defaultValueExp"), _exp, newEleMap.value);
|
|
9268
|
+
}
|
|
9269
|
+
}
|
|
9270
|
+
if (ele.underwriteExp) {
|
|
9271
|
+
var _exp2 = ele.underwriteExp.replace(/(%)(\d+)(\.*\w*)(%)/g, 'paramMap.i$2$3').replace(/(%)(\w*\.*\w*)(%)/g, 'paramMap.$2');
|
|
9272
|
+
var _evalValue = eval(_exp2);
|
|
9273
|
+
if (Array.isArray(_evalValue) && Array.isArray(ele.opts)) {
|
|
9274
|
+
if (_evalValue.length === 2) {
|
|
9275
|
+
newEleMap.opts = (ele.opts || []).filter(function (o) {
|
|
9276
|
+
return o.val >= _evalValue[0] && o.val <= _evalValue[1];
|
|
9277
|
+
});
|
|
9278
|
+
} else {
|
|
9279
|
+
newEleMap.opts = (ele.opts || []).filter(function (o) {
|
|
9280
|
+
return _evalValue.includes(o.val);
|
|
9281
|
+
});
|
|
9282
|
+
}
|
|
9283
|
+
}
|
|
9284
|
+
if (Array.isArray(newEleMap.opts)) {
|
|
9285
|
+
if (newEleMap.opts.length && !newEleMap.opts.some(function (o) {
|
|
9286
|
+
return o.val === ele.value;
|
|
9287
|
+
})) {
|
|
9288
|
+
newEleMap.value = newEleMap.opts[0].val;
|
|
9289
|
+
}
|
|
9290
|
+
}
|
|
9291
|
+
consoleLogWhenEnable("".concat(ele.key, ": underwriteExp"), _exp2, _evalValue);
|
|
9292
|
+
}
|
|
9293
|
+
}
|
|
9294
|
+
if (['cmCommonInput'].includes(ele.componentName)) {
|
|
9295
|
+
if (ele.defaultValueExp) {
|
|
9296
|
+
if (!ele.value) {
|
|
9297
|
+
var _exp3 = ele.defaultValueExp.replace(/(%)(\d+)(\.*\w*)(%)/g, 'paramMap.i$2$3').replace(/(%)(\w*\.*\w*)(%)/g, 'paramMap.$2');
|
|
9298
|
+
newEleMap.value = eval(_exp3);
|
|
9299
|
+
consoleLogWhenEnable("".concat(ele.key, ": defaultValueExp"), _exp3, newEleMap.value);
|
|
9300
|
+
}
|
|
9301
|
+
}
|
|
9302
|
+
if (ele.minExp) {
|
|
9303
|
+
var _exp4 = ele.minExp.replace(/(%)(\d+)(\.*\w*)(%)/g, 'paramMap.i$2$3').replace(/(%)(\w*\.*\w*)(%)/g, 'paramMap.$2');
|
|
9304
|
+
newEleMap.min = eval(_exp4);
|
|
9305
|
+
consoleLogWhenEnable("".concat(ele.key, ": minExp"), _exp4, newEleMap.min);
|
|
9306
|
+
}
|
|
9307
|
+
if (ele.maxExp) {
|
|
9308
|
+
var _exp5 = ele.maxExp.replace(/(%)(\d+)(\.*\w*)(%)/g, 'paramMap.i$2$3').replace(/(%)(\w*\.*\w*)(%)/g, 'paramMap.$2');
|
|
9309
|
+
newEleMap.max = eval(_exp5);
|
|
9310
|
+
consoleLogWhenEnable("".concat(ele.key, ": maxExp"), _exp5, newEleMap.max);
|
|
9311
|
+
}
|
|
9312
|
+
if (ele.multiExp) {
|
|
9313
|
+
var _exp6 = ele.multiExp.replace(/(%)(\d+)(\.*\w*)(%)/g, 'paramMap.i$2$3').replace(/(%)(\w*\.*\w*)(%)/g, 'paramMap.$2');
|
|
9314
|
+
newEleMap.multi = eval(_exp6);
|
|
9315
|
+
consoleLogWhenEnable("".concat(ele.key, ": multiExp"), _exp6, newEleMap.multi);
|
|
9316
|
+
}
|
|
9317
|
+
}
|
|
9318
|
+
}
|
|
9319
|
+
return newEleMap;
|
|
9320
|
+
}
|
|
9152
9321
|
|
|
9153
9322
|
/**
|
|
9154
9323
|
* **转换人员数据**
|
|
@@ -9230,8 +9399,8 @@ function _toConsumableArray(r) {
|
|
|
9230
9399
|
return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray$1(r) || _nonIterableSpread();
|
|
9231
9400
|
}
|
|
9232
9401
|
|
|
9233
|
-
function ownKeys$
|
|
9234
|
-
function _objectSpread$
|
|
9402
|
+
function ownKeys$2(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; }
|
|
9403
|
+
function _objectSpread$2(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2(Object(t), true).forEach(function (r) { _defineProperty$1(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
9235
9404
|
|
|
9236
9405
|
/**
|
|
9237
9406
|
* **处理险种数据**
|
|
@@ -9452,7 +9621,7 @@ function restrictElementsInInsurance(_ref4) {
|
|
|
9452
9621
|
var insuranceInfo = convertEleOrderListToObj(insData);
|
|
9453
9622
|
var insVerifyData;
|
|
9454
9623
|
if (insuredInfo) {
|
|
9455
|
-
insVerifyData = _objectSpread$
|
|
9624
|
+
insVerifyData = _objectSpread$2({
|
|
9456
9625
|
sex: insuredInfo.sex,
|
|
9457
9626
|
age: insuredInfo.age
|
|
9458
9627
|
}, insuranceInfo);
|
|
@@ -9510,8 +9679,8 @@ function restrictElementsInInsurance(_ref4) {
|
|
|
9510
9679
|
return errorMsg;
|
|
9511
9680
|
}
|
|
9512
9681
|
|
|
9513
|
-
function ownKeys$
|
|
9514
|
-
function _objectSpread$
|
|
9682
|
+
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; }
|
|
9683
|
+
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; }
|
|
9515
9684
|
|
|
9516
9685
|
/**
|
|
9517
9686
|
* **处理产品数据(单个)**
|
|
@@ -9583,8 +9752,8 @@ function _productDataHandler() {
|
|
|
9583
9752
|
insuranceDataHandler(ins, prodData);
|
|
9584
9753
|
var insuranceVerifyData = productVerifyData[ins.key];
|
|
9585
9754
|
if (!insuranceVerifyData) {
|
|
9586
|
-
if (
|
|
9587
|
-
|
|
9755
|
+
if (ins.key !== 'common') {
|
|
9756
|
+
consoleLogWhenEnable("".concat(prodData.titleName, "-").concat(prodData.key, " -> ").concat(ins.name, "-").concat(ins.key, ": \u5F53\u524D\u9669\u79CD\u6CA1\u6709\u8D39\u7387\u8868"));
|
|
9588
9757
|
}
|
|
9589
9758
|
return;
|
|
9590
9759
|
}
|
|
@@ -9636,9 +9805,7 @@ function _productDataHandler() {
|
|
|
9636
9805
|
if (isNotAllowSelect) {
|
|
9637
9806
|
eleTitle.isDisabled = true;
|
|
9638
9807
|
eleTitle.value = false;
|
|
9639
|
-
|
|
9640
|
-
console.log(curCondition ? "".concat(eleTitle.labelName, "-").concat(ins.key, ": \u8D39\u7387\u5B58\u5728\uFF01\u4F46\u6295\u4FDD\u4EBA\u672A\u9009\u4E2D\u6216\u6295\u88AB\u4FDD\u4EBA\u4E3A\u540C\u4E00\u4EBA\uFF0C\u8BE5\u8C41\u514D\u9669\uFF08\u4E0D\u80FD\u9644\u52A0\u5230\u88AB\u4FDD\u4EBA\uFF09\u4E0D\u53EF\u9009") : "".concat(eleTitle.labelName, "-").concat(ins.key, ": \u8D39\u7387\u4E0D\u5B58\u5728\uFF01"));
|
|
9641
|
-
}
|
|
9808
|
+
consoleLogWhenEnable(curCondition ? "".concat(eleTitle.labelName, "-").concat(ins.key, ": \u8D39\u7387\u5B58\u5728\uFF01\u4F46\u6295\u4FDD\u4EBA\u672A\u9009\u4E2D\u6216\u6295\u88AB\u4FDD\u4EBA\u4E3A\u540C\u4E00\u4EBA\uFF0C\u8BE5\u8C41\u514D\u9669\uFF08\u4E0D\u80FD\u9644\u52A0\u5230\u88AB\u4FDD\u4EBA\uFF09\u4E0D\u53EF\u9009") : "".concat(eleTitle.labelName, "-").concat(ins.key, ": \u8D39\u7387\u4E0D\u5B58\u5728\uFF01"));
|
|
9642
9809
|
} else {
|
|
9643
9810
|
// 存在费率,险种可选
|
|
9644
9811
|
eleTitle.isDisabled = false;
|
|
@@ -9646,9 +9813,7 @@ function _productDataHandler() {
|
|
|
9646
9813
|
if (ins.required && (!ins.groupKey || ins.isCheckbox)) {
|
|
9647
9814
|
eleTitle.value = true;
|
|
9648
9815
|
eleTitle.isDisabled = true;
|
|
9649
|
-
|
|
9650
|
-
console.log("".concat(eleTitle.labelName, "-").concat(ins.key, ": \u8D39\u7387\u5B58\u5728\uFF0C\u9669\u79CD\u4E3A\u5FC5\u9009\u9669\u4E14(\u4E3A\u975E\u7EC4\u5408\u9669\u6216\u4E3A\u591A\u9009\u4E00\u9669\u79CD)"));
|
|
9651
|
-
}
|
|
9816
|
+
consoleLogWhenEnable("".concat(eleTitle.labelName, "-").concat(ins.key, ": \u8D39\u7387\u5B58\u5728\uFF0C\u9669\u79CD\u4E3A\u5FC5\u9009\u9669\u4E14(\u4E3A\u975E\u7EC4\u5408\u9669\u6216\u4E3A\u591A\u9009\u4E00\u9669\u79CD)"));
|
|
9652
9817
|
}
|
|
9653
9818
|
}
|
|
9654
9819
|
if (!curCondition) {
|
|
@@ -9667,9 +9832,7 @@ function _productDataHandler() {
|
|
|
9667
9832
|
});
|
|
9668
9833
|
}
|
|
9669
9834
|
if (!eleData) {
|
|
9670
|
-
|
|
9671
|
-
console.log("".concat(ins.name, " - ").concat(curCondition && curCondition.key, "\u5143\u7D20\u4E0D\u5B58\u5728\uFF1A"));
|
|
9672
|
-
}
|
|
9835
|
+
consoleLogWhenEnable("".concat(ins.name, " - ").concat(curCondition && curCondition.key, "\u5143\u7D20\u4E0D\u5B58\u5728\uFF1A"));
|
|
9673
9836
|
curCondition = null;
|
|
9674
9837
|
return 0; // break
|
|
9675
9838
|
}
|
|
@@ -9698,9 +9861,7 @@ function _productDataHandler() {
|
|
|
9698
9861
|
eleData.value = refEleData.value;
|
|
9699
9862
|
}
|
|
9700
9863
|
} else {
|
|
9701
|
-
|
|
9702
|
-
console.log("".concat(ins.name, "-").concat(ins.key, "\uFF1A\u5173\u8054\u9669\u79CD").concat(ins.refInsuranceId, "\u4E0D\u5B58\u5728"));
|
|
9703
|
-
}
|
|
9864
|
+
consoleLogWhenEnable("".concat(ins.name, "-").concat(ins.key, "\uFF1A\u5173\u8054\u9669\u79CD").concat(ins.refInsuranceId, "\u4E0D\u5B58\u5728"));
|
|
9704
9865
|
}
|
|
9705
9866
|
} else {
|
|
9706
9867
|
var backupOpts = eleData.opts && eleData.opts.length ? eleData.opts.slice(0) : [];
|
|
@@ -9769,9 +9930,7 @@ function _productDataHandler() {
|
|
|
9769
9930
|
if (!curCondition) {
|
|
9770
9931
|
eleTitle.isDisabled = true;
|
|
9771
9932
|
eleTitle.value = false;
|
|
9772
|
-
|
|
9773
|
-
console.log("".concat(eleTitle.labelName, "-").concat(ins.key, ": \u8D39\u7387\u4E0D\u5B58\u5728\uFF01"));
|
|
9774
|
-
}
|
|
9933
|
+
consoleLogWhenEnable("".concat(eleTitle.labelName, "-").concat(ins.key, ": \u8D39\u7387\u4E0D\u5B58\u5728\uFF01"));
|
|
9775
9934
|
}
|
|
9776
9935
|
|
|
9777
9936
|
// 如果当前元素是隐藏的且不可修改,则过滤上一元素的选项,即,删除上一元素中不包含当前元素值的选项。
|
|
@@ -9808,6 +9967,15 @@ function _productDataHandler() {
|
|
|
9808
9967
|
_ret = _loop2();
|
|
9809
9968
|
if (_ret === 0) break;
|
|
9810
9969
|
} while (curCondition && curCondition.key && curCondition[curCondition.key]);
|
|
9970
|
+
if (Array.isArray(ins.eleOrderList)) {
|
|
9971
|
+
ins.eleOrderList.forEach(function (ele) {
|
|
9972
|
+
var newEleMap = executeElementRule(personData, prodData, ins, ele, parmas);
|
|
9973
|
+
for (var k in newEleMap) {
|
|
9974
|
+
ele[k] = newEleMap[k];
|
|
9975
|
+
}
|
|
9976
|
+
});
|
|
9977
|
+
insuranceDataHandler(ins, prodData);
|
|
9978
|
+
}
|
|
9811
9979
|
});
|
|
9812
9980
|
}
|
|
9813
9981
|
setGroupInsurance(prodData);
|
|
@@ -9956,10 +10124,10 @@ function getElementVerifyFromProductVerify(verify, insurances, option) {
|
|
|
9956
10124
|
var insuranceInfo = {};
|
|
9957
10125
|
insurances.forEach(function (ins) {
|
|
9958
10126
|
if (['common', option.insuranceKey].includes(ins.key)) {
|
|
9959
|
-
insuranceInfo = _objectSpread$
|
|
10127
|
+
insuranceInfo = _objectSpread$1(_objectSpread$1({}, insuranceInfo), convertEleOrderListToObj(ins));
|
|
9960
10128
|
}
|
|
9961
10129
|
});
|
|
9962
|
-
insuranceInfo = _objectSpread$
|
|
10130
|
+
insuranceInfo = _objectSpread$1(_objectSpread$1({}, insuranceInfo), option);
|
|
9963
10131
|
var temp = verify;
|
|
9964
10132
|
var hasElementKey = verify.key === option.elementKey;
|
|
9965
10133
|
while (temp && temp.key && temp.key !== option.elementKey) {
|
|
@@ -10477,7 +10645,7 @@ function convertProductData(prodData) {
|
|
|
10477
10645
|
if (!prodData.mulInsOrderList) {
|
|
10478
10646
|
return prodData;
|
|
10479
10647
|
}
|
|
10480
|
-
var productData = _objectSpread$
|
|
10648
|
+
var productData = _objectSpread$1(_objectSpread$1({}, prodData), {}, {
|
|
10481
10649
|
common: {},
|
|
10482
10650
|
mulInsOrderList: []
|
|
10483
10651
|
});
|
|
@@ -10551,10 +10719,6 @@ function clearAddAndTakeAndAdjustBaoeData(productData) {
|
|
|
10551
10719
|
return productData;
|
|
10552
10720
|
}
|
|
10553
10721
|
|
|
10554
|
-
if (document && document.cookie && document.cookie.match('LIZHAO_DEBUG_CONSOLE_FLAG=1')) {
|
|
10555
|
-
window.DEBUG_TEMP_CONSOLE_FLAG = true;
|
|
10556
|
-
}
|
|
10557
|
-
|
|
10558
10722
|
function showLoading() {
|
|
10559
10723
|
if (IS_CPPOC_HOST) {
|
|
10560
10724
|
_Toast.loading({
|
|
@@ -10626,8 +10790,8 @@ service.interceptors.response.use(function (response) {
|
|
|
10626
10790
|
return Promise.reject(error);
|
|
10627
10791
|
});
|
|
10628
10792
|
|
|
10629
|
-
function ownKeys
|
|
10630
|
-
function _objectSpread
|
|
10793
|
+
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; }
|
|
10794
|
+
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; }
|
|
10631
10795
|
function createMd5Token(reqData, obj) {
|
|
10632
10796
|
var personList = reqData.personData.personOrderList;
|
|
10633
10797
|
var signInfo = {};
|
|
@@ -10686,7 +10850,7 @@ function createMd5Token(reqData, obj) {
|
|
|
10686
10850
|
// signMd5: MD5(signInfoTx)
|
|
10687
10851
|
// }))
|
|
10688
10852
|
|
|
10689
|
-
return CryptoJS.AES.encrypt(JSON.stringify(_objectSpread
|
|
10853
|
+
return CryptoJS.AES.encrypt(JSON.stringify(_objectSpread(_objectSpread({}, signInfo), {}, {
|
|
10690
10854
|
signMd5: MD5(signInfoTx)
|
|
10691
10855
|
})), CryptoJS.enc.Utf8.parse('67u3Dg5fcc06UntP'), {
|
|
10692
10856
|
mode: CryptoJS.mode.ECB,
|
|
@@ -11631,8 +11795,6 @@ var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _class, _class2, _descriptor
|
|
|
11631
11795
|
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: true } : { done: false, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = true, u = false; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = true, o = r; }, f: function f() { try { a || null == t.return || t.return(); } finally { if (u) throw o; } } }; }
|
|
11632
11796
|
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
11633
11797
|
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
11634
|
-
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; }
|
|
11635
|
-
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; }
|
|
11636
11798
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
11637
11799
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
11638
11800
|
var BxtProductInfo = (_dec = Component({
|
|
@@ -11828,27 +11990,66 @@ var BxtProductInfo = (_dec = Component({
|
|
|
11828
11990
|
key: "changeProduct",
|
|
11829
11991
|
value: function () {
|
|
11830
11992
|
var _changeProduct = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(productData, options) {
|
|
11993
|
+
var _this5 = this;
|
|
11994
|
+
var $listeners, inputData, verifyData, personData, groupKey, productKey, params, type, insData, eleData, planbookId, publicPbUuid, productVerifyData, errorMsg, hasRevalidateFlag;
|
|
11831
11995
|
return _regeneratorRuntime.wrap(function (_context3) {
|
|
11832
11996
|
while (1) switch (_context3.prev = _context3.next) {
|
|
11833
11997
|
case 0:
|
|
11834
|
-
|
|
11998
|
+
$listeners = this.$listeners, inputData = this.inputData, verifyData = this.verifyData, personData = this.personData, groupKey = this.groupKey, productKey = this.productKey, params = this.params;
|
|
11999
|
+
type = options.type, insData = options.insData, eleData = options.eleData;
|
|
12000
|
+
planbookId = get(params, 'planbookId');
|
|
12001
|
+
publicPbUuid = get(params, 'publicPbUuid');
|
|
12002
|
+
productVerifyData = get(verifyData, "[".concat(productKey, "]"));
|
|
12003
|
+
if (type === 'change') {
|
|
11835
12004
|
clearAddAndTakeAndAdjustBaoeData(productData);
|
|
11836
12005
|
}
|
|
11837
12006
|
_context3.next = 1;
|
|
11838
|
-
return productDataHandler(productData,
|
|
11839
|
-
planbookId:
|
|
12007
|
+
return productDataHandler(productData, productVerifyData, personData, {
|
|
12008
|
+
planbookId: planbookId
|
|
11840
12009
|
});
|
|
11841
12010
|
case 1:
|
|
11842
|
-
if (
|
|
11843
|
-
this.createInsuranceInputResultEle(
|
|
12011
|
+
if (type === 'change') {
|
|
12012
|
+
this.createInsuranceInputResultEle(insData, eleData);
|
|
11844
12013
|
} else {
|
|
11845
12014
|
this.createInsuranceInputResultEle();
|
|
11846
12015
|
}
|
|
11847
|
-
|
|
11848
|
-
personData:
|
|
11849
|
-
productData: productData
|
|
11850
|
-
|
|
12016
|
+
errorMsg = verifyProductRules({
|
|
12017
|
+
personData: personData,
|
|
12018
|
+
productData: productData,
|
|
12019
|
+
insData: insData,
|
|
12020
|
+
eleData: eleData
|
|
12021
|
+
});
|
|
12022
|
+
if (errorMsg) {
|
|
12023
|
+
_context3.next = 3;
|
|
12024
|
+
break;
|
|
12025
|
+
}
|
|
12026
|
+
hasRevalidateFlag = (get(productData, 'mulInsOrderList') || []).some(function (ins) {
|
|
12027
|
+
return ins.revalidateFlag;
|
|
12028
|
+
});
|
|
12029
|
+
if (!(hasRevalidateFlag && $listeners.reCalculate)) {
|
|
12030
|
+
_context3.next = 3;
|
|
12031
|
+
break;
|
|
12032
|
+
}
|
|
12033
|
+
_context3.next = 2;
|
|
12034
|
+
return new Promise(function (resolve, reject) {
|
|
12035
|
+
_this5.$emit('reCalculate', inputData, {
|
|
12036
|
+
planbookId: planbookId,
|
|
12037
|
+
publicPbUuid: publicPbUuid,
|
|
12038
|
+
groupKey: groupKey,
|
|
12039
|
+
productKey: productKey,
|
|
12040
|
+
isIgnoreError: true
|
|
12041
|
+
}, resolve, reject);
|
|
12042
|
+
}).catch(function (err) {
|
|
12043
|
+
errorMsg = get(err, '[0].message') || get(err, 'message');
|
|
12044
|
+
});
|
|
11851
12045
|
case 2:
|
|
12046
|
+
_context3.next = 3;
|
|
12047
|
+
return productDataHandler(productData, productVerifyData, personData, {
|
|
12048
|
+
planbookId: planbookId
|
|
12049
|
+
});
|
|
12050
|
+
case 3:
|
|
12051
|
+
return _context3.abrupt("return", errorMsg);
|
|
12052
|
+
case 4:
|
|
11852
12053
|
case "end":
|
|
11853
12054
|
return _context3.stop();
|
|
11854
12055
|
}
|
package/es/share-sheet/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
*{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-share-sheet{background-color:transparent;color:#333}.bxt-share-sheet .bxt-share-container{-webkit-box-orient:vertical;-webkit-box-direction:normal;-moz-box-orient:vertical;-moz-box-direction:normal;-webkit-box-pack:end;-moz-box-pack:end;-ms-flex-pack:end;bottom:0;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;height:100%;-webkit-justify-content:flex-end;justify-content:flex-end;left:0;overflow:hidden;position:absolute;width:100%}.bxt-share-sheet .bxt-share-image{padding:30px 40px}.bxt-share-sheet .bxt-share-image img{width:100%}.bxt-share-sheet .bxt-share-content{background:#fff}.bxt-share-sheet .bxt-expire{padding:15px 15px 15px 21px}.bxt-share-sheet .bxt-expire .bxt-title{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex}.bxt-share-sheet .bxt-expire .bxt-title .bxt-tx{font-size:14px;font-weight:700;font-weight:500;line-height:17px}.bxt-share-sheet .bxt-expire .bxt-title .bxt-description{color:#666;font-size:13px;line-height:16px;margin-left:18px}.bxt-share-sheet .bxt-expire .bxt-title .bxt-description .van-icon{color:#b5b5b5;font-size:15px;vertical-align:middle}.bxt-share-sheet .bxt-expire .bxt-title .bxt-description span{margin-left:3px;vertical-align:middle}.bxt-share-sheet .bxt-expire .van-radio-group{margin-top:6px}.bxt-share-sheet .bxt-expire .van-radio-group .van-radio{-webkit-box-flex:0;-moz-box-flex:0;-webkit-flex:0 0 32%;-ms-flex:0 0 32%;flex:0 0 32%;margin-right:0;margin-top:12px}.bxt-share-sheet .bxt-expire .van-radio-group .van-radio .van-radio__icon{color:#0a64fe;font-size:15px;line-height:20px;vertical-align:middle}.bxt-share-sheet .bxt-expire .van-radio-group .van-radio .van-radio__label{margin-left:6px;vertical-align:middle}.bxt-share-sheet .bxt-explain{color:#666;font-size:13px;line-height:19px}.bxt-share-sheet .bxt-explain-title{padding:15px 21px}.bxt-share-sheet .bxt-explain-text{padding:12px 15px}.bxt-share-sheet .bxt-explain-text .bxt-explain-text-content{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;width:100%}.bxt-share-sheet .bxt-explain-text--copy{padding:12px 15px}.bxt-share-sheet .bxt-explain-text--copy .bxt-explain-text-wrapper{background:#f5f5f5;border-radius:6px;padding:12px 15px}.bxt-share-sheet .bxt-share .bxt-share-wrapper{-webkit-box-pack:
|
|
1
|
+
*{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-share-sheet{background-color:transparent;color:#333}.bxt-share-sheet .bxt-share-container{-webkit-box-orient:vertical;-webkit-box-direction:normal;-moz-box-orient:vertical;-moz-box-direction:normal;-webkit-box-pack:end;-moz-box-pack:end;-ms-flex-pack:end;bottom:0;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;height:100%;-webkit-justify-content:flex-end;justify-content:flex-end;left:0;overflow:hidden;position:absolute;width:100%}.bxt-share-sheet .bxt-share-image{padding:30px 40px}.bxt-share-sheet .bxt-share-image img{width:100%}.bxt-share-sheet .bxt-share-content{background:#fff}.bxt-share-sheet .bxt-expire{padding:15px 15px 15px 21px}.bxt-share-sheet .bxt-expire .bxt-title{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex}.bxt-share-sheet .bxt-expire .bxt-title .bxt-tx{font-size:14px;font-weight:700;font-weight:500;line-height:17px}.bxt-share-sheet .bxt-expire .bxt-title .bxt-description{color:#666;font-size:13px;line-height:16px;margin-left:18px}.bxt-share-sheet .bxt-expire .bxt-title .bxt-description .van-icon{color:#b5b5b5;font-size:15px;vertical-align:middle}.bxt-share-sheet .bxt-expire .bxt-title .bxt-description span{margin-left:3px;vertical-align:middle}.bxt-share-sheet .bxt-expire .van-radio-group{margin-top:6px}.bxt-share-sheet .bxt-expire .van-radio-group .van-radio{-webkit-box-flex:0;-moz-box-flex:0;-webkit-flex:0 0 32%;-ms-flex:0 0 32%;flex:0 0 32%;margin-right:0;margin-top:12px}.bxt-share-sheet .bxt-expire .van-radio-group .van-radio .van-radio__icon{color:#0a64fe;font-size:15px;line-height:20px;vertical-align:middle}.bxt-share-sheet .bxt-expire .van-radio-group .van-radio .van-radio__label{margin-left:6px;vertical-align:middle}.bxt-share-sheet .bxt-explain{color:#666;font-size:13px;line-height:19px}.bxt-share-sheet .bxt-explain-title{padding:15px 21px}.bxt-share-sheet .bxt-explain-text{padding:12px 15px}.bxt-share-sheet .bxt-explain-text .bxt-explain-text-content{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;width:100%}.bxt-share-sheet .bxt-explain-text--copy{padding:12px 15px}.bxt-share-sheet .bxt-explain-text--copy .bxt-explain-text-wrapper{background:#f5f5f5;border-radius:6px;padding:12px 15px}.bxt-share-sheet .bxt-share .bxt-share-wrapper{-webkit-box-pack:start;-moz-box-pack:start;-ms-flex-pack:start;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-justify-content:flex-start;justify-content:flex-start;overflow:auto;padding:20px 15px}.bxt-share-sheet .bxt-share .bxt-share-wrapper::-webkit-scrollbar{display:none}.bxt-share-sheet .bxt-share .bxt-share-wrapper figure{-webkit-box-flex:0;-moz-box-flex:0;-webkit-box-orient:vertical;-webkit-box-direction:normal;-moz-box-orient:vertical;-moz-box-direction:normal;-webkit-flex:0 0 25%;-ms-flex:0 0 25%;flex:0 0 25%;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.bxt-share-sheet .bxt-share .bxt-share-wrapper figure,.bxt-share-sheet .bxt-share .bxt-share-wrapper figure .bxt-empty-image{-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;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-justify-content:center;justify-content:center}.bxt-share-sheet .bxt-share .bxt-share-wrapper figure .bxt-empty-image{background:#f3f7f9;border-radius:50px;height:50px;overflow:hidden;width:50px}.bxt-share-sheet .bxt-share .bxt-share-wrapper figure .bxt-empty-image img{display:block;margin:0 auto;width:100%}.bxt-share-sheet .bxt-share .bxt-share-wrapper figure figcaption{color:#666;font-size:12px;height:15px;line-height:15px;margin-top:5px;overflow:hidden;text-align:center;text-overflow:ellipsis;white-space:nowrap;width:100%}.bxt-share-sheet .bxt-share .bxt-share-wrapper.more figure{-webkit-box-flex:0;-moz-box-flex:0;-webkit-flex:0 0 23%;-ms-flex:0 0 23%;flex:0 0 23%}.bxt-share-sheet .bxt-fooer:after{content:"";display:block;height:constant(safe-area-inset-bottom);height:env(safe-area-inset-bottom)}.bxt-share-sheet .bxt-fooer{font-size:15px;line-height:18px;padding:16px 15px;text-align:center}.bxt-share-sheet .bxt-bottom-border{overflow:hidden;position:relative}.bxt-share-sheet .bxt-bottom-border:before{border-bottom:1px solid #e5e5e5;bottom:0;content:"";left:15px;position:absolute;-webkit-transform:scale(.5);transform:scale(.5);-webkit-transform-origin:left center;transform-origin:left center;width:200%}
|
package/es/share-sheet/index.js
CHANGED
|
@@ -44,6 +44,8 @@ function _defineProperty(e, r, t) {
|
|
|
44
44
|
}) : e[r] = t, e;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
+
document && document.cookie && document.cookie.match('ENABLE_LIZHAO_DEBUG=1');
|
|
48
|
+
|
|
47
49
|
/**
|
|
48
50
|
* 截取指定字数字符串
|
|
49
51
|
* @param str
|
|
@@ -8526,10 +8528,6 @@ memoize(function (params) {
|
|
|
8526
8528
|
return QS.stringify(params);
|
|
8527
8529
|
});
|
|
8528
8530
|
|
|
8529
|
-
if (document && document.cookie && document.cookie.match('LIZHAO_DEBUG_CONSOLE_FLAG=1')) {
|
|
8530
|
-
window.DEBUG_TEMP_CONSOLE_FLAG = true;
|
|
8531
|
-
}
|
|
8532
|
-
|
|
8533
8531
|
var oneDayMillisecond = 24 * 3600 * 1000;
|
|
8534
8532
|
var EXPIRE_ENUM = [{
|
|
8535
8533
|
value: 'NEVER',
|
|
@@ -8767,11 +8765,6 @@ const script = {
|
|
|
8767
8765
|
});
|
|
8768
8766
|
}
|
|
8769
8767
|
return options;
|
|
8770
|
-
},
|
|
8771
|
-
actionTypeLength: function actionTypeLength() {
|
|
8772
|
-
return [this.shareOptions, this.actionOptions].filter(function (e) {
|
|
8773
|
-
return e.length;
|
|
8774
|
-
}).length;
|
|
8775
8768
|
}
|
|
8776
8769
|
},
|
|
8777
8770
|
created: function created() {
|
|
@@ -8938,7 +8931,7 @@ var __vue_render__ = function __vue_render__() {
|
|
|
8938
8931
|
staticClass: "bxt-share bxt-bottom-border"
|
|
8939
8932
|
}, [_c('div', {
|
|
8940
8933
|
staticClass: "bxt-share-wrapper",
|
|
8941
|
-
class: [_vm.shareOptions.length > 4
|
|
8934
|
+
class: [_vm.shareOptions.length > 4 ? 'more' : '']
|
|
8942
8935
|
}, _vm._l(_vm.shareOptions, function (o) {
|
|
8943
8936
|
return _c('figure', {
|
|
8944
8937
|
key: o.action,
|
|
@@ -8959,7 +8952,7 @@ var __vue_render__ = function __vue_render__() {
|
|
|
8959
8952
|
staticClass: "bxt-share bxt-bottom-border"
|
|
8960
8953
|
}, [_c('div', {
|
|
8961
8954
|
staticClass: "bxt-share-wrapper",
|
|
8962
|
-
class: [_vm.actionOptions.length > 4
|
|
8955
|
+
class: [_vm.actionOptions.length > 4 ? 'more' : '']
|
|
8963
8956
|
}, _vm._l(_vm.actionOptions, function (o) {
|
|
8964
8957
|
return _c('figure', {
|
|
8965
8958
|
key: o.action,
|