@xysfe/actui2 0.0.6 → 0.0.7
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/BScroll/index.js +1 -1
- package/lib/BScroll/index.mjs +1 -5
- package/lib/ClaimsContact/style.css +1 -1
- package/lib/Contact/style.css +1 -1
- package/lib/ContactBook/style.css +1 -1
- package/lib/CouponLayer/index.js +1 -1
- package/lib/CouponLayer/index.mjs +2 -2
- package/lib/DiseaseListLayer/index.js +1 -1
- package/lib/DiseaseListLayer/index.mjs +2 -2
- package/lib/GoldBenefitDemo/benefit/slider/index.js +1 -1
- package/lib/GoldBenefitDemo/benefit/slider/index.mjs +2 -2
- package/lib/GoldBenefitDemo/costTable/index.js +1 -1
- package/lib/GoldBenefitDemo/costTable/index.mjs +2 -2
- package/lib/GoldCost/costTable/index.js +1 -1
- package/lib/GoldCost/costTable/index.mjs +4 -4
- package/lib/GoldFinance/benefit/slider/index.js +1 -1
- package/lib/GoldFinance/benefit/slider/index.mjs +2 -2
- package/lib/GoldFinance/costTable/index.js +1 -1
- package/lib/GoldFinance/costTable/index.mjs +2 -2
- package/lib/GoldFinanceChart/costTable/index.js +1 -1
- package/lib/GoldFinanceChart/costTable/index.mjs +2 -2
- package/lib/GoldFinanceChartV3/costTable/index.js +1 -1
- package/lib/GoldFinanceChartV3/costTable/index.mjs +4 -4
- package/lib/GoldFinanceV2/benefit/slider/index.js +1 -1
- package/lib/GoldFinanceV2/benefit/slider/index.mjs +2 -2
- package/lib/GoldFinanceV2/costTable/index.js +1 -1
- package/lib/GoldFinanceV2/costTable/index.mjs +2 -2
- package/lib/GoldMulSelect/mulSelect/index.js +1 -1
- package/lib/GoldMulSelect/mulSelect/index.mjs +2 -2
- package/lib/GoldPayLimitLayer/index.js +1 -1
- package/lib/GoldPayLimitLayer/index.mjs +2 -2
- package/lib/GoldPayLimitLayer/signIntroduct/index.js +1 -1
- package/lib/GoldPayLimitLayer/signIntroduct/index.mjs +2 -2
- package/lib/GoldPayLimitLayer/table/index.js +1 -1
- package/lib/GoldPayLimitLayer/table/index.mjs +2 -2
- package/lib/GoldProtocol/style.css +1 -1
- package/lib/MedicalListLayer/index.js +1 -1
- package/lib/MedicalListLayer/index.mjs +2 -2
- package/lib/Picker/index.js +1 -1
- package/lib/Picker/index.mjs +2 -2
- package/lib/PickerLongText/index.js +1 -1
- package/lib/PickerLongText/index.mjs +2 -2
- package/lib/ProPosterLayer/index.js +1 -1
- package/lib/ProPosterLayer/index.mjs +1 -1
- package/lib/ProductLayer/productDetailLayer/index.js +1 -1
- package/lib/ProductLayer/productDetailLayer/index.mjs +4 -5
- package/lib/ProductLayer/productDetailLayer/style.css +1 -1
- package/lib/RecordRuleLayer/index.js +1 -1
- package/lib/RecordRuleLayer/index.mjs +4 -4
- package/lib/Rule/index.js +1 -1
- package/lib/Rule/index.mjs +2 -2
- package/lib/SlidePoster/index.js +1 -1
- package/lib/SlidePoster/index.mjs +1 -1
- package/lib/common/scroll/index.js +1 -1
- package/lib/common/scroll/index.mjs +2 -2
- package/lib/common/scrollZoom/scroll/index.js +1 -1
- package/lib/common/scrollZoom/scroll/index.mjs +2 -2
- package/lib/index.js +1 -1
- package/lib/index.mjs +6 -5
- package/lib/utils/vueAwesomeSwiper/index.js +1 -1
- package/lib/utils/vueAwesomeSwiper/index.mjs +7 -1
- package/package.json +2 -2
- package/types/components/BScroll/index.d.ts +1 -1
- package/types/utils/vueAwesomeSwiper.d.ts +2 -1
package/lib/BScroll/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var BScrollModule=require("better-scroll");
|
package/lib/BScroll/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.act-claims-contact-fade-enter[data-v-557f507d]{opacity:0}.act-claims-contact-fade-enter-active[data-v-557f507d]{-webkit-transition:all 0.3s ease-in-out;transition:all 0.3s ease-in-out}.act-claims-contact-move-enter[data-v-557f507d]{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}.act-claims-contact-move-enter-active[data-v-557f507d]{-webkit-transition:all 0.3s ease-in-out;transition:all 0.3s ease-in-out}.act-claims-contact-content[data-v-557f507d]{background-color:#F7F8FC;border-radius:12px 12px 0 0}.act-col[data-v-557f507d]{-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-flex-basis:0.000000001px;flex-basis:0.000000001px;width:1%}.act-claims-contact-hd[data-v-557f507d]{height:50px;line-height:50px;text-align:center;font-size:17px;color:#333333;position:relative;background:#ffffff;border-radius:12px 12px 0 0}.act-claims-contact-hd i[data-v-557f507d]{display:block;position:absolute;top:50%;z-index:1;margin:12px;background-repeat:no-repeat}.act-claims-contact-hd i.icon-back[data-v-557f507d]{height:17px;width:25px;left:0;margin-top:-8.5px;background-size:8.5px 12.5px;background-position:left center;background-image:url(../assets/back.de77.png)}.act-claims-contact-hd i.icon-cancel[data-v-557f507d]{height:22px;width:22px;right:0;margin-top:-11px;background-position:right center;background-size:11px 11px;background-image:url(../assets/cancel.cbdb.png)}.book-scoll-content[data-v-557f507d]{height:426px;position:relative;background:#F7F8FC;width:355px;margin:-10px auto 1px}.write-box[data-v-557f507d]{padding:0px 10px 32px;overflow:auto;height:426px;margin-top:-9px;position:relative}.write-box .content[data-v-557f507d]{background:#ffffff;box-shadow:0px 6px 20px 0px rgba(179,179,179,0.06);border-radius:12px}.write-box .content .mustHeader[data-v-557f507d]{height:43px;color:#333333;line-height:43px;font-size:16px;font-weight:700;display:-webkit-box;display:-webkit-flex;display:flex}.write-box .content .mustHeader .til[data-v-557f507d]{padding-left:12px}.write-box .content .mustHeader .bg[data-v-557f507d]{width:180px;margin-left:auto;border-radius:12px}.write-box .content .mustHeader .dowmIcon[data-v-557f507d]{margin-left:auto;width:40px;display:-webkit-box;display:-webkit-flex;display:flex;height:44px;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.write-box .content .mustHeader .dowmIcon img[data-v-557f507d]{height:22px;width:22px;object-fit:cover;-webkit-transition:-webkit-transform 0.3s;transition:-webkit-transform 0.3s;transition:transform 0.3s;transition:transform 0.3s,-webkit-transform 0.3s}.write-box .content .mustHeader .dowmIcon img.expanded[data-v-557f507d]{-webkit-transition:-webkit-transform 0.3s;transition:-webkit-transform 0.3s;transition:transform 0.3s;transition:transform 0.3s,-webkit-transform 0.3s;-webkit-transform:rotate(180deg);transform:rotate(180deg)}.write-box .content .headerLine[data-v-557f507d]{width:330px;height:1px;box-shadow:0px 1px 0px 0px #f5f5f5 inset;margin-left:12px}.write-box .content .content-wrapper[data-v-557f507d]{will-change:height;-webkit-transition:height 0.3s ease-in-out;transition:height 0.3s ease-in-out}.write-box .content[data-v-557f507d]:nth-child(2){margin-top:20px}.write-box .contact-tips[data-v-557f507d]{font-size:13px;color:#b3b3b3;line-height:1.5;margin-left:12px;padding-right:12px;padding-top:13px;border-top:1px solid #f5f5f5}.act-claims-contact-btns-wrap[data-v-557f507d]{width:100%;background:#fff}.act-claims-contact-btns[data-v-557f507d]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;border:none;font-size:16px;background-color:#ffffff;height:60px;-webkit-box-align:center;-webkit-align-items:center;align-items:center;padding:0 14px}.act-claims-contact-btns .item-btn[data-v-557f507d]{display:block;text-align:center;line-height:44px;font-size:16px;color:#666666;position:relative}.act-claims-contact-btns .item-btn.btn-confirm[data-v-557f507d]{height:44px;border-radius:22px;-webkit-box-flex:1;-webkit-flex:1;flex:1;color:#ffffff}.act-claims-contact-btns .item-btn.btn-add[data-v-557f507d]{height:44px;border:1px solid #f5f5f5;border-radius:22px;width:127px;margin-right:10px}.act-claims-contact-btns .item-btn.btn-del[data-v-557f507d]{color:#999999;height:44px;border:1px solid #f5f5f5;border-radius:22px;width:127px;margin-right:10px}.act-claims-contact-item[data-v-557f507d]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin-left:16px;padding:14px 4px 15px 0;border-bottom:1px solid #f5f5f5;position:relative}.act-claims-contact-item[data-v-557f507d]:last-of-type{border-bottom:none}i.icon[data-v-557f507d]{display:inline-block;background-repeat:no-repeat;background-position:center;background-size:100% 100%}.act-claims-contact-name[data-v-557f507d]{line-height:1.5;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.act-claims-contact-name i[data-v-557f507d]{width:18px;height:18px;border-radius:6.5px;vertical-align:middle;background-color:#DBDAE5;background-image:url(../assets/
|
|
1
|
+
.act-claims-contact-fade-enter[data-v-557f507d]{opacity:0}.act-claims-contact-fade-enter-active[data-v-557f507d]{-webkit-transition:all 0.3s ease-in-out;transition:all 0.3s ease-in-out}.act-claims-contact-move-enter[data-v-557f507d]{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}.act-claims-contact-move-enter-active[data-v-557f507d]{-webkit-transition:all 0.3s ease-in-out;transition:all 0.3s ease-in-out}.act-claims-contact-content[data-v-557f507d]{background-color:#F7F8FC;border-radius:12px 12px 0 0}.act-col[data-v-557f507d]{-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-flex-basis:0.000000001px;flex-basis:0.000000001px;width:1%}.act-claims-contact-hd[data-v-557f507d]{height:50px;line-height:50px;text-align:center;font-size:17px;color:#333333;position:relative;background:#ffffff;border-radius:12px 12px 0 0}.act-claims-contact-hd i[data-v-557f507d]{display:block;position:absolute;top:50%;z-index:1;margin:12px;background-repeat:no-repeat}.act-claims-contact-hd i.icon-back[data-v-557f507d]{height:17px;width:25px;left:0;margin-top:-8.5px;background-size:8.5px 12.5px;background-position:left center;background-image:url(../assets/back.de77.png)}.act-claims-contact-hd i.icon-cancel[data-v-557f507d]{height:22px;width:22px;right:0;margin-top:-11px;background-position:right center;background-size:11px 11px;background-image:url(../assets/cancel.cbdb.png)}.book-scoll-content[data-v-557f507d]{height:426px;position:relative;background:#F7F8FC;width:355px;margin:-10px auto 1px}.write-box[data-v-557f507d]{padding:0px 10px 32px;overflow:auto;height:426px;margin-top:-9px;position:relative}.write-box .content[data-v-557f507d]{background:#ffffff;box-shadow:0px 6px 20px 0px rgba(179,179,179,0.06);border-radius:12px}.write-box .content .mustHeader[data-v-557f507d]{height:43px;color:#333333;line-height:43px;font-size:16px;font-weight:700;display:-webkit-box;display:-webkit-flex;display:flex}.write-box .content .mustHeader .til[data-v-557f507d]{padding-left:12px}.write-box .content .mustHeader .bg[data-v-557f507d]{width:180px;margin-left:auto;border-radius:12px}.write-box .content .mustHeader .dowmIcon[data-v-557f507d]{margin-left:auto;width:40px;display:-webkit-box;display:-webkit-flex;display:flex;height:44px;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.write-box .content .mustHeader .dowmIcon img[data-v-557f507d]{height:22px;width:22px;object-fit:cover;-webkit-transition:-webkit-transform 0.3s;transition:-webkit-transform 0.3s;transition:transform 0.3s;transition:transform 0.3s,-webkit-transform 0.3s}.write-box .content .mustHeader .dowmIcon img.expanded[data-v-557f507d]{-webkit-transition:-webkit-transform 0.3s;transition:-webkit-transform 0.3s;transition:transform 0.3s;transition:transform 0.3s,-webkit-transform 0.3s;-webkit-transform:rotate(180deg);transform:rotate(180deg)}.write-box .content .headerLine[data-v-557f507d]{width:330px;height:1px;box-shadow:0px 1px 0px 0px #f5f5f5 inset;margin-left:12px}.write-box .content .content-wrapper[data-v-557f507d]{will-change:height;-webkit-transition:height 0.3s ease-in-out;transition:height 0.3s ease-in-out}.write-box .content[data-v-557f507d]:nth-child(2){margin-top:20px}.write-box .contact-tips[data-v-557f507d]{font-size:13px;color:#b3b3b3;line-height:1.5;margin-left:12px;padding-right:12px;padding-top:13px;border-top:1px solid #f5f5f5}.act-claims-contact-btns-wrap[data-v-557f507d]{width:100%;background:#fff}.act-claims-contact-btns[data-v-557f507d]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;border:none;font-size:16px;background-color:#ffffff;height:60px;-webkit-box-align:center;-webkit-align-items:center;align-items:center;padding:0 14px}.act-claims-contact-btns .item-btn[data-v-557f507d]{display:block;text-align:center;line-height:44px;font-size:16px;color:#666666;position:relative}.act-claims-contact-btns .item-btn.btn-confirm[data-v-557f507d]{height:44px;border-radius:22px;-webkit-box-flex:1;-webkit-flex:1;flex:1;color:#ffffff}.act-claims-contact-btns .item-btn.btn-add[data-v-557f507d]{height:44px;border:1px solid #f5f5f5;border-radius:22px;width:127px;margin-right:10px}.act-claims-contact-btns .item-btn.btn-del[data-v-557f507d]{color:#999999;height:44px;border:1px solid #f5f5f5;border-radius:22px;width:127px;margin-right:10px}.act-claims-contact-item[data-v-557f507d]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin-left:16px;padding:14px 4px 15px 0;border-bottom:1px solid #f5f5f5;position:relative}.act-claims-contact-item[data-v-557f507d]:last-of-type{border-bottom:none}i.icon[data-v-557f507d]{display:inline-block;background-repeat:no-repeat;background-position:center;background-size:100% 100%}.act-claims-contact-name[data-v-557f507d]{line-height:1.5;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.act-claims-contact-name i[data-v-557f507d]{width:18px;height:18px;border-radius:6.5px;vertical-align:middle;background-color:#DBDAE5;background-image:url(../assets/check.442b.png)}.act-claims-contact-name i.active[data-v-557f507d]{background-color:#8c7fee}.act-claims-contact-name .sp[data-v-557f507d]{margin-left:12px;font-size:16px;color:#333;font-weight:700;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.act-claims-contact-name .sp .sp2[data-v-557f507d]{display:inline-block;height:17px;line-height:17px;margin-left:6px;font-size:11px;padding:1px 4px 0;border-radius:4px}.act-claims-contact-cert[data-v-557f507d]{margin-left:30px;color:#666;font-size:13px;line-height:20px;margin-top:4px}.act-claims-contact-cert p[data-v-557f507d]{position:relative}.act-claims-contact-cert p .s1[data-v-557f507d]{color:#999999}.act-claims-contact-cert p .s2[data-v-557f507d]{color:#666666;margin-left:10px}.act-claims-contact-errtips[data-v-557f507d]{margin-left:30px;font-size:13px;margin-top:5px;color:#666666;background:#F6F7F9;border-radius:3px;line-height:1.5;padding:2.5px 8px;display:inline-block}.act-claims-contact-edit[data-v-557f507d]{padding:5px 10px 5px;display:block;font-size:13px;display:-webkit-box;display:-webkit-flex;display:flex;width:50px;position:absolute;right:0;top:12px}.act-claims-contact-edit i[data-v-557f507d]{margin-left:auto;font-size:12px;width:17px;height:17px;top:0;background-image:url(../assets/edit-icon.421b.png)}.act-claims-contact-sub-title[data-v-557f507d]{display:inline-block;margin-top:18px;font-size:12px;color:#666;background:#f9f9f9;line-height:30px;padding:0 14px;border-radius:0 30px 30px 0}.act-claims-contact-disabled-list .act-claims-contact-name span[data-v-557f507d],.act-claims-contact-disabled-list .act-claims-contact-cert span[data-v-557f507d]{color:#B3B3B3}.act-claims-contact-disabled-list .act-claims-contact-name i[data-v-557f507d]{background-image:url(../assets/disabled.1a01.png);background-color:#F6F7F9;background-size:90%;border-radius:6.5px;height:18px;width:18px}.act-claims-contact-bd-skeleton[data-v-557f507d]{position:absolute;top:0;bottom:0;left:0;right:0;width:100%;height:100%;background-color:#fff;background-position:center top;background-size:100% 100%;background-repeat:no-repeat;background-image:url(../assets/skeleton.86ad.png)}.act-claims-contact-linear[data-v-557f507d]{height:22px;width:100%;position:relative;background:-webkit-linear-gradient(top,#ffffff,#F7F8FC);background:linear-gradient(180deg,#ffffff,#F7F8FC)}.act-claims-contact-list[data-v-557f507d]{background:#ffffff;border-radius:12px;box-shadow:0px 6px 20px 0px rgba(179,179,179,0.06)}.footer-delBtn[data-v-557f507d]{width:110px;background:#ffffff;border-radius:13px;margin:22px auto 0;height:26px;line-height:26px;color:#FF5A6E;text-align:center;font-size:12px}
|
package/lib/Contact/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.act-contact-fade-enter[data-v-96c98eb1]{opacity:0}.act-contact-fade-enter-active[data-v-96c98eb1]{-webkit-transition:all 0.3s ease-in-out;transition:all 0.3s ease-in-out}.act-contact-move-enter[data-v-96c98eb1]{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}.act-contact-move-enter-active[data-v-96c98eb1]{-webkit-transition:all 0.3s ease-in-out;transition:all 0.3s ease-in-out}.act-contact-content[data-v-96c98eb1]{background-color:#fff;border-radius:12px 12px 0 0}.act-col[data-v-96c98eb1]{-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-flex-basis:0.000000001px;flex-basis:0.000000001px;width:1%}.act-contact-hd[data-v-96c98eb1]{height:50px;line-height:50px;text-align:center;font-size:17px;color:#333;position:relative;background:rgb(255,255,255);border-radius:12px 12px 0 0}.act-contact-hd i[data-v-96c98eb1]{display:block;position:absolute;top:50%;z-index:1;margin:12px;background-repeat:no-repeat}.act-contact-hd i.icon-back[data-v-96c98eb1]{height:17px;width:25px;left:0;margin-top:-8.5px;background-size:8.5px 12.5px;background-position:left center;background-image:url(../assets/back.de77.png)}.act-contact-hd i.icon-cancel[data-v-96c98eb1]{height:22px;width:22px;right:0;margin-top:-11px;background-position:right center;background-size:11px 11px;background-image:url(../assets/cancel.cbdb.png)}.scoll-content[data-v-96c98eb1]{height:360px;position:relative}.scoll-content form[data-v-96c98eb1]{padding-bottom:50px}.scoll-content form .contact-tips[data-v-96c98eb1]{font-size:13px;color:#b3b3b3;line-height:1.5;margin-left:12px;padding-right:12px;padding-top:13px;border-top:1px solid #f5f5f5}.act-contact-btns[data-v-96c98eb1]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;align-items:center;width:100%;text-align:center;border:none;font-size:15px;background-color:#fff}.act-contact-btns .item-btn[data-v-96c98eb1]{display:block;text-align:center;line-height:50px;font-size:16px;color:#999;position:relative;border-top:1px solid #f5f5f5}.act-contact-btns .item-btn.brand-color[data-v-96c98eb1]{color:#8c7fee}.act-contact-btns .item-btn+.item-btn[data-v-96c98eb1]::before{position:absolute;content:"";z-index:1;height:18px;width:1px;background-color:#F5F5F5;left:0;top:50%;margin-top:-9px}.act-contact-item[data-v-96c98eb1]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin-left:14px;padding:10px 4px 10px 0;border-bottom:1px solid #f5f5f5}.act-contact-item[data-v-96c98eb1]:last-of-type{border-bottom:none}i.icon[data-v-96c98eb1]{display:inline-block;background-repeat:no-repeat;background-position:center;background-size:100% 100%}.act-contact-name[data-v-96c98eb1]{line-height:1.5}.act-contact-name i[data-v-96c98eb1]{width:16px;height:16px;border-radius:16px;vertical-align:middle;background-color:#e2e5e7;background-image:url(../assets/
|
|
1
|
+
.act-contact-fade-enter[data-v-96c98eb1]{opacity:0}.act-contact-fade-enter-active[data-v-96c98eb1]{-webkit-transition:all 0.3s ease-in-out;transition:all 0.3s ease-in-out}.act-contact-move-enter[data-v-96c98eb1]{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}.act-contact-move-enter-active[data-v-96c98eb1]{-webkit-transition:all 0.3s ease-in-out;transition:all 0.3s ease-in-out}.act-contact-content[data-v-96c98eb1]{background-color:#fff;border-radius:12px 12px 0 0}.act-col[data-v-96c98eb1]{-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-flex-basis:0.000000001px;flex-basis:0.000000001px;width:1%}.act-contact-hd[data-v-96c98eb1]{height:50px;line-height:50px;text-align:center;font-size:17px;color:#333;position:relative;background:rgb(255,255,255);border-radius:12px 12px 0 0}.act-contact-hd i[data-v-96c98eb1]{display:block;position:absolute;top:50%;z-index:1;margin:12px;background-repeat:no-repeat}.act-contact-hd i.icon-back[data-v-96c98eb1]{height:17px;width:25px;left:0;margin-top:-8.5px;background-size:8.5px 12.5px;background-position:left center;background-image:url(../assets/back.de77.png)}.act-contact-hd i.icon-cancel[data-v-96c98eb1]{height:22px;width:22px;right:0;margin-top:-11px;background-position:right center;background-size:11px 11px;background-image:url(../assets/cancel.cbdb.png)}.scoll-content[data-v-96c98eb1]{height:360px;position:relative}.scoll-content form[data-v-96c98eb1]{padding-bottom:50px}.scoll-content form .contact-tips[data-v-96c98eb1]{font-size:13px;color:#b3b3b3;line-height:1.5;margin-left:12px;padding-right:12px;padding-top:13px;border-top:1px solid #f5f5f5}.act-contact-btns[data-v-96c98eb1]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;align-items:center;width:100%;text-align:center;border:none;font-size:15px;background-color:#fff}.act-contact-btns .item-btn[data-v-96c98eb1]{display:block;text-align:center;line-height:50px;font-size:16px;color:#999;position:relative;border-top:1px solid #f5f5f5}.act-contact-btns .item-btn.brand-color[data-v-96c98eb1]{color:#8c7fee}.act-contact-btns .item-btn+.item-btn[data-v-96c98eb1]::before{position:absolute;content:"";z-index:1;height:18px;width:1px;background-color:#F5F5F5;left:0;top:50%;margin-top:-9px}.act-contact-item[data-v-96c98eb1]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin-left:14px;padding:10px 4px 10px 0;border-bottom:1px solid #f5f5f5}.act-contact-item[data-v-96c98eb1]:last-of-type{border-bottom:none}i.icon[data-v-96c98eb1]{display:inline-block;background-repeat:no-repeat;background-position:center;background-size:100% 100%}.act-contact-name[data-v-96c98eb1]{line-height:1.5}.act-contact-name i[data-v-96c98eb1]{width:16px;height:16px;border-radius:16px;vertical-align:middle;background-color:#e2e5e7;background-image:url(../assets/check.442b.png)}.act-contact-name i.active[data-v-96c98eb1]{background-color:#8c7fee}.act-contact-name span[data-v-96c98eb1]{vertical-align:middle;margin-left:9px;font-size:16px;color:#333}.act-contact-cert[data-v-96c98eb1]{margin-left:28px;color:#666;font-size:13px;line-height:1.5}.act-contact-errtips[data-v-96c98eb1]{margin-left:28px;color:#FF5A6E;font-size:12px;margin-top:2px}.act-contact-edit[data-v-96c98eb1]{padding:5px 10px 5px;display:block;font-size:0}.act-contact-edit i[data-v-96c98eb1]{width:17px;height:19px;background-image:url(../assets/edit.c8ed.png)}.act-contact-sub-title[data-v-96c98eb1]{display:inline-block;margin-top:18px;font-size:12px;color:#666;background:#f9f9f9;line-height:30px;padding:0 14px;border-radius:0 30px 30px 0}.act-contact-disabled-list .act-contact-name span[data-v-96c98eb1],.act-contact-disabled-list .act-contact-cert[data-v-96c98eb1]{color:#b3b3b3}.act-contact-disabled-list .act-contact-name i[data-v-96c98eb1]{background-image:url(../assets/disabled.f8fe.png)}.act-contact-bd-skeleton[data-v-96c98eb1]{position:absolute;top:0;bottom:0;left:0;right:0;width:100%;height:100%;background-color:#fff;background-position:center top;background-size:100% 100%;background-repeat:no-repeat;background-image:url(../assets/skeleton.86ad.png)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.act-contact-book-fade-enter[data-v-000a6ab6]{opacity:0}.act-contact-book-fade-enter-active[data-v-000a6ab6]{-webkit-transition:all 0.3s ease-in-out;transition:all 0.3s ease-in-out}.act-contact-book-move-enter[data-v-000a6ab6]{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}.act-contact-book-move-enter-active[data-v-000a6ab6]{-webkit-transition:all 0.3s ease-in-out;transition:all 0.3s ease-in-out}.act-contact-book-content[data-v-000a6ab6]{background-color:#F7F8FC;border-radius:12px 12px 0 0}.act-col[data-v-000a6ab6]{-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-flex-basis:0.000000001px;flex-basis:0.000000001px;width:1%}.act-contact-book-hd[data-v-000a6ab6]{height:50px;line-height:50px;text-align:center;font-size:17px;color:#333333;position:relative;background:#ffffff;border-radius:12px 12px 0 0}.act-contact-book-hd i[data-v-000a6ab6]{position:absolute;top:50%;z-index:1;background-repeat:no-repeat}.act-contact-book-hd i.icon-back[data-v-000a6ab6]{height:12.5px;width:8.5px;left:14px;-webkit-transform:translateY(-50%);transform:translateY(-50%);background-size:8.5px 12.5px;background-position:center;background-image:url(../assets/back.de77.png)}.act-contact-book-hd i.icon-cancel[data-v-000a6ab6]{height:11px;width:11px;right:14px;-webkit-transform:translateY(-50%);transform:translateY(-50%);background-position:center;background-size:11px 11px;background-image:url(../assets/cancel.cbdb.png)}.act-contact-search[data-v-000a6ab6]{position:relative;width:355px;height:36px;margin:0 auto 20px;border-radius:18px;overflow:hidden;border:1px solid #f5f5f5;background:#fff}.act-contact-search .search-icon[data-v-000a6ab6]{position:absolute;left:16px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:16px;height:16px;background:url(../assets/search.194d.png) no-repeat center center;background-size:cover}.act-contact-search>input[data-v-000a6ab6]{width:100%;height:100%;padding:0;margin:0;padding-left:44px;padding-right:44px;outline:none;border:none;-webkit-appearance:none;font-size:14px;background:#fff;color:#000}.act-contact-search>input[data-v-000a6ab6]::-webkit-input-placeholder{color:#B3B3B3}.act-contact-search>input[data-v-000a6ab6]::placeholder{color:#B3B3B3}.act-contact-search .close-icon[data-v-000a6ab6]{position:absolute;right:12px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:16px;height:16px;background:url(../assets/close.6737.png) no-repeat center center;background-size:cover}.book-scoll-content[data-v-000a6ab6]{height:426px;position:relative;background:#F7F8FC;width:355px;margin:-10px auto 1px}.write-box[data-v-000a6ab6]{padding:0px 10px 32px;overflow:auto;height:426px;margin-top:-9px;position:relative}.write-box .content[data-v-000a6ab6]{background:#ffffff;box-shadow:0px 6px 20px 0px rgba(179,179,179,0.06);border-radius:12px}.write-box .content .mustHeader[data-v-000a6ab6]{height:43px;color:#333333;line-height:43px;font-size:16px;font-weight:700;display:-webkit-box;display:-webkit-flex;display:flex}.write-box .content .mustHeader .til[data-v-000a6ab6]{padding-left:12px}.write-box .content .mustHeader .bg[data-v-000a6ab6]{width:180px;margin-left:auto;border-radius:12px}.write-box .content .mustHeader .dowmIcon[data-v-000a6ab6]{margin-left:auto;width:40px;display:-webkit-box;display:-webkit-flex;display:flex;height:44px;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.write-box .content .mustHeader .dowmIcon img[data-v-000a6ab6]{height:22px;width:22px;object-fit:cover;-webkit-transition:-webkit-transform 0.3s;transition:-webkit-transform 0.3s;transition:transform 0.3s;transition:transform 0.3s,-webkit-transform 0.3s}.write-box .content .mustHeader .dowmIcon img.expanded[data-v-000a6ab6]{-webkit-transition:-webkit-transform 0.3s;transition:-webkit-transform 0.3s;transition:transform 0.3s;transition:transform 0.3s,-webkit-transform 0.3s;-webkit-transform:rotate(180deg);transform:rotate(180deg)}.write-box .content .headerLine[data-v-000a6ab6]{width:330px;height:1px;box-shadow:0px 1px 0px 0px #f5f5f5 inset;margin-left:12px}.write-box .content .content-wrapper[data-v-000a6ab6]{will-change:height;-webkit-transition:height 0.3s ease-in-out;transition:height 0.3s ease-in-out}.write-box .content[data-v-000a6ab6]:nth-child(2){margin-top:20px}.write-box .contact-tips[data-v-000a6ab6]{font-size:13px;color:#b3b3b3;line-height:1.5;margin-left:12px;padding-right:12px;padding-top:13px;border-top:1px solid #f5f5f5}.act-contact-book-btns-wrap[data-v-000a6ab6]{width:100%;background:#fff}.act-contact-book-btns[data-v-000a6ab6]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;border:none;font-size:16px;background-color:#ffffff;height:60px;-webkit-box-align:center;-webkit-align-items:center;align-items:center;padding:0 14px}.act-contact-book-btns .item-btn[data-v-000a6ab6]{display:block;text-align:center;line-height:44px;font-size:16px;color:#666666;position:relative}.act-contact-book-btns .item-btn.btn-confirm[data-v-000a6ab6]{height:44px;border-radius:22px;-webkit-box-flex:1;-webkit-flex:1;flex:1;color:#ffffff}.act-contact-book-btns .item-btn.btn-add[data-v-000a6ab6]{height:44px;border:1px solid #f5f5f5;border-radius:22px;width:127px;margin-right:10px}.act-contact-book-btns .item-btn.btn-del[data-v-000a6ab6]{color:#999999;height:44px;border:1px solid #f5f5f5;border-radius:22px;width:127px;margin-right:10px}.act-contact-book-item[data-v-000a6ab6]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin-left:16px;padding:14px 4px 15px 0;border-bottom:1px solid #f5f5f5;position:relative}.act-contact-book-item[data-v-000a6ab6]:last-of-type{border-bottom:none}i.icon[data-v-000a6ab6]{display:inline-block;background-repeat:no-repeat;background-position:center;background-size:100% 100%}.act-contact-book-name[data-v-000a6ab6]{line-height:1.5;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.act-contact-book-name i[data-v-000a6ab6]{width:18px;height:18px;border-radius:6.5px;vertical-align:middle;background-color:#DBDAE5;background-image:url(../assets/
|
|
1
|
+
.act-contact-book-fade-enter[data-v-000a6ab6]{opacity:0}.act-contact-book-fade-enter-active[data-v-000a6ab6]{-webkit-transition:all 0.3s ease-in-out;transition:all 0.3s ease-in-out}.act-contact-book-move-enter[data-v-000a6ab6]{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}.act-contact-book-move-enter-active[data-v-000a6ab6]{-webkit-transition:all 0.3s ease-in-out;transition:all 0.3s ease-in-out}.act-contact-book-content[data-v-000a6ab6]{background-color:#F7F8FC;border-radius:12px 12px 0 0}.act-col[data-v-000a6ab6]{-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-flex-basis:0.000000001px;flex-basis:0.000000001px;width:1%}.act-contact-book-hd[data-v-000a6ab6]{height:50px;line-height:50px;text-align:center;font-size:17px;color:#333333;position:relative;background:#ffffff;border-radius:12px 12px 0 0}.act-contact-book-hd i[data-v-000a6ab6]{position:absolute;top:50%;z-index:1;background-repeat:no-repeat}.act-contact-book-hd i.icon-back[data-v-000a6ab6]{height:12.5px;width:8.5px;left:14px;-webkit-transform:translateY(-50%);transform:translateY(-50%);background-size:8.5px 12.5px;background-position:center;background-image:url(../assets/back.de77.png)}.act-contact-book-hd i.icon-cancel[data-v-000a6ab6]{height:11px;width:11px;right:14px;-webkit-transform:translateY(-50%);transform:translateY(-50%);background-position:center;background-size:11px 11px;background-image:url(../assets/cancel.cbdb.png)}.act-contact-search[data-v-000a6ab6]{position:relative;width:355px;height:36px;margin:0 auto 20px;border-radius:18px;overflow:hidden;border:1px solid #f5f5f5;background:#fff}.act-contact-search .search-icon[data-v-000a6ab6]{position:absolute;left:16px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:16px;height:16px;background:url(../assets/search.194d.png) no-repeat center center;background-size:cover}.act-contact-search>input[data-v-000a6ab6]{width:100%;height:100%;padding:0;margin:0;padding-left:44px;padding-right:44px;outline:none;border:none;-webkit-appearance:none;font-size:14px;background:#fff;color:#000}.act-contact-search>input[data-v-000a6ab6]::-webkit-input-placeholder{color:#B3B3B3}.act-contact-search>input[data-v-000a6ab6]::placeholder{color:#B3B3B3}.act-contact-search .close-icon[data-v-000a6ab6]{position:absolute;right:12px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:16px;height:16px;background:url(../assets/close.6737.png) no-repeat center center;background-size:cover}.book-scoll-content[data-v-000a6ab6]{height:426px;position:relative;background:#F7F8FC;width:355px;margin:-10px auto 1px}.write-box[data-v-000a6ab6]{padding:0px 10px 32px;overflow:auto;height:426px;margin-top:-9px;position:relative}.write-box .content[data-v-000a6ab6]{background:#ffffff;box-shadow:0px 6px 20px 0px rgba(179,179,179,0.06);border-radius:12px}.write-box .content .mustHeader[data-v-000a6ab6]{height:43px;color:#333333;line-height:43px;font-size:16px;font-weight:700;display:-webkit-box;display:-webkit-flex;display:flex}.write-box .content .mustHeader .til[data-v-000a6ab6]{padding-left:12px}.write-box .content .mustHeader .bg[data-v-000a6ab6]{width:180px;margin-left:auto;border-radius:12px}.write-box .content .mustHeader .dowmIcon[data-v-000a6ab6]{margin-left:auto;width:40px;display:-webkit-box;display:-webkit-flex;display:flex;height:44px;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.write-box .content .mustHeader .dowmIcon img[data-v-000a6ab6]{height:22px;width:22px;object-fit:cover;-webkit-transition:-webkit-transform 0.3s;transition:-webkit-transform 0.3s;transition:transform 0.3s;transition:transform 0.3s,-webkit-transform 0.3s}.write-box .content .mustHeader .dowmIcon img.expanded[data-v-000a6ab6]{-webkit-transition:-webkit-transform 0.3s;transition:-webkit-transform 0.3s;transition:transform 0.3s;transition:transform 0.3s,-webkit-transform 0.3s;-webkit-transform:rotate(180deg);transform:rotate(180deg)}.write-box .content .headerLine[data-v-000a6ab6]{width:330px;height:1px;box-shadow:0px 1px 0px 0px #f5f5f5 inset;margin-left:12px}.write-box .content .content-wrapper[data-v-000a6ab6]{will-change:height;-webkit-transition:height 0.3s ease-in-out;transition:height 0.3s ease-in-out}.write-box .content[data-v-000a6ab6]:nth-child(2){margin-top:20px}.write-box .contact-tips[data-v-000a6ab6]{font-size:13px;color:#b3b3b3;line-height:1.5;margin-left:12px;padding-right:12px;padding-top:13px;border-top:1px solid #f5f5f5}.act-contact-book-btns-wrap[data-v-000a6ab6]{width:100%;background:#fff}.act-contact-book-btns[data-v-000a6ab6]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;border:none;font-size:16px;background-color:#ffffff;height:60px;-webkit-box-align:center;-webkit-align-items:center;align-items:center;padding:0 14px}.act-contact-book-btns .item-btn[data-v-000a6ab6]{display:block;text-align:center;line-height:44px;font-size:16px;color:#666666;position:relative}.act-contact-book-btns .item-btn.btn-confirm[data-v-000a6ab6]{height:44px;border-radius:22px;-webkit-box-flex:1;-webkit-flex:1;flex:1;color:#ffffff}.act-contact-book-btns .item-btn.btn-add[data-v-000a6ab6]{height:44px;border:1px solid #f5f5f5;border-radius:22px;width:127px;margin-right:10px}.act-contact-book-btns .item-btn.btn-del[data-v-000a6ab6]{color:#999999;height:44px;border:1px solid #f5f5f5;border-radius:22px;width:127px;margin-right:10px}.act-contact-book-item[data-v-000a6ab6]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin-left:16px;padding:14px 4px 15px 0;border-bottom:1px solid #f5f5f5;position:relative}.act-contact-book-item[data-v-000a6ab6]:last-of-type{border-bottom:none}i.icon[data-v-000a6ab6]{display:inline-block;background-repeat:no-repeat;background-position:center;background-size:100% 100%}.act-contact-book-name[data-v-000a6ab6]{line-height:1.5;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.act-contact-book-name i[data-v-000a6ab6]{width:18px;height:18px;border-radius:6.5px;vertical-align:middle;background-color:#DBDAE5;background-image:url(../assets/check.442b.png)}.act-contact-book-name i.active[data-v-000a6ab6]{background-color:#8c7fee}.act-contact-book-name .sp[data-v-000a6ab6]{margin-left:12px;font-size:16px;color:#333;font-weight:700;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.act-contact-book-name .sp .sp2[data-v-000a6ab6]{display:inline-block;height:17px;line-height:17px;margin-left:6px;font-size:11px;padding:1px 4px 0;border-radius:4px}.act-contact-book-cert[data-v-000a6ab6]{margin-left:30px;color:#666;font-size:13px;line-height:20px;margin-top:4px}.act-contact-book-cert p[data-v-000a6ab6]{position:relative}.act-contact-book-cert p .s1[data-v-000a6ab6]{color:#999999}.act-contact-book-cert p .s2[data-v-000a6ab6]{color:#666666;margin-left:10px}.act-contact-book-errtips[data-v-000a6ab6]{margin-left:30px;font-size:13px;margin-top:5px;color:#666666;background:#F6F7F9;border-radius:3px;line-height:1.5;padding:2.5px 8px;display:inline-block}.act-contact-book-edit[data-v-000a6ab6]{padding:5px 10px 5px;display:block;font-size:13px;display:-webkit-box;display:-webkit-flex;display:flex;width:50px;position:absolute;right:0;top:12px}.act-contact-book-edit i[data-v-000a6ab6]{margin-left:auto;font-size:12px;width:17px;height:17px;top:0;background-image:url(../assets/edit-icon.421b.png)}.act-contact-book-sub-title[data-v-000a6ab6]{display:inline-block;margin-top:18px;font-size:12px;color:#666;background:#f9f9f9;line-height:30px;padding:0 14px;border-radius:0 30px 30px 0}.act-contact-book-disabled-list .act-contact-book-name span[data-v-000a6ab6],.act-contact-book-disabled-list .act-contact-book-cert span[data-v-000a6ab6]{color:#B3B3B3}.act-contact-book-disabled-list .act-contact-book-name i[data-v-000a6ab6]{background-image:url(../assets/disabled.1a01.png);background-color:#F6F7F9;background-size:90%;border-radius:6.5px;height:18px;width:18px}.act-contact-book-bd-skeleton[data-v-000a6ab6]{position:absolute;top:0;bottom:0;left:0;right:0;width:100%;height:100%;background-color:#fff;background-position:center top;background-size:100% 100%;background-repeat:no-repeat;background-image:url(../assets/skeleton.86ad.png)}.act-contact-book-linear[data-v-000a6ab6]{height:22px;width:100%;position:relative;background:-webkit-linear-gradient(top,#ffffff,#F7F8FC);background:linear-gradient(180deg,#ffffff,#F7F8FC)}.act-contact-book-list[data-v-000a6ab6]{background:#ffffff;border-radius:12px;box-shadow:0px 6px 20px 0px rgba(179,179,179,0.06)}.footer-delBtn[data-v-000a6ab6]{width:110px;background:#ffffff;border-radius:13px;margin:22px auto 0;height:26px;line-height:26px;color:#FF5A6E;text-align:center;font-size:12px}.nodata[data-v-000a6ab6]{text-align:center;padding:28px 0 45px}.nodata .nodata-logo[data-v-000a6ab6]{width:209px}.nodata .nodata-title[data-v-000a6ab6]{color:#333;font-size:16px;margin-bottom:6px;font-family:SourceHanSansSC,SourceHanSansSC}.nodata .nodata-desc[data-v-000a6ab6]{color:#999999;font-size:12px;line-height:1.5}
|
package/lib/CouponLayer/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require('./style.css');var utils_create=require("../utils/create/index.js");require("../common/svgicon/index.js");var
|
|
1
|
+
"use strict";require('./style.css');var utils_create=require("../utils/create/index.js");require("../common/svgicon/index.js");var BScrollModule=require("better-scroll");var mixins_visible=require("../mixins/visible/index.js");var mixins_noscroll=require("../mixins/noscroll/index.js");var mixins_formInput=require("../mixins/form-input/index.js");var common_layer=require("../common/layer/index.js");var common_button=require("../common/button/index.js");var utils_helpers=require("../utils/helpers/index.js");var defaultCouponImg=require("../assets/item.e9b2.png");var utils_BScroll_constants=require("../utils/BScroll/constants/index.js");var common=require("../common/index.js");function noop(){}var _sfc_main={name:"ActCouponLayer",mixins:[mixins_visible.visibleMixin,mixins_noscroll.noscrollMixin,mixins_formInput.formInputMixin],components:{ActLayer:common_layer.ActLayer,ActButton:common_button.ActButton},props:{hbgColor:{type:String,default:"#f7debb"},cbgColor:{type:String,default:"#f9443c"},showClose:{type:Boolean,default:true},content:{type:Object,default:function _default(){return{}}},btnClick:{type:Function,default:noop}},data:function data(){return{showMore:false,defaultCouponImg}},watch:{isVisible:function isVisible(newVal){var _this=this;this.$nextTick(function(){if(newVal&&_this.pageData&&_this.pageData.coupon){var coupon=_this.pageData.coupon;if(coupon.length<=3){_this.showMore=false}else{_this.$nextTick(function(){var height=_this.$refs.container.offsetHeight/coupon.length*3;_this.$refs.container.style.height=Math.ceil(height)+"px";_this.showMore=true;var ins=new BScrollModule(_this.$refs.container,{useTransition:utils_BScroll_constants.USE_TRANSITION});var me=_this;ins.on("scroll",utils_helpers.throttle(function(obj){me.setMoreBtn(obj)},800));ins.on("scrollEnd",function(obj){_this.setMoreBtn(obj)})})}}})}},methods:{click:function click(){if(this.btnClick===noop){this.hideLayer()}else{this.btnClick()}},hideLayer:function hideLayer(){this.hide();this.$emit("hidelayer")},setMoreBtn:function setMoreBtn(obj){if(Math.abs(obj.y)>=this.$refs.wrap.scrollHeight-this.$refs.container.offsetHeight){this.showMore=false}else{this.showMore=true}}}};var _sfc_render=function render(){var _vm=this,_c=_vm._self._c;return _c("act-layer",{directives:[{name:"show",rawName:"v-show",value:_vm.isVisible,expression:"isVisible"}],attrs:{"type":"slim","hbgColor":_vm.hbgColor,"cbgColor":_vm.cbgColor,"showClose":_vm.showClose},on:{"hidelayer":_vm.hideLayer},scopedSlots:_vm._u([{key:"content",fn:function fn(){return[_c("div",{staticClass:"act-quan-con"},[_vm.pageData.title?_c("div",{staticClass:"act-quan-title",style:{color:_vm.pageData.title.color},domProps:{"innerHTML":_vm._s(_vm.pageData.title.txt)}}):_vm._e(),_vm.pageData.desc?_c("div",{staticClass:"act-quan-tit-desc",style:{color:_vm.pageData.desc.color},domProps:{"innerHTML":_vm._s(_vm.pageData.desc.txt)}}):_vm._e(),_c("div",{staticClass:"act-quan-con-form"},[_vm.isVisible?_c("div",{ref:"container",staticClass:"act-quan-box"},[_c("div",{ref:"wrap"},_vm._l(_vm.pageData.coupon,function(item,index){return _c("div",{key:index,staticClass:"act-quan-data"},[_c("div",{staticClass:"act-quan-data-container act-row act-middle",style:{backgroundImage:"url("+(item.bgImg?item.bgImg:_vm.defaultCouponImg)+")"}},[item.label?_c("div",{staticClass:"act-quan-label",style:{borderColor:"transparent transparent "+item.label.bgColor,color:item.label.color}},[_c("span",[_vm._v(_vm._s(item.label.txt))])]):_vm._e(),_c("div",{staticClass:"act-quan-left"},[item.money?_c("div",{style:{color:item.money.color}},[_c("span",{staticClass:"act-quan-money"},[_vm._v(_vm._s(item.money.num))]),_c("span",{staticClass:"act-quan-unit"},[_vm._v(_vm._s(item.money.unit||"元"))])]):_vm._e()]),_c("div",{staticClass:"act-quan-right"},[item.info?_c("div",[item.info.title?_c("div",{staticClass:"act-quan-name",style:{color:item.info.color}},[_vm._v(" "+_vm._s(item.info.title)+" ")]):_vm._e(),item.info.desc?_c("div",{staticClass:"act-quan-desc",style:{color:item.info.color,border:"1px solid "+item.info.color}},[_c("span",[_vm._v(_vm._s(item.info.desc))])]):_vm._e()]):_vm._e()])])])}),0),_c("transition",{attrs:{"name":"more"}},[_vm.showMore?_c("div",{staticClass:"act-coupon-more",style:{color:_vm.pageData.more&&_vm.pageData.more.color,backgroundColor:_vm.cbgColor,boxShadow:"0 0 3em 3em "+_vm.cbgColor}},[_c("span",[_vm._v(" "+_vm._s(_vm.pageData.more&&_vm.pageData.more.txt?_vm.pageData.more.txt:"下滑查看更多")+" ")]),_c("svg-icon",{attrs:{"iconClass":"double-arrow-down"}})],1):_vm._e()])],1):_vm._e(),_vm.pageData.tips?_c("div",{staticClass:"act-quan-tips",style:{color:_vm.pageData.tips.color?_vm.pageData.tips.color:_vm.hbgColor}},[_c("span",{domProps:{"innerHTML":_vm._s(_vm.pageData.tips.txt)}})]):_vm._e(),_vm.pageData.btn?_c("div",{staticClass:"act-quan-con-btn"},[_c("act-button",{attrs:{"round":_vm.pageData.btn.round,"buttondata":{btnbg:_vm.pageData.btn.back?_vm.pageData.btn.back:_vm.hbgColor,btnborder:_vm.pageData.btn.border,btncolor:_vm.pageData.btn.color?_vm.pageData.btn.color:"#b37321"}},on:{"button-click":_vm.click}},[_vm._v(" "+_vm._s(_vm.pageData.btn.txt?_vm.pageData.btn.txt:"我知道了")+" ")])],1):_vm._e()])])]},proxy:true}])})};var _sfc_staticRenderFns=[];var __component__=common.normalizeComponent(_sfc_main,_sfc_render,_sfc_staticRenderFns,false,null,"8e885cbc");var CouponLayer=__component__.exports;CouponLayer.install=function(Vue){Vue.component(CouponLayer.name,CouponLayer);Vue.prototype["$createCouponLayer"]=utils_create.create(CouponLayer,Vue)};exports.CouponLayer=CouponLayer;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as create } from "../utils/create/index.mjs";
|
|
2
2
|
import "../common/svgicon/index.mjs";
|
|
3
|
-
import
|
|
3
|
+
import BScrollModule__default from "better-scroll";
|
|
4
4
|
import { v as visibleMixin } from "../mixins/visible/index.mjs";
|
|
5
5
|
import { n as noscrollMixin } from "../mixins/noscroll/index.mjs";
|
|
6
6
|
import { f as formInputMixin } from "../mixins/form-input/index.mjs";
|
|
@@ -62,7 +62,7 @@ var _sfc_main = {
|
|
|
62
62
|
var height = _this.$refs.container.offsetHeight / coupon.length * 3;
|
|
63
63
|
_this.$refs.container.style.height = Math.ceil(height) + "px";
|
|
64
64
|
_this.showMore = true;
|
|
65
|
-
var ins = new
|
|
65
|
+
var ins = new BScrollModule__default(_this.$refs.container, {
|
|
66
66
|
useTransition: USE_TRANSITION
|
|
67
67
|
});
|
|
68
68
|
var me = _this;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require('./style.css');var _toConsumableArray=require("@babel/runtime-corejs3/helpers/toConsumableArray");var _indexOfInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/index-of");var _filterInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/filter");var _forEachInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/for-each");var _concatInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/concat");var utils_create=require("../utils/create/index.js");var common_goldlayer=require("../common/goldlayer/index.js");var Loading=require("../Loading/index.js");var
|
|
1
|
+
"use strict";require('./style.css');var _toConsumableArray=require("@babel/runtime-corejs3/helpers/toConsumableArray");var _indexOfInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/index-of");var _filterInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/filter");var _forEachInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/for-each");var _concatInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/concat");var utils_create=require("../utils/create/index.js");var common_goldlayer=require("../common/goldlayer/index.js");var Loading=require("../Loading/index.js");var BScrollModule=require("better-scroll");var utils_helpers=require("../utils/helpers/index.js");var __$_require_263bdd0a__=require("../assets/icon-search.3c97.png");var __$_require_e9a2481a__=require("../assets/icon-close.b233.png");var __$_require_450b57d0__=require("../assets/icon-nodata.16b6.png");var __$_require_5419c642__=require("../assets/icon-nodata-cps.192f.png");var common=require("../common/index.js");var _sfc_main={name:"ActDiseaseListLayer",components:{ActGoldLayer:common_goldlayer.ActGoldLayer,ActLoading:Loading.Loading},data:function data(){return{zIndex:999,isVisible:false,diseaseList:[],scroll:null,hasMore:false,loading:false,searchKeyword:"",hasSearched:false,docmHeight:document.documentElement.clientHeight,pickerContentHeight:0,searchHeight:"",isShowActLoading:false}},props:{paramsData:{type:Object,default:function _default(){return{}}},title:{type:String,default:"疾病清单"},isCps:{type:Boolean,default:false},brandColor:{type:String,default:"#8c7fee"},searchEmptyResultTips:{type:String,default:"找不到相关疾病"},searchEmptyResultDesc:{type:String,default:"您可以更换一下疾病名称搜索哦"},placeholder:{type:String,default:"请输入您要查询的疾病名称"}},created:function created(){var _this=this;var u=navigator.userAgent;if(_indexOfInstanceProperty(u).call(u,"Android")>-1||_indexOfInstanceProperty(u).call(u,"Adr")>-1){this.handleResize=function(){if(_this.pickerContentHeight===0){return}var showHeight=document.body.clientHeight;if(_this.docmHeight>showHeight){_this.$refs.pickerContent.style.height=_this.docmHeight-showHeight+"px";_this.searchHeight=_this.pickerContentHeight+showHeight-_this.docmHeight+"px"}else{_this.$refs.pickerContent.style.height=_this.pickerContentHeight+"px";_this.searchHeight="100%"}};window.addEventListener("resize",this.handleResize)}},beforeDestroy:function beforeDestroy(){if(this.handleResize){window.removeEventListener("resize",this.handleResize)}},methods:{maskClick:function maskClick(){this.isVisible=false},show:function show(){this.isVisible=true;if(!this.diseaseList.length){this.initData()}else{this.refreshScroll()}},loadMore:function loadMore(){if(!this.hasMore||this.loading)return;this.currentPage++;this.fetchData()},initData:function initData(){this.currentPage=1;this.diseaseList=[];this.fetchData(true)},fetchData:function fetchData(){var _this2=this;var init=arguments.length>0&&arguments[0]!==void 0?arguments[0]:false;var reset=arguments.length>1&&arguments[1]!==void 0?arguments[1]:false;if(this.loading)return;if(init){this.isShowActLoading=true}this.loading=true;var postData={filter:{},page:this.currentPage,showNum:20};for(var key in this.paramsData){var value=this.paramsData[key];if(value!==""&&value!=null&&value!==void 0){postData[key]=this.paramsData[key]}}if(this.searchKeyword){_filterInstanceProperty(postData).name=this.searchKeyword}this.$fetch("/buy/getDiseaseList",postData).then(function(res){var ret=res.ret,errmsg=res.errmsg,data2=res.data;if(+ret===0){if(reset){_this2.diseaseList=[];_this2.scrollTop()}var newList=data2.list||[];_this2.totalCount=Number(data2.count)||0;_this2.transformDiseaseList(newList);_this2.hasMore=_this2.diseaseList.length<_this2.totalCount;_this2.refreshScroll()}else{_this2.$toast.show(errmsg)}}).catch(function(err){}).finally(function(){_this2.loading=false;_this2.isShowActLoading=false;_this2.hasSearched=true})},transformDiseaseList:function transformDiseaseList(list){var _context;if(this.searchKeyword){var color=this.isCps?"#F05A4B":"#8C7FEE";var reg=new RegExp("(".concat(this.searchKeyword,")"),"g");_forEachInstanceProperty(list).call(list,function(item){item.name=item.name.replace(reg,'<span style="color: '.concat(color,';">$1</span>'))})}this.diseaseList=_concatInstanceProperty(_context=[]).call(_context,_toConsumableArray(this.diseaseList),_toConsumableArray(list))},clear:function clear(){this.searchKeyword="";this.resetSearch()},handleSearch:function handleSearch(){this.resetSearch()},resetSearch:function resetSearch(){this.currentPage=1;this.fetchData(false,true)},refreshScroll:function refreshScroll(){var _this3=this;this.$nextTick(function(){if(!_this3.scroll){_this3.scroll=new BScrollModule(_this3.$refs.tableWrapper,{click:true,damping:.6});_this3.scroll.on("scrollEnd",function(){if(_this3.scroll.y<=_this3.scroll.maxScrollY+50){if(_this3.hasMore&&!_this3.loading){_this3.loadMore()}}})}else{_this3.scroll.refresh()}})},scrollTop:function scrollTop(){this.scroll.scrollTo(0,0,300)}},watch:{isVisible:function isVisible(newVal){var _this4=this;if(!this.pickerContentHeight&&newVal){this.$nextTick(function(){_this4.pickerContentHeight=utils_helpers.outerHeight(_this4.$refs.pickerContent)})}}}};var _sfc_render=function render(){var _vm=this,_c=_vm._self._c;return _c("div",{staticClass:"act-DiseaseListLayer"},[_c("act-gold-layer",{attrs:{"title":_vm.title,"mask":true,"center":false,"visible":_vm.isVisible,"zIndex":_vm.zIndex},on:{"close":_vm.maskClick}},[_c("div",{ref:"pickerContent",staticClass:"main-content"},[_c("div",{staticClass:"gradual-color"}),_c("div",{staticClass:"header-box"},[_c("form",{staticClass:"search-box",on:{"submit":function submit($event){$event.preventDefault();return _vm.handleSearch.apply(null,arguments)}}},[_c("img",{staticClass:"search-icon",attrs:{"src":__$_require_263bdd0a__,"alt":""}}),_c("input",{directives:[{name:"model",rawName:"v-model",value:_vm.searchKeyword,expression:"searchKeyword"}],attrs:{"type":"text","placeholder":_vm.placeholder},domProps:{"value":_vm.searchKeyword},on:{"keyup":function keyup($event){var _context2;if(!_indexOfInstanceProperty(_context2=$event.type).call(_context2,"key")&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter"))return null;return _vm.handleSearch.apply(null,arguments)},"input":function input($event){if($event.target.composing)return;_vm.searchKeyword=$event.target.value}}}),_vm.searchKeyword?_c("img",{staticClass:"close-icon",attrs:{"src":__$_require_e9a2481a__,"alt":""},on:{"click":_vm.clear}}):_vm._e(),_c("button",{staticStyle:{"display":"none"},attrs:{"type":"submit"}},[_vm._v("搜索")])])]),_c("div",{staticClass:"search-content"},[_c("div",{directives:[{name:"show",rawName:"v-show",value:_vm.diseaseList&&_vm.diseaseList.length,expression:"diseaseList && diseaseList.length"}],ref:"content",staticClass:"content"},[_c("div",{staticClass:"table-scroll-bg",style:"height: ".concat(2*_vm.diseaseList.length,"rem")}),_c("div",{staticClass:"content-header"},[_c("div",{staticClass:"table-tr"},[_c("p",{staticClass:"order"},[_vm._v(" 序号 ")]),_c("p",{staticClass:"disease"},[_vm._v(" 疾病名称 ")])])]),_c("div",{ref:"tableWrapper",staticClass:"table-scroll-warppper"},[_c("div",[_c("div",{staticClass:"scroll-content"},[_c("table",{attrs:{"border":"0","cellspacing":"0","cellpadding":"0"}},[_c("tbody",_vm._l(_vm.diseaseList,function(item,index){return _c("tr",{key:index+item.name,staticClass:"table-tr"},[_c("td",{staticClass:"order"},[_c("div",{staticClass:"item-order"},[_vm._v(" "+_vm._s(index+1)+" ")])]),_c("td",{staticClass:"disease disease-desc"},[_c("div",{domProps:{"innerHTML":_vm._s(item.name)}})])])}),0)])]),_c("div",{staticStyle:{"width":"100%","height":"3rem"}})])])]),_c("div",{directives:[{name:"show",rawName:"v-show",value:_vm.hasSearched&&_vm.diseaseList.length===0,expression:"hasSearched && diseaseList.length === 0"}],staticClass:"search-empty"},[!_vm.isCps?_c("img",{attrs:{"src":__$_require_450b57d0__}}):_c("img",{attrs:{"src":__$_require_5419c642__}}),_c("h4",{staticClass:"tip"},[_vm._v(_vm._s(_vm.searchEmptyResultTips))]),_c("p",{staticClass:"desc"},[_vm._v(_vm._s(_vm.searchEmptyResultDesc))])]),_vm.isShowActLoading?_c("div",{staticClass:"loading"},[_c("act-loading",{directives:[{name:"show",rawName:"v-show",value:true,expression:"true"}],attrs:{"type":"cir3","color":_vm.brandColor,"size":35}})],1):_vm._e()])])])],1)};var _sfc_staticRenderFns=[];var __component__=common.normalizeComponent(_sfc_main,_sfc_render,_sfc_staticRenderFns,false,null,"59c7313c");var DiseaseListLayer=__component__.exports;DiseaseListLayer.install=function(Vue){Vue.component(DiseaseListLayer.name,DiseaseListLayer);Vue.prototype["$createDiseaseListLayer"]=utils_create.create(DiseaseListLayer,Vue)};exports.DiseaseListLayer=DiseaseListLayer;
|
|
@@ -6,7 +6,7 @@ import _concatInstanceProperty from "@babel/runtime-corejs3/core-js/instance/con
|
|
|
6
6
|
import { c as create } from "../utils/create/index.mjs";
|
|
7
7
|
import { A as ActGoldLayer } from "../common/goldlayer/index.mjs";
|
|
8
8
|
import { L as Loading } from "../Loading/index.mjs";
|
|
9
|
-
import
|
|
9
|
+
import BScrollModule__default from "better-scroll";
|
|
10
10
|
import { o as outerHeight } from "../utils/helpers/index.mjs";
|
|
11
11
|
import __$_require_263bdd0a__ from "../assets/icon-search.3c97.png";
|
|
12
12
|
import __$_require_e9a2481a__ from "../assets/icon-close.b233.png";
|
|
@@ -187,7 +187,7 @@ import './style.css';var _sfc_main = {
|
|
|
187
187
|
var _this3 = this;
|
|
188
188
|
this.$nextTick(function() {
|
|
189
189
|
if (!_this3.scroll) {
|
|
190
|
-
_this3.scroll = new
|
|
190
|
+
_this3.scroll = new BScrollModule__default(_this3.$refs.tableWrapper, {
|
|
191
191
|
click: true,
|
|
192
192
|
damping: 0.6
|
|
193
193
|
// bounce: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require('./style.css');var _filterInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/filter");var _findInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/find");var
|
|
1
|
+
"use strict";require('./style.css');var _filterInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/filter");var _findInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/find");var BScrollModule=require("better-scroll");var common=require("../../../common/index.js");var _sfc_main={name:"ActGoldBenefitSlider",data:function data(){return{windowX:0,listScroll:null,min:0,max:100,minPolicyTotal:0}},props:{tables:{type:Object,default:function _default(){return{}}},theme:{type:Object,default:function _default2(){return{}}},defaultValue:{type:Number,default:0},healthCfg:{type:Object,default:function _default3(){return{}}}},computed:{step:function step(){return 5},chooseAge:function chooseAge(){var realValue=+this.defaultValue;if(!realValue){realValue=Math.floor((this.min+this.max)/2)}else{if(realValue<this.min){return this.min}else if(realValue>this.max){return this.max}}return realValue},during:function during(){return this.max-this.min+1},width:function width(){return 12*(this.max-this.min)+1},rows:function rows(){return this.tables&&this.tables.rows||[]}},watch:{tables:{deep:true,handler:function handler(v){if(v&&v.rows&&v.rows.length){this.initTableData(v)}}}},methods:{initTableData:function initTableData(v){var rows2=v.rows;var _this$healthCfg=this.healthCfg,policyTotal=_this$healthCfg.policyTotal,insuresAge=_this$healthCfg.insuresAge,cashValue=_this$healthCfg.cashValue,premiumTotal=_this$healthCfg.premiumTotal;var arr=_filterInstanceProperty(rows2).call(rows2,function(item){if(item[cashValue]!==0||item[premiumTotal]!==0){return item}});if(arr&&arr.length){this.min=arr[0][insuresAge];this.max=arr[arr.length-1][insuresAge];this.minPolicyTotal=arr[0][policyTotal];this.initScroll()}},initScroll:function initScroll(){var _this=this;var wrapper=document.querySelector(".wrapper");var startX=(this.min-this.chooseAge)*12;this.$refs.wrappercontent.style.width=~~this.windowX+this.width+"px";this.$nextTick(function(){var that=_this;if(!_this.listScroll){_this.listScroll=new BScrollModule(wrapper,{probeType:3,startX,scrollX:true,scrollY:false});that.listScroll.on("scrollEnd",that.scrollEndCb)}else{if(startX>=0){startX=0}_this.listScroll.refresh();_this.listScroll.scrollTo(startX,0,0);_this.changeFn(_this.chooseAge)}})},scrollEndCb:function scrollEndCb(pos){var that=this;var chooseAge2;if(pos.x>=0){chooseAge2=that.min}else if(Math.abs(pos.x)>=that.width){chooseAge2=that.max}else{chooseAge2=Math.floor(Math.abs(pos.x)/12+1+that.min);var scrollX=-(Math.floor(Math.abs(pos.x)/12+1)*12);that.listScroll.scrollTo(scrollX,0,0)}that.changeFn(chooseAge2)},changeFn:function changeFn(v){var _context;var _this$healthCfg2=this.healthCfg,policyTotal=_this$healthCfg2.policyTotal,insuresAge=_this$healthCfg2.insuresAge,cashValue=_this$healthCfg2.cashValue,premiumTotal=_this$healthCfg2.premiumTotal;var obj={policyTotal:"",insuresAge:v,cashValue:"",premiumTotal:""};var res=_findInstanceProperty(_context=this.rows).call(_context,function(item){return+item[insuresAge]===+v});if(res){obj.policyTotal=res[policyTotal]-this.minPolicyTotal;obj.cashValue=res[cashValue];obj.premiumTotal=res[premiumTotal]}this.$emit("updateAge",obj)}},mounted:function mounted(){var containerWidth=this.$refs.chooseContainer&&this.$refs.chooseContainer.offsetWidth;var curWidth=containerWidth||window.innerWidth||document.body&&document.body.clientWidth;this.windowX=curWidth>750?750:curWidth;this.initScroll()}};var _sfc_render=function render(){var _vm=this,_c=_vm._self._c;return _c("div",{staticClass:"choose-wrapper"},[_c("div",{ref:"chooseContainer",staticClass:"choose"},[_c("div",{staticClass:"choose-container wrapper"},[_c("div",{ref:"wrappercontent",staticClass:"choose-content"},_vm._l(_vm.during,function(number){return _c("div",{key:number,staticClass:"choose-item"},[_c("span",{staticClass:"number-item",class:{"number-part":(number+_vm.min-1)%_vm.step==0}}),(number+_vm.min-1)%_vm.step==0?_c("span",{staticClass:"number-text"},[_vm._v(_vm._s(number+_vm.min-1))]):_vm._e()])}),0)]),_c("div",{staticClass:"choose-value",style:{background:_vm.theme.brandColor}})]),_c("div",{staticClass:"translate-left"}),_c("div",{staticClass:"translate-right"})])};var _sfc_staticRenderFns=[];var __component__=common.normalizeComponent(_sfc_main,_sfc_render,_sfc_staticRenderFns,false,null,"19861120");var benefitSlider=__component__.exports;exports.benefitSlider=benefitSlider;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _filterInstanceProperty from "@babel/runtime-corejs3/core-js/instance/filter";
|
|
2
2
|
import _findInstanceProperty from "@babel/runtime-corejs3/core-js/instance/find";
|
|
3
|
-
import
|
|
3
|
+
import BScrollModule__default from "better-scroll";
|
|
4
4
|
import { n as normalizeComponent } from "../../../common/index.mjs";
|
|
5
5
|
import './style.css';var _sfc_main = {
|
|
6
6
|
name: "ActGoldBenefitSlider",
|
|
@@ -99,7 +99,7 @@ import './style.css';var _sfc_main = {
|
|
|
99
99
|
this.$nextTick(function() {
|
|
100
100
|
var that = _this;
|
|
101
101
|
if (!_this.listScroll) {
|
|
102
|
-
_this.listScroll = new
|
|
102
|
+
_this.listScroll = new BScrollModule__default(wrapper, {
|
|
103
103
|
probeType: 3,
|
|
104
104
|
startX,
|
|
105
105
|
scrollX: true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require('./style.css');var
|
|
1
|
+
"use strict";require('./style.css');var BScrollModule=require("better-scroll");var mixins_visible=require("../../mixins/visible/index.js");var common_goldlayer=require("../../common/goldlayer/index.js");var common=require("../../common/index.js");var _sfc_main={name:"ActGoldCostTable",mixins:[mixins_visible.visibleMixin],data:function data(){return{scroller:null}},components:{ActGoldLayer:common_goldlayer.ActGoldLayer},props:{tables:{type:Object,default:function _default(){return{}}},theme:{type:Object,default:function _default2(){return{}}}},computed:{title:function title(){return this.tables.title||"现金价值表"},styleOption:function styleOption(){if(this.theme&&this.theme.brandColor){return{backgroundColor:this.theme.brandColor}}return{}}},methods:{showCol:function showCol(index){var displayArr=this.tables.display||[];if(displayArr[index]!==void 0&&~~displayArr[index]===1){return true}return false},close:function close(){this.hide()}},watch:{isVisible:function isVisible(value){var _this=this;if(value){var tables=document.querySelector(".cost-scroll");if(tables){this.$nextTick(function(){if(!_this.scroller){_this.scroller=new BScrollModule(tables,{})}else{_this.scroller.refresh()}})}}}}};var _sfc_render=function render(){var _vm=this,_c=_vm._self._c;return _c("act-gold-layer",{attrs:{"visible":_vm.isVisible,"center":false,"title":"保单利益演示表"},on:{"close":_vm.close}},[_c("div",{staticClass:"cost"},[_c("p",{staticClass:"cost-title"},[_vm._v(" "+_vm._s(_vm.title)+" ")]),_c("p",{staticClass:"cost-table-head"},[_vm._v(" 基于用户所选信息的保单利益演示如下: ")]),_vm.tables.cols&&_vm.tables.rows&&_vm.tables.rows.length?[_c("div",[_c("div",{staticClass:"table-tr thead"},[_vm._l(_vm.tables.cols,function(thead,theadIndex){return[_vm.showCol(theadIndex)?_c("span",{key:"head-"+theadIndex,staticClass:"table-item",style:_vm.styleOption},[_vm._v(" "+_vm._s(thead)+" ")]):_vm._e()]})],2),_c("div",{staticClass:"cost-scroll"},[_c("table",{staticClass:"table-body"},[_vm.tables.rows&&_vm.tables.rows.length?_c("tbody",_vm._l(_vm.tables.rows,function(tr,trIndex){return _c("tr",{key:"tr-"+trIndex,staticClass:"table-tr"},[_vm._l(tr,function(td,tdIndex){return[_vm.showCol(tdIndex)?_c("td",{key:"td-"+trIndex+"-"+tdIndex,staticClass:"table-item"},[_vm._v(" "+_vm._s(Math.round(td*100)/100)+" ")]):_vm._e()]})],2)}),0):_vm._e()])])])]:[_c("div",{staticClass:"no-data"},[_vm._v(" 暂时无法展示 ")])]],2)])};var _sfc_staticRenderFns=[];var __component__=common.normalizeComponent(_sfc_main,_sfc_render,_sfc_staticRenderFns,false,null,"d4495644");var GoldCostTable=__component__.exports;exports.GoldCostTable=GoldCostTable;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import BScrollModule__default from "better-scroll";
|
|
2
2
|
import { v as visibleMixin } from "../../mixins/visible/index.mjs";
|
|
3
3
|
import { A as ActGoldLayer } from "../../common/goldlayer/index.mjs";
|
|
4
4
|
import { n as normalizeComponent } from "../../common/index.mjs";
|
|
@@ -60,7 +60,7 @@ import './style.css';var _sfc_main = {
|
|
|
60
60
|
if (tables) {
|
|
61
61
|
this.$nextTick(function() {
|
|
62
62
|
if (!_this.scroller) {
|
|
63
|
-
_this.scroller = new
|
|
63
|
+
_this.scroller = new BScrollModule__default(tables, {});
|
|
64
64
|
} else {
|
|
65
65
|
_this.scroller.refresh();
|
|
66
66
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require('./style.css');var _sliceInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/slice");var _forEachInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/for-each");var
|
|
1
|
+
"use strict";require('./style.css');var _sliceInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/slice");var _forEachInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/for-each");var BScrollModule=require("better-scroll");var utils_helpers=require("../../utils/helpers/index.js");var common=require("../../common/index.js");var _sfc_main={props:{tableData:{type:Object,default:function _default(){}},brandColor:{type:String,default:"#8c7fee"}},data:function data(){return{tableScroller:null,rightTitleScroller:null,rightTableScroller:null,moreToggle:true}},computed:{renderData:function renderData(){return this.tableData},leftTitleArr:function leftTitleArr(){if(this.renderData&&this.renderData.head&&this.renderData.head.length){var _context;return _sliceInstanceProperty(_context=this.renderData.head).call(_context,0,2)}return[]},styleOption:function styleOption(){if(this.brandColor){return{backgroundColor:this.brandColor}}return{}},rightTitleArr:function rightTitleArr(){if(this.renderData&&this.renderData.head&&this.renderData.head.length){var _context2;var length=this.renderData.head.length;return _sliceInstanceProperty(_context2=this.renderData.head).call(_context2,2,length)}return[]},leftTable:function leftTable(){if(this.renderData){var arr=[];if(this.renderData.rows){var _context3;_forEachInstanceProperty(_context3=this.renderData.rows).call(_context3,function(el){var useArar=[];_forEachInstanceProperty(el).call(el,function(item,index){if(index<2){useArar.push(item)}});arr.push(useArar)})}return arr}return[]},rightTable:function rightTable(){if(this.renderData){var arr=[];if(this.renderData.rows){var _context4;_forEachInstanceProperty(_context4=this.renderData.rows).call(_context4,function(el){var useArar=[];_forEachInstanceProperty(el).call(el,function(item,index){if(index>1){useArar.push(item)}});arr.push(useArar)})}return arr}return[[]]}},watch:{renderData:{handler:function handler(newVal){var _this=this;if(newVal&&newVal.rows&&newVal.head){this.$nextTick(function(){var rightTitle=_this.$refs.rightTitle;var tableWrapper=_this.$refs.tableWrapper;var rightTable2=_this.$refs.rightTable;if(rightTitle){_this.$nextTick(function(){if(!_this.rightTitleScroller){_this.rightTitleScroller=new BScrollModule(rightTitle,{scrollX:true,bounce:false,probeType:3,momentum:false});_this.rightTitleScroller.on("scroll",function(_ref){var x=_ref.x,y=_ref.y;utils_helpers.throttle(_this.rightTableScroller.scrollTo(x,y,0))})}else{_this.rightTitleScroller.refresh()}})}if(tableWrapper){_this.$nextTick(function(){if(!_this.tableScroller){_this.tableScroller=new BScrollModule(tableWrapper,{scrollY:true,scrollX:false})}else{_this.tableScroller.refresh()}})}if(rightTable2){_this.$nextTick(function(){if(!_this.rightTableScroller){_this.rightTableScroller=new BScrollModule(rightTable2,{scrollY:true,scrollX:true,bounce:false,probeType:2,momentum:false});_this.rightTableScroller.on("scroll",function(_ref2){var x=_ref2.x,y=_ref2.y;_this.rightTitleScroller.scrollTo(x,y,0)})}else{_this.rightTableScroller.refresh()}})}})}},deep:true}}};var _sfc_render=function render(){var _vm=this,_c=_vm._self._c;return _c("div",{staticClass:"act-cost-table"},[_vm.renderData&&_vm.renderData.head&&_vm.renderData.rows&&_vm.renderData.rows.length?[_c("div",{staticClass:"wrapper"},[_c("div",{staticClass:"title-wrapper"},[_c("div",{staticClass:"left-title"},[_vm._l(_vm.leftTitleArr,function(thead,theadIndex){return[_c("span",{key:"head-"+theadIndex,staticClass:"table-item",style:_vm.styleOption},[_vm._v(" "+_vm._s(thead)+" ")])]})],2),_c("div",{ref:"rightTitle",staticClass:"right-title"},[_c("div",{ref:"rightTitleWrapper",staticClass:"right-title-wrapper"},[_vm._l(_vm.rightTitleArr,function(thead,theadIndex){return[_c("span",{key:"head-"+theadIndex,staticClass:"table-item",style:_vm.styleOption},[_vm._v(" "+_vm._s(thead)+" ")])]})],2)])]),_c("div",{ref:"tableWrapper",staticClass:"table-wrapper"},[_c("div",{staticClass:"table"},[_c("div",{staticClass:"left-table"},[_c("table",{staticClass:"table-body",attrs:{"border":"0"}},[_vm.leftTable&&_vm.leftTable.length?_c("tbody",_vm._l(_vm.leftTable,function(tr,trIndex){return _c("tr",{key:"tr-"+trIndex,staticClass:"table-tr"},[_vm._l(tr,function(td,tdIndex){return[_c("td",{key:"td-"+trIndex+"-"+tdIndex,staticClass:"table-item"},[_vm._v(" "+_vm._s(td.value)+" ")])]})],2)}),0):_vm._e()])]),_c("div",{ref:"rightTable",staticClass:"right-table"},[_c("table",{staticClass:"table-body",attrs:{"border":"0"}},[_vm.rightTable&&_vm.rightTable.length?_c("tbody",_vm._l(_vm.rightTable,function(tr,trIndex){return _c("tr",{key:"tr-"+trIndex,staticClass:"table-tr"},[_vm._l(tr,function(td,tdIndex){return[_c("td",{key:"td-"+trIndex+"-"+tdIndex,staticClass:"table-item"},[_vm._v(" "+_vm._s(td.value)+" ")])]})],2)}),0):_vm._e()])])])])])]:[_c("div",{staticClass:"no-data"},[_vm._v(" 暂无相关数据 ")])]],2)};var _sfc_staticRenderFns=[];var __component__=common.normalizeComponent(_sfc_main,_sfc_render,_sfc_staticRenderFns,false,null,"1ac74287");var ActCostTableNew=__component__.exports;exports.ActCostTableNew=ActCostTableNew;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _sliceInstanceProperty from "@babel/runtime-corejs3/core-js/instance/slice";
|
|
2
2
|
import _forEachInstanceProperty from "@babel/runtime-corejs3/core-js/instance/for-each";
|
|
3
|
-
import
|
|
3
|
+
import BScrollModule__default from "better-scroll";
|
|
4
4
|
import { t as throttle } from "../../utils/helpers/index.mjs";
|
|
5
5
|
import { n as normalizeComponent } from "../../common/index.mjs";
|
|
6
6
|
import './style.css';var _sfc_main = {
|
|
@@ -101,7 +101,7 @@ import './style.css';var _sfc_main = {
|
|
|
101
101
|
if (rightTitle) {
|
|
102
102
|
_this.$nextTick(function() {
|
|
103
103
|
if (!_this.rightTitleScroller) {
|
|
104
|
-
_this.rightTitleScroller = new
|
|
104
|
+
_this.rightTitleScroller = new BScrollModule__default(rightTitle, {
|
|
105
105
|
scrollX: true,
|
|
106
106
|
bounce: false,
|
|
107
107
|
probeType: 3,
|
|
@@ -119,7 +119,7 @@ import './style.css';var _sfc_main = {
|
|
|
119
119
|
if (tableWrapper) {
|
|
120
120
|
_this.$nextTick(function() {
|
|
121
121
|
if (!_this.tableScroller) {
|
|
122
|
-
_this.tableScroller = new
|
|
122
|
+
_this.tableScroller = new BScrollModule__default(tableWrapper, {
|
|
123
123
|
scrollY: true,
|
|
124
124
|
scrollX: false
|
|
125
125
|
});
|
|
@@ -131,7 +131,7 @@ import './style.css';var _sfc_main = {
|
|
|
131
131
|
if (rightTable2) {
|
|
132
132
|
_this.$nextTick(function() {
|
|
133
133
|
if (!_this.rightTableScroller) {
|
|
134
|
-
_this.rightTableScroller = new
|
|
134
|
+
_this.rightTableScroller = new BScrollModule__default(rightTable2, {
|
|
135
135
|
scrollY: true,
|
|
136
136
|
scrollX: true,
|
|
137
137
|
bounce: false,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require('./style.css');var
|
|
1
|
+
"use strict";require('./style.css');var BScrollModule=require("better-scroll");var common=require("../../../common/index.js");var _sfc_main={name:"ActGoldBenefitSlider",data:function data(){return{windowX:0,listScroll:null,forbidScrollEnd:false}},props:{element:{type:Object,default:function _default(){return{}}}},computed:{unit:function unit(){return~~this.element.range[0].unit||""},step:function step(){return~~(this.element.attr&&this.element.attr.step)||5},min:function min(){return~~this.element.range[0].min||~~(this.element.attr&&this.element.attr.min)||0},max:function max(){return~~this.element.range[0].max||~~(this.element.attr&&this.element.attr.max)||100},chooseAge:function chooseAge(){var realValue=~~this.element.value||80;if(realValue<this.min){return this.min}else if(realValue>this.max){return this.max}return realValue},during:function during(){return this.max-this.min+1},width:function width(){return 12*(this.max-this.min)+1}},methods:{initScroll:function initScroll(){var _this=this;var wrapper=document.querySelector(".wrapper");var startX=(this.min-this.chooseAge)*12;this.$refs.wrappercontent.style.width=~~this.windowX+this.width+"px";this.$nextTick(function(){var that=_this;if(!_this.listScroll){_this.listScroll=new BScrollModule(wrapper,{probeType:3,startX,scrollX:true,scrollY:false});that.listScroll.on("scrollEnd",function(pos){if(that.forbidScrollEnd){that.forbidScrollEnd=false;return}var chooseAge2;if(pos.x>=0){chooseAge2=that.min}else if(Math.abs(pos.x)>=that.width){chooseAge2=that.max}else{chooseAge2=Math.floor(Math.abs(pos.x)/12+1+that.min);var scrollX=-(Math.floor(Math.abs(pos.x)/12+1)*12);that.forbidScrollEnd=true;that.listScroll.scrollTo(scrollX,0,0)}that.$emit("updateAge",chooseAge2)})}else{if(startX>=0){_this.$emit("updateAge",_this.min);startX=0}_this.listScroll.refresh();_this.forbidScrollEnd=true;_this.listScroll.scrollTo(startX,0,0)}})}},mounted:function mounted(){var containerWidth=this.$refs.chooseContainer&&this.$refs.chooseContainer.offsetWidth;this.windowX=containerWidth||window.innerWidth||document.body&&document.body.clientWidth;this.windowX=this.windowX>750?750:this.windowX;this.initScroll()},watch:{min:function min2(){this.initScroll()}}};var _sfc_render=function render(){var _vm=this,_c=_vm._self._c;return _c("div",[_c("div",{ref:"chooseContainer",staticClass:"choose"},[_c("div",{staticClass:"choose-container wrapper"},[_c("div",{ref:"wrappercontent",staticClass:"choose-content"},_vm._l(_vm.during,function(number){return _c("div",{key:number,staticClass:"choose-item"},[_c("span",{staticClass:"number-item",class:{"number-part":(number+_vm.min-1)%_vm.step==0}}),(number+_vm.min-1)%_vm.step==0?_c("span",{staticClass:"number-text"},[_vm._v(_vm._s(number+_vm.min-1)+_vm._s(_vm.unit))]):_vm._e()])}),0)]),_c("div",{staticClass:"choose-value skin-bg"})])])};var _sfc_staticRenderFns=[];var __component__=common.normalizeComponent(_sfc_main,_sfc_render,_sfc_staticRenderFns,false,null,"b78fe581");var benefitSlider=__component__.exports;exports.benefitSlider=benefitSlider;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import BScrollModule__default from "better-scroll";
|
|
2
2
|
import { n as normalizeComponent } from "../../../common/index.mjs";
|
|
3
3
|
import './style.css';var _sfc_main = {
|
|
4
4
|
name: "ActGoldBenefitSlider",
|
|
@@ -55,7 +55,7 @@ import './style.css';var _sfc_main = {
|
|
|
55
55
|
this.$nextTick(function() {
|
|
56
56
|
var that = _this;
|
|
57
57
|
if (!_this.listScroll) {
|
|
58
|
-
_this.listScroll = new
|
|
58
|
+
_this.listScroll = new BScrollModule__default(wrapper, {
|
|
59
59
|
probeType: 3,
|
|
60
60
|
startX,
|
|
61
61
|
scrollX: true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require('./style.css');var
|
|
1
|
+
"use strict";require('./style.css');var BScrollModule=require("better-scroll");var common=require("../../common/index.js");var _sfc_main={name:"ActGoldCostTable",data:function data(){return{scroller:null}},props:{visible:{type:Boolean,default:false},tables:{type:Object,default:function _default(){return{}}},theme:{type:Object,default:function _default2(){return{}}}},computed:{title:function title(){return this.tables.title||"现金价值表"},styleOption:function styleOption(){if(this.theme&&this.theme.brandColor){return{backgroundColor:this.theme.brandColor}}return{}}},methods:{showCol:function showCol(index){var displayArr=this.tables.display||[];if(displayArr[index]!==void 0&&~~displayArr[index]===1){return true}return false},cancel:function cancel(){this.$emit("cancelCost")},preventMove:function preventMove(e){e._prevent=true}},watch:{visible:function visible(value){var _this=this;if(value){var tables=document.querySelector(".cost-scroll");if(tables){this.$nextTick(function(){if(!_this.scroller){_this.scroller=new BScrollModule(tables,{})}else{_this.scroller.refresh()}})}}}}};var _sfc_render=function render(){var _vm=this,_c=_vm._self._c;return _c("div",{directives:[{name:"show",rawName:"v-show",value:_vm.visible,expression:"visible"}],staticClass:"layer-finance",on:{"touchmove":_vm.preventMove}},[_c("div",{staticClass:"layer-finance-mask",on:{"click":function click($event){$event.stopPropagation();return _vm.cancel.apply(null,arguments)}}}),_c("div",{staticClass:"layer-finance-box layer_animate cost iphonex_padding"},[_c("span",{staticClass:"layer-close",on:{"click":function click($event){$event.stopPropagation();return _vm.cancel.apply(null,arguments)}}}),_c("p",{staticClass:"main-title"},[_vm._v(" 保单利益演示表 ")]),_c("p",{staticClass:"cost-title"},[_vm._v(" "+_vm._s(_vm.title)+" ")]),_c("p",{staticClass:"cost-table-head"},[_vm._v(" 基于用户所选信息的保单利益演示如下: ")]),_vm.tables.cols&&_vm.tables.rows&&_vm.tables.rows.length?[_c("div",[_c("div",{staticClass:"table-tr thead"},[_vm._l(_vm.tables.cols,function(thead,theadIndex){return[_vm.showCol(theadIndex)?_c("span",{key:"head-"+theadIndex,staticClass:"table-item",style:_vm.styleOption},[_vm._v(" "+_vm._s(thead)+" ")]):_vm._e()]})],2),_c("div",{staticClass:"cost-scroll"},[_c("table",{staticClass:"table-body"},[_vm.tables.rows&&_vm.tables.rows.length?_c("tbody",_vm._l(_vm.tables.rows,function(tr,trIndex){return _c("tr",{key:"tr-"+trIndex,staticClass:"table-tr"},[_vm._l(tr,function(td,tdIndex){return[_vm.showCol(tdIndex)?_c("td",{key:"td-"+trIndex+"-"+tdIndex,staticClass:"table-item"},[_vm._v(" "+_vm._s(Math.round(td*100)/100)+" ")]):_vm._e()]})],2)}),0):_vm._e()])])])]:[_c("div",{staticClass:"no-data"},[_vm._v(" 暂时无法展示 ")])]],2)])};var _sfc_staticRenderFns=[];var __component__=common.normalizeComponent(_sfc_main,_sfc_render,_sfc_staticRenderFns,false,null,"b0abb029");var GoldCostTable=__component__.exports;exports.GoldCostTable=GoldCostTable;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import BScrollModule__default from "better-scroll";
|
|
2
2
|
import { n as normalizeComponent } from "../../common/index.mjs";
|
|
3
3
|
import './style.css';var _sfc_main = {
|
|
4
4
|
name: "ActGoldCostTable",
|
|
@@ -61,7 +61,7 @@ import './style.css';var _sfc_main = {
|
|
|
61
61
|
if (tables) {
|
|
62
62
|
this.$nextTick(function() {
|
|
63
63
|
if (!_this.scroller) {
|
|
64
|
-
_this.scroller = new
|
|
64
|
+
_this.scroller = new BScrollModule__default(tables, {});
|
|
65
65
|
} else {
|
|
66
66
|
_this.scroller.refresh();
|
|
67
67
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require('./style.css');var
|
|
1
|
+
"use strict";require('./style.css');var BScrollModule=require("better-scroll");var common=require("../../common/index.js");var _sfc_main={name:"ActGoldCostTable",data:function data(){return{scroller:null}},props:{visible:{type:Boolean,default:false},tables:{type:Object,default:function _default(){return{}}},theme:{type:Object,default:function _default2(){return{}}}},computed:{title:function title(){return this.tables.title||"现金价值表"},styleOption:function styleOption(){if(this.theme&&this.theme.brandColor){return{backgroundColor:this.theme.brandColor}}return{}}},methods:{showCol:function showCol(index){var displayArr=this.tables.display||[];if(displayArr[index]!==void 0&&~~displayArr[index]===1){return true}return false},cancel:function cancel(){this.$emit("cancelCost")},preventMove:function preventMove(e){e._prevent=true}},watch:{visible:function visible(value){var _this=this;if(value){var tables=document.querySelector(".cost-scroll");if(tables){this.$nextTick(function(){if(!_this.scroller){_this.scroller=new BScrollModule(tables,{})}else{_this.scroller.refresh()}})}}}}};var _sfc_render=function render(){var _vm=this,_c=_vm._self._c;return _c("div",{directives:[{name:"show",rawName:"v-show",value:_vm.visible,expression:"visible"}],staticClass:"layer-finance",on:{"touchmove":_vm.preventMove}},[_c("div",{staticClass:"layer-finance-mask",on:{"click":function click($event){$event.stopPropagation();return _vm.cancel.apply(null,arguments)}}}),_c("div",{staticClass:"layer-finance-box layer_animate cost iphonex_padding"},[_c("span",{staticClass:"layer-close",on:{"click":function click($event){$event.stopPropagation();return _vm.cancel.apply(null,arguments)}}}),_c("p",{staticClass:"main-title"},[_vm._v(" 保单利益演示表 ")]),_c("p",{staticClass:"cost-title"},[_vm._v(" "+_vm._s(_vm.title)+" ")]),_c("p",{staticClass:"cost-table-head"},[_vm._v(" 基于用户所选信息的保单利益演示如下: ")]),_vm.tables.cols&&_vm.tables.rows&&_vm.tables.rows.length?[_c("div",[_c("div",{staticClass:"table-tr thead"},[_vm._l(_vm.tables.cols,function(thead,theadIndex){return[_vm.showCol(theadIndex)?_c("span",{key:"head-"+theadIndex,staticClass:"table-item",style:_vm.styleOption},[_vm._v(" "+_vm._s(thead)+" ")]):_vm._e()]})],2),_c("div",{staticClass:"cost-scroll"},[_c("table",{staticClass:"table-body"},[_vm.tables.rows&&_vm.tables.rows.length?_c("tbody",_vm._l(_vm.tables.rows,function(tr,trIndex){return _c("tr",{key:"tr-"+trIndex,staticClass:"table-tr"},[_vm._l(tr,function(td,tdIndex){return[_vm.showCol(tdIndex)?_c("td",{key:"td-"+trIndex+"-"+tdIndex,staticClass:"table-item"},[_vm._v(" "+_vm._s(Math.round(td*100)/100)+" ")]):_vm._e()]})],2)}),0):_vm._e()])])])]:[_c("div",{staticClass:"no-data"},[_vm._v(" 暂时无法展示 ")])]],2)])};var _sfc_staticRenderFns=[];var __component__=common.normalizeComponent(_sfc_main,_sfc_render,_sfc_staticRenderFns,false,null,"952b8e43");var GoldCostTable=__component__.exports;exports.GoldCostTable=GoldCostTable;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import BScrollModule__default from "better-scroll";
|
|
2
2
|
import { n as normalizeComponent } from "../../common/index.mjs";
|
|
3
3
|
import './style.css';var _sfc_main = {
|
|
4
4
|
name: "ActGoldCostTable",
|
|
@@ -61,7 +61,7 @@ import './style.css';var _sfc_main = {
|
|
|
61
61
|
if (tables) {
|
|
62
62
|
this.$nextTick(function() {
|
|
63
63
|
if (!_this.scroller) {
|
|
64
|
-
_this.scroller = new
|
|
64
|
+
_this.scroller = new BScrollModule__default(tables, {});
|
|
65
65
|
} else {
|
|
66
66
|
_this.scroller.refresh();
|
|
67
67
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require('./style.css');var _includesInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/includes");var _sliceInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/slice");var _forEachInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/for-each");var _parseFloat=require("@babel/runtime-corejs3/core-js/parse-float");var BScroll=require("../../BScroll/index.js");var utils_helpers=require("../../utils/helpers/index.js");var common=require("../../common/index.js");var _sfc_main={name:"CostTable",props:{visible:{type:Boolean,default:false},tables:{type:Object,default:function _default(){return{}}},theme:{type:Object,default:function _default2(){return{}}},productId:{type:String||Number,default:""},groupId:{type:String||Number,default:""}},data:function data(){return{rightTitleScroller:null,newTable:{},tableScroller:null,rightTableScroller:null,id:1,buttons:[{id:1,name:"全部展示"},{id:2,name:"5周岁倍数"},{id:3,name:"10周岁倍数"}]}},computed:{title:function title(){return this.tables.title||""},mainActive:function mainActive(){var hashColor=this.theme.brandColor;if(hashColor){var rgb=utils_helpers.hexToRgb(hashColor,.1);return{backgroundColor:rgb}}return{}},imgActive:function imgActive(){if(this.theme.brandColor){return{backgroundColor:this.theme.brandColor}}return{}},textActive:function textActive(){var hashColor=this.theme.brandColor;if(hashColor){var rgb=utils_helpers.hexToRgb(hashColor,1);return{color:rgb}}return{}},isSpecialGroup:function isSpecialGroup(){var _context,_context2;return _includesInstanceProperty(_context=["173934"]).call(_context,String(this.groupId))||_includesInstanceProperty(_context2=["342750","342817","342862","343407"]).call(_context2,String(this.productId))},styleOption:function styleOption(){if(this.theme.brandColor){return{backgroundColor:this.theme.brandColor}}return{}},tableHeadDesc:function tableHeadDesc(){var _context3;if(~~this.productId===330247){return"基于您所选择的投保信息,保单利益详情如下:"}if(~~this.productId===343026){return"特殊说明:<br/> 1、本利益供参考,具体以保险合同为准 <br/>2、养老年金的展示金额为保单年度末金额"}if(_includesInstanceProperty(_context3=[343142,343049]).call(_context3,~~this.productId)){return"基于您所选择的投保信息,保单利益详情如下:<br/>演示表仅演示年金主险,不包含附加险(投保人豁免、万能)"}if(~~this.productId===343145){return"基于您所选择的投保信息,保单利益详情如下:<br/>演示表仅演示终身寿主险,不包含附加险(投保人豁免、万能)"}return"基于您所选择的投入信息,保单利益详情如下:"},tableHeadTips:function tableHeadTips(){var _context4,_context5,_context6;if(_includesInstanceProperty(_context4=[342862,342817]).call(_context4,~~this.productId)){return"特别说明:演示不包含万能险;月领金额为保单年度末金额"}if(_includesInstanceProperty(_context5=[342750]).call(_context5,~~this.productId)){return"特别说明:月领展示金额为保单年度末金额"}if(_includesInstanceProperty(_context6=[343388]).call(_context6,~~this.productId)){return"特别说明:利益演示为按年领取金额,仅演示至104周岁"}return""},leftTitleArr:function leftTitleArr(){if(this.newTable){if(this.newTable.cols&&this.newTable.cols.length){var _context7;return _sliceInstanceProperty(_context7=this.newTable.cols).call(_context7,0,2)}}return[]},rightTitleArr:function rightTitleArr(){if(this.newTable){if(this.newTable.cols&&this.newTable.cols.length){var _context8;var length=this.newTable.cols.length;return _sliceInstanceProperty(_context8=this.newTable.cols).call(_context8,2,length)}}return[]},leftDisplayArr:function leftDisplayArr(){if(this.newTable){if(this.newTable.display&&this.newTable.display.length){var _context9;return _sliceInstanceProperty(_context9=this.newTable.display).call(_context9,0,2)}}return[]},rightDisplayArr:function rightDisplayArr(){if(this.newTable){if(this.newTable.display&&this.newTable.display.length){var _context0;var length=this.newTable.display.length;return _sliceInstanceProperty(_context0=this.newTable.display).call(_context0,2,length)}}return[]},leftTable:function leftTable(){if(this.newTable){var arr=[];if(this.newTable.rows){var _context1;_forEachInstanceProperty(_context1=this.newTable.rows).call(_context1,function(el){var useArar=[];_forEachInstanceProperty(el).call(el,function(item,index){if(index<2){useArar.push(item)}});arr.push(useArar)})}return arr}return[]},rightTable:function rightTable(){if(this.newTable){var arr=[];if(this.newTable.rows){var _context10;_forEachInstanceProperty(_context10=this.newTable.rows).call(_context10,function(el){var useArar=[];_forEachInstanceProperty(el).call(el,function(item,index){if(index>1){useArar.push(item)}});arr.push(useArar)})}return arr}return[[]]}},methods:{getTdValue:function getTdValue(td){if(!this.isSpecialGroup){return _parseFloat((Math.round(td*100)/100).toString()).toFixed(2)}return _parseFloat((Math.round(td*100)/100).toString())},showResCol:function showResCol(index,side){var displayArr=side==="left"?this.leftDisplayArr:this.rightDisplayArr;if(displayArr&&displayArr.length){if(displayArr[index]!==void 0&&~~displayArr[index]===1){return true}return false}},initScroll:function initScroll(){this.rightTitleScroller&&this.rightTitleScroller.refresh();this.tableScroller&&this.tableScroller.refresh();this.rightTableScroller&&this.rightTableScroller.refresh();this.tableScroller.scrollTo(0,0,0)},showTable:function showTable(id){this.id=id;if(id===1){this.showAllTable()}else if(id===2){this.showFiveTimes()}else{this.showTenTimes()}},showAllTable:function showAllTable(){this.newTable=utils_helpers.deepCopy(this.tables);this.initScroll()},showFiveTimes:function showFiveTimes(){var rows=this.tables.rows;var arr=[];_forEachInstanceProperty(rows).call(rows,function(el){_forEachInstanceProperty(el).call(el,function(item,index){if(index===1&&item%5===0){arr.push(el)}})});this.newTable.rows=arr;this.initScroll()},showTenTimes:function showTenTimes(){var rows=this.tables.rows;var arr=[];_forEachInstanceProperty(rows).call(rows,function(el){_forEachInstanceProperty(el).call(el,function(item,index){if(index===1&&item%10===0){arr.push(el)}})});this.newTable.rows=arr;this.initScroll()},cancel:function cancel(){this.$emit("cancelCost")},preventMove:function preventMove(e){e._prevent=true}},watch:{visible:function visible(newVal,oldVal){var _this=this;if(newVal){var rightTitle=this.$refs.rightTitle;var tableWrapper=this.$refs.tableWrapper;var rightTable2=this.$refs.rightTable;if(rightTitle){this.$nextTick(function(){if(!_this.rightTitleScroller){_this.rightTitleScroller=new BScroll.bScroll(rightTitle,{scrollX:true,bounce:false,probeType:3,momentum:false});_this.rightTitleScroller.on("scroll",function(_ref){var x=_ref.x,y=_ref.y;utils_helpers.throttle(_this.rightTableScroller.scrollTo(x,y,0))})}else{_this.rightTitleScroller.refresh()}})}if(tableWrapper){this.$nextTick(function(){if(!_this.tableScroller){_this.tableScroller=new BScroll.bScroll(tableWrapper,{scrollY:true,scrollX:false})}else{_this.tableScroller.refresh()}})}if(rightTable2){this.$nextTick(function(){if(!_this.rightTableScroller){_this.rightTableScroller=new BScroll.bScroll(rightTable2,{scrollY:true,scrollX:true,bounce:false,probeType:2,momentum:false});_this.rightTableScroller.on("scroll",function(_ref2){var x=_ref2.x,y=_ref2.y;_this.rightTitleScroller.scrollTo(x,y,0)})}else{_this.rightTableScroller.refresh()}})}}},tables:function tables(newVal,oldVal){if(newVal){this.newTable=utils_helpers.deepCopy(newVal)}}}};var _sfc_render=function render(){var _vm=this,_c=_vm._self._c;return _c("div",{directives:[{name:"show",rawName:"v-show",value:_vm.visible,expression:"visible"}],staticClass:"layer insured_layer",on:{"touchmove":_vm.preventMove,"click":function click($event){$event.stopPropagation();return _vm.cancel.apply(null,arguments)}}},[_c("div",{staticClass:"layer_box insured_box layer_animate iphonex_padding cost"},[_vm._m(0),_c("div",{staticClass:"description"},[_vm.title?[_c("p",{staticClass:"cost-title"},[_vm._v(" "+_vm._s(_vm.title)+" ")])]:[_c("p",{staticClass:"cost-table-head",domProps:{"innerHTML":_vm._s(_vm.tableHeadDesc)}}),_vm.tableHeadTips?_c("p",{staticClass:"cost-table-tips"},[_vm._v(" "+_vm._s(_vm.tableHeadTips)+" ")]):_vm._e()]],2),_vm.tables.cols&&_vm.tables.rows&&_vm.tables.rows.length?[_c("div",{staticClass:"wrapper"},[_c("div",{staticClass:"title-wrapper"},[_c("div",{staticClass:"left-title"},[_vm._l(_vm.leftTitleArr,function(thead,theadIndex){return[_vm.showResCol(theadIndex,"left")?_c("span",{key:"head-"+theadIndex,staticClass:"table-item",style:_vm.styleOption},[_vm._v(" "+_vm._s(thead)+" ")]):_vm._e()]})],2),_c("div",{ref:"rightTitle",staticClass:"right-title"},[_c("div",{ref:"rightTitleWrapper",staticClass:"right-title-wrapper"},[_vm._l(_vm.rightTitleArr,function(thead,theadIndex){return[_vm.showResCol(theadIndex,"right")?_c("span",{key:"head-"+theadIndex,staticClass:"table-item",style:_vm.styleOption},[_vm._v(" "+_vm._s(thead)+" ")]):_vm._e()]})],2)])]),_c("div",{ref:"tableWrapper",staticClass:"table-wrapper"},[_c("div",{staticClass:"table"},[_c("div",{staticClass:"left-table"},[_c("table",{staticClass:"table-body",attrs:{"border":"0"}},[_vm.leftTable&&_vm.leftTable.length?_c("tbody",_vm._l(_vm.leftTable,function(tr,trIndex){return _c("tr",{key:"tr-"+trIndex,staticClass:"table-tr"},[_vm._l(tr,function(td,tdIndex){return[_vm.showResCol(tdIndex,"left")?_c("td",{key:"td-"+trIndex+"-"+tdIndex,staticClass:"table-item"},[_vm._v(" "+_vm._s(td)+" ")]):_vm._e()]})],2)}),0):_vm._e()])]),_c("div",{ref:"rightTable",staticClass:"right-table"},[_c("table",{staticClass:"table-body",attrs:{"border":"0"}},[_vm.rightTable&&_vm.rightTable.length?_c("tbody",_vm._l(_vm.rightTable,function(tr,trIndex){return _c("tr",{key:"tr-"+trIndex,staticClass:"table-tr"},[_vm._l(tr,function(td,tdIndex){return[_vm.showResCol(tdIndex,"right")?_c("td",{key:"td-"+trIndex+"-"+tdIndex,staticClass:"table-item"},[_vm._v(" "+_vm._s(_vm.getTdValue(td))+" ")]):_vm._e()]})],2)}),0):_vm._e()])])])])])]:[_c("div",{staticClass:"no-data"},[_vm._v(" 暂时无法展示 ")])],_vm.tables.cols&&_vm.tables.rows&&_vm.tables.rows.length?_c("div",{staticClass:"costButton"},_vm._l(_vm.buttons,function(item){return _c("div",{key:item.id,staticClass:"button",style:_vm.id===item.id?_vm.mainActive:{},on:{"click":function click($event){$event.stopPropagation();return _vm.showTable(item.id)}}},[_c("span",{staticClass:"check-img",style:_vm.id===item.id?_vm.imgActive:{}}),_c("span",{staticClass:"button-text",style:_vm.id===item.id?_vm.textActive:{}},[_vm._v(" "+_vm._s(item.name)+" ")])])}),0):_vm._e()],2)])};var _sfc_staticRenderFns=[function(){var _vm=this,_c=_vm._self._c;return _c("div",{staticClass:"head-title"},[_c("span",{staticClass:"layer-close"}),_c("p",{staticClass:"main-title"},[_vm._v(" 保单利益演示表 ")])])}];var __component__=common.normalizeComponent(_sfc_main,_sfc_render,_sfc_staticRenderFns,false,null,"f438bfc8");var GoldCostTable=__component__.exports;exports.GoldCostTable=GoldCostTable;
|
|
1
|
+
"use strict";require('./style.css');var _includesInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/includes");var _sliceInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/slice");var _forEachInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/for-each");var _parseFloat=require("@babel/runtime-corejs3/core-js/parse-float");var BScrollModule=require("better-scroll");var utils_helpers=require("../../utils/helpers/index.js");var common=require("../../common/index.js");var _sfc_main={name:"CostTable",props:{visible:{type:Boolean,default:false},tables:{type:Object,default:function _default(){return{}}},theme:{type:Object,default:function _default2(){return{}}},productId:{type:String||Number,default:""},groupId:{type:String||Number,default:""}},data:function data(){return{rightTitleScroller:null,newTable:{},tableScroller:null,rightTableScroller:null,id:1,buttons:[{id:1,name:"全部展示"},{id:2,name:"5周岁倍数"},{id:3,name:"10周岁倍数"}]}},computed:{title:function title(){return this.tables.title||""},mainActive:function mainActive(){var hashColor=this.theme.brandColor;if(hashColor){var rgb=utils_helpers.hexToRgb(hashColor,.1);return{backgroundColor:rgb}}return{}},imgActive:function imgActive(){if(this.theme.brandColor){return{backgroundColor:this.theme.brandColor}}return{}},textActive:function textActive(){var hashColor=this.theme.brandColor;if(hashColor){var rgb=utils_helpers.hexToRgb(hashColor,1);return{color:rgb}}return{}},isSpecialGroup:function isSpecialGroup(){var _context,_context2;return _includesInstanceProperty(_context=["173934"]).call(_context,String(this.groupId))||_includesInstanceProperty(_context2=["342750","342817","342862","343407"]).call(_context2,String(this.productId))},styleOption:function styleOption(){if(this.theme.brandColor){return{backgroundColor:this.theme.brandColor}}return{}},tableHeadDesc:function tableHeadDesc(){var _context3;if(~~this.productId===330247){return"基于您所选择的投保信息,保单利益详情如下:"}if(~~this.productId===343026){return"特殊说明:<br/> 1、本利益供参考,具体以保险合同为准 <br/>2、养老年金的展示金额为保单年度末金额"}if(_includesInstanceProperty(_context3=[343142,343049]).call(_context3,~~this.productId)){return"基于您所选择的投保信息,保单利益详情如下:<br/>演示表仅演示年金主险,不包含附加险(投保人豁免、万能)"}if(~~this.productId===343145){return"基于您所选择的投保信息,保单利益详情如下:<br/>演示表仅演示终身寿主险,不包含附加险(投保人豁免、万能)"}return"基于您所选择的投入信息,保单利益详情如下:"},tableHeadTips:function tableHeadTips(){var _context4,_context5,_context6;if(_includesInstanceProperty(_context4=[342862,342817]).call(_context4,~~this.productId)){return"特别说明:演示不包含万能险;月领金额为保单年度末金额"}if(_includesInstanceProperty(_context5=[342750]).call(_context5,~~this.productId)){return"特别说明:月领展示金额为保单年度末金额"}if(_includesInstanceProperty(_context6=[343388]).call(_context6,~~this.productId)){return"特别说明:利益演示为按年领取金额,仅演示至104周岁"}return""},leftTitleArr:function leftTitleArr(){if(this.newTable){if(this.newTable.cols&&this.newTable.cols.length){var _context7;return _sliceInstanceProperty(_context7=this.newTable.cols).call(_context7,0,2)}}return[]},rightTitleArr:function rightTitleArr(){if(this.newTable){if(this.newTable.cols&&this.newTable.cols.length){var _context8;var length=this.newTable.cols.length;return _sliceInstanceProperty(_context8=this.newTable.cols).call(_context8,2,length)}}return[]},leftDisplayArr:function leftDisplayArr(){if(this.newTable){if(this.newTable.display&&this.newTable.display.length){var _context9;return _sliceInstanceProperty(_context9=this.newTable.display).call(_context9,0,2)}}return[]},rightDisplayArr:function rightDisplayArr(){if(this.newTable){if(this.newTable.display&&this.newTable.display.length){var _context0;var length=this.newTable.display.length;return _sliceInstanceProperty(_context0=this.newTable.display).call(_context0,2,length)}}return[]},leftTable:function leftTable(){if(this.newTable){var arr=[];if(this.newTable.rows){var _context1;_forEachInstanceProperty(_context1=this.newTable.rows).call(_context1,function(el){var useArar=[];_forEachInstanceProperty(el).call(el,function(item,index){if(index<2){useArar.push(item)}});arr.push(useArar)})}return arr}return[]},rightTable:function rightTable(){if(this.newTable){var arr=[];if(this.newTable.rows){var _context10;_forEachInstanceProperty(_context10=this.newTable.rows).call(_context10,function(el){var useArar=[];_forEachInstanceProperty(el).call(el,function(item,index){if(index>1){useArar.push(item)}});arr.push(useArar)})}return arr}return[[]]}},methods:{getTdValue:function getTdValue(td){if(!this.isSpecialGroup){return _parseFloat((Math.round(td*100)/100).toString()).toFixed(2)}return _parseFloat((Math.round(td*100)/100).toString())},showResCol:function showResCol(index,side){var displayArr=side==="left"?this.leftDisplayArr:this.rightDisplayArr;if(displayArr&&displayArr.length){if(displayArr[index]!==void 0&&~~displayArr[index]===1){return true}return false}},initScroll:function initScroll(){this.rightTitleScroller&&this.rightTitleScroller.refresh();this.tableScroller&&this.tableScroller.refresh();this.rightTableScroller&&this.rightTableScroller.refresh();this.tableScroller.scrollTo(0,0,0)},showTable:function showTable(id){this.id=id;if(id===1){this.showAllTable()}else if(id===2){this.showFiveTimes()}else{this.showTenTimes()}},showAllTable:function showAllTable(){this.newTable=utils_helpers.deepCopy(this.tables);this.initScroll()},showFiveTimes:function showFiveTimes(){var rows=this.tables.rows;var arr=[];_forEachInstanceProperty(rows).call(rows,function(el){_forEachInstanceProperty(el).call(el,function(item,index){if(index===1&&item%5===0){arr.push(el)}})});this.newTable.rows=arr;this.initScroll()},showTenTimes:function showTenTimes(){var rows=this.tables.rows;var arr=[];_forEachInstanceProperty(rows).call(rows,function(el){_forEachInstanceProperty(el).call(el,function(item,index){if(index===1&&item%10===0){arr.push(el)}})});this.newTable.rows=arr;this.initScroll()},cancel:function cancel(){this.$emit("cancelCost")},preventMove:function preventMove(e){e._prevent=true}},watch:{visible:function visible(newVal,oldVal){var _this=this;if(newVal){var rightTitle=this.$refs.rightTitle;var tableWrapper=this.$refs.tableWrapper;var rightTable2=this.$refs.rightTable;if(rightTitle){this.$nextTick(function(){if(!_this.rightTitleScroller){_this.rightTitleScroller=new BScrollModule(rightTitle,{scrollX:true,bounce:false,probeType:3,momentum:false});_this.rightTitleScroller.on("scroll",function(_ref){var x=_ref.x,y=_ref.y;utils_helpers.throttle(_this.rightTableScroller.scrollTo(x,y,0))})}else{_this.rightTitleScroller.refresh()}})}if(tableWrapper){this.$nextTick(function(){if(!_this.tableScroller){_this.tableScroller=new BScrollModule(tableWrapper,{scrollY:true,scrollX:false})}else{_this.tableScroller.refresh()}})}if(rightTable2){this.$nextTick(function(){if(!_this.rightTableScroller){_this.rightTableScroller=new BScrollModule(rightTable2,{scrollY:true,scrollX:true,bounce:false,probeType:2,momentum:false});_this.rightTableScroller.on("scroll",function(_ref2){var x=_ref2.x,y=_ref2.y;_this.rightTitleScroller.scrollTo(x,y,0)})}else{_this.rightTableScroller.refresh()}})}}},tables:function tables(newVal,oldVal){if(newVal){this.newTable=utils_helpers.deepCopy(newVal)}}}};var _sfc_render=function render(){var _vm=this,_c=_vm._self._c;return _c("div",{directives:[{name:"show",rawName:"v-show",value:_vm.visible,expression:"visible"}],staticClass:"layer insured_layer",on:{"touchmove":_vm.preventMove,"click":function click($event){$event.stopPropagation();return _vm.cancel.apply(null,arguments)}}},[_c("div",{staticClass:"layer_box insured_box layer_animate iphonex_padding cost"},[_vm._m(0),_c("div",{staticClass:"description"},[_vm.title?[_c("p",{staticClass:"cost-title"},[_vm._v(" "+_vm._s(_vm.title)+" ")])]:[_c("p",{staticClass:"cost-table-head",domProps:{"innerHTML":_vm._s(_vm.tableHeadDesc)}}),_vm.tableHeadTips?_c("p",{staticClass:"cost-table-tips"},[_vm._v(" "+_vm._s(_vm.tableHeadTips)+" ")]):_vm._e()]],2),_vm.tables.cols&&_vm.tables.rows&&_vm.tables.rows.length?[_c("div",{staticClass:"wrapper"},[_c("div",{staticClass:"title-wrapper"},[_c("div",{staticClass:"left-title"},[_vm._l(_vm.leftTitleArr,function(thead,theadIndex){return[_vm.showResCol(theadIndex,"left")?_c("span",{key:"head-"+theadIndex,staticClass:"table-item",style:_vm.styleOption},[_vm._v(" "+_vm._s(thead)+" ")]):_vm._e()]})],2),_c("div",{ref:"rightTitle",staticClass:"right-title"},[_c("div",{ref:"rightTitleWrapper",staticClass:"right-title-wrapper"},[_vm._l(_vm.rightTitleArr,function(thead,theadIndex){return[_vm.showResCol(theadIndex,"right")?_c("span",{key:"head-"+theadIndex,staticClass:"table-item",style:_vm.styleOption},[_vm._v(" "+_vm._s(thead)+" ")]):_vm._e()]})],2)])]),_c("div",{ref:"tableWrapper",staticClass:"table-wrapper"},[_c("div",{staticClass:"table"},[_c("div",{staticClass:"left-table"},[_c("table",{staticClass:"table-body",attrs:{"border":"0"}},[_vm.leftTable&&_vm.leftTable.length?_c("tbody",_vm._l(_vm.leftTable,function(tr,trIndex){return _c("tr",{key:"tr-"+trIndex,staticClass:"table-tr"},[_vm._l(tr,function(td,tdIndex){return[_vm.showResCol(tdIndex,"left")?_c("td",{key:"td-"+trIndex+"-"+tdIndex,staticClass:"table-item"},[_vm._v(" "+_vm._s(td)+" ")]):_vm._e()]})],2)}),0):_vm._e()])]),_c("div",{ref:"rightTable",staticClass:"right-table"},[_c("table",{staticClass:"table-body",attrs:{"border":"0"}},[_vm.rightTable&&_vm.rightTable.length?_c("tbody",_vm._l(_vm.rightTable,function(tr,trIndex){return _c("tr",{key:"tr-"+trIndex,staticClass:"table-tr"},[_vm._l(tr,function(td,tdIndex){return[_vm.showResCol(tdIndex,"right")?_c("td",{key:"td-"+trIndex+"-"+tdIndex,staticClass:"table-item"},[_vm._v(" "+_vm._s(_vm.getTdValue(td))+" ")]):_vm._e()]})],2)}),0):_vm._e()])])])])])]:[_c("div",{staticClass:"no-data"},[_vm._v(" 暂时无法展示 ")])],_vm.tables.cols&&_vm.tables.rows&&_vm.tables.rows.length?_c("div",{staticClass:"costButton"},_vm._l(_vm.buttons,function(item){return _c("div",{key:item.id,staticClass:"button",style:_vm.id===item.id?_vm.mainActive:{},on:{"click":function click($event){$event.stopPropagation();return _vm.showTable(item.id)}}},[_c("span",{staticClass:"check-img",style:_vm.id===item.id?_vm.imgActive:{}}),_c("span",{staticClass:"button-text",style:_vm.id===item.id?_vm.textActive:{}},[_vm._v(" "+_vm._s(item.name)+" ")])])}),0):_vm._e()],2)])};var _sfc_staticRenderFns=[function(){var _vm=this,_c=_vm._self._c;return _c("div",{staticClass:"head-title"},[_c("span",{staticClass:"layer-close"}),_c("p",{staticClass:"main-title"},[_vm._v(" 保单利益演示表 ")])])}];var __component__=common.normalizeComponent(_sfc_main,_sfc_render,_sfc_staticRenderFns,false,null,"f438bfc8");var GoldCostTable=__component__.exports;exports.GoldCostTable=GoldCostTable;
|