@xysfe/actui2 0.0.7 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -0
- package/lib/BScroll/index.esm.js +1 -0
- package/lib/BScroll/index.js +1 -1
- package/lib/BankSelect/bankbox/{index.mjs → index.esm.js} +2 -2
- package/lib/BankSelect/bankchoosebox/{index.mjs → index.esm.js} +2 -2
- package/lib/BankSelect/bankmsg/{index.mjs → index.esm.js} +10 -10
- package/lib/BankSelect/{index.mjs → index.esm.js} +15 -15
- package/lib/BaseInput/{index.mjs → index.esm.js} +3 -3
- package/lib/Button/{index.mjs → index.esm.js} +3 -3
- package/lib/CascadePicker/{index.mjs → index.esm.js} +7 -7
- package/lib/CertifyLayer/{index.mjs → index.esm.js} +14 -14
- package/lib/ClaimsContact/{index.mjs → index.esm.js} +12 -12
- package/lib/Collapse/{index.mjs → index.esm.js} +5 -5
- package/lib/Contact/{index.mjs → index.esm.js} +11 -11
- package/lib/ContactBook/{index.mjs → index.esm.js} +12 -12
- package/lib/CountTo/{index.mjs → index.esm.js} +4 -4
- package/lib/CouponLayer/{index.mjs → index.esm.js} +12 -12
- package/lib/CouponLayer/index.js +1 -1
- package/lib/CrmReserveInfoLayer/{index.mjs → index.esm.js} +8 -8
- package/lib/DatePicker/{index.mjs → index.esm.js} +10 -10
- package/lib/DeviceFingerprint/{index.mjs → index.esm.js} +1 -1
- package/lib/Dialog/{index.mjs → index.esm.js} +6 -6
- package/lib/DiseaseListLayer/{index.mjs → index.esm.js} +7 -7
- package/lib/DiseaseListLayer/index.js +1 -1
- package/lib/DiseaseSelect/collapse/collapse/{index.mjs → index.esm.js} +1 -1
- package/lib/DiseaseSelect/collapse/collapseItem/{index.mjs → index.esm.js} +3 -3
- package/lib/DiseaseSelect/collapse/collapseTransition/{index.mjs → index.esm.js} +2 -2
- package/lib/DiseaseSelect/diseaseList/{index.mjs → index.esm.js} +3 -3
- package/lib/DiseaseSelect/{index.mjs → index.esm.js} +6 -6
- package/lib/DiseaseSelect/resultList/{index.mjs → index.esm.js} +2 -2
- package/lib/DiseaseSelect/search/{index.mjs → index.esm.js} +4 -4
- package/lib/DiseaseSelect/selectLayer/{index.mjs → index.esm.js} +6 -6
- package/lib/DiseaseSelectLayer/{index.mjs → index.esm.js} +5 -5
- package/lib/DocPop/{index.mjs → index.esm.js} +7 -7
- package/lib/DocPop/scrollList/{index.mjs → index.esm.js} +2 -2
- package/lib/ErrorInterceptors/{index.mjs → index.esm.js} +1 -1
- package/lib/FaceRecognition/{index.mjs → index.esm.js} +3 -3
- package/lib/FigurePic/{index.mjs → index.esm.js} +3 -3
- package/lib/FileList/imageList/{index.mjs → index.esm.js} +1 -1
- package/lib/FileList/{index.mjs → index.esm.js} +7 -7
- package/lib/FileList/selectLayer/{index.mjs → index.esm.js} +2 -2
- package/lib/FileList/uploadMaterial/{index.mjs → index.esm.js} +7 -7
- package/lib/FileUpload/choose/{index.mjs → index.esm.js} +3 -3
- package/lib/FileUpload/{index.mjs → index.esm.js} +3 -3
- package/lib/FileUpload/upload/{index.mjs → index.esm.js} +4 -4
- package/lib/FileUpload/util/{index.mjs → index.esm.js} +2 -2
- package/lib/FormLayer/{index.mjs → index.esm.js} +13 -13
- package/lib/GivenLayer/{index.mjs → index.esm.js} +14 -14
- package/lib/GoldAddress/{index.mjs → index.esm.js} +7 -7
- package/lib/GoldAddressLayer/{index.mjs → index.esm.js} +7 -7
- package/lib/GoldAddressLayerV2/{index.mjs → index.esm.js} +8 -8
- package/lib/GoldAddressSelect/addressSelectLayer/{index.mjs → index.esm.js} +5 -5
- package/lib/GoldAddressSelect/{index.mjs → index.esm.js} +8 -8
- package/lib/GoldAml/{index.mjs → index.esm.js} +8 -8
- package/lib/GoldArea/{index.mjs → index.esm.js} +8 -8
- package/lib/GoldAuroraSlots/{index.mjs → index.esm.js} +2 -2
- package/lib/GoldBankCombine/{index.mjs → index.esm.js} +7 -7
- package/lib/GoldBankPayLimit/bankSelect/{index.mjs → index.esm.js} +5 -5
- package/lib/GoldBankPayLimit/{index.mjs → index.esm.js} +9 -9
- package/lib/GoldBankSelect/{index.mjs → index.esm.js} +6 -6
- package/lib/GoldBenefitDemo/benefit/amount/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldBenefitDemo/benefit/{index.mjs → index.esm.js} +4 -4
- package/lib/GoldBenefitDemo/benefit/slider/{index.mjs → index.esm.js} +3 -3
- package/lib/GoldBenefitDemo/benefit/slider/index.js +1 -1
- package/lib/GoldBenefitDemo/benefit/title/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldBenefitDemo/costTable/{index.mjs → index.esm.js} +5 -5
- package/lib/GoldBenefitDemo/costTable/index.js +1 -1
- package/lib/GoldBenefitDemo/{index.mjs → index.esm.js} +4 -4
- package/lib/GoldCancelDialog/{index.mjs → index.esm.js} +8 -8
- package/lib/GoldCareer/{index.mjs → index.esm.js} +9 -9
- package/lib/GoldCareerLayer/{index.mjs → index.esm.js} +11 -11
- package/lib/GoldCareerLayer/rowPicker/{index.mjs → index.esm.js} +2 -2
- package/lib/GoldCareerLayer/scrollList/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldCareerLayer/searchList/{index.mjs → index.esm.js} +2 -2
- package/lib/GoldCert/{index.mjs → index.esm.js} +12 -12
- package/lib/GoldCert/photo/{index.mjs → index.esm.js} +2 -2
- package/lib/GoldCert/relateVerifyPhoto/{index.mjs → index.esm.js} +4 -4
- package/lib/GoldCert/selectLayer/{index.mjs → index.esm.js} +2 -2
- package/lib/GoldCheckbox/{index.mjs → index.esm.js} +5 -5
- package/lib/GoldClaimsContact/{index.mjs → index.esm.js} +6 -6
- package/lib/GoldCommentList/{index.mjs → index.esm.js} +4 -4
- package/lib/GoldCommentList/item/{index.mjs → index.esm.js} +2 -2
- package/lib/GoldCommentList/tag/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldCompute/careerQuery/{index.mjs → index.esm.js} +2 -2
- package/lib/GoldCompute/{index.mjs → index.esm.js} +7 -7
- package/lib/GoldComputeV2/careerQuery/{index.mjs → index.esm.js} +2 -2
- package/lib/GoldComputeV2/{index.mjs → index.esm.js} +6 -6
- package/lib/GoldConclusion/humancheck/{index.mjs → index.esm.js} +5 -5
- package/lib/GoldConclusion/{index.mjs → index.esm.js} +6 -6
- package/lib/GoldConclusion/intelModule/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldConclusion/intelcheck/{index.mjs → index.esm.js} +3 -3
- package/lib/GoldConclusion/module/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldConclusion/picture/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldConclusion/progress/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldConclusion/scrollzoom/{index.mjs → index.esm.js} +5 -5
- package/lib/GoldConclusion/status/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldConclusion/tab/{index.mjs → index.esm.js} +3 -3
- package/lib/GoldContact/{index.mjs → index.esm.js} +6 -6
- package/lib/GoldContactBook/{index.mjs → index.esm.js} +6 -6
- package/lib/GoldContactElement/{index.mjs → index.esm.js} +7 -7
- package/lib/GoldCost/costTable/{index.mjs → index.esm.js} +6 -6
- package/lib/GoldCost/costTable/index.js +1 -1
- package/lib/GoldCost/{index.mjs → index.esm.js} +8 -8
- package/lib/GoldCost/table/{index.mjs → index.esm.js} +2 -2
- package/lib/GoldCostLayer/{index.mjs → index.esm.js} +6 -6
- package/lib/GoldCoupon/code/{index.mjs → index.esm.js} +7 -7
- package/lib/GoldCoupon/{index.mjs → index.esm.js} +9 -9
- package/lib/GoldCoupon/item/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldCoupon/list/{index.mjs → index.esm.js} +7 -7
- package/lib/GoldDate/{index.mjs → index.esm.js} +8 -8
- package/lib/GoldDialog/{index.mjs → index.esm.js} +8 -8
- package/lib/GoldDisease/{index.mjs → index.esm.js} +8 -8
- package/lib/GoldDocLayer/{index.mjs → index.esm.js} +5 -5
- package/lib/GoldDoorPlate/{index.mjs → index.esm.js} +7 -7
- package/lib/GoldDoubleRecordTable/{index.mjs → index.esm.js} +5 -5
- package/lib/GoldElement/{index.mjs → index.esm.js} +34 -34
- package/lib/GoldElementGroup/{index.mjs → index.esm.js} +3 -3
- package/lib/GoldFacecheck/{index.mjs → index.esm.js} +6 -6
- package/lib/GoldFaq/{index.mjs → index.esm.js} +2 -2
- package/lib/GoldFile/{index.mjs → index.esm.js} +8 -8
- package/lib/GoldFileAssess/{index.mjs → index.esm.js} +8 -8
- package/lib/GoldFinance/benefit/amount/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldFinance/benefit/{index.mjs → index.esm.js} +6 -6
- package/lib/GoldFinance/benefit/select/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldFinance/benefit/slider/{index.mjs → index.esm.js} +3 -3
- package/lib/GoldFinance/benefit/slider/index.js +1 -1
- package/lib/GoldFinance/benefit/text/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldFinance/benefit/title/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldFinance/caseDemo/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldFinance/costTable/{index.mjs → index.esm.js} +3 -3
- package/lib/GoldFinance/costTable/index.js +1 -1
- package/lib/GoldFinance/{index.mjs → index.esm.js} +7 -7
- package/lib/{GoldFinanceV2/replace/index.mjs → GoldFinance/replace/index.esm.js} +1 -1
- package/lib/GoldFinanceChart/benefit/{index.mjs → index.esm.js} +3 -3
- package/lib/GoldFinanceChart/chart/{index.mjs → index.esm.js} +2 -2
- package/lib/GoldFinanceChart/costTable/{index.mjs → index.esm.js} +3 -3
- package/lib/GoldFinanceChart/costTable/index.js +1 -1
- package/lib/GoldFinanceChart/{index.mjs → index.esm.js} +7 -7
- package/lib/GoldFinanceChartV2/chart/{index.mjs → index.esm.js} +2 -2
- package/lib/GoldFinanceChartV2/{index.mjs → index.esm.js} +5 -5
- package/lib/GoldFinanceChartV3/benefit/header/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldFinanceChartV3/benefit/{index.mjs → index.esm.js} +7 -7
- package/lib/GoldFinanceChartV3/benefit/newamount/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldFinanceChartV3/benefit/select/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldFinanceChartV3/benefit/text/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldFinanceChartV3/benefit/title/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldFinanceChartV3/costTable/{index.mjs → index.esm.js} +6 -6
- package/lib/GoldFinanceChartV3/costTable/index.js +1 -1
- package/lib/GoldFinanceChartV3/{index.mjs → index.esm.js} +6 -6
- package/lib/GoldFinanceChartV3/tools/replace/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldFinanceV2/benefit/amount/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldFinanceV2/benefit/{index.mjs → index.esm.js} +6 -6
- package/lib/GoldFinanceV2/benefit/select/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldFinanceV2/benefit/slider/{index.mjs → index.esm.js} +3 -3
- package/lib/GoldFinanceV2/benefit/slider/index.js +1 -1
- package/lib/GoldFinanceV2/benefit/text/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldFinanceV2/benefit/title/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldFinanceV2/caseDemo/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldFinanceV2/costTable/{index.mjs → index.esm.js} +3 -3
- package/lib/GoldFinanceV2/costTable/index.js +1 -1
- package/lib/GoldFinanceV2/{index.mjs → index.esm.js} +7 -7
- package/lib/{GoldFinance/replace/index.mjs → GoldFinanceV2/replace/index.esm.js} +1 -1
- package/lib/GoldIndexBar/{index.mjs → index.esm.js} +7 -7
- package/lib/GoldInput/{index.mjs → index.esm.js} +7 -7
- package/lib/GoldInsureDescDialog/{index.mjs → index.esm.js} +5 -5
- package/lib/GoldInsureDuty/{index.mjs → index.esm.js} +5 -5
- package/lib/GoldInsureNotice/content/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldInsureNotice/denyCarrer/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldInsureNotice/health/{index.mjs → index.esm.js} +9 -9
- package/lib/GoldInsureNotice/healthNotice/{index.mjs → index.esm.js} +10 -10
- package/lib/GoldInsureNotice/{index.mjs → index.esm.js} +8 -8
- package/lib/GoldInsureNotice/offlineHealth/{index.mjs → index.esm.js} +2 -2
- package/lib/GoldInsureNotice/tips/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldIntransitDialog/{index.mjs → index.esm.js} +6 -6
- package/lib/GoldItem/{index.mjs → index.esm.js} +4 -4
- package/lib/GoldLattice/{index.mjs → index.esm.js} +7 -7
- package/lib/GoldLayer/{index.mjs → index.esm.js} +2 -2
- package/lib/GoldLongTextSelect/{index.mjs → index.esm.js} +8 -8
- package/lib/GoldMailPrecheck/{index.mjs → index.esm.js} +6 -6
- package/lib/GoldMailPrecheckV2/{index.mjs → index.esm.js} +6 -6
- package/lib/GoldMobileLayer/{index.mjs → index.esm.js} +7 -7
- package/lib/GoldModule/{index.mjs → index.esm.js} +6 -6
- package/lib/GoldMulSelect/{index.mjs → index.esm.js} +9 -9
- package/lib/GoldMulSelect/mulSelect/{index.mjs → index.esm.js} +5 -5
- package/lib/GoldMulSelect/mulSelect/index.js +1 -1
- package/lib/GoldNoticeTerms/heatlh/{index.mjs → index.esm.js} +2 -2
- package/lib/GoldNoticeTerms/{index.mjs → index.esm.js} +9 -9
- package/lib/GoldNoticeTerms/protocol/{index.mjs → index.esm.js} +1 -1
- package/lib/GoldNoticeTerms/tab/{index.mjs → index.esm.js} +2 -2
- package/lib/GoldOcr/filelist/{index.mjs → index.esm.js} +3 -3
- package/lib/GoldOcr/{index.mjs → index.esm.js} +7 -7
- package/lib/GoldPayLimitLayer/{index.mjs → index.esm.js} +9 -9
- package/lib/GoldPayLimitLayer/index.js +1 -1
- package/lib/GoldPayLimitLayer/signIntroduct/{index.mjs → index.esm.js} +3 -3
- package/lib/GoldPayLimitLayer/signIntroduct/index.js +1 -1
- package/lib/GoldPayLimitLayer/table/{index.mjs → index.esm.js} +4 -4
- package/lib/GoldPayLimitLayer/table/index.js +1 -1
- package/lib/GoldPhoto/{index.mjs → index.esm.js} +11 -11
- package/lib/GoldProtocol/{index.mjs → index.esm.js} +2 -2
- package/lib/GoldProtocolLayer/{index.mjs → index.esm.js} +6 -6
- package/lib/GoldPureText/{index.mjs → index.esm.js} +5 -5
- package/lib/GoldQrcode/{index.mjs → index.esm.js} +8 -8
- package/lib/GoldReadTerms/{index.mjs → index.esm.js} +6 -6
- package/lib/GoldSelect/{index.mjs → index.esm.js} +10 -10
- package/lib/GoldSelect/searchBank/{index.mjs → index.esm.js} +5 -5
- package/lib/GoldSelect/select/{index.mjs → index.esm.js} +5 -5
- package/lib/GoldSignature/{index.mjs → index.esm.js} +8 -8
- package/lib/GoldStepper/{index.mjs → index.esm.js} +8 -8
- package/lib/GoldSwitch/{index.mjs → index.esm.js} +7 -7
- package/lib/GoldText/{index.mjs → index.esm.js} +6 -6
- package/lib/GoldTextarea/{index.mjs → index.esm.js} +7 -7
- package/lib/GoldTimePicker/{index.mjs → index.esm.js} +7 -7
- package/lib/GoldUniversal/{index.mjs → index.esm.js} +5 -5
- package/lib/GoldVerifyCode/{index.mjs → index.esm.js} +7 -7
- package/lib/HumanCheckGuideLayer/guideDetail/{index.mjs → index.esm.js} +2 -2
- package/lib/HumanCheckGuideLayer/{index.mjs → index.esm.js} +4 -4
- package/lib/HumanCheckGuideLayer/moduleBox/{index.mjs → index.esm.js} +2 -2
- package/lib/HumanCheckGuideLayer/table/{index.mjs → index.esm.js} +2 -2
- package/lib/ImageLayer/{index.mjs → index.esm.js} +7 -7
- package/lib/ImagePreview/{index.mjs → index.esm.js} +10 -10
- package/lib/IndexBar/{index.mjs → index.esm.js} +8 -8
- package/lib/IndexList/{index.mjs → index.esm.js} +3 -3
- package/lib/Jigsaw/{index.mjs → index.esm.js} +7 -7
- package/lib/JigsawLayer/{index.mjs → index.esm.js} +8 -8
- package/lib/JigsawVerifyCode/{index.mjs → index.esm.js} +7 -7
- package/lib/Keyframe/{index.mjs → index.esm.js} +4 -4
- package/lib/Loading/cir1-loading/{index.mjs → index.esm.js} +2 -2
- package/lib/Loading/cir2-loading/{index.mjs → index.esm.js} +2 -2
- package/lib/Loading/cir3-loading/{index.mjs → index.esm.js} +2 -2
- package/lib/Loading/cir4-loading/{index.mjs → index.esm.js} +2 -2
- package/lib/Loading/cir5-loading/{index.mjs → index.esm.js} +2 -2
- package/lib/Loading/default-loading/{index.mjs → index.esm.js} +2 -2
- package/lib/Loading/{index.mjs → index.esm.js} +9 -9
- package/lib/Loading/line-loading/{index.mjs → index.esm.js} +2 -2
- package/lib/Login/{index.mjs → index.esm.js} +3 -3
- package/lib/LoginLayer/{index.mjs → index.esm.js} +12 -12
- package/lib/LoginLayer/jigsaw/{index.mjs → index.esm.js} +6 -6
- package/lib/Marketing/Details/{index.mjs → index.esm.js} +4 -4
- package/lib/Marketing/GetMobile/{index.mjs → index.esm.js} +6 -6
- package/lib/Marketing/GetMobileForNew/{index.mjs → index.esm.js} +6 -6
- package/lib/Marketing/List/{index.mjs → index.esm.js} +5 -5
- package/lib/Marketing/RuleDetails/{index.mjs → index.esm.js} +3 -3
- package/lib/Marketing/TgfTable/{index.mjs → index.esm.js} +3 -3
- package/lib/Marketing/activity/{index.mjs → index.esm.js} +2 -2
- package/lib/Marketing/filterIcon/{index.mjs → index.esm.js} +2 -2
- package/lib/Marketing/gift/{index.mjs → index.esm.js} +1 -1
- package/lib/Marketing/{index.mjs → index.esm.js} +3 -3
- package/lib/Marketing/kcb/{index.mjs → index.esm.js} +9 -9
- package/lib/Marketing/popper/{index.mjs → index.esm.js} +5 -4
- package/lib/Marketing/popper/index.js +1 -1
- package/lib/Marketing/teleport/{index.mjs → index.esm.js} +3 -2
- package/lib/Marketing/teleport/index.js +1 -1
- package/lib/Marketing/tipsLayer/{index.mjs → index.esm.js} +2 -2
- package/lib/Marketing/tuiguangfei/{index.mjs → index.esm.js} +6 -6
- package/lib/Marketing/xys/{index.mjs → index.esm.js} +15 -15
- package/lib/MarketingPage/{index.mjs → index.esm.js} +8 -8
- package/lib/MedicalListLayer/component/medicalList/{index.mjs → index.esm.js} +1 -1
- package/lib/MedicalListLayer/{index.mjs → index.esm.js} +8 -8
- package/lib/MedicalListLayer/index.js +1 -1
- package/lib/MobileAuth/{index.mjs → index.esm.js} +3 -3
- package/lib/MobileAuthLayer/{index.mjs → index.esm.js} +11 -11
- package/lib/MobileAuthLayer/jigsaw/{index.mjs → index.esm.js} +6 -6
- package/lib/MobileLayer/crm/{index.mjs → index.esm.js} +10 -10
- package/lib/MobileLayer/default/{index.mjs → index.esm.js} +10 -10
- package/lib/MobileLayer/{index.mjs → index.esm.js} +3 -3
- package/lib/MultiSelect/{index.mjs → index.esm.js} +9 -9
- package/lib/NoticeTips/{index.mjs → index.esm.js} +5 -5
- package/lib/NoticeTips/noticeTips/{index.mjs → index.esm.js} +2 -2
- package/lib/OcrLayer/{index.mjs → index.esm.js} +4 -4
- package/lib/PageLoading/{index.mjs → index.esm.js} +6 -6
- package/lib/Panel/{index.mjs → index.esm.js} +3 -3
- package/lib/PhotoBox/{index.mjs → index.esm.js} +2 -2
- package/lib/Picker/{index.mjs → index.esm.js} +11 -11
- package/lib/Picker/index.js +1 -1
- package/lib/PickerLongText/{index.mjs → index.esm.js} +11 -11
- package/lib/PickerLongText/index.js +1 -1
- package/lib/PlanSetting/{index.mjs → index.esm.js} +4 -4
- package/lib/PlanSetting/index.js +1 -1
- package/lib/PlanSetting/style.css +1 -1
- package/lib/PlanSettingLayer/{index.mjs → index.esm.js} +6 -6
- package/lib/PlanSubPlan/{index.mjs → index.esm.js} +3 -3
- package/lib/PosterLayer/{index.mjs → index.esm.js} +12 -12
- package/lib/PrizeLayer/{index.mjs → index.esm.js} +12 -12
- package/lib/ProPosterLayer/{index.mjs → index.esm.js} +9 -9
- package/lib/ProPosterLayer/poster/{index.mjs → index.esm.js} +6 -7
- package/lib/ProPosterLayer/poster/index.js +1 -1
- package/lib/ProPosterLayer/poster/style.css +1 -1
- package/lib/ProductLayer/actionSheet/{index.mjs → index.esm.js} +2 -2
- package/lib/ProductLayer/emailLayer/{index.mjs → index.esm.js} +3 -3
- package/lib/ProductLayer/fileListLayer/{index.mjs → index.esm.js} +5 -5
- package/lib/ProductLayer/{index.mjs → index.esm.js} +15 -15
- package/lib/ProductLayer/js/util/{index.mjs → index.esm.js} +1 -1
- package/lib/ProductLayer/layer/{index.mjs → index.esm.js} +4 -4
- package/lib/ProductLayer/productDetailLayer/{index.mjs → index.esm.js} +8 -8
- package/lib/ProductLayer/productDetailLayer/index.js +1 -1
- package/lib/ProductLayer/saleAreaLayer/{index.mjs → index.esm.js} +6 -6
- package/lib/ProductLayer/shareTipLayer/{index.mjs → index.esm.js} +1 -1
- package/lib/QRCode/{index.mjs → index.esm.js} +1 -1
- package/lib/QrcodeLayer/{index.mjs → index.esm.js} +7 -7
- package/lib/Questionnaire/component/checkbox/{index.mjs → index.esm.js} +5 -5
- package/lib/Questionnaire/component/input/{index.mjs → index.esm.js} +1 -1
- package/lib/Questionnaire/component/questionItem/{index.mjs → index.esm.js} +5 -5
- package/lib/Questionnaire/component/questionTitle/{index.mjs → index.esm.js} +2 -2
- package/lib/Questionnaire/component/radio/{index.mjs → index.esm.js} +5 -5
- package/lib/Questionnaire/{index.mjs → index.esm.js} +4 -4
- package/lib/Recognition/createDialog/{index.mjs → index.esm.js} +2 -2
- package/lib/Recognition/dialog/{index.mjs → index.esm.js} +2 -2
- package/lib/Recognition/{index.mjs → index.esm.js} +5 -5
- package/lib/Recognition/util/{index.mjs → index.esm.js} +1 -1
- package/lib/RecordRuleLayer/{index.mjs → index.esm.js} +9 -9
- package/lib/RecordRuleLayer/index.js +1 -1
- package/lib/ReplayLayer/{index.mjs → index.esm.js} +7 -7
- package/lib/RowCascadePicker/frequency/{index.mjs → index.esm.js} +2 -2
- package/lib/RowCascadePicker/{index.mjs → index.esm.js} +12 -12
- package/lib/RowCascadePicker/rowPicker/{index.mjs → index.esm.js} +3 -3
- package/lib/RowCascadePicker/scrollList/{index.mjs → index.esm.js} +2 -2
- package/lib/RowCascadePicker/search/{index.mjs → index.esm.js} +2 -2
- package/lib/RowCascadePickerV2/frequency/{index.mjs → index.esm.js} +1 -1
- package/lib/RowCascadePickerV2/{index.mjs → index.esm.js} +12 -12
- package/lib/RowCascadePickerV2/rowPicker/{index.mjs → index.esm.js} +2 -2
- package/lib/RowCascadePickerV2/scrollList/{index.mjs → index.esm.js} +1 -1
- package/lib/RowCascadePickerV2/searchList/{index.mjs → index.esm.js} +2 -2
- package/lib/Rule/{index.mjs → index.esm.js} +10 -10
- package/lib/Rule/index.js +1 -1
- package/lib/Scroll/{index.mjs → index.esm.js} +1 -1
- package/lib/Signature/{index.mjs → index.esm.js} +2 -2
- package/lib/SlidePoster/{index.mjs → index.esm.js} +7 -7
- package/lib/Stepper/{index.mjs → index.esm.js} +2 -2
- package/lib/Sticky/{index.mjs → index.esm.js} +2 -2
- package/lib/Style/{index.mjs → index.esm.js} +1 -1
- package/lib/Swipe/{index.mjs → index.esm.js} +7 -7
- package/lib/Switch/{index.mjs → index.esm.js} +2 -2
- package/lib/Tab/{index.mjs → index.esm.js} +4 -4
- package/lib/Timeline/{index.mjs → index.esm.js} +3 -3
- package/lib/Toast/{index.mjs → index.esm.js} +8 -8
- package/lib/TransferPay/{index.mjs → index.esm.js} +2 -2
- package/lib/UserAuth/{index.mjs → index.esm.js} +2 -2
- package/lib/common/addon/{index.mjs → index.esm.js} +2 -2
- package/lib/common/baseelement/{index.mjs → index.esm.js} +2 -2
- package/lib/common/button/{index.mjs → index.esm.js} +2 -2
- package/lib/common/dynamicform/{index.mjs → index.esm.js} +2 -2
- package/lib/common/forminput/{index.mjs → index.esm.js} +3 -3
- package/lib/common/goldlayer/{index.mjs → index.esm.js} +5 -5
- package/lib/common/iconbank/{index.mjs → index.esm.js} +1 -1
- package/lib/common/iconcontact/{index.mjs → index.esm.js} +1 -1
- package/lib/common/iconphoto/{index.mjs → index.esm.js} +1 -1
- package/lib/common/input/{index.mjs → index.esm.js} +2 -2
- package/lib/common/layer/{index.mjs → index.esm.js} +4 -4
- package/lib/common/popup/{index.mjs → index.esm.js} +3 -3
- package/lib/common/scroll/{index.mjs → index.esm.js} +4 -4
- package/lib/common/scroll/index.js +1 -1
- package/lib/common/scrollZoom/bubble/{index.mjs → index.esm.js} +1 -1
- package/lib/common/scrollZoom/{index.mjs → index.esm.js} +4 -4
- package/lib/common/scrollZoom/scroll/{index.mjs → index.esm.js} +6 -6
- package/lib/common/scrollZoom/scroll/index.js +1 -1
- package/lib/common/svgicon/{index.mjs → index.esm.js} +1 -1
- package/lib/index.esm.js +515 -0
- package/lib/index.js +1 -1
- package/lib/mixins/bind-event/{index.mjs → index.esm.js} +1 -1
- package/lib/mixins/dynamic-form/{index.mjs → index.esm.js} +3 -3
- package/lib/mixins/fixed-input/{index.mjs → index.esm.js} +1 -1
- package/lib/mixins/fontsize/{index.mjs → index.esm.js} +1 -1
- package/lib/mixins/form-input/{index.mjs → index.esm.js} +3 -3
- package/lib/mixins/gold-change/{index.mjs → index.esm.js} +1 -1
- package/lib/mixins/gold-element/{index.mjs → index.esm.js} +1 -1
- package/lib/mixins/mobile-layer/{index.mjs → index.esm.js} +5 -5
- package/lib/mixins/poster-layer/{index.mjs → index.esm.js} +3 -3
- package/lib/mixins/touch/{index.mjs → index.esm.js} +1 -1
- package/lib/toBase64/{index.mjs → index.esm.js} +2 -2
- package/lib/utils/BScroll/constants/{index.mjs → index.esm.js} +1 -1
- package/lib/utils/app/{index.mjs → index.esm.js} +1 -1
- package/lib/utils/camelcase/{index.mjs → index.esm.js} +1 -1
- package/lib/utils/create/{index.mjs → index.esm.js} +2 -2
- package/lib/utils/create/instantiate-component/{index.mjs → index.esm.js} +1 -1
- package/lib/utils/create/parse-render/{index.mjs → index.esm.js} +2 -2
- package/package.json +5 -4
- package/lib/BScroll/index.mjs +0 -1
- package/lib/index.mjs +0 -515
- /package/lib/BankSelect/js/{index.mjs → index.esm.js} +0 -0
- /package/lib/ClickOnce/{index.mjs → index.esm.js} +0 -0
- /package/lib/DiseaseSelect/collapse/dom/{index.mjs → index.esm.js} +0 -0
- /package/lib/DiseaseSelect/collapse/emitter/{index.mjs → index.esm.js} +0 -0
- /package/lib/FigurePic/compress/{index.mjs → index.esm.js} +0 -0
- /package/lib/GoldCert/const/{index.mjs → index.esm.js} +0 -0
- /package/lib/GoldFinanceChart/colorConfig/{index.mjs → index.esm.js} +0 -0
- /package/lib/GoldFinanceChartV2/config/{index.mjs → index.esm.js} +0 -0
- /package/lib/Marketing/utils/{index.mjs → index.esm.js} +0 -0
- /package/lib/Pdfjs/{index.mjs → index.esm.js} +0 -0
- /package/lib/QRCode/qrcode/{index.mjs → index.esm.js} +0 -0
- /package/lib/ResourcePreload/{index.mjs → index.esm.js} +0 -0
- /package/lib/SlidePoster/poster/{index.mjs → index.esm.js} +0 -0
- /package/lib/SlidePoster/qrcode/{index.mjs → index.esm.js} +0 -0
- /package/lib/Validator/{index.mjs → index.esm.js} +0 -0
- /package/lib/common/{index.mjs → index.esm.js} +0 -0
- /package/lib/mixins/basic-picker/{index.mjs → index.esm.js} +0 -0
- /package/lib/mixins/gold-visible/{index.mjs → index.esm.js} +0 -0
- /package/lib/mixins/noscroll/{index.mjs → index.esm.js} +0 -0
- /package/lib/mixins/picker/{index.mjs → index.esm.js} +0 -0
- /package/lib/mixins/popup/{index.mjs → index.esm.js} +0 -0
- /package/lib/mixins/visible/{index.mjs → index.esm.js} +0 -0
- /package/lib/utils/assign/{index.mjs → index.esm.js} +0 -0
- /package/lib/utils/clickOutside/{index.mjs → index.esm.js} +0 -0
- /package/lib/utils/create-api/{index.mjs → index.esm.js} +0 -0
- /package/lib/utils/date/{index.mjs → index.esm.js} +0 -0
- /package/lib/utils/dom/{index.mjs → index.esm.js} +0 -0
- /package/lib/utils/encrypt/{index.mjs → index.esm.js} +0 -0
- /package/lib/utils/event/{index.mjs → index.esm.js} +0 -0
- /package/lib/utils/helpers/{index.mjs → index.esm.js} +0 -0
- /package/lib/utils/polyfill/Array.prototype.includes/{index.mjs → index.esm.js} +0 -0
- /package/lib/utils/polyfill/Object.keys/{index.mjs → index.esm.js} +0 -0
- /package/lib/utils/position/{index.mjs → index.esm.js} +0 -0
- /package/lib/utils/post/{index.mjs → index.esm.js} +0 -0
- /package/lib/utils/raf/{index.mjs → index.esm.js} +0 -0
- /package/lib/utils/vueAwesomeSwiper/{index.mjs → index.esm.js} +0 -0
|
@@ -4,16 +4,16 @@ import _findInstanceProperty from "@babel/runtime-corejs3/core-js/instance/find"
|
|
|
4
4
|
import _includesInstanceProperty from "@babel/runtime-corejs3/core-js/instance/includes";
|
|
5
5
|
import _JSON$stringify from "@babel/runtime-corejs3/core-js/json/stringify";
|
|
6
6
|
import _indexOfInstanceProperty from "@babel/runtime-corejs3/core-js/instance/index-of";
|
|
7
|
-
import { c as create } from "../utils/create/index.
|
|
8
|
-
import
|
|
9
|
-
import { A as ActPopup } from "../common/popup/index.
|
|
10
|
-
import { p as popupMixin } from "../mixins/popup/index.
|
|
11
|
-
import { n as noscrollMixin } from "../mixins/noscroll/index.
|
|
12
|
-
import { b as basicPickerMixin } from "../mixins/basic-picker/index.
|
|
13
|
-
import { p as pickerMixin } from "../mixins/picker/index.
|
|
14
|
-
import { v as visibleMixin } from "../mixins/visible/index.
|
|
15
|
-
import { U as USE_TRANSITION } from "../utils/BScroll/constants/index.
|
|
16
|
-
import { n as normalizeComponent } from "../common/index.
|
|
7
|
+
import { c as create } from "../utils/create/index.esm.js";
|
|
8
|
+
import BScroll from "better-scroll";
|
|
9
|
+
import { A as ActPopup } from "../common/popup/index.esm.js";
|
|
10
|
+
import { p as popupMixin } from "../mixins/popup/index.esm.js";
|
|
11
|
+
import { n as noscrollMixin } from "../mixins/noscroll/index.esm.js";
|
|
12
|
+
import { b as basicPickerMixin } from "../mixins/basic-picker/index.esm.js";
|
|
13
|
+
import { p as pickerMixin } from "../mixins/picker/index.esm.js";
|
|
14
|
+
import { v as visibleMixin } from "../mixins/visible/index.esm.js";
|
|
15
|
+
import { U as USE_TRANSITION } from "../utils/BScroll/constants/index.esm.js";
|
|
16
|
+
import { n as normalizeComponent } from "../common/index.esm.js";
|
|
17
17
|
import './style.css';var EVENT_SELECT = "select";
|
|
18
18
|
var EVENT_VALUE_CHANGE = "value-change";
|
|
19
19
|
var EVENT_CANCEL = "cancel";
|
|
@@ -146,7 +146,7 @@ var _sfc_main = {
|
|
|
146
146
|
if (!_this5.$refs.scrollWrapper) {
|
|
147
147
|
return;
|
|
148
148
|
}
|
|
149
|
-
_this5.scrollIns = new
|
|
149
|
+
_this5.scrollIns = new BScroll(_this5.$refs.scrollWrapper, {
|
|
150
150
|
probeType: 3,
|
|
151
151
|
click: true,
|
|
152
152
|
scrollY: true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require('./style.css');var _toConsumableArray=require("@babel/runtime-corejs3/helpers/toConsumableArray");var _sliceInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/slice");var _findInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/find");var _includesInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/includes");var _JSON$stringify=require("@babel/runtime-corejs3/core-js/json/stringify");var _indexOfInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/index-of");var utils_create=require("../utils/create/index.js");var
|
|
1
|
+
"use strict";require('./style.css');var _toConsumableArray=require("@babel/runtime-corejs3/helpers/toConsumableArray");var _sliceInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/slice");var _findInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/find");var _includesInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/includes");var _JSON$stringify=require("@babel/runtime-corejs3/core-js/json/stringify");var _indexOfInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/index-of");var utils_create=require("../utils/create/index.js");var BScroll=require("better-scroll");var common_popup=require("../common/popup/index.js");var mixins_popup=require("../mixins/popup/index.js");var mixins_noscroll=require("../mixins/noscroll/index.js");var mixins_basicPicker=require("../mixins/basic-picker/index.js");var mixins_picker=require("../mixins/picker/index.js");var mixins_visible=require("../mixins/visible/index.js");var utils_BScroll_constants=require("../utils/BScroll/constants/index.js");var common=require("../common/index.js");var EVENT_SELECT="select";var EVENT_VALUE_CHANGE="value-change";var EVENT_CANCEL="cancel";var _sfc_main={name:"ActPickerLongText",mixins:[mixins_popup.popupMixin,mixins_visible.visibleMixin,mixins_basicPicker.basicPickerMixin,mixins_picker.pickerMixin,mixins_noscroll.noscrollMixin],props:{pending:{type:Boolean,default:false}},data:function data(){var _context;return{finalData:_sliceInstanceProperty(_context=this.data).call(_context),indexes:[],selectedIndexes:[],initialIndexes:[]}},watch:{data:{handler:function handler(){var _this=this;this.initData();this.$nextTick(function(){_this._initScroll()})},deep:true}},created:function created(){this.initData()},mounted:function mounted(){this._initScroll()},methods:{initData:function initData(){var _context2,_this2=this;if(!Array.isArray(this.selectedIndex)||!Array.isArray(this.data))return;var data2=this.data&&_sliceInstanceProperty(_context2=this.data).call(_context2);var valItem=data2&&_findInstanceProperty(data2).call(data2,function(item,index){var _context3;return _includesInstanceProperty(_context3=_this2.selectedIndex).call(_context3,index)});valItem&&(this._values=valItem[this.valueKey]?[valItem[this.valueKey]]:[]);this.indexes=this.selectedIndex||[];this.initialIndexes=_toConsumableArray(this.selectedIndex||[]);this.selectedIndexes=_toConsumableArray(this.selectedIndex||[])},confirm:function confirm(){if(!this._canConfirm()){return}this.hide();var changed=false;if(_JSON$stringify(this.indexes)!==_JSON$stringify(this.selectedIndexes)){changed=true;this.indexes=_toConsumableArray(this.selectedIndexes)}this.initialIndexes=_toConsumableArray(this.indexes);var emitIndex=_toConsumableArray(this.indexes);this.$emit(EVENT_SELECT,this._values,emitIndex,this.pickerSelectedText);if(changed){this.$emit(EVENT_VALUE_CHANGE,this._values,emitIndex,this.pickerSelectedText)}},maskClick:function maskClick(){this.maskClosable&&this.cancel()},cancel:function cancel(){this.hide();this.selectedIndexes=_toConsumableArray(this.initialIndexes);if(this.initialIndexes.length>0){var index=this.initialIndexes[0];var data2=this.data&&this.data[0];if(data2&&data2[index]){this._values=[data2[index][this.valueKey]];this.pickerSelectedText=[data2[index][this.textKey]]}}else{this._values=[];this.pickerSelectedText=[]}this.$emit(EVENT_CANCEL)},show:function show(){var _this3=this;if(this.isVisible){return}this.isVisible=true;this.selectedIndexes=_toConsumableArray(this.indexes);this.initialIndexes=_toConsumableArray(this.indexes);this.$nextTick(function(){_this3.refresh()})},hide:function hide(){if(!this.isVisible){return}this.isVisible=false},setData:function setData(data2){var selectedIndex=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];this.indexes=Array.isArray(selectedIndex)?_toConsumableArray(selectedIndex):[];data2&&(this.finalData=_sliceInstanceProperty(data2).call(data2));this.refresh()},refresh:function refresh(){var _this4=this;this.$nextTick(function(){if(_this4.scrollIns){_this4.scrollIns.refresh()}})},_initScroll:function _initScroll(){var _this5=this;if(this.scrollIns){this.scrollIns.destroy()}this.$nextTick(function(){if(!_this5.$refs.scrollWrapper){return}_this5.scrollIns=new BScroll(_this5.$refs.scrollWrapper,{probeType:3,click:true,scrollY:true,scrollX:false,mouseWheel:{speed:20,invert:false},observeDOM:true,useTransition:utils_BScroll_constants.USE_TRANSITION,bounce:{top:true,bottom:true},momentum:true,deceleration:.001,swipeBounceTime:500,bounceTime:800});clearTimeout(_this5.refreshTimer);_this5.refreshTimer=setTimeout(function(){_this5.scrollIns&&_this5.scrollIns.refresh();_this5.refreshTimer=null},20)})},_destroyScroll:function _destroyScroll(){if(this.scrollIns){this.scrollIns.destroy();this.scrollIns=null}},_canConfirm:function _canConfirm(){return true},selectItem:function selectItem(itemIndex,item){var key=itemIndex;if(this.selectedIndexes.length===1&&this.selectedIndexes[0]===key){return}this.selectedIndexes=[key];this._values=[item[this.valueKey]];this.pickerSelectedText=[item[this.textKey]]},isSelected:function isSelected(itemIndex){var _context4;var key=itemIndex;return _indexOfInstanceProperty(_context4=this.selectedIndexes).call(_context4,key)>-1}},beforeDestroy:function beforeDestroy(){if(this.scrollIns){this.scrollIns.destroy();this.scrollIns=null}},components:{ActPopup:common_popup.ActPopup}};var _sfc_render=function render(){var _vm=this,_c=_vm._self._c;return _c("transition",{attrs:{"name":"act-picker-fade"}},[_c("act-popup",{directives:[{name:"show",rawName:"v-show",value:_vm.isVisible,expression:"isVisible"}],attrs:{"type":"picker","mask":true,"center":false,"topBorderRadius":true,"zIndex":_vm.zIndex},on:{"touchmove":function touchmove($event){$event.preventDefault()},"mask-click":_vm.maskClick}},[_c("transition",{attrs:{"name":"act-picker-move"}},[_c("div",{directives:[{name:"show",rawName:"v-show",value:_vm.isVisible,expression:"isVisible"}],staticClass:"act-picker-panel",on:{"click":function click($event){$event.stopPropagation()}}},[_c("div",{staticClass:"act-picker-choose"},[_c("span",{staticClass:"act-picker-cancel",style:{color:_vm.cancelColor},on:{"click":_vm.cancel}},[_vm._v(_vm._s(_vm._cancelTxt))]),_c("span",{staticClass:"act-picker-confirm",style:{color:_vm.confirmColor},on:{"click":_vm.confirm}},[_vm._v(_vm._s(_vm._confirmTxt))]),_c("div",{staticClass:"act-picker-title-group"},[_c("h1",{staticClass:"act-picker-title",domProps:{"innerHTML":_vm._s(_vm.title)}}),_vm.subtitle?_c("h2",{staticClass:"act-picker-subtitle",domProps:{"innerHTML":_vm._s(_vm.subtitle)}}):_vm._e()])]),_c("div",{staticClass:"act-picker-content"},[_c("i",{staticClass:"border-bottom-1px"}),_c("i",{staticClass:"border-top-1px"}),_c("div",{ref:"scrollWrapper",staticClass:"act-picker-long-text-wrapper"},[_c("div",{staticClass:"act-picker-long-text-scroll"},_vm._l(_vm.finalData,function(data2,index){return _c("div",{key:index},[_c("ul",_vm._l(data2,function(item,id2){return _c("li",{key:id2,staticClass:"act-picker-long-text-item",class:{on:_vm.isSelected(id2)},on:{"click":function click($event){return _vm.selectItem(id2,item)}}},[_c("span",{staticClass:"act-picker-long-text-item-radio"}),_c("span",{staticClass:"act-picker-long-text-item-desc",domProps:{"textContent":_vm._s(item[_vm.textKey])}})])}),0)])}),0)])])])])],1)],1)};var _sfc_staticRenderFns=[];var __component__=common.normalizeComponent(_sfc_main,_sfc_render,_sfc_staticRenderFns,false,null,"ccd8bf0f");var PickerLongText=__component__.exports;PickerLongText.install=function(Vue){Vue.component(PickerLongText.name,PickerLongText);Vue.prototype["$createPickerLongText"]=utils_create.create(PickerLongText,Vue)};exports.PickerLongText=PickerLongText;
|
|
@@ -23,11 +23,11 @@ import _Number$MAX_SAFE_INTEGER from "@babel/runtime-corejs3/core-js/number/max-
|
|
|
23
23
|
import _indexOfInstanceProperty from "@babel/runtime-corejs3/core-js/instance/index-of";
|
|
24
24
|
import _concatInstanceProperty from "@babel/runtime-corejs3/core-js/instance/concat";
|
|
25
25
|
import _sliceInstanceProperty from "@babel/runtime-corejs3/core-js/instance/slice";
|
|
26
|
-
import { c as create } from "../utils/create/index.
|
|
26
|
+
import { c as create } from "../utils/create/index.esm.js";
|
|
27
27
|
import draggable from "vuedraggable";
|
|
28
28
|
import { cloneDeep, isEmpty } from "lodash-es";
|
|
29
|
-
import { P as PlanSubPlan } from "../PlanSubPlan/index.
|
|
30
|
-
import { n as normalizeComponent } from "../common/index.
|
|
29
|
+
import { P as PlanSubPlan } from "../PlanSubPlan/index.esm.js";
|
|
30
|
+
import { n as normalizeComponent } from "../common/index.esm.js";
|
|
31
31
|
import './style.css';var _excluded = ["order"];
|
|
32
32
|
function ownKeys(e, r) {
|
|
33
33
|
var t = _Object$keys(e);
|
|
@@ -739,7 +739,7 @@ var _sfc_staticRenderFns = [function() {
|
|
|
739
739
|
staticClass: "tip"
|
|
740
740
|
}, [_vm._v("(至少选择2项)")])]);
|
|
741
741
|
}];
|
|
742
|
-
var __component__ = /* @__PURE__ */ normalizeComponent(_sfc_main, _sfc_render, _sfc_staticRenderFns, false, null, "
|
|
742
|
+
var __component__ = /* @__PURE__ */ normalizeComponent(_sfc_main, _sfc_render, _sfc_staticRenderFns, false, null, "90d41f3c");
|
|
743
743
|
var PlanSetting = __component__.exports;
|
|
744
744
|
PlanSetting.install = function(Vue) {
|
|
745
745
|
Vue.component(PlanSetting.name, PlanSetting);
|
package/lib/PlanSetting/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require('./style.css');var _Object$getOwnPropertySymbols=require("@babel/runtime-corejs3/core-js/object/get-own-property-symbols");var _Object$getOwnPropertyDescriptor=require("@babel/runtime-corejs3/core-js/object/get-own-property-descriptor");var _Object$getOwnPropertyDescriptors=require("@babel/runtime-corejs3/core-js/object/get-own-property-descriptors");var _Object$defineProperties=require("@babel/runtime-corejs3/core-js/object/define-properties");var _Object$defineProperty=require("@babel/runtime-corejs3/core-js/object/define-property");var _objectWithoutProperties=require("@babel/runtime-corejs3/helpers/objectWithoutProperties");var _defineProperty=require("@babel/runtime-corejs3/helpers/defineProperty");var _toConsumableArray=require("@babel/runtime-corejs3/helpers/toConsumableArray");var _Map=require("@babel/runtime-corejs3/core-js/map");var _forEachInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/for-each");var _someInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/some");var _findIndexInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/find-index");var _includesInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/includes");var _Object$assign=require("@babel/runtime-corejs3/core-js/object/assign");var _parseInt=require("@babel/runtime-corejs3/core-js/parse-int");var _Object$keys=require("@babel/runtime-corejs3/core-js/object/keys");var _mapInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/map");var _filterInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/filter");var _Promise=require("@babel/runtime-corejs3/core-js/promise");var _findInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/find");var _sortInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/sort");var _Number$MAX_SAFE_INTEGER=require("@babel/runtime-corejs3/core-js/number/max-safe-integer");var _indexOfInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/index-of");var _concatInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/concat");var _sliceInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/slice");var _excluded=["order"];function ownKeys(e,r){var t=_Object$keys(e);if(_Object$getOwnPropertySymbols){var o=_Object$getOwnPropertySymbols(e);r&&(o=_filterInstanceProperty(o).call(o,function(r2){return _Object$getOwnPropertyDescriptor(e,r2).enumerable})),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var _context23,_context24;var t=null!=arguments[r]?arguments[r]:{};r%2?_forEachInstanceProperty(_context23=ownKeys(Object(t),true)).call(_context23,function(r2){_defineProperty(e,r2,t[r2])}):_Object$getOwnPropertyDescriptors?_Object$defineProperties(e,_Object$getOwnPropertyDescriptors(t)):_forEachInstanceProperty(_context24=ownKeys(Object(t))).call(_context24,function(r2){_Object$defineProperty(e,r2,_Object$getOwnPropertyDescriptor(t,r2))})}return e}var utils_create=require("../utils/create/index.js");var draggable=require("vuedraggable");var lodashEs=require("lodash-es");var PlanSubPlan=require("../PlanSubPlan/index.js");var common=require("../common/index.js");var RATE_TIP="假定分红实现率并非保险公司提供,仅用于保险专业人员个人对分红型产品未来的分红收益预估,并不能等于未来分红实际收益";var costTypeOrder=[14,5,6,34,35,45,46,20,47,48,21,22,42,27,3,23,28,37,38,39,4,40,41,15,16,36];var _sfc_main={name:"ActPlanSetting",props:{isMain:{type:Boolean,default:false},options:{type:Object,default:function _default(){return{}}},propData:{type:Object,default:function _default2(){return{}}}},components:{draggable,ActPlanSubPlan:PlanSubPlan.PlanSubPlan},data:function data(){return{quickList:[50,80,100],localOptions:lodashEs.cloneDeep(this.options),isRateShow:true,isShowSubPlan:false,tipDialog:null,errorMsg:"",selectedIndex:0,settingMap:{},productList:[],disableOptions:[14,5,6],curSetting:{dividendRate:"",modules:[],type:"table",subPlanList:[]}}},watch:{propData:{immediate:true,deep:true,handler:function handler(){this.initData()}},curSetting:{deep:true,handler:function handler2(val){if(this.curProduct&&this.curProduct.productId){this.updateSettingMap(val)}}}},computed:{curProduct:function curProduct(){return this.productList[this.selectedIndex]||{}},productOrder:function productOrder(){var _context;var order=new _Map;_forEachInstanceProperty(_context=this.productList).call(_context,function(item,index){order.set(item.gid,index)});return order},isShowSubPlanContent:function isShowSubPlanContent(){var costTable=this.propData.costTableMap[this.curProduct.productId];if(!costTable)return false;var _costTable$colsType=costTable.colsType,colsType=_costTable$colsType===void 0?[]:_costTable$colsType;var filerKeys=[34,35];var hasFilterKeys=_someInstanceProperty(filerKeys).call(filerKeys,function(item){return _findIndexInstanceProperty(colsType).call(colsType,function(col){return String(col)===String(item)})>-1});return this.isShouXian(this.curProduct)&&!hasFilterKeys&&!(this.isPersonIns(this.curProduct)||this.isTaxHealthIns(this.curProduct))}},methods:{isPersonIns:function isPersonIns(){var product=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};var cate=product.common&&product.common.cate;if(!cate){return false}return Number(cate.isPersonIns)===1},isTaxHealthIns:function isTaxHealthIns(){var product=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};var cate=product.common&&product.common.cate;if(!cate){return false}return Number(cate.isTaxHealthIns)===1},isShouXian:function isShouXian(){var _context2;var product=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};var cate=product.common&&product.common.cate;if(!cate){return false}var firstLevelId=cate.firstLevelId,secondLevelId=cate.secondLevelId;var shouxian={35:["37","60"],42:["44","45","63"],49:["64","65"]};firstLevelId=String(firstLevelId);secondLevelId=String(secondLevelId);return shouxian[firstLevelId]&&_includesInstanceProperty(_context2=shouxian[firstLevelId]).call(_context2,secondLevelId)},initData:function initData(){this.localOptions=lodashEs.cloneDeep(this.options);var _this$propData=this.propData,selectIndex=_this$propData.selectIndex,costTableMap=_this$propData.costTableMap,productList=_this$propData.productList,subPlan=_this$propData.subPlan;if(!costTableMap)return;this.selectedIndex=selectIndex;this.productList=productList;if(!lodashEs.isEmpty(this.localOptions)){this.settingMap=lodashEs.cloneDeep(this.localOptions)}this.handleMap(costTableMap,subPlan);this.curSetting=_Object$assign({dividendRate:"",modules:[],type:"table",subPlanList:[]},this.settingMap[this.curProduct.productId]||{})},quickInput:function quickInput(item){this.updateCurrentSetting("dividendRate",item);this.errorMsg=""},changeType:function changeType(type){this.updateCurrentSetting("type",type)},changeCurProduct:function changeCurProduct(index){this.selectedIndex=index;this.curSetting=this.settingMap[this.curProduct.productId]||{dividendRate:"",modules:[],type:"table"}},showRateTip:function showRateTip(){if(!this.tipDialog){this.tipDialog=this.$createGoldDialog({closable:false,title:"提示",content:RATE_TIP,zIndex:2222,buttonType:"sticky",confirmButtonText:"知道了",confirmButtonColor:this.isMain?"#8c7fee":"#F05A4B"})}this.tipDialog.show()},validateRate:function validateRate(e){var value=e.target.value.replace(/[^\d]/g,"");value=value===""?"":_parseInt(value);if(value>100){value="100"}else if(value<0){value="0"}else{this.errorMsg=""}this.updateCurrentSetting("dividendRate",value)},getData:function getData(){var _context3;var data2=this.settingMap;_forEachInstanceProperty(_context3=_Object$keys(data2)).call(_context3,function(productId){var _context4,_context5;var displayOptions=data2[productId].displayOptions;var modules=data2[productId].modules;data2[productId].dividendRate=data2[productId].dividendRate===""?100:Number(data2[productId].dividendRate);data2[productId].modules=_mapInstanceProperty(_context4=_filterInstanceProperty(_context5=_mapInstanceProperty(displayOptions).call(displayOptions,function(item){item.checked=_includesInstanceProperty(modules).call(modules,item.value)?1:0;return item})).call(_context5,function(item){return item.checked})).call(_context4,function(item){return item.value})});return{data:data2,selectedIndex:this.selectedIndex}},confirm:function confirm(){var _this=this;return new _Promise(function(resolve,reject){var settingData=_this.getData();var data2=settingData.data;var keys=_Object$keys(data2);for(var i=0;i<keys.length;i++){var item=data2[keys[i]];var selectedModules=item.modules;if(selectedModules.length<2){reject("请至少选择两项");return}}resolve(settingData)})},isFenHong:function isFenHong(productId){var _context6;var target=_findInstanceProperty(_context6=this.productList).call(_context6,function(item){return item.productId===productId});return target&&target.common&&target.common.cate&&+target.common.cate.isParticipating===1},isIncrease:function isIncrease(productId){var _context7;var target=_findInstanceProperty(_context7=this.productList).call(_context7,function(item){return item.productId===productId});return target&&target.common&&String(target.common.categoryid)==="1013"},isAnnuity:function isAnnuity(productId){var _context8;var target=_findInstanceProperty(_context8=this.productList).call(_context8,function(item){return item.productId===productId});return target&&!!target.annuityResultPageInfo},isYanglao:function isYanglao(productId){var _context9,_context0;var target=_findInstanceProperty(_context9=this.productList).call(_context9,function(item){return item.productId===productId});return target&&target.common&&target.common.cate&&_includesInstanceProperty(_context0=[46,48]).call(_context0,+target.common.cate.secondLevelId)},updateDisplayOptions:function updateDisplayOptions(displayOptions,prevOptions){var _context1,_context10,_context11;if(!prevOptions||!prevOptions.length)return displayOptions;var prevMap=new _Map(_mapInstanceProperty(prevOptions).call(prevOptions,function(item,index){return[String(item.value),{order:index,checked:item.checked}]}));var result=_mapInstanceProperty(_context1=_sortInstanceProperty(_context10=_mapInstanceProperty(_context11=_toConsumableArray(displayOptions)).call(_context11,function(item){var data2=prevMap.get(String(item.value));return _objectSpread(_objectSpread({},item),{},{order:data2?data2.order:_Number$MAX_SAFE_INTEGER,checked:data2?Number(data2.checked):0})})).call(_context10,function(a,b){return a.order-b.order})).call(_context1,function(_ref){var order=_ref.order,item=_objectWithoutProperties(_ref,_excluded);return item});return result},sortCols:function sortCols(){var ths=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];var colsType=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];var pairs=_mapInstanceProperty(colsType).call(colsType,function(type,index){return{type,index}});_sortInstanceProperty(pairs).call(pairs,function(a,b){var indexA=_indexOfInstanceProperty(costTypeOrder).call(costTypeOrder,a.type);var indexB=_indexOfInstanceProperty(costTypeOrder).call(costTypeOrder,b.type);if(indexA===-1&&indexB===-1){return 0}if(indexA===-1){return 1}if(indexB===-1){return-1}return indexA-indexB});var sortedThs=_mapInstanceProperty(pairs).call(pairs,function(pair){return ths[pair.index]});var sortedColsType=_mapInstanceProperty(pairs).call(pairs,function(pair){return colsType[pair.index]});return{ths:sortedThs,colsType:sortedColsType}},handleMap:function handleMap(costTableMap){var _this2=this,_context19;var subPlan=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};var getRenderTable=function getRenderTable2(productId,costDataItem){var _context12,_context16,_context17,_context18;var isFenHong2=_this2.isFenHong(productId);var costData=lodashEs.cloneDeep(costDataItem);var ths=costData&&costData.cols||[];var colsType=costData&&costData.colsType||[];var product=_findInstanceProperty(_context12=_this2.productList).call(_context12,function(item){return item.productId===productId});var subPlanList=subPlan[product.gid];var hasSubPlan=subPlanList&&subPlanList.length>0;var deathKeys=[37,4,39,41,38,40];if(costData){var _context13,_context14,_context15;var displayIdxs=[];displayIdxs=costData.display&&_filterInstanceProperty(_context13=_mapInstanceProperty(_context14=costData.display).call(_context14,function(item,index){return String(item)==="1"?index:""})).call(_context13,function(item,index){if(!hasSubPlan){return Number(colsType[index])}else{return Number(colsType[index])&&_indexOfInstanceProperty(deathKeys).call(deathKeys,Number(colsType[index]))===-1}})||[];ths=costData.cols&&_filterInstanceProperty(_context15=costData.cols).call(_context15,function(item,index){return _includesInstanceProperty(displayIdxs).call(displayIdxs,index)});colsType=_filterInstanceProperty(colsType).call(colsType,function(item,index){return _includesInstanceProperty(displayIdxs).call(displayIdxs,index)})}var _this2$sortCols=_this2.sortCols(ths,colsType),sortedThs=_this2$sortCols.ths,sortedColsType=_this2$sortCols.colsType;ths=sortedThs;colsType=sortedColsType;var irrName=isFenHong2?"保证IRR":"IRR";var simpleName=isFenHong2?"保证单利":"单利";var redIrrName="红利IRR";var redSimpleName="红利单利";if(hasSubPlan){irrName="减保后-".concat(irrName);simpleName="减保后-".concat(simpleName);redIrrName="减保后-".concat(redIrrName);redSimpleName="减保后-".concat(redSimpleName)}if(isFenHong2||_this2.isAnnuity(productId)||_this2.isIncrease(productId)){ths.push(irrName);colsType.push("irr");ths.push(simpleName);colsType.push("simple")}if(isFenHong2){ths.push(redIrrName);colsType.push("redIrr");ths.push(redSimpleName);colsType.push("redSimple")}var fixedType=_filterInstanceProperty(_context16=_this2.disableOptions).call(_context16,function(item){return _includesInstanceProperty(colsType).call(colsType,String(item))});var displayOptions=_mapInstanceProperty(colsType).call(colsType,function(item,index){return{label:ths[index],value:item,checked:1,originalIndex:index}});var disabledOptions=_mapInstanceProperty(fixedType).call(fixedType,function(item){return _findInstanceProperty(displayOptions).call(displayOptions,function(option){return option.value===String(item)})});displayOptions=_filterInstanceProperty(displayOptions).call(displayOptions,function(item){return!_includesInstanceProperty(fixedType).call(fixedType,Number(item.value))});return _concatInstanceProperty(_context18=disabledOptions||[]).call(_context18,displayOptions)};_forEachInstanceProperty(_context19=_Object$keys(costTableMap)).call(_context19,function(productId){var _context20,_context21;var displayOptions=getRenderTable(productId,costTableMap[productId]);var type="table";var dividendRate=100;if(_this2.settingMap[productId]){var prevOptions=_this2.settingMap[productId]&&_this2.settingMap[productId].displayOptions;displayOptions=_this2.updateDisplayOptions(displayOptions,prevOptions);type=_this2.settingMap[productId].type;dividendRate=_this2.settingMap[productId].dividendRate}var modules=_mapInstanceProperty(_context20=_filterInstanceProperty(displayOptions).call(displayOptions,function(item){return Number(item.checked)===1})).call(_context20,function(item){return item.value});var product=_findInstanceProperty(_context21=_this2.productList).call(_context21,function(item){return item.productId===productId});_this2.settingMap[productId]={dividendRate,modules,displayOptions,type,subPlanList:subPlan[product.gid]||[]}})},onMove:function onMove(e){var element=e.relatedContext.element;if(element&&Number(element.value)===14)return false;return true},updateCurrentSetting:function updateCurrentSetting(key,value){if(!this.curProduct||!this.curProduct.productId)return;this.curSetting=_objectSpread(_objectSpread({},this.curSetting),{},_defineProperty({},key,value))},updateSettingMap:function updateSettingMap(setting){this.$set(this.settingMap,this.curProduct.productId,setting)},updateCurSetting:function updateCurSetting(){if(this.curProduct&&this.curProduct.productId){var defaultSetting={dividendRate:"",modules:[],type:"table",subPlanList:[]};this.curSetting=_Object$assign(defaultSetting,this.settingMap[this.curProduct.productId]||{})}},addSubPlan:function addSubPlan(){this.$emit("addSubPlan")}}};var _sfc_render=function render(){var _vm=this,_c=_vm._self._c;return _c("div",{class:["act-PlanSetting"]},[_c("div",{class:["plan-setting-layer-content",{"main":_vm.isMain}]},[_c("div",{staticClass:"product-wrapper"},[_c("div",{staticClass:"product-list"},_vm._l(_vm.productList,function(product,index){return _c("div",{key:index,class:["product-item",{active:_vm.selectedIndex===index}],on:{"click":function click($event){return _vm.changeCurProduct(index)}}},[_c("div",{staticClass:"ellipsis-3"},[_vm._v(" "+_vm._s(product.text)+" ")])])}),0)]),_vm.curProduct&&_vm.isFenHong(_vm.curProduct.productId)?_c("div",{staticClass:"plan-setting-layer-content-item"},[_c("div",{staticClass:"plan-setting-layer-content-item-title",on:{"click":function click($event){_vm.isRateShow=!_vm.isRateShow}}},[_c("h2",[_vm._v("假定分红实现率"),_c("i",{staticClass:"icon-question",on:{"click":_vm.showRateTip}})]),_c("i",{class:["icon-toggle",_vm.isRateShow?"active":""]})]),_c("div",{directives:[{name:"show",rawName:"v-show",value:_vm.isRateShow,expression:"isRateShow"}]},[_c("div",{staticClass:"plan-setting-layer-content-item-input rate-input-wrap"},[_c("div",{staticClass:"input-label"},[_vm._v("假定分红实现率")]),_c("div",{staticClass:"input-area"},[_c("input",{directives:[{name:"model",rawName:"v-model",value:_vm.curSetting.dividendRate,expression:"curSetting.dividendRate"}],class:{"error":_vm.errorMsg},attrs:{"type":"tel","pattern":"[0-9]*"},domProps:{"value":_vm.curSetting.dividendRate},on:{"input":[function($event){if($event.target.composing)return;_vm.$set(_vm.curSetting,"dividendRate",$event.target.value)},_vm.validateRate]}}),_c("span",[_vm._v("%")]),_vm.errorMsg?_c("div",{staticClass:"error-msg"},[_vm._v(_vm._s(_vm.errorMsg))]):_vm._e()])]),_c("div",{staticClass:"quick-input-wrap"},_vm._l(_vm.quickList,function(item,index){return _c("div",{key:index,staticClass:"quick-input-item",on:{"click":function click($event){return _vm.quickInput(item)}}},[_vm._v(_vm._s(item)+"%")])}),0)])]):_vm._e(),_c("div",{staticClass:"plan-setting-layer-content-item"},[_c("div",{staticClass:"plan-setting-layer-content-item-title"},[_c("h2",[_vm._v("展示模式")]),_c("div",{staticClass:"tabs-wrap"},[_c("div",{class:["tab-item",{active:_vm.curSetting.type==="table"}],on:{"click":function click($event){return _vm.changeType("table")}}},[_vm._v("列表展示")]),_c("div",{class:["tab-item",{active:_vm.curSetting.type==="chart"}],on:{"click":function click($event){return _vm.changeType("chart")}}},[_vm._v("图表展示")])])]),_c("div",{staticClass:"item-main"},[_c("div",{directives:[{name:"show",rawName:"v-show",value:_vm.curSetting.type==="table",expression:"curSetting.type === 'table'"}],staticClass:"item-main-content"},[_vm._m(0),_c("div",[_c("draggable",{staticClass:"item-main-content-list",attrs:{"chosenClass":"chosen","forceFallback":"true","animation":"500","handle":".icon-move","ghostClass":"ghost","filter":".forbid","move":_vm.onMove},model:{value:_vm.curSetting.displayOptions,callback:function callback($$v){_vm.$set(_vm.curSetting,"displayOptions",$$v)},expression:"curSetting.displayOptions"}},_vm._l(_vm.curSetting.displayOptions,function(option,index){return _c("label",{key:index,staticClass:"checkbox-item",class:{forbid:Number(option.value)===14}},[_c("input",{directives:[{name:"model",rawName:"v-model",value:_vm.curSetting.modules,expression:"curSetting.modules"}],attrs:{"disabled":Number(option.value)===14,"type":"checkbox"},domProps:{"value":option.value,"checked":Array.isArray(_vm.curSetting.modules)?_vm._i(_vm.curSetting.modules,option.value)>-1:_vm.curSetting.modules},on:{"click":function click($event){$event.stopPropagation()},"change":function change($event){var $$a=_vm.curSetting.modules,$$el=$event.target,$$c=$$el.checked?true:false;if(Array.isArray($$a)){var $$v=option.value,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&_vm.$set(_vm.curSetting,"modules",_concatInstanceProperty($$a).call($$a,[$$v]))}else{var _context22;$$i>-1&&_vm.$set(_vm.curSetting,"modules",_concatInstanceProperty(_context22=_sliceInstanceProperty($$a).call($$a,0,$$i)).call(_context22,_sliceInstanceProperty($$a).call($$a,$$i+1)))}}else{_vm.$set(_vm.curSetting,"modules",$$c)}}}}),_c("span",{staticClass:"checkbox-label"},[_vm._v(_vm._s(option.label))]),_c("i",{staticClass:"icon-move"})])}),0)],1)]),_c("div",{directives:[{name:"show",rawName:"v-show",value:_vm.curSetting.type==="chart",expression:"curSetting.type === 'chart'"}],staticClass:"item-main-chart"},[_c("div",{staticClass:"icon-empty"}),_c("p",[_vm._v("更多功能敬请期待~")])])])]),_vm.isShowSubPlanContent?_c("div",{staticClass:"plan-setting-layer-content-item"},[_c("div",{staticClass:"plan-setting-layer-content-item-title",on:{"click":function click($event){_vm.isShowSubPlan=!_vm.isShowSubPlan}}},[_c("h2",[_vm._v("减保方案")]),_c("i",{class:["icon-toggle",_vm.isShowSubPlan?"active":""]})]),_c("div",{directives:[{name:"show",rawName:"v-show",value:_vm.isShowSubPlan,expression:"isShowSubPlan"}],staticClass:"container subplan-container"},[_c("act-plan-sub-plan",{attrs:{"costTable":_vm.propData.costTableMap&&_vm.propData.costTableMap[_vm.curProduct.productId],"product":_vm.curProduct},on:{"add":_vm.addSubPlan},model:{value:_vm.curSetting.subPlanList,callback:function callback($$v){_vm.$set(_vm.curSetting,"subPlanList",$$v)},expression:"curSetting.subPlanList"}})],1)]):_vm._e(),_vm._t("extend",null,{"curProduct":_vm.curProduct})],2)])};var _sfc_staticRenderFns=[function(){var _vm=this,_c=_vm._self._c;return _c("p",{staticClass:"main-hint"},[_vm._v("展示数据"),_c("span",{staticClass:"tip"},[_vm._v("(至少选择2项)")])])}];var __component__=common.normalizeComponent(_sfc_main,_sfc_render,_sfc_staticRenderFns,false,null,"1231cd73");var PlanSetting=__component__.exports;PlanSetting.install=function(Vue){Vue.component(PlanSetting.name,PlanSetting);Vue.prototype["$createPlanSetting"]=utils_create.create(PlanSetting,Vue)};exports.PlanSetting=PlanSetting;
|
|
1
|
+
"use strict";require('./style.css');var _Object$getOwnPropertySymbols=require("@babel/runtime-corejs3/core-js/object/get-own-property-symbols");var _Object$getOwnPropertyDescriptor=require("@babel/runtime-corejs3/core-js/object/get-own-property-descriptor");var _Object$getOwnPropertyDescriptors=require("@babel/runtime-corejs3/core-js/object/get-own-property-descriptors");var _Object$defineProperties=require("@babel/runtime-corejs3/core-js/object/define-properties");var _Object$defineProperty=require("@babel/runtime-corejs3/core-js/object/define-property");var _objectWithoutProperties=require("@babel/runtime-corejs3/helpers/objectWithoutProperties");var _defineProperty=require("@babel/runtime-corejs3/helpers/defineProperty");var _toConsumableArray=require("@babel/runtime-corejs3/helpers/toConsumableArray");var _Map=require("@babel/runtime-corejs3/core-js/map");var _forEachInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/for-each");var _someInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/some");var _findIndexInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/find-index");var _includesInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/includes");var _Object$assign=require("@babel/runtime-corejs3/core-js/object/assign");var _parseInt=require("@babel/runtime-corejs3/core-js/parse-int");var _Object$keys=require("@babel/runtime-corejs3/core-js/object/keys");var _mapInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/map");var _filterInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/filter");var _Promise=require("@babel/runtime-corejs3/core-js/promise");var _findInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/find");var _sortInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/sort");var _Number$MAX_SAFE_INTEGER=require("@babel/runtime-corejs3/core-js/number/max-safe-integer");var _indexOfInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/index-of");var _concatInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/concat");var _sliceInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/slice");var _excluded=["order"];function ownKeys(e,r){var t=_Object$keys(e);if(_Object$getOwnPropertySymbols){var o=_Object$getOwnPropertySymbols(e);r&&(o=_filterInstanceProperty(o).call(o,function(r2){return _Object$getOwnPropertyDescriptor(e,r2).enumerable})),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var _context23,_context24;var t=null!=arguments[r]?arguments[r]:{};r%2?_forEachInstanceProperty(_context23=ownKeys(Object(t),true)).call(_context23,function(r2){_defineProperty(e,r2,t[r2])}):_Object$getOwnPropertyDescriptors?_Object$defineProperties(e,_Object$getOwnPropertyDescriptors(t)):_forEachInstanceProperty(_context24=ownKeys(Object(t))).call(_context24,function(r2){_Object$defineProperty(e,r2,_Object$getOwnPropertyDescriptor(t,r2))})}return e}var utils_create=require("../utils/create/index.js");var draggable=require("vuedraggable");var lodashEs=require("lodash-es");var PlanSubPlan=require("../PlanSubPlan/index.js");var common=require("../common/index.js");var RATE_TIP="假定分红实现率并非保险公司提供,仅用于保险专业人员个人对分红型产品未来的分红收益预估,并不能等于未来分红实际收益";var costTypeOrder=[14,5,6,34,35,45,46,20,47,48,21,22,42,27,3,23,28,37,38,39,4,40,41,15,16,36];var _sfc_main={name:"ActPlanSetting",props:{isMain:{type:Boolean,default:false},options:{type:Object,default:function _default(){return{}}},propData:{type:Object,default:function _default2(){return{}}}},components:{draggable,ActPlanSubPlan:PlanSubPlan.PlanSubPlan},data:function data(){return{quickList:[50,80,100],localOptions:lodashEs.cloneDeep(this.options),isRateShow:true,isShowSubPlan:false,tipDialog:null,errorMsg:"",selectedIndex:0,settingMap:{},productList:[],disableOptions:[14,5,6],curSetting:{dividendRate:"",modules:[],type:"table",subPlanList:[]}}},watch:{propData:{immediate:true,deep:true,handler:function handler(){this.initData()}},curSetting:{deep:true,handler:function handler2(val){if(this.curProduct&&this.curProduct.productId){this.updateSettingMap(val)}}}},computed:{curProduct:function curProduct(){return this.productList[this.selectedIndex]||{}},productOrder:function productOrder(){var _context;var order=new _Map;_forEachInstanceProperty(_context=this.productList).call(_context,function(item,index){order.set(item.gid,index)});return order},isShowSubPlanContent:function isShowSubPlanContent(){var costTable=this.propData.costTableMap[this.curProduct.productId];if(!costTable)return false;var _costTable$colsType=costTable.colsType,colsType=_costTable$colsType===void 0?[]:_costTable$colsType;var filerKeys=[34,35];var hasFilterKeys=_someInstanceProperty(filerKeys).call(filerKeys,function(item){return _findIndexInstanceProperty(colsType).call(colsType,function(col){return String(col)===String(item)})>-1});return this.isShouXian(this.curProduct)&&!hasFilterKeys&&!(this.isPersonIns(this.curProduct)||this.isTaxHealthIns(this.curProduct))}},methods:{isPersonIns:function isPersonIns(){var product=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};var cate=product.common&&product.common.cate;if(!cate){return false}return Number(cate.isPersonIns)===1},isTaxHealthIns:function isTaxHealthIns(){var product=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};var cate=product.common&&product.common.cate;if(!cate){return false}return Number(cate.isTaxHealthIns)===1},isShouXian:function isShouXian(){var _context2;var product=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};var cate=product.common&&product.common.cate;if(!cate){return false}var firstLevelId=cate.firstLevelId,secondLevelId=cate.secondLevelId;var shouxian={35:["37","60"],42:["44","45","63"],49:["64","65"]};firstLevelId=String(firstLevelId);secondLevelId=String(secondLevelId);return shouxian[firstLevelId]&&_includesInstanceProperty(_context2=shouxian[firstLevelId]).call(_context2,secondLevelId)},initData:function initData(){this.localOptions=lodashEs.cloneDeep(this.options);var _this$propData=this.propData,selectIndex=_this$propData.selectIndex,costTableMap=_this$propData.costTableMap,productList=_this$propData.productList,subPlan=_this$propData.subPlan;if(!costTableMap)return;this.selectedIndex=selectIndex;this.productList=productList;if(!lodashEs.isEmpty(this.localOptions)){this.settingMap=lodashEs.cloneDeep(this.localOptions)}this.handleMap(costTableMap,subPlan);this.curSetting=_Object$assign({dividendRate:"",modules:[],type:"table",subPlanList:[]},this.settingMap[this.curProduct.productId]||{})},quickInput:function quickInput(item){this.updateCurrentSetting("dividendRate",item);this.errorMsg=""},changeType:function changeType(type){this.updateCurrentSetting("type",type)},changeCurProduct:function changeCurProduct(index){this.selectedIndex=index;this.curSetting=this.settingMap[this.curProduct.productId]||{dividendRate:"",modules:[],type:"table"}},showRateTip:function showRateTip(){if(!this.tipDialog){this.tipDialog=this.$createGoldDialog({closable:false,title:"提示",content:RATE_TIP,zIndex:2222,buttonType:"sticky",confirmButtonText:"知道了",confirmButtonColor:this.isMain?"#8c7fee":"#F05A4B"})}this.tipDialog.show()},validateRate:function validateRate(e){var value=e.target.value.replace(/[^\d]/g,"");value=value===""?"":_parseInt(value);if(value>100){value="100"}else if(value<0){value="0"}else{this.errorMsg=""}this.updateCurrentSetting("dividendRate",value)},getData:function getData(){var _context3;var data2=this.settingMap;_forEachInstanceProperty(_context3=_Object$keys(data2)).call(_context3,function(productId){var _context4,_context5;var displayOptions=data2[productId].displayOptions;var modules=data2[productId].modules;data2[productId].dividendRate=data2[productId].dividendRate===""?100:Number(data2[productId].dividendRate);data2[productId].modules=_mapInstanceProperty(_context4=_filterInstanceProperty(_context5=_mapInstanceProperty(displayOptions).call(displayOptions,function(item){item.checked=_includesInstanceProperty(modules).call(modules,item.value)?1:0;return item})).call(_context5,function(item){return item.checked})).call(_context4,function(item){return item.value})});return{data:data2,selectedIndex:this.selectedIndex}},confirm:function confirm(){var _this=this;return new _Promise(function(resolve,reject){var settingData=_this.getData();var data2=settingData.data;var keys=_Object$keys(data2);for(var i=0;i<keys.length;i++){var item=data2[keys[i]];var selectedModules=item.modules;if(selectedModules.length<2){reject("请至少选择两项");return}}resolve(settingData)})},isFenHong:function isFenHong(productId){var _context6;var target=_findInstanceProperty(_context6=this.productList).call(_context6,function(item){return item.productId===productId});return target&&target.common&&target.common.cate&&+target.common.cate.isParticipating===1},isIncrease:function isIncrease(productId){var _context7;var target=_findInstanceProperty(_context7=this.productList).call(_context7,function(item){return item.productId===productId});return target&&target.common&&String(target.common.categoryid)==="1013"},isAnnuity:function isAnnuity(productId){var _context8;var target=_findInstanceProperty(_context8=this.productList).call(_context8,function(item){return item.productId===productId});return target&&!!target.annuityResultPageInfo},isYanglao:function isYanglao(productId){var _context9,_context0;var target=_findInstanceProperty(_context9=this.productList).call(_context9,function(item){return item.productId===productId});return target&&target.common&&target.common.cate&&_includesInstanceProperty(_context0=[46,48]).call(_context0,+target.common.cate.secondLevelId)},updateDisplayOptions:function updateDisplayOptions(displayOptions,prevOptions){var _context1,_context10,_context11;if(!prevOptions||!prevOptions.length)return displayOptions;var prevMap=new _Map(_mapInstanceProperty(prevOptions).call(prevOptions,function(item,index){return[String(item.value),{order:index,checked:item.checked}]}));var result=_mapInstanceProperty(_context1=_sortInstanceProperty(_context10=_mapInstanceProperty(_context11=_toConsumableArray(displayOptions)).call(_context11,function(item){var data2=prevMap.get(String(item.value));return _objectSpread(_objectSpread({},item),{},{order:data2?data2.order:_Number$MAX_SAFE_INTEGER,checked:data2?Number(data2.checked):0})})).call(_context10,function(a,b){return a.order-b.order})).call(_context1,function(_ref){var order=_ref.order,item=_objectWithoutProperties(_ref,_excluded);return item});return result},sortCols:function sortCols(){var ths=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];var colsType=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];var pairs=_mapInstanceProperty(colsType).call(colsType,function(type,index){return{type,index}});_sortInstanceProperty(pairs).call(pairs,function(a,b){var indexA=_indexOfInstanceProperty(costTypeOrder).call(costTypeOrder,a.type);var indexB=_indexOfInstanceProperty(costTypeOrder).call(costTypeOrder,b.type);if(indexA===-1&&indexB===-1){return 0}if(indexA===-1){return 1}if(indexB===-1){return-1}return indexA-indexB});var sortedThs=_mapInstanceProperty(pairs).call(pairs,function(pair){return ths[pair.index]});var sortedColsType=_mapInstanceProperty(pairs).call(pairs,function(pair){return colsType[pair.index]});return{ths:sortedThs,colsType:sortedColsType}},handleMap:function handleMap(costTableMap){var _this2=this,_context19;var subPlan=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};var getRenderTable=function getRenderTable2(productId,costDataItem){var _context12,_context16,_context17,_context18;var isFenHong2=_this2.isFenHong(productId);var costData=lodashEs.cloneDeep(costDataItem);var ths=costData&&costData.cols||[];var colsType=costData&&costData.colsType||[];var product=_findInstanceProperty(_context12=_this2.productList).call(_context12,function(item){return item.productId===productId});var subPlanList=subPlan[product.gid];var hasSubPlan=subPlanList&&subPlanList.length>0;var deathKeys=[37,4,39,41,38,40];if(costData){var _context13,_context14,_context15;var displayIdxs=[];displayIdxs=costData.display&&_filterInstanceProperty(_context13=_mapInstanceProperty(_context14=costData.display).call(_context14,function(item,index){return String(item)==="1"?index:""})).call(_context13,function(item,index){if(!hasSubPlan){return Number(colsType[index])}else{return Number(colsType[index])&&_indexOfInstanceProperty(deathKeys).call(deathKeys,Number(colsType[index]))===-1}})||[];ths=costData.cols&&_filterInstanceProperty(_context15=costData.cols).call(_context15,function(item,index){return _includesInstanceProperty(displayIdxs).call(displayIdxs,index)});colsType=_filterInstanceProperty(colsType).call(colsType,function(item,index){return _includesInstanceProperty(displayIdxs).call(displayIdxs,index)})}var _this2$sortCols=_this2.sortCols(ths,colsType),sortedThs=_this2$sortCols.ths,sortedColsType=_this2$sortCols.colsType;ths=sortedThs;colsType=sortedColsType;var irrName=isFenHong2?"保证IRR":"IRR";var simpleName=isFenHong2?"保证单利":"单利";var redIrrName="红利IRR";var redSimpleName="红利单利";if(hasSubPlan){irrName="减保后-".concat(irrName);simpleName="减保后-".concat(simpleName);redIrrName="减保后-".concat(redIrrName);redSimpleName="减保后-".concat(redSimpleName)}if(isFenHong2||_this2.isAnnuity(productId)||_this2.isIncrease(productId)){ths.push(irrName);colsType.push("irr");ths.push(simpleName);colsType.push("simple")}if(isFenHong2){ths.push(redIrrName);colsType.push("redIrr");ths.push(redSimpleName);colsType.push("redSimple")}var fixedType=_filterInstanceProperty(_context16=_this2.disableOptions).call(_context16,function(item){return _includesInstanceProperty(colsType).call(colsType,String(item))});var displayOptions=_mapInstanceProperty(colsType).call(colsType,function(item,index){return{label:ths[index],value:item,checked:1,originalIndex:index}});var disabledOptions=_mapInstanceProperty(fixedType).call(fixedType,function(item){return _findInstanceProperty(displayOptions).call(displayOptions,function(option){return option.value===String(item)})});displayOptions=_filterInstanceProperty(displayOptions).call(displayOptions,function(item){return!_includesInstanceProperty(fixedType).call(fixedType,Number(item.value))});return _concatInstanceProperty(_context18=disabledOptions||[]).call(_context18,displayOptions)};_forEachInstanceProperty(_context19=_Object$keys(costTableMap)).call(_context19,function(productId){var _context20,_context21;var displayOptions=getRenderTable(productId,costTableMap[productId]);var type="table";var dividendRate=100;if(_this2.settingMap[productId]){var prevOptions=_this2.settingMap[productId]&&_this2.settingMap[productId].displayOptions;displayOptions=_this2.updateDisplayOptions(displayOptions,prevOptions);type=_this2.settingMap[productId].type;dividendRate=_this2.settingMap[productId].dividendRate}var modules=_mapInstanceProperty(_context20=_filterInstanceProperty(displayOptions).call(displayOptions,function(item){return Number(item.checked)===1})).call(_context20,function(item){return item.value});var product=_findInstanceProperty(_context21=_this2.productList).call(_context21,function(item){return item.productId===productId});_this2.settingMap[productId]={dividendRate,modules,displayOptions,type,subPlanList:subPlan[product.gid]||[]}})},onMove:function onMove(e){var element=e.relatedContext.element;if(element&&Number(element.value)===14)return false;return true},updateCurrentSetting:function updateCurrentSetting(key,value){if(!this.curProduct||!this.curProduct.productId)return;this.curSetting=_objectSpread(_objectSpread({},this.curSetting),{},_defineProperty({},key,value))},updateSettingMap:function updateSettingMap(setting){this.$set(this.settingMap,this.curProduct.productId,setting)},updateCurSetting:function updateCurSetting(){if(this.curProduct&&this.curProduct.productId){var defaultSetting={dividendRate:"",modules:[],type:"table",subPlanList:[]};this.curSetting=_Object$assign(defaultSetting,this.settingMap[this.curProduct.productId]||{})}},addSubPlan:function addSubPlan(){this.$emit("addSubPlan")}}};var _sfc_render=function render(){var _vm=this,_c=_vm._self._c;return _c("div",{class:["act-PlanSetting"]},[_c("div",{class:["plan-setting-layer-content",{"main":_vm.isMain}]},[_c("div",{staticClass:"product-wrapper"},[_c("div",{staticClass:"product-list"},_vm._l(_vm.productList,function(product,index){return _c("div",{key:index,class:["product-item",{active:_vm.selectedIndex===index}],on:{"click":function click($event){return _vm.changeCurProduct(index)}}},[_c("div",{staticClass:"ellipsis-3"},[_vm._v(" "+_vm._s(product.text)+" ")])])}),0)]),_vm.curProduct&&_vm.isFenHong(_vm.curProduct.productId)?_c("div",{staticClass:"plan-setting-layer-content-item"},[_c("div",{staticClass:"plan-setting-layer-content-item-title",on:{"click":function click($event){_vm.isRateShow=!_vm.isRateShow}}},[_c("h2",[_vm._v("假定分红实现率"),_c("i",{staticClass:"icon-question",on:{"click":_vm.showRateTip}})]),_c("i",{class:["icon-toggle",_vm.isRateShow?"active":""]})]),_c("div",{directives:[{name:"show",rawName:"v-show",value:_vm.isRateShow,expression:"isRateShow"}]},[_c("div",{staticClass:"plan-setting-layer-content-item-input rate-input-wrap"},[_c("div",{staticClass:"input-label"},[_vm._v("假定分红实现率")]),_c("div",{staticClass:"input-area"},[_c("input",{directives:[{name:"model",rawName:"v-model",value:_vm.curSetting.dividendRate,expression:"curSetting.dividendRate"}],class:{"error":_vm.errorMsg},attrs:{"type":"tel","pattern":"[0-9]*"},domProps:{"value":_vm.curSetting.dividendRate},on:{"input":[function($event){if($event.target.composing)return;_vm.$set(_vm.curSetting,"dividendRate",$event.target.value)},_vm.validateRate]}}),_c("span",[_vm._v("%")]),_vm.errorMsg?_c("div",{staticClass:"error-msg"},[_vm._v(_vm._s(_vm.errorMsg))]):_vm._e()])]),_c("div",{staticClass:"quick-input-wrap"},_vm._l(_vm.quickList,function(item,index){return _c("div",{key:index,staticClass:"quick-input-item",on:{"click":function click($event){return _vm.quickInput(item)}}},[_vm._v(_vm._s(item)+"%")])}),0)])]):_vm._e(),_c("div",{staticClass:"plan-setting-layer-content-item"},[_c("div",{staticClass:"plan-setting-layer-content-item-title"},[_c("h2",[_vm._v("展示模式")]),_c("div",{staticClass:"tabs-wrap"},[_c("div",{class:["tab-item",{active:_vm.curSetting.type==="table"}],on:{"click":function click($event){return _vm.changeType("table")}}},[_vm._v("列表展示")]),_c("div",{class:["tab-item",{active:_vm.curSetting.type==="chart"}],on:{"click":function click($event){return _vm.changeType("chart")}}},[_vm._v("图表展示")])])]),_c("div",{staticClass:"item-main"},[_c("div",{directives:[{name:"show",rawName:"v-show",value:_vm.curSetting.type==="table",expression:"curSetting.type === 'table'"}],staticClass:"item-main-content"},[_vm._m(0),_c("div",[_c("draggable",{staticClass:"item-main-content-list",attrs:{"chosenClass":"chosen","forceFallback":"true","animation":"500","handle":".icon-move","ghostClass":"ghost","filter":".forbid","move":_vm.onMove},model:{value:_vm.curSetting.displayOptions,callback:function callback($$v){_vm.$set(_vm.curSetting,"displayOptions",$$v)},expression:"curSetting.displayOptions"}},_vm._l(_vm.curSetting.displayOptions,function(option,index){return _c("label",{key:index,staticClass:"checkbox-item",class:{forbid:Number(option.value)===14}},[_c("input",{directives:[{name:"model",rawName:"v-model",value:_vm.curSetting.modules,expression:"curSetting.modules"}],attrs:{"disabled":Number(option.value)===14,"type":"checkbox"},domProps:{"value":option.value,"checked":Array.isArray(_vm.curSetting.modules)?_vm._i(_vm.curSetting.modules,option.value)>-1:_vm.curSetting.modules},on:{"click":function click($event){$event.stopPropagation()},"change":function change($event){var $$a=_vm.curSetting.modules,$$el=$event.target,$$c=$$el.checked?true:false;if(Array.isArray($$a)){var $$v=option.value,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&_vm.$set(_vm.curSetting,"modules",_concatInstanceProperty($$a).call($$a,[$$v]))}else{var _context22;$$i>-1&&_vm.$set(_vm.curSetting,"modules",_concatInstanceProperty(_context22=_sliceInstanceProperty($$a).call($$a,0,$$i)).call(_context22,_sliceInstanceProperty($$a).call($$a,$$i+1)))}}else{_vm.$set(_vm.curSetting,"modules",$$c)}}}}),_c("span",{staticClass:"checkbox-label"},[_vm._v(_vm._s(option.label))]),_c("i",{staticClass:"icon-move"})])}),0)],1)]),_c("div",{directives:[{name:"show",rawName:"v-show",value:_vm.curSetting.type==="chart",expression:"curSetting.type === 'chart'"}],staticClass:"item-main-chart"},[_c("div",{staticClass:"icon-empty"}),_c("p",[_vm._v("更多功能敬请期待~")])])])]),_vm.isShowSubPlanContent?_c("div",{staticClass:"plan-setting-layer-content-item"},[_c("div",{staticClass:"plan-setting-layer-content-item-title",on:{"click":function click($event){_vm.isShowSubPlan=!_vm.isShowSubPlan}}},[_c("h2",[_vm._v("减保方案")]),_c("i",{class:["icon-toggle",_vm.isShowSubPlan?"active":""]})]),_c("div",{directives:[{name:"show",rawName:"v-show",value:_vm.isShowSubPlan,expression:"isShowSubPlan"}],staticClass:"container subplan-container"},[_c("act-plan-sub-plan",{attrs:{"costTable":_vm.propData.costTableMap&&_vm.propData.costTableMap[_vm.curProduct.productId],"product":_vm.curProduct},on:{"add":_vm.addSubPlan},model:{value:_vm.curSetting.subPlanList,callback:function callback($$v){_vm.$set(_vm.curSetting,"subPlanList",$$v)},expression:"curSetting.subPlanList"}})],1)]):_vm._e(),_vm._t("extend",null,{"curProduct":_vm.curProduct})],2)])};var _sfc_staticRenderFns=[function(){var _vm=this,_c=_vm._self._c;return _c("p",{staticClass:"main-hint"},[_vm._v("展示数据"),_c("span",{staticClass:"tip"},[_vm._v("(至少选择2项)")])])}];var __component__=common.normalizeComponent(_sfc_main,_sfc_render,_sfc_staticRenderFns,false,null,"90d41f3c");var PlanSetting=__component__.exports;PlanSetting.install=function(Vue){Vue.component(PlanSetting.name,PlanSetting);Vue.prototype["$createPlanSetting"]=utils_create.create(PlanSetting,Vue)};exports.PlanSetting=PlanSetting;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.plan-setting-layer-content[data-v-
|
|
1
|
+
.plan-setting-layer-content[data-v-90d41f3c]{padding:20px 9px;background-color:#F7F8FC;-webkit-overflow-scrolling:touch}.plan-setting-layer-content-item[data-v-90d41f3c]{margin-bottom:15px;padding:3px;background:#FFFFFF;border-radius:12px}.plan-setting-layer-content-item-title[data-v-90d41f3c]{font-size:16px;color:#333;background:-webkit-linear-gradient(257deg,#FFFFFF 0%,#FFFFFF 72%,#FFF6F4 100%);background:linear-gradient(193deg,#FFFFFF 0%,#FFFFFF 72%,#FFF6F4 100%);border-radius:9px;padding:0 9px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;box-sizing:border-box;height:44px}.plan-setting-layer-content-item-title h2[data-v-90d41f3c]{margin:0;font-size:17px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.plan-setting-layer-content-item-input[data-v-90d41f3c]{margin-top:10px;font-size:15px}.plan-setting-layer-content-item-input input[data-v-90d41f3c]{width:100%;height:35px;padding:0 10px;border-radius:5px;border:none;text-align:right}.plan-setting-layer-content .icon-question[data-v-90d41f3c]{display:inline-block;width:16px;height:16px;background:url(../assets/question.877c.png) center center no-repeat;background-size:100%;vertical-align:middle;margin-left:3px}.plan-setting-layer-content .checkbox-item[data-v-90d41f3c]{position:relative;display:inline-block;margin-top:12px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;height:26px}.plan-setting-layer-content .checkbox-item input[type=checkbox][data-v-90d41f3c]{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.plan-setting-layer-content .checkbox-item .checkbox-label[data-v-90d41f3c]{display:inline-block;position:relative;padding-left:20px;cursor:pointer;-webkit-user-select:none;user-select:none}.plan-setting-layer-content .checkbox-item .checkbox-label[data-v-90d41f3c]:before{content:"";position:absolute;left:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:13px;height:13px;background:url(../assets/tick.cbec.png) no-repeat center;background-color:#e0e0e9;background-size:contain;-webkit-transition:background-image 0.2s ease;transition:background-image 0.2s ease;border-radius:4px}.plan-setting-layer-content .checkbox-item input[type=checkbox]:checked+.checkbox-label[data-v-90d41f3c]:before{background-color:#F05A4B}.plan-setting-layer-content .checkbox-item input[type=checkbox]:disabled+.checkbox-label[data-v-90d41f3c]{cursor:not-allowed;opacity:0.6}.plan-setting-layer-content .icon-toggle[data-v-90d41f3c]{display:inline-block;width:9px;height:9px;border-style:solid;border-width:1px 1px 0 0;border-color:#B3B3B3;-webkit-transform:rotate(135deg);transform:rotate(135deg);margin-right:3px}.plan-setting-layer-content .icon-toggle.active[data-v-90d41f3c]{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.plan-setting-layer-content .rate-input-wrap[data-v-90d41f3c]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;color:#666666;font-size:15px;margin:0 12px;height:50px;-webkit-box-align:center;-webkit-align-items:center;align-items:center;border-bottom:1px solid #F5F5F5}.plan-setting-layer-content .rate-input-wrap input[data-v-90d41f3c]{width:100px;font-size:24px;color:#333333;line-height:34px;font-weight:bold}.plan-setting-layer-content .rate-input-wrap .input-area[data-v-90d41f3c]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.plan-setting-layer-content .quick-input-wrap[data-v-90d41f3c]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;align-items:center;padding:9px}.plan-setting-layer-content .quick-input-item[data-v-90d41f3c]{cursor:pointer;padding:0 7px;margin-left:6px;background:#F7F8FC;border-radius:24px;color:#666666;font-size:14px;line-height:24px;height:24px}.plan-setting-layer-content .tabs-wrap[data-v-90d41f3c]{background:#F7F8FC;border-radius:6px;display:-webkit-box;display:-webkit-flex;display:flex}.plan-setting-layer-content .tabs-wrap .tab-item[data-v-90d41f3c]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;height:24px;line-height:normal;font-size:13px;padding:0 12px;color:#666666}.plan-setting-layer-content .tabs-wrap .tab-item.active[data-v-90d41f3c]{background:#FDEEED;color:#F05A4B;border-radius:6px}.plan-setting-layer-content .item-main[data-v-90d41f3c]{background:#FFFFFF}.plan-setting-layer-content .item-main *[data-v-90d41f3c]{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.plan-setting-layer-content .item-main .item-main-content[data-v-90d41f3c]{font-size:14px;color:#666666;background:#F7F8FC;border-radius:9px;margin-top:9px;padding:12px;margin:9px 12px}.plan-setting-layer-content .item-main .item-main-content .tip[data-v-90d41f3c]{font-size:12px;color:#999999}.plan-setting-layer-content .item-main .item-main-content-list[data-v-90d41f3c]{color:#333333}.plan-setting-layer-content .item-main .icon-move[data-v-90d41f3c]{padding:10px;display:inline-block;width:13px;height:10px;background:url(../assets/move.f1c1.png) center center no-repeat;background-size:13px 10px}.plan-setting-layer-content .item-main-chart[data-v-90d41f3c]{text-align:center;color:#666666;padding:84px 0 97px;font-size:12px}.plan-setting-layer-content .icon-empty[data-v-90d41f3c]{width:156px;height:117px;background-image:url(../assets/empty_cx.3d3a.png);background-repeat:no-repeat;background-size:100% 100%;margin:0 auto}.plan-setting-layer-content .input-area[data-v-90d41f3c]{position:relative}.plan-setting-layer-content .input-area input.error[data-v-90d41f3c]{border:1px solid #F05A4B}.plan-setting-layer-content .input-area .error-msg[data-v-90d41f3c]{position:absolute;bottom:-14px;right:0;color:#F05A4B;font-size:12px;width:-webkit-fit-content;width:fit-content;white-space:nowrap}.plan-setting-layer-content .product-wrapper[data-v-90d41f3c]{width:100%;overflow:auto;white-space:nowrap;height:85px}.plan-setting-layer-content .product-list[data-v-90d41f3c]{font-size:0;padding:0}.plan-setting-layer-content .ellipsis-3[data-v-90d41f3c]{overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;text-overflow:ellipsis;white-space:normal}.plan-setting-layer-content .product-item[data-v-90d41f3c]{display:inline-block;color:#777777;font-size:14px;line-height:18px;width:134px;height:69px;text-align:left;padding:7px;background:#FFFFFF;border-radius:12px;vertical-align:top;margin-left:18px;position:relative;font-weight:bold}.plan-setting-layer-content .product-item[data-v-90d41f3c]:first-child{margin-left:0}.plan-setting-layer-content .product-item.active[data-v-90d41f3c]{background:#FFFBFB;color:#F05A4B;border:1px solid #FFD3D8}.plan-setting-layer-content .product-item.active[data-v-90d41f3c]::after{display:block;content:"";position:absolute;left:50%;margin-left:-12px;bottom:-6px;width:24px;height:6px;background-size:cover;background-position:center;background-image:url(../assets/arrow.e36b.png)}.plan-setting-layer-content .subplan-container[data-v-90d41f3c]{padding:0 12px 15px}.plan-setting-layer-content.main .plan-setting-layer-content-item-title[data-v-90d41f3c]{background:-webkit-linear-gradient(left,rgba(232,229,252,0.5) 0%,rgba(255,255,255,0.5) 100%);background:linear-gradient(90deg,rgba(232,229,252,0.5) 0%,rgba(255,255,255,0.5) 100%)}.plan-setting-layer-content.main .checkbox-item input[type=checkbox]:checked+.checkbox-label[data-v-90d41f3c]:before{background-color:#8C7FEE}.plan-setting-layer-content.main .tabs-wrap .tab-item.active[data-v-90d41f3c]{background:#EEEBFF;color:#8C7FEE}.plan-setting-layer-content.main .product-item.active[data-v-90d41f3c]{background:#F1EFFF;color:#8C7FEE;border-color:#CFC8FF}.plan-setting-layer-content.main .product-item.active[data-v-90d41f3c]::after{background-image:url(../assets/arrow_xys.110b.png)}.plan-setting-layer-content.main .icon-empty[data-v-90d41f3c]{background-image:url(../assets/empty_xys.e6b4.png)}.plan-setting-layer-content .ghost[data-v-90d41f3c]{visibility:hidden!important}.plan-setting-layer-content .main-hint[data-v-90d41f3c]{line-height:18px}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import _asyncToGenerator from "@babel/runtime-corejs3/helpers/asyncToGenerator";
|
|
2
2
|
import _regeneratorRuntime from "@babel/runtime-corejs3/regenerator";
|
|
3
|
-
import { c as create } from "../utils/create/index.
|
|
4
|
-
import { A as ActPopup } from "../common/popup/index.
|
|
5
|
-
import { v as visibleMixin } from "../mixins/visible/index.
|
|
6
|
-
import { P as PlanSetting } from "../PlanSetting/index.
|
|
7
|
-
import { p as popupMixin } from "../mixins/popup/index.
|
|
8
|
-
import { n as normalizeComponent } from "../common/index.
|
|
3
|
+
import { c as create } from "../utils/create/index.esm.js";
|
|
4
|
+
import { A as ActPopup } from "../common/popup/index.esm.js";
|
|
5
|
+
import { v as visibleMixin } from "../mixins/visible/index.esm.js";
|
|
6
|
+
import { P as PlanSetting } from "../PlanSetting/index.esm.js";
|
|
7
|
+
import { p as popupMixin } from "../mixins/popup/index.esm.js";
|
|
8
|
+
import { n as normalizeComponent } from "../common/index.esm.js";
|
|
9
9
|
import './style.css';var _sfc_main = {
|
|
10
10
|
name: "ActPlanSettingLayer",
|
|
11
11
|
mixins: [visibleMixin, popupMixin],
|
|
@@ -15,9 +15,9 @@ import _forEachInstanceProperty from "@babel/runtime-corejs3/core-js/instance/fo
|
|
|
15
15
|
import _findInstanceProperty from "@babel/runtime-corejs3/core-js/instance/find";
|
|
16
16
|
import _spliceInstanceProperty from "@babel/runtime-corejs3/core-js/instance/splice";
|
|
17
17
|
import _Number$isNaN from "@babel/runtime-corejs3/core-js/number/is-nan";
|
|
18
|
-
import { c as create } from "../utils/create/index.
|
|
19
|
-
import { P as Picker } from "../Picker/index.
|
|
20
|
-
import { n as normalizeComponent } from "../common/index.
|
|
18
|
+
import { c as create } from "../utils/create/index.esm.js";
|
|
19
|
+
import { P as Picker } from "../Picker/index.esm.js";
|
|
20
|
+
import { n as normalizeComponent } from "../common/index.esm.js";
|
|
21
21
|
import './style.css';function ownKeys(e, r) {
|
|
22
22
|
var t = _Object$keys(e);
|
|
23
23
|
if (_Object$getOwnPropertySymbols) {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import _concatInstanceProperty from "@babel/runtime-corejs3/core-js/instance/concat";
|
|
2
2
|
import _sliceInstanceProperty from "@babel/runtime-corejs3/core-js/instance/slice";
|
|
3
|
-
import { c as create } from "../utils/create/index.
|
|
4
|
-
import { A as ActPopup } from "../common/popup/index.
|
|
5
|
-
import { v as visibleMixin } from "../mixins/visible/index.
|
|
6
|
-
import { n as noscrollMixin } from "../mixins/noscroll/index.
|
|
7
|
-
import { f as fontSize } from "../mixins/fontsize/index.
|
|
8
|
-
import { p as posterlayerMixin } from "../mixins/poster-layer/index.
|
|
9
|
-
import { T as ToBase64 } from "../toBase64/index.
|
|
10
|
-
import { L as Loading } from "../Loading/index.
|
|
11
|
-
import { s as svgIcon } from "../common/svgicon/index.
|
|
12
|
-
import { u as ua } from "../utils/helpers/index.
|
|
13
|
-
import { a as appSaveImage } from "../utils/app/index.
|
|
14
|
-
import { n as normalizeComponent } from "../common/index.
|
|
3
|
+
import { c as create } from "../utils/create/index.esm.js";
|
|
4
|
+
import { A as ActPopup } from "../common/popup/index.esm.js";
|
|
5
|
+
import { v as visibleMixin } from "../mixins/visible/index.esm.js";
|
|
6
|
+
import { n as noscrollMixin } from "../mixins/noscroll/index.esm.js";
|
|
7
|
+
import { f as fontSize } from "../mixins/fontsize/index.esm.js";
|
|
8
|
+
import { p as posterlayerMixin } from "../mixins/poster-layer/index.esm.js";
|
|
9
|
+
import { T as ToBase64 } from "../toBase64/index.esm.js";
|
|
10
|
+
import { L as Loading } from "../Loading/index.esm.js";
|
|
11
|
+
import { s as svgIcon } from "../common/svgicon/index.esm.js";
|
|
12
|
+
import { u as ua } from "../utils/helpers/index.esm.js";
|
|
13
|
+
import { a as appSaveImage } from "../utils/app/index.esm.js";
|
|
14
|
+
import { n as normalizeComponent } from "../common/index.esm.js";
|
|
15
15
|
import './style.css';var LONG_PRESS_EVENT = "longpress";
|
|
16
16
|
var _sfc_main = {
|
|
17
17
|
name: "ActPosterLayer",
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import _slicedToArray from "@babel/runtime-corejs3/helpers/slicedToArray";
|
|
2
2
|
import _forEachInstanceProperty from "@babel/runtime-corejs3/core-js/instance/for-each";
|
|
3
|
-
import { c as create } from "../utils/create/index.
|
|
4
|
-
import { c as isObject } from "../utils/helpers/index.
|
|
5
|
-
import { v as visibleMixin } from "../mixins/visible/index.
|
|
6
|
-
import { n as noscrollMixin } from "../mixins/noscroll/index.
|
|
7
|
-
import { f as fixedInputMixin } from "../mixins/fixed-input/index.
|
|
8
|
-
import { f as formInputMixin } from "../mixins/form-input/index.
|
|
9
|
-
import { A as ActLayer } from "../common/layer/index.
|
|
10
|
-
import { A as ActFormInput } from "../common/forminput/index.
|
|
11
|
-
import { A as ActButton } from "../common/button/index.
|
|
12
|
-
import { s as svgIcon } from "../common/svgicon/index.
|
|
13
|
-
import { f as fetch } from "../utils/post/index.
|
|
14
|
-
import { n as normalizeComponent } from "../common/index.
|
|
3
|
+
import { c as create } from "../utils/create/index.esm.js";
|
|
4
|
+
import { c as isObject } from "../utils/helpers/index.esm.js";
|
|
5
|
+
import { v as visibleMixin } from "../mixins/visible/index.esm.js";
|
|
6
|
+
import { n as noscrollMixin } from "../mixins/noscroll/index.esm.js";
|
|
7
|
+
import { f as fixedInputMixin } from "../mixins/fixed-input/index.esm.js";
|
|
8
|
+
import { f as formInputMixin } from "../mixins/form-input/index.esm.js";
|
|
9
|
+
import { A as ActLayer } from "../common/layer/index.esm.js";
|
|
10
|
+
import { A as ActFormInput } from "../common/forminput/index.esm.js";
|
|
11
|
+
import { A as ActButton } from "../common/button/index.esm.js";
|
|
12
|
+
import { s as svgIcon } from "../common/svgicon/index.esm.js";
|
|
13
|
+
import { f as fetch } from "../utils/post/index.esm.js";
|
|
14
|
+
import { n as normalizeComponent } from "../common/index.esm.js";
|
|
15
15
|
import './style.css';function Noop(param) {
|
|
16
16
|
return param;
|
|
17
17
|
}
|
|
@@ -13,19 +13,19 @@ import _Promise from "@babel/runtime-corejs3/core-js/promise";
|
|
|
13
13
|
import _includesInstanceProperty from "@babel/runtime-corejs3/core-js/instance/includes";
|
|
14
14
|
import _indexOfInstanceProperty from "@babel/runtime-corejs3/core-js/instance/index-of";
|
|
15
15
|
import _URL from "@babel/runtime-corejs3/core-js/url";
|
|
16
|
-
import { c as create } from "../utils/create/index.
|
|
17
|
-
import { v as visibleMixin } from "../mixins/visible/index.
|
|
18
|
-
import { s as swiperSlide, a as swiper } from "../utils/vueAwesomeSwiper/index.
|
|
19
|
-
import { P as Poster } from "./poster/index.
|
|
20
|
-
import { u as ua } from "../utils/helpers/index.
|
|
21
|
-
import { Q as QRCode } from "../QRCode/qrcode/index.
|
|
16
|
+
import { c as create } from "../utils/create/index.esm.js";
|
|
17
|
+
import { v as visibleMixin } from "../mixins/visible/index.esm.js";
|
|
18
|
+
import { s as swiperSlide, a as swiper } from "../utils/vueAwesomeSwiper/index.esm.js";
|
|
19
|
+
import { P as Poster } from "./poster/index.esm.js";
|
|
20
|
+
import { u as ua } from "../utils/helpers/index.esm.js";
|
|
21
|
+
import { Q as QRCode } from "../QRCode/qrcode/index.esm.js";
|
|
22
22
|
import { cloneDeep } from "lodash-es";
|
|
23
|
-
import { T as Toast } from "../Toast/index.
|
|
23
|
+
import { T as Toast } from "../Toast/index.esm.js";
|
|
24
24
|
import "swiper/dist/css/swiper.css";
|
|
25
|
-
import { f as fetch } from "../utils/post/index.
|
|
25
|
+
import { f as fetch } from "../utils/post/index.esm.js";
|
|
26
26
|
import __$_require_25f54f43__ from "../assets/download.9753.png";
|
|
27
27
|
import __$_require_7d5cf078__ from "../assets/share.0d0a.png";
|
|
28
|
-
import { n as normalizeComponent } from "../common/index.
|
|
28
|
+
import { n as normalizeComponent } from "../common/index.esm.js";
|
|
29
29
|
import './style.css';function ownKeys(e, r) {
|
|
30
30
|
var t = _Object$keys(e);
|
|
31
31
|
if (_Object$getOwnPropertySymbols) {
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import _Promise from "@babel/runtime-corejs3/core-js/promise";
|
|
2
2
|
import html2canvas from "html2canvas";
|
|
3
|
-
import { L as Loading } from "../../Loading/index.
|
|
4
|
-
import { Q as QRCode } from "../../QRCode/qrcode/index.
|
|
3
|
+
import { L as Loading } from "../../Loading/index.esm.js";
|
|
4
|
+
import { Q as QRCode } from "../../QRCode/qrcode/index.esm.js";
|
|
5
5
|
import defaultAvatar from "../../assets/avatar.1d6a.png";
|
|
6
|
-
import
|
|
6
|
+
import BScroll from "better-scroll";
|
|
7
7
|
import __$_require_66db4bf6__ from "../../assets/toBottom.526c.png";
|
|
8
8
|
import __$_require_81a688d6__ from "../../assets/phone.0a23.png";
|
|
9
|
-
import { n as normalizeComponent } from "../../common/index.
|
|
10
|
-
import './style.css';var
|
|
11
|
-
var qrcode = new QRCode({
|
|
9
|
+
import { n as normalizeComponent } from "../../common/index.esm.js";
|
|
10
|
+
import './style.css';var qrcode = new QRCode({
|
|
12
11
|
render: "canvas",
|
|
13
12
|
ecLevel: "H",
|
|
14
13
|
size: 50,
|
|
@@ -320,7 +319,7 @@ var _sfc_render = function render() {
|
|
|
320
319
|
})]) : _vm._e()])])])])]);
|
|
321
320
|
};
|
|
322
321
|
var _sfc_staticRenderFns = [];
|
|
323
|
-
var __component__ = /* @__PURE__ */ normalizeComponent(_sfc_main, _sfc_render, _sfc_staticRenderFns, false, null, "
|
|
322
|
+
var __component__ = /* @__PURE__ */ normalizeComponent(_sfc_main, _sfc_render, _sfc_staticRenderFns, false, null, "b4213d94");
|
|
324
323
|
var Poster = __component__.exports;
|
|
325
324
|
export {
|
|
326
325
|
Poster as P
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require('./style.css');var
|
|
1
|
+
"use strict";require('./style.css');var _Promise=require("@babel/runtime-corejs3/core-js/promise");var html2canvas=require("html2canvas");var Loading=require("../../Loading/index.js");var QRCode_qrcode=require("../../QRCode/qrcode/index.js");var defaultAvatar=require("../../assets/avatar.1d6a.png");var BScroll=require("better-scroll");var __$_require_66db4bf6__=require("../../assets/toBottom.526c.png");var __$_require_81a688d6__=require("../../assets/phone.0a23.png");var common=require("../../common/index.js");var qrcode=new QRCode_qrcode.QRCode({render:"canvas",ecLevel:"H",size:50,mode:0,mSize:.25,label:"",fontcolor:"#000",fill:"#000",background:"#ffffff"});var _sfc_main={name:"Poster",components:{ActLoading:Loading.Loading},props:{cardName:{type:String,default:""},cardPhone:{type:[String,Number],default:""},cardImg:{type:String,default:""},qrcodeUrl:{type:String,default:""},posterImg:{type:String,default:""},posterGenerImg:{type:String,default:""},infoShow:{type:[Boolean,Number],default:true},mobileShow:{type:[Boolean,Number],default:true},index:{type:[String,Number],default:""},showPosterQrCode:{type:[Boolean,Number],default:true},licenseForm:{type:Object,default:function _default(){return{}}}},computed:{avatar:function avatar(){return this.cardImg&&this.infoShow?this.cardImg:defaultAvatar}},watch:{},mounted:function mounted(){var _this=this;var imgCon=this.$refs["imgContainer"];var img=this.$refs["posterImg"];img.onload=function(){var clientHeight=imgCon.clientHeight;var scrollHeight=img.clientHeight;var canScroll=scrollHeight-clientHeight;_this.imgWrapper=new BScroll(_this.$refs.imgContainer,{click:true,scrollY:true,bounce:false,preventDefault:false});_this.$nextTick(function(){_this.imgWrapper.refresh()});if(canScroll>0){_this.imgWrapper.scrollTo(1e4,500);_this.canScroll=true;_this.$refs["poster"].style.position="relative"}_this.genImgScrollHeight=scrollHeight}},data:function data(){return{imgWrapper:null,canScroll:false,generateLoading:false,genImgScrollHeight:0,qrCodeImg:"",allowRender:[]}},methods:{getScroll:function getScroll(){var _this2=this;if(this.genImgScrollHeight){return _Promise.resolve()}return new _Promise(function(resolve,reject){var imgCon=_this2.$refs["imgContainer"];var img=_this2.$refs["posterImg"];var clientHeight=imgCon.clientHeight;var scrollHeight=img.clientHeight;var canScroll=scrollHeight-clientHeight;if(canScroll>0){imgCon.scrollTop=canScroll;_this2.canScroll=true;_this2.$refs["poster"].style.position="relative"}_this2.genImgScrollHeight=scrollHeight})},generateImg:function generateImg(){var _this3=this;var isCheckoutBtn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:false;return new _Promise(function(resolve,reject){_this3.allowRender[_this3.allowRender.length]=true;if(_this3.generateLoading){_this3.allowRender[_this3.allowRender.length-2]=false}_this3.generateLoading=true;_this3.generateQrcode().then(function(){setTimeout(function(){var poster=_this3.$refs["posterGenter"];var posterCopy=poster.cloneNode(true);var index=_this3.allowRender.length-1;document.body.appendChild(posterCopy);posterCopy.style.position="absolute";posterCopy.classList.add("poster-generate");posterCopy.style.left="-2000px";posterCopy.style.top="-2000px";html2canvas(posterCopy,{scale:2,useCORS:true}).then(function(canvas){if(_this3._isDestroyed){reject("render has destroyed");return}if(!_this3.allowRender[index]){reject("now is rerender, prev set is notAllowed");return}var pageData=canvas.toDataURL("image/jpeg",1);document.body.removeChild(posterCopy);_this3.$emit("generateSuccess",_this3.index,pageData);setTimeout(function(){_this3.generateLoading=false;_this3.$nextTick(function(){_this3.$refs.posterGenerImg.style.height=_this3.genImgScrollHeight+"px"})},200);resolve(pageData)}).catch(function(err){_this3.generateLoading=false;reject(err)})},500)})})},generateQrcode:function generateQrcode(){var _this4=this;return new _Promise(function(resolve,reject){if(_this4.qrCodeImg)resolve();if(_this4.showPosterQrCode&&_this4.qrcodeUrl){qrcode.makeCode(_this4.qrcodeUrl).then(function(data2){_this4.qrCodeImg=data2;resolve()}).catch(function(){reject()})}else{resolve()}})},preventMove:function preventMove(e){e._prevent=true}}};var _sfc_render=function render(){var _vm=this,_c=_vm._self._c;return _c("div",{ref:"poster",staticClass:"poster act-row act-middle"},[_vm.generateLoading?_c("div",{staticClass:"loadingContainer row justify-center items-center"},[_c("act-loading",{directives:[{name:"show",rawName:"v-show",value:true,expression:"true"}],attrs:{"size":40,"type":"cir2","color":"#F05A4B"}})],1):_vm._e(),_vm.canScroll&&!_vm.generateLoading?_c("div",{staticClass:"scroll-tip row items-center justify-center"},[_c("img",{staticStyle:{"transform":"rotate(180deg)"},attrs:{"src":__$_require_66db4bf6__,"alt":""}}),_c("span",{staticClass:"tip-tit"},[_vm._v("上拉查看全图")])]):_vm._e(),_c("div",{ref:"posterGenter",staticClass:"posterGenter"},[_c("div",{ref:"imgContainer",staticClass:"img-container",on:{"touchmove":_vm.preventMove}},[_c("div",{ref:"imgWrapper",staticClass:"img-wrapper"},[_vm.posterGenerImg&&!_vm.generateLoading?_c("img",{ref:"posterGenerImg",staticClass:"posterGenerImg",attrs:{"src":_vm.posterGenerImg,"alt":"海报生成图片"}}):_vm._e(),_c("img",{ref:"posterImg",staticClass:"posterImg",attrs:{"src":_vm.posterImg,"alt":""}})])]),_c("div",{ref:"bottomCard",staticClass:"card-container padding_0 row justify-between items-center",class:{genImg:_vm.generateLoading}},[_c("div",{staticClass:"card-left"},[_c("div",{staticClass:"left-section row"},[_c("div",{staticClass:"avatar"},[_c("img",{attrs:{"src":_vm.licenseForm.headurl}})]),_c("div",{staticClass:"info column c_center"},[_c("p",{staticClass:"info-name row"},[_c("span",{staticClass:"tit"},[_vm._v(_vm._s(_vm.licenseForm.showname))]),_c("span",{staticClass:"tag"},[_c("span",[_vm._v(" · ")]),_c("span",{class:{"tit":!_vm.infoShow}},[_vm._v(_vm._s(_vm.licenseForm.jobTitle||"咨询顾问"))])])]),_c("p",{staticClass:"info-mobile"},[_c("img",{staticClass:"img-icon",attrs:{"src":__$_require_81a688d6__}}),_c("span",{staticStyle:{}},[_vm._v(_vm._s(_vm.licenseForm.mobile))])])]),_vm.showPosterQrCode?_c("div",{staticClass:"card-right row justify-center items-center"},[_c("img",{attrs:{"src":_vm.qrCodeImg}})]):_vm._e()])])])])])};var _sfc_staticRenderFns=[];var __component__=common.normalizeComponent(_sfc_main,_sfc_render,_sfc_staticRenderFns,false,null,"b4213d94");var Poster=__component__.exports;exports.Poster=Poster;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.poster[data-v-
|
|
1
|
+
.poster[data-v-b4213d94]{height:496px;width:240px;overflow:hidden;border-radius:0;position:relative}.poster .scroll-tip[data-v-b4213d94]{position:absolute;top:15px;left:65px;width:110px;height:24px;background:rgba(0,0,0,0.6);border-radius:3px;text-align:center;z-index:5}.poster .scroll-tip img[data-v-b4213d94]{width:13px;height:13px;margin-right:3px}.poster .scroll-tip .tip-tit[data-v-b4213d94]{font-size:13px;color:#FFFFFF}.poster .img-container[data-v-b4213d94]{max-height:427px;overflow:hidden;position:relative;border-top-left-radius:9px;border-top-right-radius:9px}.poster .img-container .posterImg[data-v-b4213d94]{border-top-left-radius:9px;border-top-right-radius:9px}.poster .img-container .posterGenerImg[data-v-b4213d94]{position:absolute;width:100%;z-index:10;left:0;top:0;opacity:0}.poster .img-container img[data-v-b4213d94]{width:100%;height:auto}.poster .loadingContainer[data-v-b4213d94]{position:absolute;top:0;left:0;height:496px;width:240px;z-index:5}.card-container[data-v-b4213d94]{background:#fff;border-bottom-left-radius:9px;border-bottom-right-radius:9px}.card-container.padding_0[data-v-b4213d94]{padding:0!important;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.card-container .card-left[data-v-b4213d94]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1;width:100%;padding:0 6px}.card-container .card-left .left-section[data-v-b4213d94]{width:100%}.card-container .card-left .left-section .c_center[data-v-b4213d94]{-webkit-box-flex:1;-webkit-flex:1;flex:1;margin-top:12px;-webkit-box-pack:start!important;-webkit-justify-content:flex-start!important;justify-content:flex-start!important}.card-container .card-left .left-section .avatar[data-v-b4213d94]{margin-top:8px;margin-right:4px;border-radius:50%;width:40px;height:40px;background:-webkit-linear-gradient(bottom,#FFFFFF 0%,#EAECF5 100%);background:linear-gradient(360deg,#FFFFFF 0%,#EAECF5 100%);overflow:hidden;-webkit-flex-shrink:0;flex-shrink:0}.card-container .card-left .left-section .avatar img[data-v-b4213d94]{width:100%;height:100%}.card-container .card-left .left-section .info[data-v-b4213d94]{-webkit-justify-content:space-around;justify-content:space-around}.card-container .card-left .left-section .info .info-name[data-v-b4213d94]{height:1.8rem;line-height:1.8rem}.card-container .card-left .left-section .info .info-name .tit[data-v-b4213d94]{font-size:12px;color:#333;margin-right:5px}.card-container .card-left .left-section .info .info-name .tag[data-v-b4213d94]{font-size:10px;color:#8F93A0}.card-container .card-left .left-section .info .info-mobile[data-v-b4213d94]{margin-top:1px;font-size:10px;color:#666666;height:14px;line-height:14px;word-break:break-all}.card-container .card-left .left-section .info .info-mobile .img-icon[data-v-b4213d94]{width:9px;vertical-align:middle}.card-container .card-left .left-section .info .info-mobile .text[data-v-b4213d94]{padding-left:3px}.card-container .card-left .left-section .info .info-card[data-v-b4213d94]{margin-top:3px;font-size:8px;color:#999999;word-break:break-all;display:-webkit-box;display:-webkit-flex;display:flex}.card-container .card-left .left-section .info .info-card .label[data-v-b4213d94]{-webkit-flex-shrink:0;flex-shrink:0}.card-container .card-left .left-section .info .info-card .num[data-v-b4213d94]{padding-right:9px}.card-container .card-left .left-section .info .info-card .img-icon[data-v-b4213d94]{width:14px}.card-container .card-left .left-section .info .info-card .text[data-v-b4213d94]{padding-left:3px}.card-container .info-card4[data-v-b4213d94]{width:100%;font-size:8px;padding-left:0!important;background:#F7F7F7;border-radius:0px 0px 9px 9px;margin-top:3px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;height:17px;line-height:17px;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.card-container .card-right[data-v-b4213d94]{margin-top:3px;-webkit-flex-shrink:0;flex-shrink:0;width:47px;height:47px;border:1px solid;border-color:#ffdbd7;box-sizing:border-box;padding:3px;border-radius:3px}.card-container .card-right img[data-v-b4213d94]{width:40px;height:40px}.posterGenter[data-v-b4213d94]{width:240px;overflow:hidden}.posterGenter .img-container img[data-v-b4213d94]{width:100%}.posterGenter.poster-generate[data-v-b4213d94]{width:375px!important}.posterGenter.poster-generate .card-container[data-v-b4213d94]{padding:10px 14px}.posterGenter.poster-generate .card-left[data-v-b4213d94]{padding:0 9px!important}.posterGenter.poster-generate .card-left .avatar[data-v-b4213d94]{margin-top:12.5px;margin-right:6px;width:58px!important;height:58px!important}.posterGenter.poster-generate .card-left .tit[data-v-b4213d94]{font-size:18px!important}.posterGenter.poster-generate .card-left .tag[data-v-b4213d94]{font-size:13.5px!important}.posterGenter.poster-generate .card-left .img-icon[data-v-b4213d94]{width:14px!important}.posterGenter.poster-generate .card-left .info-mobile[data-v-b4213d94]{font-size:16.5px!important}.posterGenter.poster-generate .info-mobile[data-v-b4213d94]{height:22px!important;line-height:22px!important}.posterGenter.poster-generate .c_center[data-v-b4213d94]{margin-top:18px!important}.posterGenter.poster-generate .info-card4[data-v-b4213d94]{width:100%;margin-top:4.5px;font-size:12px!important;height:26px!important;line-height:26px!important}.posterGenter.poster-generate .card-right[data-v-b4213d94]{margin-top:4.5px;width:70px!important;height:70px!important}.posterGenter.poster-generate .card-right img[data-v-b4213d94]{width:60px!important;height:60px!important}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as ActPopup } from "../../common/popup/index.
|
|
2
|
-
import { n as normalizeComponent } from "../../common/index.
|
|
1
|
+
import { A as ActPopup } from "../../common/popup/index.esm.js";
|
|
2
|
+
import { n as normalizeComponent } from "../../common/index.esm.js";
|
|
3
3
|
import './style.css';var _sfc_main = {
|
|
4
4
|
name: "ActionSheet",
|
|
5
5
|
components: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { f as fetch } from "../../utils/post/index.
|
|
2
|
-
import { T as Toast } from "../../Toast/index.
|
|
1
|
+
import { f as fetch } from "../../utils/post/index.esm.js";
|
|
2
|
+
import { T as Toast } from "../../Toast/index.esm.js";
|
|
3
3
|
import __$_require_4405a191__ from "../../assets/cancel.cbdb.png";
|
|
4
|
-
import { n as normalizeComponent } from "../../common/index.
|
|
4
|
+
import { n as normalizeComponent } from "../../common/index.esm.js";
|
|
5
5
|
import './style.css';var _sfc_main = {
|
|
6
6
|
components: {
|
|
7
7
|
ActToast: Toast
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import _Promise from "@babel/runtime-corejs3/core-js/promise";
|
|
2
|
-
import { v as visibleMixin } from "../../mixins/visible/index.
|
|
3
|
-
import { i as isExcelFile } from "../js/util/index.
|
|
4
|
-
import { l as layer } from "../layer/index.
|
|
5
|
-
import { u as ua } from "../../utils/helpers/index.
|
|
2
|
+
import { v as visibleMixin } from "../../mixins/visible/index.esm.js";
|
|
3
|
+
import { i as isExcelFile } from "../js/util/index.esm.js";
|
|
4
|
+
import { l as layer } from "../layer/index.esm.js";
|
|
5
|
+
import { u as ua } from "../../utils/helpers/index.esm.js";
|
|
6
6
|
import __$_require_26fdcdc7__ from "../../assets/share_btn.1955.png";
|
|
7
|
-
import { n as normalizeComponent } from "../../common/index.
|
|
7
|
+
import { n as normalizeComponent } from "../../common/index.esm.js";
|
|
8
8
|
import './style.css';var _sfc_main = {
|
|
9
9
|
name: "FileListLayer",
|
|
10
10
|
mixins: [visibleMixin],
|
|
@@ -3,22 +3,22 @@ import _regeneratorRuntime from "@babel/runtime-corejs3/regenerator";
|
|
|
3
3
|
import _Promise from "@babel/runtime-corejs3/core-js/promise";
|
|
4
4
|
import _concatInstanceProperty from "@babel/runtime-corejs3/core-js/instance/concat";
|
|
5
5
|
import _mapInstanceProperty from "@babel/runtime-corejs3/core-js/instance/map";
|
|
6
|
-
import { c as create } from "../utils/create/index.
|
|
7
|
-
import { v as visibleMixin } from "../mixins/visible/index.
|
|
8
|
-
import { p as productDetailLayer } from "./productDetailLayer/index.
|
|
9
|
-
import { e as emailLayer } from "./emailLayer/index.
|
|
10
|
-
import { P as ProPosterLayer } from "../ProPosterLayer/index.
|
|
11
|
-
import { g as getAttachmentUrl, t as transformHtmlFile, a as getDocInfos } from "./js/util/index.
|
|
12
|
-
import { Q as QRCode } from "../QRCode/qrcode/index.
|
|
13
|
-
import { f as fetch } from "../utils/post/index.
|
|
14
|
-
import { f as fileListLayer } from "./fileListLayer/index.
|
|
15
|
-
import { s as shareTipLayer } from "./shareTipLayer/index.
|
|
16
|
-
import { s as saleAreaLayer } from "./saleAreaLayer/index.
|
|
17
|
-
import { u as ua } from "../utils/helpers/index.
|
|
18
|
-
import { T as Toast } from "../Toast/index.
|
|
6
|
+
import { c as create } from "../utils/create/index.esm.js";
|
|
7
|
+
import { v as visibleMixin } from "../mixins/visible/index.esm.js";
|
|
8
|
+
import { p as productDetailLayer } from "./productDetailLayer/index.esm.js";
|
|
9
|
+
import { e as emailLayer } from "./emailLayer/index.esm.js";
|
|
10
|
+
import { P as ProPosterLayer } from "../ProPosterLayer/index.esm.js";
|
|
11
|
+
import { g as getAttachmentUrl, t as transformHtmlFile, a as getDocInfos } from "./js/util/index.esm.js";
|
|
12
|
+
import { Q as QRCode } from "../QRCode/qrcode/index.esm.js";
|
|
13
|
+
import { f as fetch } from "../utils/post/index.esm.js";
|
|
14
|
+
import { f as fileListLayer } from "./fileListLayer/index.esm.js";
|
|
15
|
+
import { s as shareTipLayer } from "./shareTipLayer/index.esm.js";
|
|
16
|
+
import { s as saleAreaLayer } from "./saleAreaLayer/index.esm.js";
|
|
17
|
+
import { u as ua } from "../utils/helpers/index.esm.js";
|
|
18
|
+
import { T as Toast } from "../Toast/index.esm.js";
|
|
19
19
|
import computerBanner from "../assets/computer.0d8c.png";
|
|
20
|
-
import { A as ActionSheet } from "./actionSheet/index.
|
|
21
|
-
import { n as normalizeComponent } from "../common/index.
|
|
20
|
+
import { A as ActionSheet } from "./actionSheet/index.esm.js";
|
|
21
|
+
import { n as normalizeComponent } from "../common/index.esm.js";
|
|
22
22
|
import './style.css';var _callback = function _callback2() {
|
|
23
23
|
};
|
|
24
24
|
var isApp = ua.isApp;
|
|
@@ -11,7 +11,7 @@ import img2 from "../../../assets/icon2.b81b.png";
|
|
|
11
11
|
import img3 from "../../../assets/icon3.4476.png";
|
|
12
12
|
import img4 from "../../../assets/icon4.e359.png";
|
|
13
13
|
import img8 from "../../../assets/icon8.d7d4.png";
|
|
14
|
-
import { f as fetch } from "../../../utils/post/index.
|
|
14
|
+
import { f as fetch } from "../../../utils/post/index.esm.js";
|
|
15
15
|
var isExcelFile = function isExcelFile2(file) {
|
|
16
16
|
return /^.*\.(?:(xlsx|xls|csv))$/.test(file);
|
|
17
17
|
};
|