@xysfe/actui2 0.0.8 → 0.0.10
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/ClaimsContact/style.css +1 -1
- package/lib/Collapse/{index.mjs → index.esm.js} +5 -5
- package/lib/Contact/{index.mjs → index.esm.js} +11 -11
- package/lib/Contact/style.css +1 -1
- package/lib/ContactBook/{index.mjs → index.esm.js} +12 -12
- package/lib/ContactBook/style.css +1 -1
- 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/GoldProtocol/style.css +1 -1
- 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} +12 -11
- package/lib/Marketing/kcb/index.js +1 -1
- package/lib/Marketing/kcb/style.css +1 -1
- 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} +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} +3 -3
- 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/Style/style.css +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/noscroll/index.esm.js +35 -0
- package/lib/mixins/noscroll/index.js +1 -1
- 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 +2 -2
- package/types/common/goldlayer.vue.d.ts +34 -0
- package/types/components/CertifyLayer/src/index.vue.d.ts +34 -0
- package/types/components/ClaimsContact/src/index.vue.d.ts +34 -0
- package/types/components/Contact/src/index.vue.d.ts +34 -0
- package/types/components/ContactBook/src/index.vue.d.ts +34 -0
- package/types/components/CouponLayer/src/index.vue.d.ts +34 -0
- package/types/components/CrmReserveInfoLayer/src/index.vue.d.ts +34 -0
- package/types/components/Dialog/src/index.vue.d.ts +34 -0
- package/types/components/DiseaseSelect/src/search.vue.d.ts +4 -0
- package/types/components/DiseaseSelect/src/selectLayer.vue.d.ts +34 -0
- package/types/components/DiseaseSelectLayer/src/index.vue.d.ts +34 -0
- package/types/components/FormLayer/src/index.vue.d.ts +34 -0
- package/types/components/GivenLayer/src/index.vue.d.ts +34 -0
- package/types/components/GoldCancelDialog/src/index.vue.d.ts +4 -0
- package/types/components/GoldCoupon/src/code.vue.d.ts +34 -0
- package/types/components/GoldCoupon/src/list.vue.d.ts +34 -0
- package/types/components/GoldDialog/src/index.vue.d.ts +34 -0
- package/types/components/GoldIntransitDialog/src/index.vue.d.ts +34 -0
- package/types/components/GoldPhoto/src/index.vue.d.ts +34 -0
- package/types/components/GoldQrcode/src/index.vue.d.ts +34 -0
- package/types/components/GoldSelect/src/components/select.vue.d.ts +34 -0
- package/types/components/ImageLayer/src/index.vue.d.ts +34 -0
- package/types/components/ImagePreview/src/index.vue.d.ts +34 -0
- package/types/components/IndexBar/src/index.vue.d.ts +34 -0
- package/types/components/JigsawLayer/src/index.vue.d.ts +34 -0
- package/types/components/LoginLayer/src/index.vue.d.ts +34 -0
- package/types/components/Marketing/src/components/scrollPanel.vue.d.ts +2 -2
- package/types/components/Marketing/src/kcb.vue.d.ts +9 -0
- package/types/components/MobileAuthLayer/src/index.vue.d.ts +34 -0
- package/types/components/MobileLayer/src/crm.vue.d.ts +34 -0
- package/types/components/MobileLayer/src/default.vue.d.ts +34 -0
- package/types/components/MultiSelect/src/index.vue.d.ts +34 -0
- package/types/components/PageLoading/src/index.vue.d.ts +34 -0
- package/types/components/Picker/src/index.vue.d.ts +34 -0
- package/types/components/PickerLongText/src/index.vue.d.ts +34 -0
- package/types/components/PosterLayer/src/index.vue.d.ts +34 -0
- package/types/components/PrizeLayer/src/index.vue.d.ts +34 -0
- package/types/components/ProductLayer/src/saleAreaLayer.vue.d.ts +34 -0
- package/types/components/QrcodeLayer/src/index.vue.d.ts +34 -0
- package/types/components/RowCascadePicker/src/index.bak.vue.d.ts +34 -0
- package/types/components/Rule/src/index.vue.d.ts +34 -0
- package/types/mixins/noscroll.d.ts +4 -0
- package/lib/BScroll/index.mjs +0 -1
- package/lib/index.mjs +0 -515
- package/lib/mixins/noscroll/index.mjs +0 -26
- /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/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
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { D as DocPop } from "../../DocPop/index.
|
|
2
|
-
import { P as PageLoading } from "../../PageLoading/index.
|
|
3
|
-
import { g as get, f as fetch } from "../../utils/post/index.
|
|
4
|
-
import { v as getParam } from "../../utils/helpers/index.
|
|
5
|
-
import { J as JigsawVerifyCode } from "../../JigsawVerifyCode/index.
|
|
6
|
-
import { n as normalizeComponent } from "../../common/index.
|
|
1
|
+
import { D as DocPop } from "../../DocPop/index.esm.js";
|
|
2
|
+
import { P as PageLoading } from "../../PageLoading/index.esm.js";
|
|
3
|
+
import { g as get, f as fetch } from "../../utils/post/index.esm.js";
|
|
4
|
+
import { v as getParam } from "../../utils/helpers/index.esm.js";
|
|
5
|
+
import { J as JigsawVerifyCode } from "../../JigsawVerifyCode/index.esm.js";
|
|
6
|
+
import { n as normalizeComponent } from "../../common/index.esm.js";
|
|
7
7
|
import './style.css';var countDownTime = 60;
|
|
8
8
|
var _sfc_main = {
|
|
9
9
|
name: "GetMobileForNew",
|
|
@@ -10,14 +10,14 @@ import _defineProperty from "@babel/runtime-corejs3/helpers/defineProperty";
|
|
|
10
10
|
import _asyncToGenerator from "@babel/runtime-corejs3/helpers/asyncToGenerator";
|
|
11
11
|
import _regeneratorRuntime from "@babel/runtime-corejs3/regenerator";
|
|
12
12
|
import _concatInstanceProperty from "@babel/runtime-corejs3/core-js/instance/concat";
|
|
13
|
-
import { f as fontSize } from "../../mixins/fontsize/index.
|
|
14
|
-
import { f as fetch } from "../../utils/post/index.
|
|
15
|
-
import { S as Scroll } from "../../common/scroll/index.
|
|
16
|
-
import { v as getParam } from "../../utils/helpers/index.
|
|
13
|
+
import { f as fontSize } from "../../mixins/fontsize/index.esm.js";
|
|
14
|
+
import { f as fetch } from "../../utils/post/index.esm.js";
|
|
15
|
+
import { S as Scroll } from "../../common/scroll/index.esm.js";
|
|
16
|
+
import { v as getParam } from "../../utils/helpers/index.esm.js";
|
|
17
17
|
import iconFl from "../../assets/icon_fl.7f19.png";
|
|
18
18
|
import iconQt from "../../assets/icon_tq.c479.png";
|
|
19
19
|
import __$_require_45355ced__ from "../../assets/icon_dt.ad3d.png";
|
|
20
|
-
import { n as normalizeComponent } from "../../common/index.
|
|
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) {
|
|
@@ -9,9 +9,9 @@ import _defineProperty from "@babel/runtime-corejs3/helpers/defineProperty";
|
|
|
9
9
|
import _forEachInstanceProperty from "@babel/runtime-corejs3/core-js/instance/for-each";
|
|
10
10
|
import _mapInstanceProperty from "@babel/runtime-corejs3/core-js/instance/map";
|
|
11
11
|
import _concatInstanceProperty from "@babel/runtime-corejs3/core-js/instance/concat";
|
|
12
|
-
import { S as Scroll } from "../../common/scroll/index.
|
|
13
|
-
import { f as fontSize } from "../../mixins/fontsize/index.
|
|
14
|
-
import { n as normalizeComponent } from "../../common/index.
|
|
12
|
+
import { S as Scroll } from "../../common/scroll/index.esm.js";
|
|
13
|
+
import { f as fontSize } from "../../mixins/fontsize/index.esm.js";
|
|
14
|
+
import { n as normalizeComponent } from "../../common/index.esm.js";
|
|
15
15
|
import './style.css';function ownKeys(e, r) {
|
|
16
16
|
var t = _Object$keys(e);
|
|
17
17
|
if (_Object$getOwnPropertySymbols) {
|
|
@@ -22,10 +22,10 @@ import _sortInstanceProperty from "@babel/runtime-corejs3/core-js/instance/sort"
|
|
|
22
22
|
import _Set from "@babel/runtime-corejs3/core-js/set";
|
|
23
23
|
import _mapInstanceProperty from "@babel/runtime-corejs3/core-js/instance/map";
|
|
24
24
|
import _concatInstanceProperty from "@babel/runtime-corejs3/core-js/instance/concat";
|
|
25
|
-
import { f as filterIcon } from "../filterIcon/index.
|
|
26
|
-
import { g as getLeafColumns, c as convertToRows } from "../utils/index.
|
|
25
|
+
import { f as filterIcon } from "../filterIcon/index.esm.js";
|
|
26
|
+
import { g as getLeafColumns, c as convertToRows } from "../utils/index.esm.js";
|
|
27
27
|
import __$_require_45355ced__ from "../../assets/icon_dt.ad3d.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,10 +1,10 @@
|
|
|
1
1
|
import _Object$keys from "@babel/runtime-corejs3/core-js/object/keys";
|
|
2
2
|
import _forEachInstanceProperty from "@babel/runtime-corejs3/core-js/instance/for-each";
|
|
3
|
-
import { C as CascadePicker } from "../../CascadePicker/index.
|
|
3
|
+
import { C as CascadePicker } from "../../CascadePicker/index.esm.js";
|
|
4
4
|
import __$_require_8e0e2794__ from "../../assets/location.ad43.png";
|
|
5
5
|
import __$_require_5018a7bc__ from "../../assets/arrow2.2026.png";
|
|
6
6
|
import __$_require_66856b65__ from "../../assets/act_tit_icon.597c.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: "Activity",
|
|
10
10
|
components: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref } from "vue";
|
|
2
|
-
import { p as popper } from "../popper/index.
|
|
3
|
-
import { n as normalizeComponent } from "../../common/index.
|
|
2
|
+
import { p as popper } from "../popper/index.esm.js";
|
|
3
|
+
import { n as normalizeComponent } from "../../common/index.esm.js";
|
|
4
4
|
import './style.css';var _sfc_main = {
|
|
5
5
|
__name: "filterIcon",
|
|
6
6
|
props: {
|
|
@@ -7,9 +7,9 @@ import _Object$getOwnPropertyDescriptors from "@babel/runtime-corejs3/core-js/ob
|
|
|
7
7
|
import _Object$defineProperties from "@babel/runtime-corejs3/core-js/object/define-properties";
|
|
8
8
|
import _Object$defineProperty from "@babel/runtime-corejs3/core-js/object/define-property";
|
|
9
9
|
import _defineProperty from "@babel/runtime-corejs3/helpers/defineProperty";
|
|
10
|
-
import { k as kcb } from "./kcb/index.
|
|
11
|
-
import { x as xys } from "./xys/index.
|
|
12
|
-
import { c as createAPI } from "../utils/create-api/index.
|
|
10
|
+
import { k as kcb } from "./kcb/index.esm.js";
|
|
11
|
+
import { x as xys } from "./xys/index.esm.js";
|
|
12
|
+
import { c as createAPI } from "../utils/create-api/index.esm.js";
|
|
13
13
|
function ownKeys(e, r) {
|
|
14
14
|
var t = _Object$keys(e);
|
|
15
15
|
if (_Object$getOwnPropertySymbols) {
|
|
@@ -18,17 +18,18 @@ import _findInstanceProperty from "@babel/runtime-corejs3/core-js/instance/find"
|
|
|
18
18
|
import _filterInstanceProperty from "@babel/runtime-corejs3/core-js/instance/filter";
|
|
19
19
|
import _concatInstanceProperty from "@babel/runtime-corejs3/core-js/instance/concat";
|
|
20
20
|
import _Promise from "@babel/runtime-corejs3/core-js/promise";
|
|
21
|
-
import { t as tuiguangfei } from "../tuiguangfei/index.
|
|
22
|
-
import { g as gift } from "../gift/index.
|
|
23
|
-
import { a as activity } from "../activity/index.
|
|
24
|
-
import { v as visibleMixin } from "../../mixins/visible/index.
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import { f as
|
|
21
|
+
import { t as tuiguangfei } from "../tuiguangfei/index.esm.js";
|
|
22
|
+
import { g as gift } from "../gift/index.esm.js";
|
|
23
|
+
import { a as activity } from "../activity/index.esm.js";
|
|
24
|
+
import { v as visibleMixin } from "../../mixins/visible/index.esm.js";
|
|
25
|
+
import { n as noscrollMixin } from "../../mixins/noscroll/index.esm.js";
|
|
26
|
+
import { p as popupMixin } from "../../mixins/popup/index.esm.js";
|
|
27
|
+
import { A as ActPopup } from "../../common/popup/index.esm.js";
|
|
28
|
+
import { f as fontSize } from "../../mixins/fontsize/index.esm.js";
|
|
29
|
+
import { f as fetch } from "../../utils/post/index.esm.js";
|
|
29
30
|
import { cloneDeep } from "lodash-es";
|
|
30
31
|
import __$_require_9dfa3d6a__ from "../../assets/close.c0da.png";
|
|
31
|
-
import { n as normalizeComponent } from "../../common/index.
|
|
32
|
+
import { n as normalizeComponent } from "../../common/index.esm.js";
|
|
32
33
|
import './style.css';function ownKeys(e, r) {
|
|
33
34
|
var t = _Object$keys(e);
|
|
34
35
|
if (_Object$getOwnPropertySymbols) {
|
|
@@ -97,7 +98,7 @@ function _arrayLikeToArray(r, a) {
|
|
|
97
98
|
}
|
|
98
99
|
var _sfc_main = {
|
|
99
100
|
name: "ActKcbMarketiingLayer",
|
|
100
|
-
mixins: [visibleMixin, fontSize, popupMixin],
|
|
101
|
+
mixins: [visibleMixin, fontSize, popupMixin, noscrollMixin],
|
|
101
102
|
components: {
|
|
102
103
|
tuiguangfei,
|
|
103
104
|
ActPopup,
|
|
@@ -726,7 +727,7 @@ var _sfc_render = function render() {
|
|
|
726
727
|
}, [_c("span", [_vm._v("全屏查看")])])]) : _vm._e()]) : _vm._e()])], 1)])], 1);
|
|
727
728
|
};
|
|
728
729
|
var _sfc_staticRenderFns = [];
|
|
729
|
-
var __component__ = /* @__PURE__ */ normalizeComponent(_sfc_main, _sfc_render, _sfc_staticRenderFns, false, null, "
|
|
730
|
+
var __component__ = /* @__PURE__ */ normalizeComponent(_sfc_main, _sfc_render, _sfc_staticRenderFns, false, null, "03274df9");
|
|
730
731
|
var kcb = __component__.exports;
|
|
731
732
|
export {
|
|
732
733
|
kcb as k
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require('./style.css');var _sliceInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/slice");var _Array$from=require("@babel/runtime-corejs3/core-js/array/from");var _Symbol=require("@babel/runtime-corejs3/core-js/symbol");var _getIteratorMethod=require("@babel/runtime-corejs3/core-js/get-iterator-method");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 _defineProperty=require("@babel/runtime-corejs3/helpers/defineProperty");var _forEachInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/for-each");var _Object$fromEntries=require("@babel/runtime-corejs3/core-js/object/from-entries");var _mapInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/map");var _Object$keys=require("@babel/runtime-corejs3/core-js/object/keys");var _includesInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/includes");var _findIndexInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/find-index");var _findInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/find");var _filterInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/filter");var _concatInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/concat");var _Promise=require("@babel/runtime-corejs3/core-js/promise");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 _context11,_context12;var t=null!=arguments[r]?arguments[r]:{};r%2?_forEachInstanceProperty(_context11=ownKeys(Object(t),true)).call(_context11,function(r2){_defineProperty(e,r2,t[r2])}):_Object$getOwnPropertyDescriptors?_Object$defineProperties(e,_Object$getOwnPropertyDescriptors(t)):_forEachInstanceProperty(_context12=ownKeys(Object(t))).call(_context12,function(r2){_Object$defineProperty(e,r2,_Object$getOwnPropertyDescriptor(t,r2))})}return e}function _createForOfIteratorHelper(r,e){var t="undefined"!=typeof _Symbol&&_getIteratorMethod(r)||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=_unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var _n=0,F=function F2(){};return{s:F,n:function n(){return _n>=r.length?{done:true}:{done:false,value:r[_n++]}},e:function e2(r2){throw r2},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=true,u=false;return{s:function s(){t=t.call(r)},n:function n(){var r2=t.next();return a=r2.done,r2},e:function e2(r2){u=true,o=r2},f:function f(){try{a||null==t.return||t.return()}finally{if(u)throw o}}}}function _unsupportedIterableToArray(r,a){if(r){var _context10;if("string"==typeof r)return _arrayLikeToArray(r,a);var t=_sliceInstanceProperty(_context10={}.toString.call(r)).call(_context10,8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?_Array$from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n}var Marketing_tuiguangfei=require("../tuiguangfei/index.js");var Marketing_gift=require("../gift/index.js");var Marketing_activity=require("../activity/index.js");var mixins_visible=require("../../mixins/visible/index.js");var mixins_popup=require("../../mixins/popup/index.js");var common_popup=require("../../common/popup/index.js");var mixins_fontsize=require("../../mixins/fontsize/index.js");var utils_post=require("../../utils/post/index.js");var lodashEs=require("lodash-es");var __$_require_9dfa3d6a__=require("../../assets/close.c0da.png");var common=require("../../common/index.js");var _sfc_main={name:"ActKcbMarketiingLayer",mixins:[mixins_visible.visibleMixin,mixins_fontsize.fontSize,mixins_popup.popupMixin],components:{tuiguangfei:Marketing_tuiguangfei.tuiguangfei,ActPopup:common_popup.ActPopup,activity:Marketing_activity.activity,gift:Marketing_gift.gift},props:{itemId:{type:String,require:true,default:""},themeColor:{type:String,default:"#f05a4b"},showDetailButton:{type:Boolean,default:false},showActivity:{type:Boolean,default:false},extParam:{type:Object,require:true,default:function _default(){return{}}}},data:function data(){return{mask:false,loading:true,info:"",bsF:"",initData:{itemId:"",themeColor:"",showDetailButton:false,extParam:""},filterKey:[],popTit:"",toast:"",allScreen:false,regionList:[],basicLaw:0,basicLawConf:{},agentInstitution:{}}},watch:{extParam:function extParam(val){this.initData.extParam=val},themeColor:function themeColor(val){this.initData.themeColor=val},itemId:function itemId(val){this.initData.itemId=val},showDetailButton:function showDetailButton(val){this.initData.showDetailButton=val}},computed:{infoComponent:function infoComponent(){var component=null;if(!this.initData.extParam){return}if(this.initData.extParam.type==="promotionFee"){component=Marketing_tuiguangfei.tuiguangfei}if(this.initData.extParam.type==="act"){component=Marketing_activity.activity}if(this.initData.extParam.type==="ticket"){component=Marketing_gift.gift}return component},panelStyl:function panelStyl(){return{fontSize:this._fontSize,backgroundColor:this.initData.extParam.type==="act"?"#F7F8FC":"#FFF"}}},mounted:function mounted(){this.initData={itemId:this.itemId,themeColor:this.themeColor,showDetailButton:this.showDetailButton,extParam:this.extParam}},methods:{show:function show(){if(this.isVisible)return;this.isVisible=true;this.initDataHandler()},cancel:function cancel(){if(this.allScreen){this.allScreen=false;return}this.hide();this.loading=true;this.mask=false},setInfo:function setInfo(tit,info){this.popTit=tit;this.info=info;this.mask=true;this.loading=false},getFormatData:function getFormatData(isFirst,idx,result){var _context,_this=this;if(!this.info.promotionFee){return}var target=isFirst?"promotionFee":"filterPromotionFee";_forEachInstanceProperty(_context=this.info[target]).call(_context,function(ele,index){if(isFirst)_this.filterKey.push({});if(ele.commissionList&&(idx!==void 0?idx===index:true)){var _context2,_context3;ele.commissionList=_this.combineCell(result||ele.commissionList);ele.commissionSelections=_Object$fromEntries(_mapInstanceProperty(_context2=ele.commissionHeader).call(_context2,function(item){return[item.key,[]]}));ele.commissionCombineHeader=Array.isArray(ele.commissionParentHeader)&&ele.commissionParentHeader.length?_this.combineHeader(ele.commissionHeader,ele.commissionParentHeader):ele.commissionHeader;_forEachInstanceProperty(_context3=ele.commissionList).call(_context3,function(item){var _context4;_forEachInstanceProperty(_context4=_Object$keys(ele.commissionSelections)).call(_context4,function(header){var _context5;if(!_includesInstanceProperty(_context5=ele.commissionSelections[header]).call(_context5,item[header])){ele.commissionSelections[header].push(item[header])}})})}})},combineCell:function combineCell(val){var list=val;for(var field in list[0]){var _context6;var k=0;if(!_includesInstanceProperty(_context6=["itemName","saveYear"]).call(_context6,field)){continue}while(k<list.length){list[k][field+"span"]=1;list[k][field+"dis"]=false;for(var i=k+1;i<=list.length-1;i++){var NoFirstTag=field!=="itemName"?list[k].itemName===list[i].itemName&&list[k].itemName!=="":true;if(list[k][field]===list[i][field]&&list[k][field]!==""&&NoFirstTag){list[k][field+"span"]++;list[k][field+"dis"]=false;list[i][field+"span"]=1;list[i][field+"dis"]=true}else{break}}k=i}}return list},combineHeader:function combineHeader(val,parentVal){var list=lodashEs.cloneDeep(val);var arr=[];var _iterator=_createForOfIteratorHelper(list),_step;try{var _loop=function _loop2(){var value=_step.value;if(!value.parent){arr.push(value)}else{if(_findIndexInstanceProperty(arr).call(arr,function(item){return item.id===value.parent})===-1){var obj=lodashEs.cloneDeep(_findInstanceProperty(parentVal).call(parentVal,function(item){return item.id===value.parent}));var children=lodashEs.cloneDeep(_filterInstanceProperty(list).call(list,function(item){return item.parent===obj.id}));obj.children=children;arr.push(obj)}}};for(_iterator.s();!(_step=_iterator.n()).done;){_loop()}}catch(err){_iterator.e(err)}finally{_iterator.f()}return arr},itemPromotionFee:function itemPromotionFee(level,addressCode){var _this2=this;this._getItemPromotionFee(level,addressCode).then(function(res){_this2.setInfo(res.data.cpsItem.name,res.data);_this2.getFormatData(1);_this2.$set(_this2.info,"filterPromotionFee",lodashEs.cloneDeep(_this2.info.promotionFee))}).catch(function(e){if(!level&&!addressCode)_this2.cancel();_this2.showToast(e&&e.errmsg?e.errmsg:"系统繁忙,请稍后再试");_this2.loading=false})},initDataHandler:function initDataHandler(){var _this3=this;var _ref=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},level=_ref.level,addressCode=_ref.addressCode;if(this.initData.extParam.type==="promotionFee"){if(!level&&!addressCode){this._getRegionList();this._getExamineConf()}else{this.loading=true;this.itemPromotionFee(level,addressCode)}}if(this.initData.extParam.type==="ticket"){this._getTicketList().then(function(res){_this3.setInfo("优惠券",res.data.list)}).catch(function(e){_this3.cancel();_this3.showToast(e&&e.errmsg?e.errmsg:"系统繁忙,请稍后再试")})}if(this.initData.extParam.type==="act"){if(!addressCode){this._getRegionList().then(function(){var provinceCode="";var cityCode="";if(_this3.agentInstitution.saleArea&&_this3.agentInstitution.saleArea[0]){provinceCode=_Object$keys(_this3.agentInstitution.saleArea[0].province)[0]}_this3._getActList(provinceCode,cityCode).then(function(res){_this3.setInfo("活动",res.data)}).catch(function(e){_this3.cancel();_this3.showToast(e&&e.errmsg?e.errmsg:"系统繁忙,请稍后再试")})})}else{var province=addressCode[0]?addressCode[0]:"";var city=addressCode[1]&&addressCode[1].split("-")?addressCode[1].split("-")[0]:"";this._getActList(province,city).then(function(res){_this3.setInfo("活动",res.data)}).catch(function(e){_this3.cancel();_this3.showToast(e&&e.errmsg?e.errmsg:"系统繁忙,请稍后再试")})}}},setData:function setData(data2){this.initData=data2},_getRegionList:function _getRegionList(){var _this4=this;var url="/".concat(this.showDetailButton?"item":"CpsBdzs","/getItemSaleAreaForFee");return this.$fetch(url,{id:this.initData.itemId}).then(function(_ref2){var ret=_ref2.ret,data2=_ref2.data,errmsg=_ref2.errmsg;if(!ret){var _context7;_this4.regionList=_mapInstanceProperty(_context7=data2.areaList).call(_context7,function(item){if(item.transferCity){var _context8;return _objectSpread(_objectSpread({},item),{},{children:_mapInstanceProperty(_context8=item.transferCity).call(_context8,function(item2){if(Array.isArray(item2.code)){return _objectSpread(_objectSpread({},item2),{},{code:item2.code.join("-")})}else{return item2}})})}else{return item}});_this4.agentInstitution=data2.agentInstitution||{}}else{_this4.showToast(errmsg||"系统繁忙,请稍后再试")}}).catch(function(e){_this4.showToast(e&&e.errmsg?e.errmsg:"系统繁忙,请稍后再试")})},_getExamineConf:function _getExamineConf(){var _this5=this;var url="/".concat(this.showDetailButton?"item":"CpsBdzs","/getExamineConf");this.$fetch(url).then(function(_ref3){var ret=_ref3.ret,data2=_ref3.data,errmsg=_ref3.errmsg;if(!ret){_this5.basicLaw=data2.basicLaw;_this5.basicLawConf=data2.conf}else{_this5.showToast(errmsg||"系统繁忙,请稍后再试")}}).catch(function(e){_this5.showToast(e&&e.errmsg?e.errmsg:"系统繁忙,请稍后再试")}).finally(function(){var level="";if(_this5.basicLawConf&&_this5.basicLawConf[_this5.basicLaw]){var list=_this5.basicLawConf[_this5.basicLaw].serialList["1"].levelList;level=list.length?list[0].level:""}_this5.itemPromotionFee(level)})},_getItemPromotionFee:function _getItemPromotionFee(level,addressCode){var _context9;var obj={agentBranch:0,basicLaw:level?_concatInstanceProperty(_context9="".concat(this.basicLaw,"_1_")).call(_context9,level):"",province:addressCode?addressCode[0]:"",city:addressCode&&addressCode[1]?addressCode[1].split("-")[0]:""};if(this.showDetailButton){obj=_objectSpread(_objectSpread({},obj),{},{id:this.initData.itemId})}else{obj=_objectSpread(_objectSpread({},obj),{},{itemId:this.initData.itemId})}return utils_post.fetch(this.initData.extParam.api.getItemPromotionFee,obj).then(function(res){if(!res.data.ret){return _Promise.resolve(res.data)}else{return _Promise.reject(res.data)}}).catch(function(e){return _Promise.reject(e)})},_getTicketList:function _getTicketList(){return utils_post.fetch(this.initData.extParam.api.ticketList,{itemId:this.initData.itemId}).then(function(res){if(!res.data.ret){return _Promise.resolve(res.data)}else{return _Promise.reject(res.data)}}).catch(function(e){return _Promise.reject()})},_getTicket:function _getTicket(param){var _this6=this;var batchId=param.batchId,ruleId=param.ruleId,idx=param.idx;utils_post.fetch(this.initData.extParam.api.fetchTicket,{itemId:this.initData.itemId,batchId,ruleId}).then(function(res){if(!res.data.ret){_this6.showToast("领取成功");if(_this6.info.fetchTicket[idx].hasFetch){_this6.info.fetchTicket[idx].hasFetch++}else{_this6.$set(_this6.info.fetchTicket[idx],"hasFetch",1)}}else{_this6.showToast(res.data.errmsg)}}).catch(function(e){_this6.showToast("系统繁忙,请稍后再试")})},_getActList:function _getActList(){var provinceCode=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";var cityCode=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return utils_post.fetch(this.initData.extParam.api.actList,{itemId:this.initData.itemId,province:provinceCode,city:cityCode}).then(function(res){if(!res.data.ret){return _Promise.resolve(res.data)}else{return _Promise.reject(res.data)}}).catch(function(e){return _Promise.reject()})},_joinAct:function _joinAct(val,index){var _this7=this;utils_post.fetch(this.initData.extParam.api.joinAct,{actId:val,itemId:this.initData.itemId}).then(function(res){if(!res.data.ret){_this7.showToast("报名成功");if(Array.isArray(_this7.info)){_this7.info[index].hasJoin=true}else if(_this7.info.marketing&&_this7.info.marketing.length>0){_this7.info.marketing[index].hasJoin=true}}else{_this7.showToast(res.data.errmsg)}}).catch(function(e){_this7.showToast("系统繁忙,请稍后再试")})},_filter:function _filter(val,index,key){var _this8=this;var arr=lodashEs.cloneDeep(this.info.filterPromotionFee[index].commissionList);this.$set(this.filterKey[index],key,true);var result=_filterInstanceProperty(arr).call(arr,function(item){return item[key]===val});this.$nextTick(function(){_this8.getFormatData(0,index,result)})},_resetList:function _resetList(index,key){var _this9=this;var arr=this.info.promotionFee[index].commissionList;this.$set(this.filterKey[index],key,false);var keyMap=this.buildheaderArr(index);var result=_filterInstanceProperty(arr).call(arr,function(item){return _this9.everyFilterCheck(item,keyMap)});this.$nextTick(function(){_this9.getFormatData(0,index,result)})},buildheaderArr:function buildheaderArr(index){var _context0,_this0=this;var arr=lodashEs.cloneDeep(this.info.promotionFee[index].commissionSelections);_forEachInstanceProperty(_context0=_Object$keys(arr)).call(_context0,function(key){if(_this0.filterKey[index][key])arr[key]=lodashEs.cloneDeep(_this0.info.filterPromotionFee[index].commissionSelections[key]);else arr[key]=lodashEs.cloneDeep(_this0.info.promotionFee[index].commissionSelections[key])});return arr},everyFilterCheck:function everyFilterCheck(item,keyMap){for(var _i=0,_Object$keys2=_Object$keys(keyMap);_i<_Object$keys2.length;_i++){var _context1;var key=_Object$keys2[_i];if(!_includesInstanceProperty(_context1=keyMap[key]).call(_context1,item[key])){return false}}return true},showToast:function showToast(message){var time=arguments.length>1&&arguments[1]!==void 0?arguments[1]:3e3;this.hideToast();if(!this.toast){this.toast=this.$createToast()}this.toast.show(message,time)},hideToast:function hideToast(){if(this.toast){this.toast.hide()}},go:function go(){location.href="/agent/dye/itemid/"+this.initData.itemId}}};var _sfc_render=function render(){var _vm=this,_c=_vm._self._c;return _c("transition",{attrs:{"name":"act-marketing-fade"}},[_c("act-popup",{directives:[{name:"show",rawName:"v-show",value:_vm.isVisible,expression:"isVisible"}],attrs:{"mask":_vm.mask,"center":false,"topBorderRadius":!_vm.allScreen,"zIndex":_vm.zIndex},on:{"mask-click":_vm.cancel,"click":function click($event){if($event.target!==$event.currentTarget)return null;return _vm.cancel.apply(null,arguments)}}},[_c("div",{directives:[{name:"show",rawName:"v-show",value:_vm.loading&&_vm.isVisible,expression:"loading && isVisible"}],staticClass:"act-marketing-loading",class:{"act-marketing-loading":!_vm.info,"act-marketing-loading-show":_vm.info}},[_c("div",{staticClass:"act-marketing-loading-bg"},[_c("act-loading",{directives:[{name:"show",rawName:"v-show",value:true,expression:"true"}],ref:"loading",attrs:{"type":"cir2","color":"#fc7468","thick":.3}})],1)]),_c("div",[_c("transition",{attrs:{"name":"act-marketing-move"}},[!_vm.loading||_vm.info?_c("div",{staticClass:"act-marketing-panel act-column",class:{allScreen:_vm.allScreen},style:_vm.panelStyl,on:{"click":function click($event){$event.stopPropagation()}}},[_c("div",{staticClass:"act-marketing-choose"},[_c("div",{staticClass:"act-marketing-title-group",class:{"act-marketing-title-group-notAllScreen":!_vm.allScreen}},[_c("span",{staticClass:"act-marketing-title"},[_vm._v(_vm._s(_vm.popTit))])]),_c("div",{staticClass:"act-marketing-close",on:{"click":_vm.cancel}},[_c("img",{attrs:{"src":__$_require_9dfa3d6a__,"alt":""}})])]),_c("div",{staticClass:"act-marketing-component",class:{"act-marketing-component_notAllScreen":!_vm.allScreen}},[_c(_vm.infoComponent,{tag:"component",attrs:{"info":_vm.info,"showActivity":_vm.showActivity,"allScreen":_vm.allScreen,"regionList":_vm.regionList,"basicLaw":_vm.basicLaw,"basicLawConf":_vm.basicLawConf,"agentInstitution":_vm.agentInstitution},on:{"getTicket":_vm._getTicket,"joinAct":_vm._joinAct,"filter":_vm._filter,"resetList":_vm._resetList,"initData":_vm.initDataHandler}})],1),_vm.initData.extParam.type==="promotionFee"&&!_vm.allScreen?_c("div",{ref:"proDes",staticClass:"act-marketing-proDes row middle"},[_vm.showDetailButton?_c("div",{staticClass:"row middle detail",on:{"click":function click($event){$event.stopPropagation();return _vm.go.apply(null,arguments)}}},[_c("span",[_vm._v("产品详情")])]):_vm._e(),_c("div",{staticClass:"row middle red",on:{"click":function click($event){$event.stopPropagation();_vm.allScreen=true}}},[_c("span",[_vm._v("全屏查看")])])]):_vm._e()]):_vm._e()])],1)])],1)};var _sfc_staticRenderFns=[];var __component__=common.normalizeComponent(_sfc_main,_sfc_render,_sfc_staticRenderFns,false,null,"909fea93");var kcb=__component__.exports;exports.kcb=kcb;
|
|
1
|
+
"use strict";require('./style.css');var _sliceInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/slice");var _Array$from=require("@babel/runtime-corejs3/core-js/array/from");var _Symbol=require("@babel/runtime-corejs3/core-js/symbol");var _getIteratorMethod=require("@babel/runtime-corejs3/core-js/get-iterator-method");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 _defineProperty=require("@babel/runtime-corejs3/helpers/defineProperty");var _forEachInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/for-each");var _Object$fromEntries=require("@babel/runtime-corejs3/core-js/object/from-entries");var _mapInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/map");var _Object$keys=require("@babel/runtime-corejs3/core-js/object/keys");var _includesInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/includes");var _findIndexInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/find-index");var _findInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/find");var _filterInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/filter");var _concatInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/concat");var _Promise=require("@babel/runtime-corejs3/core-js/promise");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 _context11,_context12;var t=null!=arguments[r]?arguments[r]:{};r%2?_forEachInstanceProperty(_context11=ownKeys(Object(t),true)).call(_context11,function(r2){_defineProperty(e,r2,t[r2])}):_Object$getOwnPropertyDescriptors?_Object$defineProperties(e,_Object$getOwnPropertyDescriptors(t)):_forEachInstanceProperty(_context12=ownKeys(Object(t))).call(_context12,function(r2){_Object$defineProperty(e,r2,_Object$getOwnPropertyDescriptor(t,r2))})}return e}function _createForOfIteratorHelper(r,e){var t="undefined"!=typeof _Symbol&&_getIteratorMethod(r)||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=_unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var _n=0,F=function F2(){};return{s:F,n:function n(){return _n>=r.length?{done:true}:{done:false,value:r[_n++]}},e:function e2(r2){throw r2},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=true,u=false;return{s:function s(){t=t.call(r)},n:function n(){var r2=t.next();return a=r2.done,r2},e:function e2(r2){u=true,o=r2},f:function f(){try{a||null==t.return||t.return()}finally{if(u)throw o}}}}function _unsupportedIterableToArray(r,a){if(r){var _context10;if("string"==typeof r)return _arrayLikeToArray(r,a);var t=_sliceInstanceProperty(_context10={}.toString.call(r)).call(_context10,8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?_Array$from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n}var Marketing_tuiguangfei=require("../tuiguangfei/index.js");var Marketing_gift=require("../gift/index.js");var Marketing_activity=require("../activity/index.js");var mixins_visible=require("../../mixins/visible/index.js");var mixins_noscroll=require("../../mixins/noscroll/index.js");var mixins_popup=require("../../mixins/popup/index.js");var common_popup=require("../../common/popup/index.js");var mixins_fontsize=require("../../mixins/fontsize/index.js");var utils_post=require("../../utils/post/index.js");var lodashEs=require("lodash-es");var __$_require_9dfa3d6a__=require("../../assets/close.c0da.png");var common=require("../../common/index.js");var _sfc_main={name:"ActKcbMarketiingLayer",mixins:[mixins_visible.visibleMixin,mixins_fontsize.fontSize,mixins_popup.popupMixin,mixins_noscroll.noscrollMixin],components:{tuiguangfei:Marketing_tuiguangfei.tuiguangfei,ActPopup:common_popup.ActPopup,activity:Marketing_activity.activity,gift:Marketing_gift.gift},props:{itemId:{type:String,require:true,default:""},themeColor:{type:String,default:"#f05a4b"},showDetailButton:{type:Boolean,default:false},showActivity:{type:Boolean,default:false},extParam:{type:Object,require:true,default:function _default(){return{}}}},data:function data(){return{mask:false,loading:true,info:"",bsF:"",initData:{itemId:"",themeColor:"",showDetailButton:false,extParam:""},filterKey:[],popTit:"",toast:"",allScreen:false,regionList:[],basicLaw:0,basicLawConf:{},agentInstitution:{}}},watch:{extParam:function extParam(val){this.initData.extParam=val},themeColor:function themeColor(val){this.initData.themeColor=val},itemId:function itemId(val){this.initData.itemId=val},showDetailButton:function showDetailButton(val){this.initData.showDetailButton=val}},computed:{infoComponent:function infoComponent(){var component=null;if(!this.initData.extParam){return}if(this.initData.extParam.type==="promotionFee"){component=Marketing_tuiguangfei.tuiguangfei}if(this.initData.extParam.type==="act"){component=Marketing_activity.activity}if(this.initData.extParam.type==="ticket"){component=Marketing_gift.gift}return component},panelStyl:function panelStyl(){return{fontSize:this._fontSize,backgroundColor:this.initData.extParam.type==="act"?"#F7F8FC":"#FFF"}}},mounted:function mounted(){this.initData={itemId:this.itemId,themeColor:this.themeColor,showDetailButton:this.showDetailButton,extParam:this.extParam}},methods:{show:function show(){if(this.isVisible)return;this.isVisible=true;this.initDataHandler()},cancel:function cancel(){if(this.allScreen){this.allScreen=false;return}this.hide();this.loading=true;this.mask=false},setInfo:function setInfo(tit,info){this.popTit=tit;this.info=info;this.mask=true;this.loading=false},getFormatData:function getFormatData(isFirst,idx,result){var _context,_this=this;if(!this.info.promotionFee){return}var target=isFirst?"promotionFee":"filterPromotionFee";_forEachInstanceProperty(_context=this.info[target]).call(_context,function(ele,index){if(isFirst)_this.filterKey.push({});if(ele.commissionList&&(idx!==void 0?idx===index:true)){var _context2,_context3;ele.commissionList=_this.combineCell(result||ele.commissionList);ele.commissionSelections=_Object$fromEntries(_mapInstanceProperty(_context2=ele.commissionHeader).call(_context2,function(item){return[item.key,[]]}));ele.commissionCombineHeader=Array.isArray(ele.commissionParentHeader)&&ele.commissionParentHeader.length?_this.combineHeader(ele.commissionHeader,ele.commissionParentHeader):ele.commissionHeader;_forEachInstanceProperty(_context3=ele.commissionList).call(_context3,function(item){var _context4;_forEachInstanceProperty(_context4=_Object$keys(ele.commissionSelections)).call(_context4,function(header){var _context5;if(!_includesInstanceProperty(_context5=ele.commissionSelections[header]).call(_context5,item[header])){ele.commissionSelections[header].push(item[header])}})})}})},combineCell:function combineCell(val){var list=val;for(var field in list[0]){var _context6;var k=0;if(!_includesInstanceProperty(_context6=["itemName","saveYear"]).call(_context6,field)){continue}while(k<list.length){list[k][field+"span"]=1;list[k][field+"dis"]=false;for(var i=k+1;i<=list.length-1;i++){var NoFirstTag=field!=="itemName"?list[k].itemName===list[i].itemName&&list[k].itemName!=="":true;if(list[k][field]===list[i][field]&&list[k][field]!==""&&NoFirstTag){list[k][field+"span"]++;list[k][field+"dis"]=false;list[i][field+"span"]=1;list[i][field+"dis"]=true}else{break}}k=i}}return list},combineHeader:function combineHeader(val,parentVal){var list=lodashEs.cloneDeep(val);var arr=[];var _iterator=_createForOfIteratorHelper(list),_step;try{var _loop=function _loop2(){var value=_step.value;if(!value.parent){arr.push(value)}else{if(_findIndexInstanceProperty(arr).call(arr,function(item){return item.id===value.parent})===-1){var obj=lodashEs.cloneDeep(_findInstanceProperty(parentVal).call(parentVal,function(item){return item.id===value.parent}));var children=lodashEs.cloneDeep(_filterInstanceProperty(list).call(list,function(item){return item.parent===obj.id}));obj.children=children;arr.push(obj)}}};for(_iterator.s();!(_step=_iterator.n()).done;){_loop()}}catch(err){_iterator.e(err)}finally{_iterator.f()}return arr},itemPromotionFee:function itemPromotionFee(level,addressCode){var _this2=this;this._getItemPromotionFee(level,addressCode).then(function(res){_this2.setInfo(res.data.cpsItem.name,res.data);_this2.getFormatData(1);_this2.$set(_this2.info,"filterPromotionFee",lodashEs.cloneDeep(_this2.info.promotionFee))}).catch(function(e){if(!level&&!addressCode)_this2.cancel();_this2.showToast(e&&e.errmsg?e.errmsg:"系统繁忙,请稍后再试");_this2.loading=false})},initDataHandler:function initDataHandler(){var _this3=this;var _ref=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},level=_ref.level,addressCode=_ref.addressCode;if(this.initData.extParam.type==="promotionFee"){if(!level&&!addressCode){this._getRegionList();this._getExamineConf()}else{this.loading=true;this.itemPromotionFee(level,addressCode)}}if(this.initData.extParam.type==="ticket"){this._getTicketList().then(function(res){_this3.setInfo("优惠券",res.data.list)}).catch(function(e){_this3.cancel();_this3.showToast(e&&e.errmsg?e.errmsg:"系统繁忙,请稍后再试")})}if(this.initData.extParam.type==="act"){if(!addressCode){this._getRegionList().then(function(){var provinceCode="";var cityCode="";if(_this3.agentInstitution.saleArea&&_this3.agentInstitution.saleArea[0]){provinceCode=_Object$keys(_this3.agentInstitution.saleArea[0].province)[0]}_this3._getActList(provinceCode,cityCode).then(function(res){_this3.setInfo("活动",res.data)}).catch(function(e){_this3.cancel();_this3.showToast(e&&e.errmsg?e.errmsg:"系统繁忙,请稍后再试")})})}else{var province=addressCode[0]?addressCode[0]:"";var city=addressCode[1]&&addressCode[1].split("-")?addressCode[1].split("-")[0]:"";this._getActList(province,city).then(function(res){_this3.setInfo("活动",res.data)}).catch(function(e){_this3.cancel();_this3.showToast(e&&e.errmsg?e.errmsg:"系统繁忙,请稍后再试")})}}},setData:function setData(data2){this.initData=data2},_getRegionList:function _getRegionList(){var _this4=this;var url="/".concat(this.showDetailButton?"item":"CpsBdzs","/getItemSaleAreaForFee");return this.$fetch(url,{id:this.initData.itemId}).then(function(_ref2){var ret=_ref2.ret,data2=_ref2.data,errmsg=_ref2.errmsg;if(!ret){var _context7;_this4.regionList=_mapInstanceProperty(_context7=data2.areaList).call(_context7,function(item){if(item.transferCity){var _context8;return _objectSpread(_objectSpread({},item),{},{children:_mapInstanceProperty(_context8=item.transferCity).call(_context8,function(item2){if(Array.isArray(item2.code)){return _objectSpread(_objectSpread({},item2),{},{code:item2.code.join("-")})}else{return item2}})})}else{return item}});_this4.agentInstitution=data2.agentInstitution||{}}else{_this4.showToast(errmsg||"系统繁忙,请稍后再试")}}).catch(function(e){_this4.showToast(e&&e.errmsg?e.errmsg:"系统繁忙,请稍后再试")})},_getExamineConf:function _getExamineConf(){var _this5=this;var url="/".concat(this.showDetailButton?"item":"CpsBdzs","/getExamineConf");this.$fetch(url).then(function(_ref3){var ret=_ref3.ret,data2=_ref3.data,errmsg=_ref3.errmsg;if(!ret){_this5.basicLaw=data2.basicLaw;_this5.basicLawConf=data2.conf}else{_this5.showToast(errmsg||"系统繁忙,请稍后再试")}}).catch(function(e){_this5.showToast(e&&e.errmsg?e.errmsg:"系统繁忙,请稍后再试")}).finally(function(){var level="";if(_this5.basicLawConf&&_this5.basicLawConf[_this5.basicLaw]){var list=_this5.basicLawConf[_this5.basicLaw].serialList["1"].levelList;level=list.length?list[0].level:""}_this5.itemPromotionFee(level)})},_getItemPromotionFee:function _getItemPromotionFee(level,addressCode){var _context9;var obj={agentBranch:0,basicLaw:level?_concatInstanceProperty(_context9="".concat(this.basicLaw,"_1_")).call(_context9,level):"",province:addressCode?addressCode[0]:"",city:addressCode&&addressCode[1]?addressCode[1].split("-")[0]:""};if(this.showDetailButton){obj=_objectSpread(_objectSpread({},obj),{},{id:this.initData.itemId})}else{obj=_objectSpread(_objectSpread({},obj),{},{itemId:this.initData.itemId})}return utils_post.fetch(this.initData.extParam.api.getItemPromotionFee,obj).then(function(res){if(!res.data.ret){return _Promise.resolve(res.data)}else{return _Promise.reject(res.data)}}).catch(function(e){return _Promise.reject(e)})},_getTicketList:function _getTicketList(){return utils_post.fetch(this.initData.extParam.api.ticketList,{itemId:this.initData.itemId}).then(function(res){if(!res.data.ret){return _Promise.resolve(res.data)}else{return _Promise.reject(res.data)}}).catch(function(e){return _Promise.reject()})},_getTicket:function _getTicket(param){var _this6=this;var batchId=param.batchId,ruleId=param.ruleId,idx=param.idx;utils_post.fetch(this.initData.extParam.api.fetchTicket,{itemId:this.initData.itemId,batchId,ruleId}).then(function(res){if(!res.data.ret){_this6.showToast("领取成功");if(_this6.info.fetchTicket[idx].hasFetch){_this6.info.fetchTicket[idx].hasFetch++}else{_this6.$set(_this6.info.fetchTicket[idx],"hasFetch",1)}}else{_this6.showToast(res.data.errmsg)}}).catch(function(e){_this6.showToast("系统繁忙,请稍后再试")})},_getActList:function _getActList(){var provinceCode=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";var cityCode=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return utils_post.fetch(this.initData.extParam.api.actList,{itemId:this.initData.itemId,province:provinceCode,city:cityCode}).then(function(res){if(!res.data.ret){return _Promise.resolve(res.data)}else{return _Promise.reject(res.data)}}).catch(function(e){return _Promise.reject()})},_joinAct:function _joinAct(val,index){var _this7=this;utils_post.fetch(this.initData.extParam.api.joinAct,{actId:val,itemId:this.initData.itemId}).then(function(res){if(!res.data.ret){_this7.showToast("报名成功");if(Array.isArray(_this7.info)){_this7.info[index].hasJoin=true}else if(_this7.info.marketing&&_this7.info.marketing.length>0){_this7.info.marketing[index].hasJoin=true}}else{_this7.showToast(res.data.errmsg)}}).catch(function(e){_this7.showToast("系统繁忙,请稍后再试")})},_filter:function _filter(val,index,key){var _this8=this;var arr=lodashEs.cloneDeep(this.info.filterPromotionFee[index].commissionList);this.$set(this.filterKey[index],key,true);var result=_filterInstanceProperty(arr).call(arr,function(item){return item[key]===val});this.$nextTick(function(){_this8.getFormatData(0,index,result)})},_resetList:function _resetList(index,key){var _this9=this;var arr=this.info.promotionFee[index].commissionList;this.$set(this.filterKey[index],key,false);var keyMap=this.buildheaderArr(index);var result=_filterInstanceProperty(arr).call(arr,function(item){return _this9.everyFilterCheck(item,keyMap)});this.$nextTick(function(){_this9.getFormatData(0,index,result)})},buildheaderArr:function buildheaderArr(index){var _context0,_this0=this;var arr=lodashEs.cloneDeep(this.info.promotionFee[index].commissionSelections);_forEachInstanceProperty(_context0=_Object$keys(arr)).call(_context0,function(key){if(_this0.filterKey[index][key])arr[key]=lodashEs.cloneDeep(_this0.info.filterPromotionFee[index].commissionSelections[key]);else arr[key]=lodashEs.cloneDeep(_this0.info.promotionFee[index].commissionSelections[key])});return arr},everyFilterCheck:function everyFilterCheck(item,keyMap){for(var _i=0,_Object$keys2=_Object$keys(keyMap);_i<_Object$keys2.length;_i++){var _context1;var key=_Object$keys2[_i];if(!_includesInstanceProperty(_context1=keyMap[key]).call(_context1,item[key])){return false}}return true},showToast:function showToast(message){var time=arguments.length>1&&arguments[1]!==void 0?arguments[1]:3e3;this.hideToast();if(!this.toast){this.toast=this.$createToast()}this.toast.show(message,time)},hideToast:function hideToast(){if(this.toast){this.toast.hide()}},go:function go(){location.href="/agent/dye/itemid/"+this.initData.itemId}}};var _sfc_render=function render(){var _vm=this,_c=_vm._self._c;return _c("transition",{attrs:{"name":"act-marketing-fade"}},[_c("act-popup",{directives:[{name:"show",rawName:"v-show",value:_vm.isVisible,expression:"isVisible"}],attrs:{"mask":_vm.mask,"center":false,"topBorderRadius":!_vm.allScreen,"zIndex":_vm.zIndex},on:{"mask-click":_vm.cancel,"click":function click($event){if($event.target!==$event.currentTarget)return null;return _vm.cancel.apply(null,arguments)}}},[_c("div",{directives:[{name:"show",rawName:"v-show",value:_vm.loading&&_vm.isVisible,expression:"loading && isVisible"}],staticClass:"act-marketing-loading",class:{"act-marketing-loading":!_vm.info,"act-marketing-loading-show":_vm.info}},[_c("div",{staticClass:"act-marketing-loading-bg"},[_c("act-loading",{directives:[{name:"show",rawName:"v-show",value:true,expression:"true"}],ref:"loading",attrs:{"type":"cir2","color":"#fc7468","thick":.3}})],1)]),_c("div",[_c("transition",{attrs:{"name":"act-marketing-move"}},[!_vm.loading||_vm.info?_c("div",{staticClass:"act-marketing-panel act-column",class:{allScreen:_vm.allScreen},style:_vm.panelStyl,on:{"click":function click($event){$event.stopPropagation()}}},[_c("div",{staticClass:"act-marketing-choose"},[_c("div",{staticClass:"act-marketing-title-group",class:{"act-marketing-title-group-notAllScreen":!_vm.allScreen}},[_c("span",{staticClass:"act-marketing-title"},[_vm._v(_vm._s(_vm.popTit))])]),_c("div",{staticClass:"act-marketing-close",on:{"click":_vm.cancel}},[_c("img",{attrs:{"src":__$_require_9dfa3d6a__,"alt":""}})])]),_c("div",{staticClass:"act-marketing-component",class:{"act-marketing-component_notAllScreen":!_vm.allScreen}},[_c(_vm.infoComponent,{tag:"component",attrs:{"info":_vm.info,"showActivity":_vm.showActivity,"allScreen":_vm.allScreen,"regionList":_vm.regionList,"basicLaw":_vm.basicLaw,"basicLawConf":_vm.basicLawConf,"agentInstitution":_vm.agentInstitution},on:{"getTicket":_vm._getTicket,"joinAct":_vm._joinAct,"filter":_vm._filter,"resetList":_vm._resetList,"initData":_vm.initDataHandler}})],1),_vm.initData.extParam.type==="promotionFee"&&!_vm.allScreen?_c("div",{ref:"proDes",staticClass:"act-marketing-proDes row middle"},[_vm.showDetailButton?_c("div",{staticClass:"row middle detail",on:{"click":function click($event){$event.stopPropagation();return _vm.go.apply(null,arguments)}}},[_c("span",[_vm._v("产品详情")])]):_vm._e(),_c("div",{staticClass:"row middle red",on:{"click":function click($event){$event.stopPropagation();_vm.allScreen=true}}},[_c("span",[_vm._v("全屏查看")])])]):_vm._e()]):_vm._e()])],1)])],1)};var _sfc_staticRenderFns=[];var __component__=common.normalizeComponent(_sfc_main,_sfc_render,_sfc_staticRenderFns,false,null,"03274df9");var kcb=__component__.exports;exports.kcb=kcb;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.act-loading-mask[data-v-
|
|
1
|
+
.act-loading-mask[data-v-03274df9]{position:fixed;left:0;top:0;bottom:0;right:0;background-color:rgba(0,0,0,0.7)}.act-marketing-loading[data-v-03274df9]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;height:100vh;margin:auto}.act-marketing-loading .act-marketing-loading-bg[data-v-03274df9]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;width:4.5em;height:4.5em;border-radius:2em;background:rgba(255,255,255,0.67)}.act-marketing-loading-show[data-v-03274df9]{margin:auto;position:fixed;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);z-index:10}.act-marketing-fade-enter[data-v-03274df9],.act-marketing-fade-leave-active[data-v-03274df9]{opacity:0}.act-marketing-fade-enter-active[data-v-03274df9],.act-marketing-fade-leave-active[data-v-03274df9]{-webkit-transition:all 0.3s ease-in-out;transition:all 0.3s ease-in-out}.act-marketing-move-enter[data-v-03274df9],.act-marketing-move-leave-active[data-v-03274df9]{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}.act-marketing-move-enter-active[data-v-03274df9],.act-marketing-move-leave-active[data-v-03274df9]{-webkit-transition:all 0.3s ease-in-out;transition:all 0.3s ease-in-out}.act-marketing-panel[data-v-03274df9]{background:#fff}.act-marketing-panel .act-marketing-component_notAllScreen[data-v-03274df9]{height:70vh;margin-bottom:60px}.act-marketing-panel .act-marketing-proDes[data-v-03274df9]{width:100%;height:60px;background-color:#ffffff;border-top:solid 1px #f5f5f5;position:fixed;bottom:0;left:0;padding:5px 15px;z-index:10}.act-marketing-panel .act-marketing-proDes div[data-v-03274df9]{width:166px;height:40px;opacity:1;background:#ffffff;border:1px solid #f5f5f5;border-radius:20px;color:#666666;font-size:15px;line-height:40px}.act-marketing-panel .act-marketing-proDes div.detail[data-v-03274df9]{margin-right:12px}.act-marketing-panel .act-marketing-proDes div.red[data-v-03274df9]{background:-webkit-linear-gradient(left,#FC7468,#F05A4B);background:linear-gradient(to right,#FC7468,#F05A4B);border:none;color:#ffffff;-webkit-box-flex:1;-webkit-flex:1;flex:1}.allScreen[data-v-03274df9]{position:static;width:100vh;height:100vw;min-height:100vw;max-height:100vw;-webkit-transform:rotate(90deg);transform:rotate(90deg);-webkit-transform-origin:50vw;transform-origin:50vw;max-width:100vh;min-width:100vh;margin-bottom:calc(100vh - 100vw)}.act-marketing-choose[data-v-03274df9]{position:relative;padding:0 2em;-webkit-box-align:center;-webkit-align-items:center;align-items:center;height:4.8em}.act-marketing-choose .act-marketing-title-group[data-v-03274df9]{text-align:center;color:#333333;line-height:4.8em;font-weight:bold;margin:0 auto}.act-marketing-choose .act-marketing-title-group .act-marketing-title[data-v-03274df9]{font-size:1.6em}.act-marketing-choose .act-marketing-title-group-notAllScreen[data-v-03274df9]{width:32em;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.act-marketing-choose .act-marketing-close[data-v-03274df9]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;position:absolute;right:0px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:4.8em;height:4.8em}.act-marketing-choose .act-marketing-close img[data-v-03274df9]{width:1.6em}.act-marketing-confirm[data-v-03274df9],.act-marketing-cancel[data-v-03274df9]{font-size:1.6em;box-sizing:content-box}
|
|
@@ -2,10 +2,11 @@ import _Object$assign from "@babel/runtime-corejs3/core-js/object/assign";
|
|
|
2
2
|
import _includesInstanceProperty from "@babel/runtime-corejs3/core-js/instance/includes";
|
|
3
3
|
import _concatInstanceProperty from "@babel/runtime-corejs3/core-js/instance/concat";
|
|
4
4
|
import { defineComponent, ref, computed, watch, watchEffect, unref } from "vue";
|
|
5
|
-
import { useFloating, offset
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
5
|
+
import { useFloating, offset } from "@floating-ui/vue";
|
|
6
|
+
import { autoUpdate } from "@floating-ui/dom";
|
|
7
|
+
import { o as onClickOutside } from "../../utils/clickOutside/index.esm.js";
|
|
8
|
+
import { x as xTeleport } from "../teleport/index.esm.js";
|
|
9
|
+
import { n as normalizeComponent } from "../../common/index.esm.js";
|
|
9
10
|
import './style.css';var __default__ = defineComponent({
|
|
10
11
|
name: "MarketingPopper"
|
|
11
12
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require('./style.css');var _Object$assign=require("@babel/runtime-corejs3/core-js/object/assign");var _includesInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/includes");var _concatInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/concat");var Vue=require("vue");var vue=require("@floating-ui/vue");var utils_clickOutside=require("../../utils/clickOutside/index.js");var Marketing_teleport=require("../teleport/index.js");var common=require("../../common/index.js");var __default__=Vue.defineComponent({name:"MarketingPopper"});var _sfc_main=_Object$assign(__default__,{props:{visible:{type:Boolean,default:void 0},disabled:{type:Boolean,default:false},trigger:{type:String,default:"hover",validator:function validator(value){var _context;return _includesInstanceProperty(_context=["click","hover"]).call(_context,value)}},to:{type:[String,Object,Element],default:null},fullScreen:{type:Boolean,default:false}},emits:["change","update:visible"],setup:function setup(__props,_ref){var emit=_ref.emit;var props=__props;function isDef(val){return val!==void 0&&val!==null}var showPopper=Vue.ref(false);var containerRef=Vue.ref(null);var reference=Vue.ref(null);var floating=Vue.ref(null);var isFullScreenMode=Vue.computed(function(){return props.fullScreen});Vue.watch(function(){return props.visible},function(val){showPopper.value=val},{immediate:true});utils_clickOutside.onClickOutside(floating,function(){changeVisible(false)});var toEl=Vue.computed(function(){return props.to||containerRef.value||void 0});function changeVisible(val){emit("update:visible",val);if(!isDef(props.visible)){showPopper.value=val}}function handleTrigger(){changeVisible(true)}function initFloat(){return vue.useFloating(reference,floating,{middleware:[vue.offset(!isFullScreenMode.value?{mainAxis:5}:{})],placement:isFullScreenMode.value?"right-start":"bottom-start",strategy:"fixed",whileElementsMounted:function whileElementsMounted(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key]}return
|
|
1
|
+
"use strict";require('./style.css');var _Object$assign=require("@babel/runtime-corejs3/core-js/object/assign");var _includesInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/includes");var _concatInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/concat");var Vue=require("vue");var vue=require("@floating-ui/vue");var dom=require("@floating-ui/dom");var utils_clickOutside=require("../../utils/clickOutside/index.js");var Marketing_teleport=require("../teleport/index.js");var common=require("../../common/index.js");var __default__=Vue.defineComponent({name:"MarketingPopper"});var _sfc_main=_Object$assign(__default__,{props:{visible:{type:Boolean,default:void 0},disabled:{type:Boolean,default:false},trigger:{type:String,default:"hover",validator:function validator(value){var _context;return _includesInstanceProperty(_context=["click","hover"]).call(_context,value)}},to:{type:[String,Object,Element],default:null},fullScreen:{type:Boolean,default:false}},emits:["change","update:visible"],setup:function setup(__props,_ref){var emit=_ref.emit;var props=__props;function isDef(val){return val!==void 0&&val!==null}var showPopper=Vue.ref(false);var containerRef=Vue.ref(null);var reference=Vue.ref(null);var floating=Vue.ref(null);var isFullScreenMode=Vue.computed(function(){return props.fullScreen});Vue.watch(function(){return props.visible},function(val){showPopper.value=val},{immediate:true});utils_clickOutside.onClickOutside(floating,function(){changeVisible(false)});var toEl=Vue.computed(function(){return props.to||containerRef.value||void 0});function changeVisible(val){emit("update:visible",val);if(!isDef(props.visible)){showPopper.value=val}}function handleTrigger(){changeVisible(true)}function initFloat(){return vue.useFloating(reference,floating,{middleware:[vue.offset(!isFullScreenMode.value?{mainAxis:5}:{})],placement:isFullScreenMode.value?"right-start":"bottom-start",strategy:"fixed",whileElementsMounted:function whileElementsMounted(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key]}return dom.autoUpdate.apply(dom,_concatInstanceProperty(args).call(args,[{animationFrame:true}]))}})}var floatingData=initFloat();Vue.watchEffect(function(){floatingData=initFloat()});var floatingStrategy=Vue.computed(function(){var _floatingData;return((_floatingData=floatingData)===null||_floatingData===void 0||(_floatingData=_floatingData.strategy)===null||_floatingData===void 0?void 0:_floatingData.value)||"absolute"});var floatingStyles=Vue.computed(function(){var _floatingData2=floatingData,x=_floatingData2.x,y=_floatingData2.y;var containerEl=resolveEl(toEl.value);var left=x.value;var top=y.value;var needLandscapeTransform=isFullScreenMode.value&&containerEl;var transforms=needLandscapeTransform?["rotate(90deg) translate(0, 36px)"]:[];return{transform:transforms.join(" "),transformOrigin:"0 0",position:floatingStrategy.value,left:"".concat(left,"px"),top:"".concat(top,"px")}});function resolveEl(target){if(!isDef(target))return null;var unwrapped=Vue.unref(target);if(typeof unwrapped==="string"){var _document,_document$querySelect;return(_document=document)===null||_document===void 0||(_document$querySelect=_document.querySelector)===null||_document$querySelect===void 0?void 0:_document$querySelect.call(_document,unwrapped)}return unwrapped}return{__sfc:true,isDef,props,emit,showPopper,containerRef,reference,floating,isFullScreenMode,toEl,changeVisible,handleTrigger,initFloat,floatingData,floatingStrategy,floatingStyles,resolveEl,xTeleport:Marketing_teleport.xTeleport}}});var _sfc_render=function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c("div",{ref:"containerRef",staticClass:"container"},[_c("span",{ref:"reference",on:{"click":function click($event){$event.stopPropagation();return _setup.handleTrigger.apply(null,arguments)}}},[_vm._t("reference")],2),_c(_setup.xTeleport,{attrs:{"to":_setup.toEl}},[!_vm.disabled&&_setup.showPopper?_c("div",{ref:"floating",staticClass:"marketing-popper",style:_setup.floatingStyles},[_vm._t("default")],2):_vm._e()])],1)};var _sfc_staticRenderFns=[];var __component__=common.normalizeComponent(_sfc_main,_sfc_render,_sfc_staticRenderFns,false,null,null);var popper=__component__.exports;exports.popper=popper;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Vue, { defineComponent, watch, onMounted, onUnmounted, onUpdated, unref } from "vue";
|
|
2
|
-
import { n as normalizeComponent } from "../../common/index.
|
|
2
|
+
import { n as normalizeComponent } from "../../common/index.esm.js";
|
|
3
3
|
function isDef(val) {
|
|
4
4
|
return val !== void 0 && val !== null;
|
|
5
5
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as ua } from "../../utils/helpers/index.
|
|
1
|
+
import { u as ua } from "../../utils/helpers/index.esm.js";
|
|
2
2
|
import __$_require_9dfa3d6a__ from "../../assets/close.c0da.png";
|
|
3
|
-
import { n as normalizeComponent } from "../../common/index.
|
|
3
|
+
import { n as normalizeComponent } from "../../common/index.esm.js";
|
|
4
4
|
import './style.css';var isApp = ua.isApp;
|
|
5
5
|
var _sfc_main = {
|
|
6
6
|
name: "TipsLayer",
|
|
@@ -12,19 +12,19 @@ import _mapInstanceProperty from "@babel/runtime-corejs3/core-js/instance/map";
|
|
|
12
12
|
import _Object$assign from "@babel/runtime-corejs3/core-js/object/assign";
|
|
13
13
|
import _flatInstanceProperty from "@babel/runtime-corejs3/core-js/instance/flat";
|
|
14
14
|
import _concatInstanceProperty from "@babel/runtime-corejs3/core-js/instance/concat";
|
|
15
|
-
import { C as CascadePicker } from "../../CascadePicker/index.
|
|
16
|
-
import { T as TipsLayer } from "../tipsLayer/index.
|
|
17
|
-
import { T as TgfTable } from "../TgfTable/index.
|
|
18
|
-
import { u as ua } from "../../utils/helpers/index.
|
|
15
|
+
import { C as CascadePicker } from "../../CascadePicker/index.esm.js";
|
|
16
|
+
import { T as TipsLayer } from "../tipsLayer/index.esm.js";
|
|
17
|
+
import { T as TgfTable } from "../TgfTable/index.esm.js";
|
|
18
|
+
import { u as ua } from "../../utils/helpers/index.esm.js";
|
|
19
19
|
import { cloneDeep } from "lodash-es";
|
|
20
|
-
import { g as _getLeafColumns } from "../utils/index.
|
|
20
|
+
import { g as _getLeafColumns } from "../utils/index.esm.js";
|
|
21
21
|
import __$_require_8e0e2794__ from "../../assets/location.ad43.png";
|
|
22
22
|
import __$_require_5018a7bc__ from "../../assets/arrow2.2026.png";
|
|
23
23
|
import __$_require_179c4d1e__ from "../../assets/member.ce27.png";
|
|
24
24
|
import __$_require_09a0071e__ from "../../assets/check_arrow.cb6d.png";
|
|
25
25
|
import __$_require_4a19b99b__ from "../../assets/gift.4f4f.png";
|
|
26
26
|
import __$_require_4883edc7__ from "../../assets/amountTicket.4597.png";
|
|
27
|
-
import { n as normalizeComponent } from "../../common/index.
|
|
27
|
+
import { n as normalizeComponent } from "../../common/index.esm.js";
|
|
28
28
|
import './style.css';function ownKeys(e, r) {
|
|
29
29
|
var t = _Object$keys(e);
|
|
30
30
|
if (_Object$getOwnPropertySymbols) {
|
|
@@ -5,21 +5,21 @@ import _concatInstanceProperty from "@babel/runtime-corejs3/core-js/instance/con
|
|
|
5
5
|
import _filterInstanceProperty from "@babel/runtime-corejs3/core-js/instance/filter";
|
|
6
6
|
import _mapInstanceProperty from "@babel/runtime-corejs3/core-js/instance/map";
|
|
7
7
|
import _Object$keys from "@babel/runtime-corejs3/core-js/object/keys";
|
|
8
|
-
import { A as ActGoldLayer } from "../../common/goldlayer/index.
|
|
9
|
-
import { L as List } from "../List/index.
|
|
10
|
-
import { D as Details } from "../Details/index.
|
|
11
|
-
import { P as PageLoading } from "../../PageLoading/index.
|
|
12
|
-
import { G as GetMobile } from "../GetMobile/index.
|
|
13
|
-
import { G as GetMobileForNew } from "../GetMobileForNew/index.
|
|
14
|
-
import { R as RuleDetails } from "../RuleDetails/index.
|
|
15
|
-
import { v as visibleMixin } from "../../mixins/visible/index.
|
|
16
|
-
import { p as popupMixin } from "../../mixins/popup/index.
|
|
17
|
-
import { b as basicPickerMixin } from "../../mixins/basic-picker/index.
|
|
18
|
-
import { p as pickerMixin } from "../../mixins/picker/index.
|
|
19
|
-
import { f as fontSize } from "../../mixins/fontsize/index.
|
|
20
|
-
import { f as fetch } from "../../utils/post/index.
|
|
21
|
-
import "../../utils/polyfill/Object.keys/index.
|
|
22
|
-
import { n as normalizeComponent } from "../../common/index.
|
|
8
|
+
import { A as ActGoldLayer } from "../../common/goldlayer/index.esm.js";
|
|
9
|
+
import { L as List } from "../List/index.esm.js";
|
|
10
|
+
import { D as Details } from "../Details/index.esm.js";
|
|
11
|
+
import { P as PageLoading } from "../../PageLoading/index.esm.js";
|
|
12
|
+
import { G as GetMobile } from "../GetMobile/index.esm.js";
|
|
13
|
+
import { G as GetMobileForNew } from "../GetMobileForNew/index.esm.js";
|
|
14
|
+
import { R as RuleDetails } from "../RuleDetails/index.esm.js";
|
|
15
|
+
import { v as visibleMixin } from "../../mixins/visible/index.esm.js";
|
|
16
|
+
import { p as popupMixin } from "../../mixins/popup/index.esm.js";
|
|
17
|
+
import { b as basicPickerMixin } from "../../mixins/basic-picker/index.esm.js";
|
|
18
|
+
import { p as pickerMixin } from "../../mixins/picker/index.esm.js";
|
|
19
|
+
import { f as fontSize } from "../../mixins/fontsize/index.esm.js";
|
|
20
|
+
import { f as fetch } from "../../utils/post/index.esm.js";
|
|
21
|
+
import "../../utils/polyfill/Object.keys/index.esm.js";
|
|
22
|
+
import { n as normalizeComponent } from "../../common/index.esm.js";
|
|
23
23
|
import './style.css';var _sfc_main = {
|
|
24
24
|
name: "ActGoldRecomdAct",
|
|
25
25
|
mixins: [popupMixin, visibleMixin, basicPickerMixin, pickerMixin, fontSize],
|
|
@@ -18,16 +18,16 @@ import _findInstanceProperty from "@babel/runtime-corejs3/core-js/instance/find"
|
|
|
18
18
|
import _filterInstanceProperty from "@babel/runtime-corejs3/core-js/instance/filter";
|
|
19
19
|
import _concatInstanceProperty from "@babel/runtime-corejs3/core-js/instance/concat";
|
|
20
20
|
import _Promise from "@babel/runtime-corejs3/core-js/promise";
|
|
21
|
-
import { c as create } from "../utils/create/index.
|
|
22
|
-
import { t as tuiguangfei } from "../Marketing/tuiguangfei/index.
|
|
23
|
-
import { g as gift } from "../Marketing/gift/index.
|
|
24
|
-
import { a as activity } from "../Marketing/activity/index.
|
|
25
|
-
import { f as fetch } from "../utils/post/index.
|
|
21
|
+
import { c as create } from "../utils/create/index.esm.js";
|
|
22
|
+
import { t as tuiguangfei } from "../Marketing/tuiguangfei/index.esm.js";
|
|
23
|
+
import { g as gift } from "../Marketing/gift/index.esm.js";
|
|
24
|
+
import { a as activity } from "../Marketing/activity/index.esm.js";
|
|
25
|
+
import { f as fetch } from "../utils/post/index.esm.js";
|
|
26
26
|
import { cloneDeep } from "lodash-es";
|
|
27
|
-
import { f as fontSize } from "../mixins/fontsize/index.
|
|
28
|
-
import { u as ua } from "../utils/helpers/index.
|
|
27
|
+
import { f as fontSize } from "../mixins/fontsize/index.esm.js";
|
|
28
|
+
import { u as ua } from "../utils/helpers/index.esm.js";
|
|
29
29
|
import __$_require_9dfa3d6a__ from "../assets/close.c0da.png";
|
|
30
|
-
import { n as normalizeComponent } from "../common/index.
|
|
30
|
+
import { n as normalizeComponent } from "../common/index.esm.js";
|
|
31
31
|
import './style.css';function ownKeys(e, r) {
|
|
32
32
|
var t = _Object$keys(e);
|
|
33
33
|
if (_Object$getOwnPropertySymbols) {
|
|
@@ -13,17 +13,17 @@ import _mapInstanceProperty from "@babel/runtime-corejs3/core-js/instance/map";
|
|
|
13
13
|
import _valuesInstanceProperty from "@babel/runtime-corejs3/core-js/instance/values";
|
|
14
14
|
import _findIndexInstanceProperty from "@babel/runtime-corejs3/core-js/instance/find-index";
|
|
15
15
|
import _Object$keys from "@babel/runtime-corejs3/core-js/object/keys";
|
|
16
|
-
import { c as create } from "../utils/create/index.
|
|
17
|
-
import { A as ActGoldLayer } from "../common/goldlayer/index.
|
|
18
|
-
import { L as Loading } from "../Loading/index.
|
|
19
|
-
import
|
|
20
|
-
import { M as MedicalList } from "./component/medicalList/index.
|
|
21
|
-
import { o as outerHeight } from "../utils/helpers/index.
|
|
16
|
+
import { c as create } from "../utils/create/index.esm.js";
|
|
17
|
+
import { A as ActGoldLayer } from "../common/goldlayer/index.esm.js";
|
|
18
|
+
import { L as Loading } from "../Loading/index.esm.js";
|
|
19
|
+
import BScroll from "better-scroll";
|
|
20
|
+
import { M as MedicalList } from "./component/medicalList/index.esm.js";
|
|
21
|
+
import { o as outerHeight } from "../utils/helpers/index.esm.js";
|
|
22
22
|
import __$_require_263bdd0a__ from "../assets/icon-search.3c97.png";
|
|
23
23
|
import __$_require_e9a2481a__ from "../assets/icon-close.b233.png";
|
|
24
24
|
import __$_require_450b57d0__ from "../assets/icon-nodata.16b6.png";
|
|
25
25
|
import __$_require_5419c642__ from "../assets/icon-nodata-cps.192f.png";
|
|
26
|
-
import { n as normalizeComponent } from "../common/index.
|
|
26
|
+
import { n as normalizeComponent } from "../common/index.esm.js";
|
|
27
27
|
import './style.css';function ownKeys(e, r) {
|
|
28
28
|
var t = _Object$keys(e);
|
|
29
29
|
if (_Object$getOwnPropertySymbols) {
|
|
@@ -338,7 +338,7 @@ var _sfc_main = {
|
|
|
338
338
|
var _this6 = this;
|
|
339
339
|
this.$nextTick(function() {
|
|
340
340
|
if (!_this6.scroll) {
|
|
341
|
-
_this6.scroll = new
|
|
341
|
+
_this6.scroll = new BScroll(_this6.$refs.medicalList, {
|
|
342
342
|
click: true,
|
|
343
343
|
damping: 0.6
|
|
344
344
|
});
|
|
@@ -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 _defineProperty=require("@babel/runtime-corejs3/helpers/defineProperty");var _toConsumableArray=require("@babel/runtime-corejs3/helpers/toConsumableArray");var _indexOfInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/index-of");var _filterInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/filter");var _forEachInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/for-each");var _concatInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/concat");var _mapInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/map");var _valuesInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/values");var _findIndexInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/find-index");var _Object$keys=require("@babel/runtime-corejs3/core-js/object/keys");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 _context11,_context12;var t=null!=arguments[r]?arguments[r]:{};r%2?_forEachInstanceProperty(_context11=ownKeys(Object(t),true)).call(_context11,function(r2){_defineProperty(e,r2,t[r2])}):_Object$getOwnPropertyDescriptors?_Object$defineProperties(e,_Object$getOwnPropertyDescriptors(t)):_forEachInstanceProperty(_context12=ownKeys(Object(t))).call(_context12,function(r2){_Object$defineProperty(e,r2,_Object$getOwnPropertyDescriptor(t,r2))})}return e}var utils_create=require("../utils/create/index.js");var common_goldlayer=require("../common/goldlayer/index.js");var Loading=require("../Loading/index.js");var BScrollModule=require("better-scroll");var MedicalListLayer_component_medicalList=require("./component/medicalList/index.js");var utils_helpers=require("../utils/helpers/index.js");var __$_require_263bdd0a__=require("../assets/icon-search.3c97.png");var __$_require_e9a2481a__=require("../assets/icon-close.b233.png");var __$_require_450b57d0__=require("../assets/icon-nodata.16b6.png");var __$_require_5419c642__=require("../assets/icon-nodata-cps.192f.png");var common=require("../common/index.js");var _sfc_main={name:"MedicalListLayer",data:function data(){return{selectValue:[],isVisible:false,searchKeyword:"",hasSearched:false,filterOptions:[],medicalList:[],totalCount:0,pageSize:20,currentPage:1,hasMore:false,loading:false,zIndex:999,firstFilters:[],activeFirstKey:"",isShowTagMenu:false,secondTagFilters:{},docmHeight:document.documentElement.clientHeight,pickerContentHeight:0,searchHeight:"",isShowActLoading:false}},components:{ActGoldLayer:common_goldlayer.ActGoldLayer,MedicalList:MedicalListLayer_component_medicalList.MedicalList,ActLoading:Loading.Loading},props:{paramsData:{type:Object,default:function _default(){return{}}},title:{type:String,default:"药品清单"},isCps:{type:Boolean,default:false},searchEmptyResultTips:{type:String,default:"找不到相关药品"},searchEmptyResultDesc:{type:String,default:"您可以更换一下药品名称搜索哦"},placeholder:{type:String,default:"请输入您要查询的药品名称"},brandColor:{type:String,default:"#8c7fee"}},created:function created(){var _this=this;var u=navigator.userAgent;if(_indexOfInstanceProperty(u).call(u,"Android")>-1||_indexOfInstanceProperty(u).call(u,"Adr")>-1){this.handleResize=function(){if(_this.pickerContentHeight===0){return}var showHeight=document.body.clientHeight;if(_this.docmHeight>showHeight){_this.$refs.pickerContent.style.height=_this.docmHeight-showHeight+"px";_this.searchHeight=_this.pickerContentHeight+showHeight-_this.docmHeight+"px"}else{_this.$refs.pickerContent.style.height=_this.pickerContentHeight+"px";_this.searchHeight="100%"}};window.addEventListener("resize",this.handleResize)}},beforeDestroy:function beforeDestroy(){if(this.handleResize){window.removeEventListener("resize",this.handleResize)}},methods:{maskClick:function maskClick(){this.closeDropdown();this.isVisible=false},cancel:function cancel(){this.isVisible=false},show:function show(){this.isVisible=true;if(!this.medicalList.length){this.initData()}else{this.refreshScroll()}},initData:function initData(){this.currentPage=1;this.medicalList=[];this.fetchData(true)},fetchData:function fetchData(){var _context,_this2=this;var init=arguments.length>0&&arguments[0]!==void 0?arguments[0]:false;var reset=arguments.length>1&&arguments[1]!==void 0?arguments[1]:false;if(this.loading)return;if(init){this.isShowActLoading=true}this.loading=true;var postData={filter:{},page:this.currentPage,showNum:20};for(var key in this.paramsData){var value=this.paramsData[key];if(value!==""&&value!=null&&value!==void 0){postData[key]=this.paramsData[key]}}if(this.searchKeyword){_filterInstanceProperty(postData).name=this.searchKeyword}_forEachInstanceProperty(_context=this.firstFilters).call(_context,function(filter){if(filter.selectedValue){_filterInstanceProperty(postData)[filter.key]=filter.selectedValue}});this.$fetch("/buy/getMedicineList",postData).then(function(res){var ret=res.ret,errmsg=res.errmsg,data2=res.data;if(+ret===0){if(reset){_this2.medicalList=[];_this2.scrollTop()}var newList=data2.list||[];_this2.totalCount=Number(data2.count)||0;_this2.transformMedicalList(newList);_this2.hasMore=_this2.medicalList.length<_this2.totalCount;_this2.loading=false;if(!_this2.filterOptions||!_this2.filterOptions.length){_this2.filterOptions=data2.filterLabels||[];_this2.transformFilterOptions()}_this2.refreshScroll()}else{_this2.$toast.show(errmsg)}}).catch(function(err){}).finally(function(){_this2.loading=false;_this2.isShowActLoading=false;_this2.hasSearched=true})},transformMedicalList:function transformMedicalList(list){var _context2;var color=this.isCps?"#F05A4B":"#8C7FEE";if(this.searchKeyword){var reg=new RegExp("(".concat(this.searchKeyword,")"),"g");_forEachInstanceProperty(list).call(list,function(item){item.name=item.name.replace(reg,'<span style="color: '.concat(color,';">$1</span>'))})}this.medicalList=_concatInstanceProperty(_context2=[]).call(_context2,_toConsumableArray(this.medicalList),_toConsumableArray(list))},transformFilterOptions:function transformFilterOptions(){var _context3,_context4,_this3=this;this.firstFilters=_mapInstanceProperty(_context3=this.filterOptions).call(_context3,function(filter){return _objectSpread(_objectSpread({},filter),{},{selectedValue:"",selectedText:""})});this.secondTagFilters={};_forEachInstanceProperty(_context4=this.filterOptions).call(_context4,function(filter){var _context5;var key=filter.key;var values=_mapInstanceProperty(_context5=_valuesInstanceProperty(filter)).call(_context5,function(value){return _objectSpread(_objectSpread({},value),{},{actived:false})});values.unshift({value:"",text:"全部",actived:true});_this3.secondTagFilters[key]=values})},closeDropdown:function closeDropdown(){this.isShowTagMenu=false},isOptionSelected:function isOptionSelected(option){return option.actived},toggleDropdown:function toggleDropdown(item){if(this.activeFirstKey===item.key){this.isShowTagMenu=!this.isShowTagMenu;if(!this.isShowTagMenu){this.activeFirstKey=""}}else{this.isShowTagMenu=true;this.activeFirstKey=item.key}},selectOption:function selectOption(option){var _context6,_this4=this;var filterIndex=_findIndexInstanceProperty(_context6=this.firstFilters).call(_context6,function(item){return item.key===_this4.activeFirstKey});if(filterIndex!==-1){this.firstFilters[filterIndex].selectedValue=option.value;this.firstFilters[filterIndex].selectedText=option.text;if(this.secondTagFilters[this.activeFirstKey]){var _context7;_forEachInstanceProperty(_context7=this.secondTagFilters[this.activeFirstKey]).call(_context7,function(item){item.actived=item.value===option.value})}}this.activeFirstKey=null;this.isShowTagMenu=false;this.resetSearch()},getDisplayText:function getDisplayText(item){return item.selectedValue?item.selectedText:item.text},getFilterValues:function getFilterValues(){var _context8;return _mapInstanceProperty(_context8=this.firstFilters).call(_context8,function(filter){return{key:filter.key,selectedValue:filter.selectedOption?filter.selectedOption.value:null}})},loadMore:function loadMore(){if(!this.hasMore||this.loading)return;this.currentPage++;this.fetchData()},handleSearch:function handleSearch(){var _context9,_context0,_this5=this;_forEachInstanceProperty(_context9=this.firstFilters).call(_context9,function(filter){filter.selectedValue="";filter.selectedText=""});_forEachInstanceProperty(_context0=_Object$keys(this.secondTagFilters)).call(_context0,function(key){var _context1;_forEachInstanceProperty(_context1=_this5.secondTagFilters[key]).call(_context1,function(item){item.actived=item.value===""})});this.resetSearch()},clear:function clear(){this.searchKeyword="";this.resetSearch()},resetSearch:function resetSearch(){this.currentPage=1;this.fetchData(false,true)},refreshScroll:function refreshScroll(){var _this6=this;this.$nextTick(function(){if(!_this6.scroll){_this6.scroll=new BScrollModule(_this6.$refs.medicalList,{click:true,damping:.6});_this6.scroll.on("scrollEnd",function(){if(_this6.scroll.y<=_this6.scroll.maxScrollY+50){if(_this6.hasMore&&!_this6.loading){_this6.loadMore()}}})}else{_this6.scroll.refresh()}})},scrollTop:function scrollTop(){this.scroll.scrollTo(0,0,300)}},watch:{isVisible:function isVisible(newVal){var _this7=this;if(!this.pickerContentHeight&&newVal){this.$nextTick(function(){_this7.pickerContentHeight=utils_helpers.outerHeight(_this7.$refs.pickerContent)})}}}};var _sfc_render=function render(){var _vm=this,_c=_vm._self._c;return _c("div",{staticClass:"layer-wrap"},[_c("act-gold-layer",{attrs:{"visible":_vm.isVisible,"title":_vm.title,"center":false,"mask":true,"zIndex":_vm.zIndex},on:{"close":_vm.maskClick}},[_c("div",{ref:"pickerContent",staticClass:"picker-content"},[_c("div",{staticClass:"content",on:{"click":_vm.closeDropdown}},[_c("div",{staticClass:"gradual-color"}),_c("div",{staticClass:"header-box"},[_c("form",{staticClass:"search-box",on:{"submit":function submit($event){$event.preventDefault();return _vm.handleSearch.apply(null,arguments)}}},[_c("img",{staticClass:"search-icon",attrs:{"src":__$_require_263bdd0a__,"alt":""}}),_c("input",{directives:[{name:"model",rawName:"v-model",value:_vm.searchKeyword,expression:"searchKeyword"}],attrs:{"type":"text","placeholder":_vm.placeholder},domProps:{"value":_vm.searchKeyword},on:{"keyup":function keyup($event){var _context10;if(!_indexOfInstanceProperty(_context10=$event.type).call(_context10,"key")&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter"))return null;return _vm.handleSearch.apply(null,arguments)},"input":function input($event){if($event.target.composing)return;_vm.searchKeyword=$event.target.value}}}),_vm.searchKeyword?_c("img",{staticClass:"close-icon",attrs:{"src":__$_require_e9a2481a__,"alt":""},on:{"click":_vm.clear}}):_vm._e(),_c("button",{staticStyle:{"display":"none"},attrs:{"type":"submit"}},[_vm._v("搜索")])])]),_c("div",{staticClass:"search-content"},[_c("div",{directives:[{name:"show",rawName:"v-show",value:_vm.firstFilters&&_vm.firstFilters.length,expression:"firstFilters && firstFilters.length"}],staticClass:"search-tags-content",on:{"click":function click($event){$event.stopPropagation()}}},[_c("div",{staticClass:"search-tags-first"},_vm._l(_vm.firstFilters,function(item,index){return _c("div",{key:item.key,staticClass:"filter-item",on:{"click":function click($event){return _vm.toggleDropdown(item,index)}}},[_c("span",{class:{"active":item.selectedValue,"cps":_vm.isCps}},[_vm._v(_vm._s(_vm.getDisplayText(item)))]),_c("i",{class:["arrow-icon",_vm.activeFirstKey===item.key?"up":"down"]})])}),0),_c("div",{directives:[{name:"show",rawName:"v-show",value:_vm.isShowTagMenu,expression:"isShowTagMenu"}],staticClass:"search-tags-second dropdown-menu"},[_c("div",{staticClass:"dropdown-menu-container"},_vm._l(_vm.secondTagFilters[_vm.activeFirstKey],function(option){return _c("div",{key:option.value,staticClass:"dropdown-item",class:{"active":_vm.isOptionSelected(option),"cps":_vm.isCps},on:{"click":function click($event){return _vm.selectOption(option)}}},[_vm._v(" "+_vm._s(option.text)+" ")])}),0)])]),_c("div",{staticStyle:{"height":"4.5rem","width":"100%"}}),_c("div",{staticClass:"table-scroll-bg",style:"height: ".concat(5*_vm.medicalList.length,"rem")}),_c("div",{directives:[{name:"show",rawName:"v-show",value:_vm.medicalList&&_vm.medicalList.length,expression:"medicalList && medicalList.length"}],ref:"medicalList",staticClass:"medical-list-scroll"},[_c("div",{staticClass:"scroll-content"},[_c("div",{staticClass:"scroll-list"},[_c("medical-list",{attrs:{"list":_vm.medicalList}}),_vm.hasMore?_c("div",{staticClass:"load-more",on:{"click":_vm.loadMore}},[_vm._v(" 滑动加载更多 ")]):_vm._e()],1),_c("div",{staticStyle:{"height":"3.2rem","width":"100%"}})])]),_c("div",{directives:[{name:"show",rawName:"v-show",value:_vm.hasSearched&&_vm.medicalList.length===0,expression:"hasSearched && medicalList.length === 0"}],staticClass:"search-empty"},[!_vm.isCps?_c("img",{attrs:{"src":__$_require_450b57d0__}}):_c("img",{attrs:{"src":__$_require_5419c642__}}),_c("h4",{staticClass:"tip"},[_vm._v(_vm._s(_vm.searchEmptyResultTips))]),_c("p",{staticClass:"desc"},[_vm._v(_vm._s(_vm.searchEmptyResultDesc))])]),_vm.isShowActLoading?_c("div",{staticClass:"loading"},[_c("act-loading",{directives:[{name:"show",rawName:"v-show",value:true,expression:"true"}],attrs:{"type":"cir3","color":_vm.brandColor,"size":35}})],1):_vm._e()])])])])],1)};var _sfc_staticRenderFns=[];var __component__=common.normalizeComponent(_sfc_main,_sfc_render,_sfc_staticRenderFns,false,null,"fd644c7c");var MedicalListLayer=__component__.exports;MedicalListLayer.install=function(Vue){Vue.component(MedicalListLayer.name,MedicalListLayer);Vue.prototype["$createMedicalListLayer"]=utils_create.create(MedicalListLayer,Vue)};exports.MedicalListLayer=MedicalListLayer;
|
|
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 _defineProperty=require("@babel/runtime-corejs3/helpers/defineProperty");var _toConsumableArray=require("@babel/runtime-corejs3/helpers/toConsumableArray");var _indexOfInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/index-of");var _filterInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/filter");var _forEachInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/for-each");var _concatInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/concat");var _mapInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/map");var _valuesInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/values");var _findIndexInstanceProperty=require("@babel/runtime-corejs3/core-js/instance/find-index");var _Object$keys=require("@babel/runtime-corejs3/core-js/object/keys");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 _context11,_context12;var t=null!=arguments[r]?arguments[r]:{};r%2?_forEachInstanceProperty(_context11=ownKeys(Object(t),true)).call(_context11,function(r2){_defineProperty(e,r2,t[r2])}):_Object$getOwnPropertyDescriptors?_Object$defineProperties(e,_Object$getOwnPropertyDescriptors(t)):_forEachInstanceProperty(_context12=ownKeys(Object(t))).call(_context12,function(r2){_Object$defineProperty(e,r2,_Object$getOwnPropertyDescriptor(t,r2))})}return e}var utils_create=require("../utils/create/index.js");var common_goldlayer=require("../common/goldlayer/index.js");var Loading=require("../Loading/index.js");var BScroll=require("better-scroll");var MedicalListLayer_component_medicalList=require("./component/medicalList/index.js");var utils_helpers=require("../utils/helpers/index.js");var __$_require_263bdd0a__=require("../assets/icon-search.3c97.png");var __$_require_e9a2481a__=require("../assets/icon-close.b233.png");var __$_require_450b57d0__=require("../assets/icon-nodata.16b6.png");var __$_require_5419c642__=require("../assets/icon-nodata-cps.192f.png");var common=require("../common/index.js");var _sfc_main={name:"MedicalListLayer",data:function data(){return{selectValue:[],isVisible:false,searchKeyword:"",hasSearched:false,filterOptions:[],medicalList:[],totalCount:0,pageSize:20,currentPage:1,hasMore:false,loading:false,zIndex:999,firstFilters:[],activeFirstKey:"",isShowTagMenu:false,secondTagFilters:{},docmHeight:document.documentElement.clientHeight,pickerContentHeight:0,searchHeight:"",isShowActLoading:false}},components:{ActGoldLayer:common_goldlayer.ActGoldLayer,MedicalList:MedicalListLayer_component_medicalList.MedicalList,ActLoading:Loading.Loading},props:{paramsData:{type:Object,default:function _default(){return{}}},title:{type:String,default:"药品清单"},isCps:{type:Boolean,default:false},searchEmptyResultTips:{type:String,default:"找不到相关药品"},searchEmptyResultDesc:{type:String,default:"您可以更换一下药品名称搜索哦"},placeholder:{type:String,default:"请输入您要查询的药品名称"},brandColor:{type:String,default:"#8c7fee"}},created:function created(){var _this=this;var u=navigator.userAgent;if(_indexOfInstanceProperty(u).call(u,"Android")>-1||_indexOfInstanceProperty(u).call(u,"Adr")>-1){this.handleResize=function(){if(_this.pickerContentHeight===0){return}var showHeight=document.body.clientHeight;if(_this.docmHeight>showHeight){_this.$refs.pickerContent.style.height=_this.docmHeight-showHeight+"px";_this.searchHeight=_this.pickerContentHeight+showHeight-_this.docmHeight+"px"}else{_this.$refs.pickerContent.style.height=_this.pickerContentHeight+"px";_this.searchHeight="100%"}};window.addEventListener("resize",this.handleResize)}},beforeDestroy:function beforeDestroy(){if(this.handleResize){window.removeEventListener("resize",this.handleResize)}},methods:{maskClick:function maskClick(){this.closeDropdown();this.isVisible=false},cancel:function cancel(){this.isVisible=false},show:function show(){this.isVisible=true;if(!this.medicalList.length){this.initData()}else{this.refreshScroll()}},initData:function initData(){this.currentPage=1;this.medicalList=[];this.fetchData(true)},fetchData:function fetchData(){var _context,_this2=this;var init=arguments.length>0&&arguments[0]!==void 0?arguments[0]:false;var reset=arguments.length>1&&arguments[1]!==void 0?arguments[1]:false;if(this.loading)return;if(init){this.isShowActLoading=true}this.loading=true;var postData={filter:{},page:this.currentPage,showNum:20};for(var key in this.paramsData){var value=this.paramsData[key];if(value!==""&&value!=null&&value!==void 0){postData[key]=this.paramsData[key]}}if(this.searchKeyword){_filterInstanceProperty(postData).name=this.searchKeyword}_forEachInstanceProperty(_context=this.firstFilters).call(_context,function(filter){if(filter.selectedValue){_filterInstanceProperty(postData)[filter.key]=filter.selectedValue}});this.$fetch("/buy/getMedicineList",postData).then(function(res){var ret=res.ret,errmsg=res.errmsg,data2=res.data;if(+ret===0){if(reset){_this2.medicalList=[];_this2.scrollTop()}var newList=data2.list||[];_this2.totalCount=Number(data2.count)||0;_this2.transformMedicalList(newList);_this2.hasMore=_this2.medicalList.length<_this2.totalCount;_this2.loading=false;if(!_this2.filterOptions||!_this2.filterOptions.length){_this2.filterOptions=data2.filterLabels||[];_this2.transformFilterOptions()}_this2.refreshScroll()}else{_this2.$toast.show(errmsg)}}).catch(function(err){}).finally(function(){_this2.loading=false;_this2.isShowActLoading=false;_this2.hasSearched=true})},transformMedicalList:function transformMedicalList(list){var _context2;var color=this.isCps?"#F05A4B":"#8C7FEE";if(this.searchKeyword){var reg=new RegExp("(".concat(this.searchKeyword,")"),"g");_forEachInstanceProperty(list).call(list,function(item){item.name=item.name.replace(reg,'<span style="color: '.concat(color,';">$1</span>'))})}this.medicalList=_concatInstanceProperty(_context2=[]).call(_context2,_toConsumableArray(this.medicalList),_toConsumableArray(list))},transformFilterOptions:function transformFilterOptions(){var _context3,_context4,_this3=this;this.firstFilters=_mapInstanceProperty(_context3=this.filterOptions).call(_context3,function(filter){return _objectSpread(_objectSpread({},filter),{},{selectedValue:"",selectedText:""})});this.secondTagFilters={};_forEachInstanceProperty(_context4=this.filterOptions).call(_context4,function(filter){var _context5;var key=filter.key;var values=_mapInstanceProperty(_context5=_valuesInstanceProperty(filter)).call(_context5,function(value){return _objectSpread(_objectSpread({},value),{},{actived:false})});values.unshift({value:"",text:"全部",actived:true});_this3.secondTagFilters[key]=values})},closeDropdown:function closeDropdown(){this.isShowTagMenu=false},isOptionSelected:function isOptionSelected(option){return option.actived},toggleDropdown:function toggleDropdown(item){if(this.activeFirstKey===item.key){this.isShowTagMenu=!this.isShowTagMenu;if(!this.isShowTagMenu){this.activeFirstKey=""}}else{this.isShowTagMenu=true;this.activeFirstKey=item.key}},selectOption:function selectOption(option){var _context6,_this4=this;var filterIndex=_findIndexInstanceProperty(_context6=this.firstFilters).call(_context6,function(item){return item.key===_this4.activeFirstKey});if(filterIndex!==-1){this.firstFilters[filterIndex].selectedValue=option.value;this.firstFilters[filterIndex].selectedText=option.text;if(this.secondTagFilters[this.activeFirstKey]){var _context7;_forEachInstanceProperty(_context7=this.secondTagFilters[this.activeFirstKey]).call(_context7,function(item){item.actived=item.value===option.value})}}this.activeFirstKey=null;this.isShowTagMenu=false;this.resetSearch()},getDisplayText:function getDisplayText(item){return item.selectedValue?item.selectedText:item.text},getFilterValues:function getFilterValues(){var _context8;return _mapInstanceProperty(_context8=this.firstFilters).call(_context8,function(filter){return{key:filter.key,selectedValue:filter.selectedOption?filter.selectedOption.value:null}})},loadMore:function loadMore(){if(!this.hasMore||this.loading)return;this.currentPage++;this.fetchData()},handleSearch:function handleSearch(){var _context9,_context0,_this5=this;_forEachInstanceProperty(_context9=this.firstFilters).call(_context9,function(filter){filter.selectedValue="";filter.selectedText=""});_forEachInstanceProperty(_context0=_Object$keys(this.secondTagFilters)).call(_context0,function(key){var _context1;_forEachInstanceProperty(_context1=_this5.secondTagFilters[key]).call(_context1,function(item){item.actived=item.value===""})});this.resetSearch()},clear:function clear(){this.searchKeyword="";this.resetSearch()},resetSearch:function resetSearch(){this.currentPage=1;this.fetchData(false,true)},refreshScroll:function refreshScroll(){var _this6=this;this.$nextTick(function(){if(!_this6.scroll){_this6.scroll=new BScroll(_this6.$refs.medicalList,{click:true,damping:.6});_this6.scroll.on("scrollEnd",function(){if(_this6.scroll.y<=_this6.scroll.maxScrollY+50){if(_this6.hasMore&&!_this6.loading){_this6.loadMore()}}})}else{_this6.scroll.refresh()}})},scrollTop:function scrollTop(){this.scroll.scrollTo(0,0,300)}},watch:{isVisible:function isVisible(newVal){var _this7=this;if(!this.pickerContentHeight&&newVal){this.$nextTick(function(){_this7.pickerContentHeight=utils_helpers.outerHeight(_this7.$refs.pickerContent)})}}}};var _sfc_render=function render(){var _vm=this,_c=_vm._self._c;return _c("div",{staticClass:"layer-wrap"},[_c("act-gold-layer",{attrs:{"visible":_vm.isVisible,"title":_vm.title,"center":false,"mask":true,"zIndex":_vm.zIndex},on:{"close":_vm.maskClick}},[_c("div",{ref:"pickerContent",staticClass:"picker-content"},[_c("div",{staticClass:"content",on:{"click":_vm.closeDropdown}},[_c("div",{staticClass:"gradual-color"}),_c("div",{staticClass:"header-box"},[_c("form",{staticClass:"search-box",on:{"submit":function submit($event){$event.preventDefault();return _vm.handleSearch.apply(null,arguments)}}},[_c("img",{staticClass:"search-icon",attrs:{"src":__$_require_263bdd0a__,"alt":""}}),_c("input",{directives:[{name:"model",rawName:"v-model",value:_vm.searchKeyword,expression:"searchKeyword"}],attrs:{"type":"text","placeholder":_vm.placeholder},domProps:{"value":_vm.searchKeyword},on:{"keyup":function keyup($event){var _context10;if(!_indexOfInstanceProperty(_context10=$event.type).call(_context10,"key")&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter"))return null;return _vm.handleSearch.apply(null,arguments)},"input":function input($event){if($event.target.composing)return;_vm.searchKeyword=$event.target.value}}}),_vm.searchKeyword?_c("img",{staticClass:"close-icon",attrs:{"src":__$_require_e9a2481a__,"alt":""},on:{"click":_vm.clear}}):_vm._e(),_c("button",{staticStyle:{"display":"none"},attrs:{"type":"submit"}},[_vm._v("搜索")])])]),_c("div",{staticClass:"search-content"},[_c("div",{directives:[{name:"show",rawName:"v-show",value:_vm.firstFilters&&_vm.firstFilters.length,expression:"firstFilters && firstFilters.length"}],staticClass:"search-tags-content",on:{"click":function click($event){$event.stopPropagation()}}},[_c("div",{staticClass:"search-tags-first"},_vm._l(_vm.firstFilters,function(item,index){return _c("div",{key:item.key,staticClass:"filter-item",on:{"click":function click($event){return _vm.toggleDropdown(item,index)}}},[_c("span",{class:{"active":item.selectedValue,"cps":_vm.isCps}},[_vm._v(_vm._s(_vm.getDisplayText(item)))]),_c("i",{class:["arrow-icon",_vm.activeFirstKey===item.key?"up":"down"]})])}),0),_c("div",{directives:[{name:"show",rawName:"v-show",value:_vm.isShowTagMenu,expression:"isShowTagMenu"}],staticClass:"search-tags-second dropdown-menu"},[_c("div",{staticClass:"dropdown-menu-container"},_vm._l(_vm.secondTagFilters[_vm.activeFirstKey],function(option){return _c("div",{key:option.value,staticClass:"dropdown-item",class:{"active":_vm.isOptionSelected(option),"cps":_vm.isCps},on:{"click":function click($event){return _vm.selectOption(option)}}},[_vm._v(" "+_vm._s(option.text)+" ")])}),0)])]),_c("div",{staticStyle:{"height":"4.5rem","width":"100%"}}),_c("div",{staticClass:"table-scroll-bg",style:"height: ".concat(5*_vm.medicalList.length,"rem")}),_c("div",{directives:[{name:"show",rawName:"v-show",value:_vm.medicalList&&_vm.medicalList.length,expression:"medicalList && medicalList.length"}],ref:"medicalList",staticClass:"medical-list-scroll"},[_c("div",{staticClass:"scroll-content"},[_c("div",{staticClass:"scroll-list"},[_c("medical-list",{attrs:{"list":_vm.medicalList}}),_vm.hasMore?_c("div",{staticClass:"load-more",on:{"click":_vm.loadMore}},[_vm._v(" 滑动加载更多 ")]):_vm._e()],1),_c("div",{staticStyle:{"height":"3.2rem","width":"100%"}})])]),_c("div",{directives:[{name:"show",rawName:"v-show",value:_vm.hasSearched&&_vm.medicalList.length===0,expression:"hasSearched && medicalList.length === 0"}],staticClass:"search-empty"},[!_vm.isCps?_c("img",{attrs:{"src":__$_require_450b57d0__}}):_c("img",{attrs:{"src":__$_require_5419c642__}}),_c("h4",{staticClass:"tip"},[_vm._v(_vm._s(_vm.searchEmptyResultTips))]),_c("p",{staticClass:"desc"},[_vm._v(_vm._s(_vm.searchEmptyResultDesc))])]),_vm.isShowActLoading?_c("div",{staticClass:"loading"},[_c("act-loading",{directives:[{name:"show",rawName:"v-show",value:true,expression:"true"}],attrs:{"type":"cir3","color":_vm.brandColor,"size":35}})],1):_vm._e()])])])])],1)};var _sfc_staticRenderFns=[];var __component__=common.normalizeComponent(_sfc_main,_sfc_render,_sfc_staticRenderFns,false,null,"fd644c7c");var MedicalListLayer=__component__.exports;MedicalListLayer.install=function(Vue){Vue.component(MedicalListLayer.name,MedicalListLayer);Vue.prototype["$createMedicalListLayer"]=utils_create.create(MedicalListLayer,Vue)};exports.MedicalListLayer=MedicalListLayer;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _Promise from "@babel/runtime-corejs3/core-js/promise";
|
|
2
|
-
import { v as getParam, u as ua } from "../utils/helpers/index.
|
|
3
|
-
import { f as fetch } from "../utils/post/index.
|
|
4
|
-
import { M as MobileAuthLayer } from "../MobileAuthLayer/index.
|
|
2
|
+
import { v as getParam, u as ua } from "../utils/helpers/index.esm.js";
|
|
3
|
+
import { f as fetch } from "../utils/post/index.esm.js";
|
|
4
|
+
import { M as MobileAuthLayer } from "../MobileAuthLayer/index.esm.js";
|
|
5
5
|
var isLogin = false;
|
|
6
6
|
var CANCEL_RESPONSE = {
|
|
7
7
|
ret: 60999,
|