@xysfe/actui
Version:
A fantastic mobile ui lib implement by Vue
1 lines • 33.4 kB
JavaScript
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/assets/mixins/visible.js"),require("@xysfe/actui/es/assets/common/scroll.js"),require("@xysfe/actui/es/assets/common/goldlayer.js"),require("@xysfe/actui/es/assets/common/scrollZoom/index.js")):"function"==typeof define&&define.amd?define(["@xysfe/actui/es/assets/utils/create/index.js","@xysfe/actui/es/assets/utils/helpers.js","@xysfe/actui/es/assets/mixins/visible.js","@xysfe/actui/es/assets/common/scroll.js","@xysfe/actui/es/assets/common/goldlayer.js","@xysfe/actui/es/assets/common/scrollZoom/index.js"],e):"object"==typeof exports?exports.GoldNoticeTerms=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/assets/mixins/visible.js"),require("@xysfe/actui/es/assets/common/scroll.js"),require("@xysfe/actui/es/assets/common/goldlayer.js"),require("@xysfe/actui/es/assets/common/scrollZoom/index.js")):t.GoldNoticeTerms=e(t["@xysfe/actui/es/assets/utils/create/index.js"],t["@xysfe/actui/es/assets/utils/helpers.js"],t["@xysfe/actui/es/assets/mixins/visible.js"],t["@xysfe/actui/es/assets/common/scroll.js"],t["@xysfe/actui/es/assets/common/goldlayer.js"],t["@xysfe/actui/es/assets/common/scrollZoom/index.js"])}("undefined"!=typeof self?self:this,function(t,e,n,r,o,i){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="../es",e(e.s=1907)}({0:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},1:function(t,e,n){var r=n(31)("wks"),o=n(24),i=n(0).Symbol,s="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=s&&i[t]||(s?i:o)("Symbol."+t))}).store=r},10:function(t,e,n){var r=n(4),o=n(41),i=n(38),s=Object.defineProperty;e.f=n(3)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},11:function(t,e){t.exports={}},1190:function(t,e,n){"use strict";var r=n(130),o=n.n(r),i=n(40),s=n.n(i),c=n(159),a=n.n(c),u=n(787),l=n.n(u),f=n(1910),h=n(1913),d=n(1916),p=n(39);n.n(p);e.a={name:"ActGoldNoticeTerms",mixins:[s.a],components:{ActGoldLayer:a.a,scrollZoom:l.a,tab:f.a,protocol:h.a,health:d.a},props:{title:{type:String,default:"请仔细阅读以下内容"},closable:{type:Boolean,default:!0},forceRead:{type:Boolean,default:!1},confirmButtonText:{type:String,default:"同意并继续"},noticeterms:{type:Array,default:function(){return[]}},brandColor:{type:String,default:"#8c7fee"},showTab:{type:Boolean,default:!0},showProtocol:{type:Boolean,default:!0},beforeClose:{type:Function,default:null},readAlltips:{type:String,default:"还有其他内容没有阅读过哦~"},confirmToUnreadTab:{type:Boolean,default:!1},disableUnreadTab:{type:Boolean,default:!1},readSameProSys:{type:Boolean,default:!1},beforeTermsRender:{type:Function,default:function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]}},scene:{type:String,default:""}},data:function(){return{healthOptionType:"",restForceReadTimeTimer:null,restForceReadTime:0,curIndex:0,termsInfo:[],footerH:0,isReadEnd:[]}},methods:{optionChange:function(t){this.healthOptionType=t},startForceReadTime:function(t){var e=this;this.restForceReadTime=t,this.removeForceReadTime(),this.restForceReadTimeTimer=setInterval(function(){e.restForceReadTime=e.restForceReadTime-1,e.restForceReadTime<0&&e.removeForceReadTime()},1e3)},removeForceReadTime:function(){this.restForceReadTimeTimer&&clearInterval(this.restForceReadTimeTimer)},initTermInfo:function(t){return{type:Number(t.type),doctypeof:t.doctypeof,title:t.title,urls:t.urls,innerHTML:t.innerHTML||"",souceFile:t.src,forceRead:+t.forceRead||0,forceReadSeconds:+t.forceReadSeconds||0,forceReadToPageEnd:+t.forceReadToPageEnd||0,init:!1,classObject:{"scroll-pdf":!1,"scroll-word":!1},myScroll:null,styleImg:{height:"auto"},freeScroll:!0,scrollbar:{fade:!0,interactive:!0},bounce:{bottom:!1,left:!1,right:!1,top:!1},zoom:void 0===t.zoom||!!t.zoom,listenScrollInit:!0,listenScrollEnd:!0,listenZoomEnd:!1,listenScroll:!1,mouseWheel:!0,currentScale:1,scrollY:0,cWidth:0,cHeight:0,liTag:null,wordHtml:"",currentPage:0,isLoading:!1}},getHealth:function(t){if(!Object(p.isObject)(t))return null;var e=t.content,n=e&&e[0];return n?{content:n.text}:null},getNewHealthInfo:function(t,e){return t?(e.title="健康告知",e.healthInfo={health:this.getHealth(t.health),tourism:Object(p.isObject)(t.tourism)?t.tourism:null,careersDenied:Object(p.isObject)(t.careersDenied)?t.careersDenied.content:null,income:Object(p.isObject)(t.income)?t.income.content:null,healthTips:Object(p.isObject)(t.health)?t.health.header_content:""},e):null},getTerms:function(t){for(var e=[],n=t,r=Array.isArray(n),i=0,n=r?n:o()(n);;){var s;if(r){if(i>=n.length)break;s=n[i++]}else{if(i=n.next(),i.done)break;s=i.value}var c=s;if(c.healthInfo){var a=this.initTermInfo(c);a.healthInfo=c.healthInfo,e.push(a)}else if(c.noticesData&&1==~~c.noticesData.notice_mode){var u=c.noticesData||{},l=u.notices,f=l&&l[0],h=this.initTermInfo(c),d=this.getNewHealthInfo(f,h);if(!d)continue;e.push(d)}else if(c.noticesData&&2==~~c.noticesData.notice_mode){var p=c.noticesData||{},v=p.notices;if(!v||!v.length)continue;for(var m=v,b=Array.isArray(m),y=0,m=b?m:o()(m);;){var x;if(b){if(y>=m.length)break;x=m[y++]}else{if(y=m.next(),y.done)break;x=y.value}var T=x,_=this.initTermInfo(c),g=this.getNewHealthInfo(T,_);g&&(1===T.entity_belong?g.title="投保人健告":2===T.entity_belong&&(g.title="被保险人健告"),e.push(g))}}else{var I=this.initTermInfo(c);e.push(I)}}e.forEach(function(t){t.readDone=!1}),"function"==typeof this.beforeTermsRender&&(e=this.beforeTermsRender(e)||e),this.termsInfo=e,this.calcFiexdHight()},close:function(t){this.handleAction("close",t)},confirmToUnreadTabHandler:function(){var t=this.termsInfo[this.curIndex];if(1===t.forceReadToPageEnd&&!t.readDone)return this.forceReadToEnd(),!0;var e=this.termsInfo.findIndex(function(t){return!0!==t.readDone});return-1!==e&&(this.curIndex!==e||1===t.forceReadToPageEnd&&this.forceRead?this.changeTab(e):this.changeTab(this.curIndex+1),t.readDone=!0,!0)},forceReadToEnd:function(){return this.$emit("confirmWithoutRead",this.curIndex,this.curTerm),this.showToast("请观看至页面底部,完整阅读全部内容")},confirm:function(t){if(this.checkCanNext()){var e=this.termsInfo[this.curIndex];if(this.forceRead&&!this.isReadEnd[this.curIndex])return this.forceReadToEnd();if(this.confirmToUnreadTab&&this.curIndex!==this.termsInfo.length-1){if(this.confirmToUnreadTabHandler())return}var n=this.isReadEnd.every(function(t){return!0===Boolean(t)});if(this.readSameProSys&&this.curIndex===this.isReadEnd.length-1&&1!=+e.forceReadToPageEnd&&(n=!0,e.readDone=!0),this.forceRead&&!n)return this.$emit("confirmWithoutRead",this.curIndex,this.curTerm),this.showToast(this.readAlltips);this.handleAction("confirm",t)}},handleAction:function(t,e){var n=this;this.beforeClose?this.beforeClose(t,function(r){!1!==r&&(n.hide(),n.$emit(t,e))}):(this.hide(),this.$emit(t,e))},showDoc:function(t){var e=this;this.$nextTick(function(){e.$refs.scrollZoom.showDoc(t)})},canINext:function(t){this.isReadEnd[this.curIndex]=t},scrolledEnd:function(){this.termsInfo[this.curIndex].readDone=!0},checkCanNext:function(){if(1===this.healthOptionType&&this.showDefaultHealthInfo&&"addmore"===this.scene)return!1;if(this.restForceReadTime>0)return!1;var t=this.termsInfo[this.curIndex];return 99!=+t.type||t.readDone?!(this.forceRead&&t.forceReadToPageEnd&&!t.readDone&&(this.forceReadToEnd(),1)):(this.forceReadToEnd(),!1)},changeTab:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if((t!==this.curIndex||e)&&this.termsInfo[t]){var n=this.termsInfo[t],r=n.readDone;if(this.readSameProSys&&+n.forceReadSeconds&&!r&&this.startForceReadTime(+n.forceReadSeconds),n.forceReadToPageEnd&&this.forceRead&&!this.isReadEnd[this.curIndex]&&!e&&!r)return this.$emit("changeTabWithoutRead",t,this.curTerm),void this.showToast("请观看至页面底部,完整阅读全部内容");this.curIndex=t,this.showDoc(t),this.$emit("changeTab",t,this.curTerm)}},calcFiexdHight:function(){var t=this;this.$nextTick(function(){var e=t.$refs["btn-wrap"];e&&(t.footerH=e.offsetHeight)})},reset:function(){this.curIndex=0,this.isReadEnd=new Array(this.noticeterms.length).fill(!1),this.termsInfo.forEach(function(t){t.readDone=!1})},showToast:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3e3;this.hideToast(),this.toast||(this.toast=this.$createToast()),this.toast.show(t,e)},hideToast:function(){this.toast&&this.toast.hide()}},computed:{showDefaultHealthInfo:function(){return this.curTerm.healthInfo&&this.curTerm.healthInfo.health&&!this.$slots.content},curTerm:function(){return this.termsInfo[this.curIndex]||{}}},watch:{isVisible:function(t){t?(this.reset(),this.getTerms(this.noticeterms),this.changeTab(0,!0)):this.removeForceReadTime()}},beforeDestroy:function(){this.removeForceReadTime()}}},1191:function(t,e,n){"use strict";var r=n(797),o=n.n(r),i=n(129),s=n.n(i);e.a={name:"Tab",data:function(){return{listElements:null,scroll:null,barWidth:22}},components:{scroll:s.a},props:{activeIndex:{type:Number,default:0},tabs:{type:Array,default:function(){return[]}},brandColor:{type:String,default:"#8c7fee"},disableUnreadTab:{type:Boolean,default:!1}},computed:{len:function(){return this.tabs.length||0},belowFive:function(){return this.len&&this.len<=4},width:function(){return document.body.clientWidth},perWidth:function(){var t=this.belowFive?this.width/this.len:this.width/4;return t>98?t:98},left:function(){return(this.perWidth-this.barWidth)/2},activeBarLeft:function(){return this.activeIndex<this.tabs.length?this.activeIndex*this.perWidth+this.left:this.left}},mounted:function(){this.$refs.actTab&&(this.listElements=o()(this.$refs.actTab.querySelectorAll(".act-gold-tab-item")))},methods:{isSelected:function(t){return t===this.activeIndex},checkDisabledSelect:function(t){if(!this.disableUnreadTab)return!1;var e=this.tabs.findIndex(function(t){return!0!==t.readDone});return-1!==e&&t>e},changeTab:function(t){if(this.checkDisabledSelect(t))return void this.$emit("clickUnreadTab",t);this.$emit("changeTab",t)},scrollSuc:function(t){this.scroll=t,this.activeIndex>=4&&this.scrollTo(this.activeIndex)},scrollTo:function(t){var e=0;e=Number(t)<=2?0:Number(t)>=Number(this.len)-2?this.len-4:Number(t)-2,this.scroll.scrollToElement(this.listElements[e],100)}},watch:{activeIndex:function(t,e){!this.listElements&&this.$refs.actTab&&(this.listElements=o()(this.$refs.actTab.querySelectorAll(".act-gold-tab-item"))),this.scrollTo(t)}}}},1192:function(t,e,n){"use strict";e.a={props:{text:{type:String,default:"我已阅读并同意"},protocols:{type:Array,default:function(){return[]}},brandColor:{type:String,default:"#8c7fee"}},methods:{changeProtocol:function(t){this.$emit("changeProtocol",t)}}}},1193:function(t,e,n){"use strict";var r=n(39);n.n(r);e.a={data:function(){return{healthOptionType:"",tipsLine:-1,tipsIndex:-1}},props:{scene:{type:String,default:""},healthInfo:{type:Object,default:function(){return null}},brandColor:{type:String,default:"#8c7fee"}},computed:{isAddmoreScene:function(){return"addmore"===this.scene},optionBtnActiveStyle:function(){return{color:"#FFFFFF",background:this.brandColor}},healthTips:function(){return this.healthInfo&&this.healthInfo.healthTips||"为保证您的权益,您应对投保人与被保险人的健康状况、职业、历史投保记录、财务状况等内容充分了解并如实告知,如有隐瞒或告知不实而影响保险公司承保决定的,保险公司有权解除合同,并对合同解除前发生的保险事故不承担赔偿或给付保险金的责任"},healthNotice:function(){return this.healthInfo&&this.healthInfo.health},careersDenied:function(){return this.healthInfo&&this.healthInfo.careersDenied?this.getDenyCarrerList(this.healthInfo.careersDenied):null},tourism:function(){return this.healthInfo&&this.healthInfo.tourism},incomes:function(){return this.healthInfo&&this.healthInfo.income&&this.healthInfo.income.length?this.healthInfo.income:null},isIncomePopup:function(){return!!this.incomes&&1==~~this.incomes[0].showType}},methods:{selectOption:function(t){this.healthOptionType=t,this.$emit("optionChange",t)},carrerClick:function(t,e,n){this.tipsLine=e,this.tipsIndex=n},getTipsActiveState:function(t,e){return~~t==~~this.tipsLine&&~~e==~~this.tipsIndex},getDenyCarrerList:function(t){var e=[];if(!Object(r.isObject)(t))return e;var n=[],o=[],i={},s={};for(var c in t)for(var a in t[c])i[t[c][a].c1]?i[t[c][a].c1].push(t[c][a].c3):(i[t[c][a].c1]=[t[c][a].c3],n.push(t[c][a].c1)),s[t[c][a].c2]?s[t[c][a].c2].push(t[c][a].c3):(s[t[c][a].c2]=[t[c][a].c3],o.push(t[c][a].c2));var u=void 0,l=void 0;o.length<25?(u=o,l=s):(u=n,l=i);for(var f=void 0,h=u.length-1,d=parseInt(u.length/3)+(u.length%3>0?1:0),p=0;p<d;p++)f={list:[],tipsList:[]},3*p<=h&&(f.list.push({content:u[3*p],index:3*p}),f.tipsList.push({content:l[u[3*p]].join(","),index:3*p})),3*p+1<=h&&(f.list.push({content:u[3*p+1],index:3*p+1}),f.tipsList.push({content:l[u[3*p+1]].join(","),index:3*p+1})),3*p+2<=h&&(f.list.push({content:u[3*p+2],index:3*p+2}),f.tipsList.push({content:l[u[3*p+2]].join(","),index:3*p+2})),e.push(f);return e}}}},12:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},129:function(t,e){t.exports=r},13:function(t,e,n){var r=n(34),o=n(15);t.exports=function(t){return r(o(t))}},130:function(t,e,n){t.exports={default:n(144),__esModule:!0}},14:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},144:function(t,e,n){n(50),n(48),t.exports=n(145)},145:function(t,e,n){var r=n(4),o=n(56);t.exports=n(2).getIterator=function(t){var e=o(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return r(e.call(t))}},15:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},159:function(t,e){t.exports=o},16:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},17:function(t,e,n){var r=n(19);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},18:function(t,e){t.exports=!0},19:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},1907:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(26),o=n.n(r),i=n(1908);i.a.install=function(t){t.component(i.a.name,i.a),t.prototype.$createGoldNoticeTerms=o()(i.a,t)},e.default=i.a},1908:function(t,e,n){"use strict";function r(t){c||n(1909)}var o=n(1190),i=n(1919),s=n(7),c=!1,a=r,u=Object(s.a)(o.a,i.a,i.b,!1,a,"data-v-1759e426",null);u.options.__file="src\\components\\GoldNoticeTerms\\src\\index.vue",e.a=u.exports},1909:function(t,e){},1910:function(t,e,n){"use strict";function r(t){c||n(1911)}var o=n(1191),i=n(1912),s=n(7),c=!1,a=r,u=Object(s.a)(o.a,i.a,i.b,!1,a,"data-v-cc69b678",null);u.options.__file="src\\components\\GoldNoticeTerms\\src\\components\\tab.vue",e.a=u.exports},1911:function(t,e){},1912:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return o});var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.tabs&&t.tabs.length&&t.tabs.length>1?n("div",{ref:"actTab",staticClass:"act-gold-tab"},[n("scroll",{ref:"scroll",staticClass:"act-tab-scroll",attrs:{direction:"horizontal",click:!0,listenScrollInit:!0},on:{scrollSuc:t.scrollSuc}},[t._l(t.tabs,function(e,r){return n("div",{key:r,staticClass:"act-gold-tab-item",class:{active:t.isSelected(r),"disabled-select":t.checkDisabledSelect(r)},style:"width:"+t.perWidth+"px",on:{click:function(e){return e.stopPropagation(),t.changeTab(r)}}},[t._v("\n "+t._s(e.title)+"\n ")])}),t._v(" "),n("i",{staticClass:"active_bar",style:"left:"+t.activeBarLeft+"px; backgroundColor:"+t.brandColor})],2),t._v(" "),n("i",{directives:[{name:"show",rawName:"v-show",value:Number(t.activeIndex)<=Number(t.len-3),expression:"Number(activeIndex) <= Number(len - 3)"}],staticClass:"cover_layer right"})],1):t._e()},o=[];r._withStripped=!0},1913:function(t,e,n){"use strict";function r(t){c||n(1914)}var o=n(1192),i=n(1915),s=n(7),c=!1,a=r,u=Object(s.a)(o.a,i.a,i.b,!1,a,"data-v-6ec7730e",null);u.options.__file="src\\components\\GoldNoticeTerms\\src\\components\\protocol.vue",e.a=u.exports},1914:function(t,e){},1915:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return o});var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.protocols.length>1?n("div",{staticClass:"act-noticeterms-protocol"},[n("span",{domProps:{innerHTML:t._s(t.text)}}),t._v(" "),t._l(t.protocols,function(e,r){return[r==t.protocols.length-1&&0!=r?n("span",{key:r+"span"},[t._v("和")]):0!=r?n("span",{key:r+"span"},[t._v("、")]):t._e(),t._v(" "),n("span",{key:r+"protocol",staticClass:"protocol-item",style:{color:t.brandColor},on:{click:function(e){return t.changeProtocol(r)}}},[t._v("《"+t._s(e.title)+"》")])]})],2):t._e()},o=[];r._withStripped=!0},1916:function(t,e,n){"use strict";function r(t){c||n(1917)}var o=n(1193),i=n(1918),s=n(7),c=!1,a=r,u=Object(s.a)(o.a,i.a,i.b,!1,a,"data-v-0c3fe8e6",null);u.options.__file="src\\components\\GoldNoticeTerms\\src\\components\\heatlh.vue",e.a=u.exports},1917:function(t,e){},1918:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return o});var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"act-noticeterm-health"},[t.healthTips?n("div",{staticClass:"act-health-tips"},[n("span",[t._v("重要")]),t._v(" "),n("p",{domProps:{innerHTML:t._s(t.healthTips)}})]):t._e(),t._v(" "),t.healthNotice?[n("div",{staticClass:"act-pbInform"},[n("div",{staticClass:"act-pbInform-box"},[n("div",{staticClass:"act-pbInform-tit"},[t._v("\n 健康告知\n ")]),t._v(" "),n("div",{staticClass:"act-pbInform-cnt"},[n("p",{staticClass:"act-notice-item",domProps:{innerHTML:t._s(t.healthNotice.content)}})]),t._v(" "),t.isAddmoreScene?n("div",{staticClass:"option-btns"},[n("div",{staticClass:"opt-btn",style:1===t.healthOptionType?t.optionBtnActiveStyle:{},on:{click:function(e){return t.selectOption(1)}}},[t._v("有部分问题")]),t._v(" "),n("div",{staticClass:"opt-btn",style:0===t.healthOptionType?t.optionBtnActiveStyle:{},on:{click:function(e){return t.selectOption(0)}}},[t._v("否")])]):t._e()])])]:t._e(),t._v(" "),t.careersDenied&&t.careersDenied.length>0?n("div",{staticClass:"act-pbInform"},[n("div",{staticClass:"act-pbInform-box"},[n("div",{staticClass:"act-pbInform-tit"},[t._v("\n 职业工种告知\n ")]),t._v(" "),n("div",{staticClass:"act-pbInform-txt"},[t._v("\n 被保险人是否正在从事以下行业(点击分类名可查看详情):\n ")]),t._v(" "),n("div",{staticClass:"act-pbInform-info"},t._l(t.careersDenied,function(e,r){return n("div",{key:r,staticClass:"act-pbInform-item"},[n("div",{staticClass:"act-pbInform-list"},t._l(e.list,function(e,o){return n("div",{key:r+o,staticClass:"act-pbInform-li",on:{click:function(n){return n.stopPropagation(),t.carrerClick(n,r,e.index)}}},[n("div",{staticClass:"act-pbInform-li-txt"},[t._v("\n "+t._s(e.content)+"\n ")])])}),0),t._v(" "),n("div",{staticClass:"act-pbInform-tips"},t._l(e.tipsList,function(e,o){return n("div",{key:r+o,staticClass:"act-pbInform-tips-item",class:{active:t.getTipsActiveState(r,e.index)}},[n("div",{staticClass:"act-pbInform-tips-txt"},[t._v("\n "+t._s(e.content)+"\n ")])])}),0)])}),0)])]):t._e(),t._v(" "),t.tourism?n("div",{staticClass:"act-pbInform"},[n("div",{staticClass:"act-pbInform-box"},[n("div",{staticClass:"act-pbInform-tit"},[t._v("\n 旅游告知\n ")]),t._v(" "),n("div",{staticClass:"act-pbInform-cnt"},[n("p",{staticClass:"act-notice-item",domProps:{innerHTML:t._s(t.tourism.content)}})])])]):t._e(),t._v(" "),t.incomes&&!t.isIncomePopup?n("div",{staticClass:"act-pbInform"},[n("div",{staticClass:"act-pbInform-box"},[n("div",{staticClass:"act-pbInform-tit"},[t._v("\n 收入告知\n ")]),t._v(" "),n("div",{staticClass:"act-pbInform-cnt"},t._l(t.incomes,function(e,r){return n("p",{key:r,staticClass:"act-notice-item"},[t._v("\n "+t._s(e.text)+"\n ")])}),0)])]):t._e()],2)},o=[];r._withStripped=!0},1919:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return o});var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("act-gold-layer",{attrs:{visible:t.isVisible,center:!1,closable:!1}},[t.$slots.header?t._t("header",null,{slot:"header"}):n("template",{slot:"header"},[n("h3",[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),t.closable?n("i",{staticClass:"act-gold-icon-close",on:{click:function(e){return e.stopPropagation(),t.close.apply(null,arguments)}}}):t._e()]),t._v(" "),t.showTab?n("tab",{attrs:{disableUnreadTab:t.disableUnreadTab,tabs:t.termsInfo,activeIndex:t.curIndex,brandColor:t.brandColor},on:{changeTab:t.changeTab,clickUnreadTab:t.forceReadToEnd}}):t._e(),t._v(" "),t.isVisible?n("scroll-zoom",{ref:"scrollZoom",staticClass:"scroll-zoom",style:{paddingBottom:t.footerH+"px"},attrs:{brandColor:t.brandColor,termsInfo:t.termsInfo,forceRead:t.forceRead,docIndex:t.curIndex},on:{canINext:t.canINext,scrolledEnd:t.scrolledEnd}},[t.$slots.content?t._t("content",null,{slot:"content"}):n("div",{attrs:{slot:"content"},slot:"content"},[n("health",{attrs:{healthInfo:t.curTerm.healthInfo,brandColor:t.brandColor,scene:t.scene},on:{optionChange:t.optionChange}})],1)],2):t._e(),t._v(" "),t.$slots.footer?t._t("footer"):[n("div",{ref:"btn-wrap",staticClass:"btn-wrap"},[n("div",{staticClass:"confirm-btn",class:[t.restForceReadTime>0||1===t.healthOptionType?"pending-tap-confirm":""],style:{background:t.brandColor},on:{click:t.confirm}},[n("span",[t._v(t._s(t.confirmButtonText))]),t._v(" "),t.restForceReadTime>0?n("span",[t._v("("+t._s(t.restForceReadTime)+"s)")]):t._e()]),t._v(" "),t.showProtocol?n("protocol",{attrs:{brandColor:t.brandColor,protocols:t.termsInfo},on:{changeProtocol:t.changeTab}}):t._e()],1)]],2)},o=[];r._withStripped=!0},2:function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},20:function(t,e,n){var r=n(31)("keys"),o=n(24);t.exports=function(t){return r[t]||(r[t]=o(t))}},22:function(t,e,n){var r=n(6),o=n(0).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},23:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},24:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},26:function(e,n){e.exports=t},27:function(t,e,n){var r=n(10).f,o=n(8),i=n(1)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},28:function(t,e,n){var r=n(42),o=n(32);t.exports=Object.keys||function(t){return r(t,o)}},3:function(t,e,n){t.exports=!n(12)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},31:function(t,e,n){var r=n(2),o=n(0),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(18)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},32:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},33:function(t,e,n){var r=n(15);t.exports=function(t){return Object(r(t))}},34:function(t,e,n){var r=n(14);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},35:function(t,e,n){var r=n(16),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},36:function(t,e,n){"use strict";var r=n(18),o=n(9),i=n(54),s=n(5),c=n(11),a=n(60),u=n(27),l=n(62),f=n(1)("iterator"),h=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,n,p,v,m,b){a(n,e,p);var y,x,T,_=function(t){if(!h&&t in S)return S[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},g=e+" Iterator",I="values"==v,C=!1,S=t.prototype,j=S[f]||S["@@iterator"]||v&&S[v],w=j||_(v),R=v?I?_("entries"):w:void 0,O="Array"==e?S.entries||j:j;if(O&&(T=l(O.call(new t)))!==Object.prototype&&T.next&&(u(T,g,!0),r||"function"==typeof T[f]||s(T,f,d)),I&&j&&"values"!==j.name&&(C=!0,w=function(){return j.call(this)}),r&&!b||!h&&!C&&S[f]||s(S,f,w),c[e]=w,c[g]=d,v)if(y={values:I?w:_("values"),keys:m?w:_("keys"),entries:R},b)for(x in y)x in S||i(S,x,y[x]);else o(o.P+o.F*(h||C),e,y);return y}},38:function(t,e,n){var r=n(6);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},39:function(t,n){t.exports=e},4:function(t,e,n){var r=n(6);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},40:function(t,e){t.exports=n},41:function(t,e,n){t.exports=!n(3)&&!n(12)(function(){return 7!=Object.defineProperty(n(22)("div"),"a",{get:function(){return 7}}).a})},42:function(t,e,n){var r=n(8),o=n(13),i=n(46)(!1),s=n(20)("IE_PROTO");t.exports=function(t,e){var n,c=o(t),a=0,u=[];for(n in c)n!=s&&r(c,n)&&u.push(n);for(;e.length>a;)r(c,n=e[a++])&&(~i(u,n)||u.push(n));return u}},43:function(t,e,n){var r=n(0).document;t.exports=r&&r.documentElement},45:function(t,e,n){var r=n(14),o=n(1)("toStringTag"),i="Arguments"==r(function(){return arguments}()),s=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=s(e=Object(t),o))?n:i?r(e):"Object"==(c=r(e))&&"function"==typeof e.callee?"Arguments":c}},46:function(t,e,n){var r=n(13),o=n(35),i=n(47);t.exports=function(t){return function(e,n,s){var c,a=r(e),u=o(a.length),l=i(s,u);if(t&&n!=n){for(;u>l;)if((c=a[l++])!=c)return!0}else for(;u>l;l++)if((t||l in a)&&a[l]===n)return t||l||0;return!t&&-1}}},47:function(t,e,n){var r=n(16),o=Math.max,i=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):i(t,e)}},48:function(t,e,n){"use strict";var r=n(59)(!0);n(36)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},5:function(t,e,n){var r=n(10),o=n(23);t.exports=n(3)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},50:function(t,e,n){n(68);for(var r=n(0),o=n(5),i=n(11),s=n(1)("toStringTag"),c="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),a=0;a<c.length;a++){var u=c[a],l=r[u],f=l&&l.prototype;f&&!f[s]&&o(f,s,u),i[u]=i.Array}},52:function(t,e,n){var r=n(4),o=n(61),i=n(32),s=n(20)("IE_PROTO"),c=function(){},a=function(){var t,e=n(22)("iframe"),r=i.length;for(e.style.display="none",n(43).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),a=t.F;r--;)delete a.prototype[i[r]];return a()};t.exports=Object.create||function(t,e){var n;return null!==t?(c.prototype=r(t),n=new c,c.prototype=null,n[s]=t):n=a(),void 0===e?n:o(n,e)}},54:function(t,e,n){t.exports=n(5)},56:function(t,e,n){var r=n(45),o=n(1)("iterator"),i=n(11);t.exports=n(2).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},59:function(t,e,n){var r=n(16),o=n(15);t.exports=function(t){return function(e,n){var i,s,c=String(o(e)),a=r(n),u=c.length;return a<0||a>=u?t?"":void 0:(i=c.charCodeAt(a),i<55296||i>56319||a+1===u||(s=c.charCodeAt(a+1))<56320||s>57343?t?c.charAt(a):i:t?c.slice(a,a+2):s-56320+(i-55296<<10)+65536)}}},6:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},60:function(t,e,n){"use strict";var r=n(52),o=n(23),i=n(27),s={};n(5)(s,n(1)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(s,{next:o(1,n)}),i(t,e+" Iterator")}},61:function(t,e,n){var r=n(10),o=n(4),i=n(28);t.exports=n(3)?Object.defineProperties:function(t,e){o(t);for(var n,s=i(e),c=s.length,a=0;c>a;)r.f(t,n=s[a++],e[n]);return t}},62:function(t,e,n){var r=n(8),o=n(33),i=n(20)("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},63:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},68:function(t,e,n){"use strict";var r=n(69),o=n(63),i=n(11),s=n(13);t.exports=n(36)(Array,"Array",function(t,e){this._t=s(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):"keys"==e?o(0,n):"values"==e?o(0,t[n]):o(0,[n,t[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},69:function(t,e){t.exports=function(){}},7:function(t,e,n){"use strict";function r(t,e,n,r,o,i,s,c){t=t||{};var a=typeof t.default;"object"!==a&&"function"!==a||(t=t.default);var u="function"==typeof t?t.options:t;e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId=i);var l;if(s?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},u._ssrRegister=l):o&&(l=c?function(){o.call(this,this.$root.$options.shadowRoot)}:o),l)if(u.functional){u._injectStyles=l;var f=u.render;u.render=function(t,e){return l.call(e),f(t,e)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:u}}e.a=r},787:function(t,e){t.exports=i},797:function(t,e,n){t.exports={default:n(798),__esModule:!0}},798:function(t,e,n){n(48),n(799),t.exports=n(2).Array.from},799:function(t,e,n){"use strict";var r=n(17),o=n(9),i=n(33),s=n(83),c=n(84),a=n(35),u=n(800),l=n(56);o(o.S+o.F*!n(87)(function(t){Array.from(t)}),"Array",{from:function(t){var e,n,o,f,h=i(t),d="function"==typeof this?this:Array,p=arguments.length,v=p>1?arguments[1]:void 0,m=void 0!==v,b=0,y=l(h);if(m&&(v=r(v,p>2?arguments[2]:void 0,2)),void 0==y||d==Array&&c(y))for(e=a(h.length),n=new d(e);e>b;b++)u(n,b,m?v(h[b],b):h[b]);else for(f=y.call(h),n=new d;!(o=f.next()).done;b++)u(n,b,m?s(f,v,[o.value,b],!0):o.value);return n.length=b,n}})},8:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},800:function(t,e,n){"use strict";var r=n(10),o=n(23);t.exports=function(t,e,n){e in t?r.f(t,e,o(0,n)):t[e]=n}},83:function(t,e,n){var r=n(4);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},84:function(t,e,n){var r=n(11),o=n(1)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},87:function(t,e,n){var r=n(1)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],s=i[r]();s.next=function(){return{done:n=!0}},i[r]=function(){return s},t(i)}catch(t){}return n}},9:function(t,e,n){var r=n(0),o=n(2),i=n(17),s=n(5),c=n(8),a=function(t,e,n){var u,l,f,h=t&a.F,d=t&a.G,p=t&a.S,v=t&a.P,m=t&a.B,b=t&a.W,y=d?o:o[e]||(o[e]={}),x=y.prototype,T=d?r:p?r[e]:(r[e]||{}).prototype;d&&(n=e);for(u in n)(l=!h&&T&&void 0!==T[u])&&c(y,u)||(f=l?T[u]:n[u],y[u]=d&&"function"!=typeof T[u]?n[u]:m&&l?i(f,r):b&&T[u]==f?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(f):v&&"function"==typeof f?i(Function.call,f):f,v&&((y.virtual||(y.virtual={}))[u]=f,t&a.R&&x&&!x[u]&&s(x,u,f)))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a}})});