(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-user-takenotes-takenotes"],{"0226":function(t,e,i){"use strict";i.d(e,"b",(function(){return r})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={tnNavBar:i("f71b").default,zPaging:i("c8c7").default,uReadMore:i("1b98").default,uIcon:i("94f3").default,uPopup:i("a2a6").default,wikePainter:i("7275").default,wikeLoadingPage:i("f6b0").default},r=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[i("v-uni-view",{staticStyle:{color:"#fff"}},[i("tn-nav-bar",{attrs:{backgroundColor:"#26B3A0",bottomShadow:!1}},[t._v("问答记录")])],1),i("z-paging",{ref:"paging",attrs:{"refresher-complete-delay":"200"},on:{query:function(e){arguments[0]=e=t.$handleEvent(e),t.queryList.apply(void 0,arguments)}},model:{value:t.jobList,callback:function(e){t.jobList=e},expression:"jobList"}},[i("v-uni-view",{staticClass:"z_tabs",style:{marginTop:t.tobheight+"px"},attrs:{slot:"top"},slot:"top"}),i("v-uni-view",{staticClass:"container"},[i("v-uni-view",{staticClass:"form"},[t._l(t.jobList,(function(e,n){return[i("v-uni-view",{key:n+"_0",staticClass:"panel"},[i("v-uni-view",{staticClass:"head"},[i("v-uni-view",{staticClass:"title"},[t._v("问:"+t._s(e.question))])],1),i("u-read-more",{attrs:{toggle:!0,showHeight:"200",color:"#26B3A0"}},[i("v-uni-text",{staticClass:"content"},[t._v(t._s(e.answer.replace(/^\s+|\s+$/g,"")))])],1),i("v-uni-view",{staticClass:"bottom"},[t._v(t._s(t.appInfo.site_name?t.appInfo.site_name:"AI智能问答机器人")+"回答时间:"+t._s(e.create_time))]),i("v-uni-view",{staticClass:"tn-flex justify-between"},[i("v-uni-view",{staticClass:"onekey",attrs:{"hover-class":"hoversubmit"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.copyText(e.answer)}}},[t._v("一键复制")]),i("v-uni-view",{staticClass:"onekey",staticStyle:{background:"#FFC107"},attrs:{"hover-class":"hoversubmit"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.createPoster(n)}}},[t._v("生成海报")])],1),i("v-uni-view",{staticClass:"circle",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.gallerydel(n)}}},[i("u-icon",{attrs:{name:"close-circle-fill",color:"#e83a30",size:"24"}})],1)],1)]}))],2)],1)],1),i("u-popup",{attrs:{show:t.showPoster,mode:"bottom",round:10},on:{close:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)},open:function(e){arguments[0]=e=t.$handleEvent(e),t.open.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"poster"},[i("wike-painter",{ref:"painter",attrs:{isH5PathToBase64:!0,board:t.posterObj},on:{success:function(e){arguments[0]=e=t.$handleEvent(e),t.posterSuccess.apply(void 0,arguments)}}}),i("v-uni-view",{staticClass:"footer-btn"},[i("v-uni-view",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showPoster=!1}}},[t._v("退出")]),i("v-uni-view",{staticClass:"save",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toSave.apply(void 0,arguments)}}},[t._v("保存/分享")])],1)],1)],1),i("wike-loading-page",{attrs:{isLoading:t.isLoading}})],1)},o=[]},"0864":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,"uni-page-body[data-v-035d8199]{background:#f6f7fb}body.?%PAGE?%[data-v-035d8199]{background:#f6f7fb}.form[data-v-035d8199]{width:90%;margin:0 auto;z-index:999}.form .header[data-v-035d8199]{margin-bottom:%?30?%}.form .header .title[data-v-035d8199]{text-align:center;color:#fff;margin:%?30?% %?0?%}.form .panel[data-v-035d8199]{padding:%?30?%;background-color:#fff;border-radius:%?30?%;margin:%?30?% 0;position:relative}.form .panel .bottom[data-v-035d8199]{font-size:%?24?%}.form .panel .head[data-v-035d8199]{border-bottom:%?1?% solid #eee;padding-bottom:%?30?%;margin-bottom:%?30?%}.form .panel .head .title[data-v-035d8199]{font-weight:bolder;font-size:%?35?%}.form .panel .bottom[data-v-035d8199]{background-color:#f0faf8;color:#26b3a0;padding:%?15?%;border-radius:%?10?%;margin:%?30?% 0}.form .panel .onekey[data-v-035d8199]{background:linear-gradient(90deg,#00ca88,#00bcd4);color:#fff;padding:%?15?%;border-radius:%?10?%;text-align:center;font-size:%?24?%;width:48%}.form .panel .hoversubmit[data-v-035d8199]{background:#f7f7f7;color:#acacb3}.bg[data-v-035d8199]{position:fixed;top:%?0?%;left:%?0?%;width:100%;background-color:#26b3a0;min-height:%?200?%;border-radius:%?0?% %?0?% %?140?% %?140?%;z-index:-1}.poster[data-v-035d8199]{padding:%?24?% %?40?%}.poster .footer-btn[data-v-035d8199]{margin-top:%?24?%;display:flex;align-items:center;justify-content:space-between}.poster .footer-btn uni-view[data-v-035d8199]{width:%?319?%;height:%?66?%;border-radius:%?40?%;border:1px solid #4070ff;font-size:%?26?%;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#4070ff;line-height:%?66?%;text-align:center}.poster .footer-btn .save[data-v-035d8199]{background:#4070ff;color:#fff}.circle[data-v-035d8199]{position:absolute;right:%?-12?%;top:%?-12?%;background:#fff;border-radius:50%}",""]),t.exports=e},"0cfa":function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("a9e3");var n={props:{board:Object,pathType:String,fileType:{type:String,default:"png"},quality:{type:Number,default:1},css:[String,Object],width:[Number,String],height:[Number,String],pixelRatio:Number,customStyle:String,isCanvasToTempFilePath:Boolean,sleep:{type:Number,default:1e3/30},beforeDelay:{type:Number,default:100},afterDelay:{type:Number,default:100},useCORS:Boolean}};e.default=n},1424:function(t,e,i){var n=i("f39c");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var r=i("4f06").default;r("54333e05",n,!0,{sourceMap:!1,shadowMode:!1})},"1b98":function(t,e,i){"use strict";i.r(e);var n=i("cba6"),r=i("2dae");for(var o in r)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(o);i("fcfe");var a=i("f0c5"),s=Object(a["a"])(r["default"],n["b"],n["c"],!1,null,"7c1d503a",null,!1,n["a"],void 0);e["default"]=s.exports},"231a":function(t,e,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("c7eb")),o=n(i("1da1"));i("99af"),i("b64b"),i("e9c4"),i("d3b7"),i("ac1f"),i("d9e2"),i("d401"),i("5319");var a=i("b9a8"),s=n(i("0cfa")),c=i("8cfe"),d=n(i("a626")),h={name:"lime-painter",mixins:[s.default,(0,a.parent)("painter"),{}],data:function(){return{use2dCanvas:!1,canvasHeight:150,canvasWidth:null,parentWidth:0,inited:!1,progress:0,firstRender:0,done:!1}},computed:{styles:function(){return"".concat(this.size).concat(this.customStyle||"",";")},canvasId:function(){return"l-painter".concat(this._uid||this._.uid)},size:function(){if(this.boardWidth&&this.boardHeight)return"width:".concat(this.boardWidth,"px; height: ").concat(this.boardHeight,"px;")},dpr:function(){return this.pixelRatio||uni.getSystemInfoSync().pixelRatio},boardWidth:function(){var t=this.elements&&this.elements.css||this.elements||this,e=t.width,i=void 0===e?0:e,n=(0,c.toPx)(i||this.width);return n||Math.max(n,(0,c.toPx)(this.canvasWidth))},boardHeight:function(){var t=this.elements&&this.elements.css||this.elements||this,e=t.height,i=void 0===e?0:e,n=(0,c.toPx)(i||this.height);return n||Math.max(n,(0,c.toPx)(this.canvasHeight))},hasBoard:function(){return this.board&&Object.keys(this.board).length},elements:function(){return this.hasBoard?this.board:JSON.parse(JSON.stringify(this.el))}},watch:{},created:function(){var t=uni.getSystemInfoSync();t.SDKVersion,t.version,t.platform},mounted:function(){var t=this;return(0,o.default)((0,r.default)().mark((function e(){return(0,r.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,(0,c.sleep)(30);case 2:return e.next=4,t.getParentWeith();case 4:t.$nextTick((function(){setTimeout((function(){t.$watch("elements",t.watchRender,{deep:!0,immediate:!0})}),30)}));case 5:case"end":return e.stop()}}),e)})))()},methods:{watchRender:function(t,e){var i=this;return(0,o.default)((0,r.default)().mark((function n(){return(0,r.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(t&&t.views&&(i.firstRender?i.firstRender:t.views.length)&&Object.keys(t).length&&JSON.stringify(t)!=JSON.stringify(e)){n.next=2;break}return n.abrupt("return");case 2:i.firstRender=1,clearTimeout(i.rendertimer),i.rendertimer=setTimeout((function(){i.render(t)}),i.beforeDelay);case 5:case"end":return n.stop()}}),n)})))()},setFilePath:function(t,e){var i=this;return(0,o.default)((0,r.default)().mark((function n(){var o,a,s,d;return(0,r.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(o=t,a=e||i,s=a.pathType,d=void 0===s?i.pathType:s,"base64"!=d||(0,c.isBase64)(t)){n.next=8;break}return n.next=5,(0,c.pathToBase64)(t);case 5:o=n.sent,n.next=12;break;case 8:if("url"!=d||!(0,c.isBase64)(t)){n.next=12;break}return n.next=11,(0,c.base64ToPath)(t);case 11:o=n.sent;case 12:return e&&e.isEmit&&i.$emit("success",o),n.abrupt("return",o);case 14:case"end":return n.stop()}}),n)})))()},getSize:function(t){var e=this;return(0,o.default)((0,r.default)().mark((function i(){var n,o,a,s;return(0,r.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(n=t.css||t,o=n.width,a=t.css||t,s=a.height,e.size){i.next=12;break}if(!o&&!s){i.next=10;break}return e.canvasWidth=o||e.canvasWidth,e.canvasHeight=s||e.canvasHeight,i.next=8,(0,c.sleep)(30);case 8:i.next=12;break;case 10:return i.next=12,e.getParentWeith();case 12:case"end":return i.stop()}}),i)})))()},canvasToTempFilePathSync:function(t){var e=this;this.stopWatch=this.$watch("done",(function(i){i&&(e.canvasToTempFilePath(t),e.stopWatch&&e.stopWatch())}),{immediate:!0})},getParentWeith:function(){var t=this;return new Promise((function(e){uni.createSelectorQuery().in(t).select(".lime-painter").boundingClientRect().exec((function(i){var n=i[0]||{},r=n.width,o=n.height;t.parentWidth=Math.ceil(r||0),t.canvasWidth=t.parentWidth||300,t.canvasHeight=o||t.canvasHeight||150,e(i[0])}))}))},render:function(){var t=arguments,e=this;return(0,o.default)((0,r.default)().mark((function i(){var n,o,a,s,h,u,l,f,p,g,v,b,m,x;return(0,r.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(n=t.length>0&&void 0!==t[0]?t[0]:{},Object.keys(n).length){i.next=3;break}return i.abrupt("return",console.error("空对象"));case 3:return e.progress=0,e.done=!1,i.next=7,e.getSize(n);case 7:return i.next=9,e.getContext();case 9:if(o=i.sent,a=e.use2dCanvas,s=e.boardWidth,h=e.boardHeight,u=e.canvas,l=e.afterDelay,!a||u){i.next=13;break}return i.abrupt("return",Promise.reject(new Error("render: fail canvas has not been created")));case 13:return e.boundary={top:0,left:0,width:s,height:h},e.painter=null,e.painter||(f=n.css||n,p=f.width,g=n.css||n,g.height,!p&&e.parentWidth&&Object.assign(n,{width:e.parentWidth}),v={context:o,canvas:u,width:s,height:h,pixelRatio:e.dpr,useCORS:e.useCORS,createImage:c.getImageInfo.bind(e),listen:{onProgress:function(t){e.progress=t,e.$emit("progress",t)},onEffectFail:function(t){e.$emit("faill",t)}}},e.painter=new d.default(v)),i.next=18,e.painter.source(JSON.parse(JSON.stringify(n)));case 18:return b=i.sent,m=b.width,x=b.height,e.boundary.height=e.canvasHeight=x,e.boundary.width=e.canvasWidth=m,i.next=25,(0,c.sleep)(e.sleep);case 25:return e.painter.setContext(e.ctx),i.next=28,e.painter.render();case 28:return i.next=30,new Promise((function(t){return e.$nextTick(t)}));case 30:if(a){i.next=33;break}return i.next=33,e.canvasDraw();case 33:if(!l||!a){i.next=36;break}return i.next=36,(0,c.sleep)(l);case 36:return e.$emit("done"),e.done=!0,e.isCanvasToTempFilePath&&e.canvasToTempFilePath().then((function(t){e.$emit("success",t.tempFilePath)})).catch((function(t){e.$emit("fail",new Error(JSON.stringify(t)))})),i.abrupt("return",Promise.resolve({ctx:o,draw:e.painter,node:e.node}));case 40:case"end":return i.stop()}}),i)})))()},canvasDraw:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return new Promise((function(i,n){return t.ctx.draw(e,(function(){return setTimeout((function(){return i()}),t.afterDelay)}))}))},getContext:function(){var t=this;return(0,o.default)((0,r.default)().mark((function e(){var i,n,o;return(0,r.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t.canvasWidth){e.next=4;break}return t.$emit("fail","painter no size"),console.error("painter no size: 请给画板或父级设置尺寸"),e.abrupt("return",Promise.reject());case 4:if(!t.ctx||!t.inited){e.next=6;break}return e.abrupt("return",Promise.resolve(t.ctx));case 6:if(i=t.type,n=t.use2dCanvas,t.dpr,t.boardWidth,t.boardHeight,o=function(){return new Promise((function(e){uni.createSelectorQuery().in(t).select("#".concat(t.canvasId)).boundingClientRect().exec((function(i){if(i){var n=uni.createCanvasContext(t.canvasId,t);t.inited||(t.inited=!0,t.use2dCanvas=!1,t.canvas=i),t.ctx=n,e(t.ctx)}}))}))},n){e.next=10;break}return e.abrupt("return",o());case 10:return e.abrupt("return",new Promise((function(e){uni.createSelectorQuery().in(t).select("#".concat(t.canvasId)).node().exec((function(n){var r=n[0].node;r||(t.use2dCanvas=!1,e(t.getContext()));var o=r.getContext(i);t.inited||(t.inited=!0,t.use2dCanvas=!0,t.canvas=r),t.ctx=o,e(t.ctx)}))})));case 11:case"end":return e.stop()}}),e)})))()},canvasToTempFilePath:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise(function(){var i=(0,o.default)((0,r.default)().mark((function i(n,a){var s,c,d,h,u,l,f,p,g,v,b,m,x,w,y,S,k;return(0,r.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(s=t.use2dCanvas,c=t.canvasId,d=t.dpr,h=t.fileType,u=t.quality,l=function(){var e=(0,o.default)((0,r.default)().mark((function e(i){var o;return(0,r.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.setFilePath(i.tempFilePath||i);case 3:o=e.sent,n(Object.assign(i,{tempFilePath:o})),e.next=10;break;case 7:e.prev=7,e.t0=e["catch"](0),t.$emit("fail",e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(t){return e.apply(this,arguments)}}(),f=t.boundary||t,p=f.top,g=void 0===p?0:p,v=f.left,b=void 0===v?0:v,m=f.width,x=f.height,w=m*d,y=x*d,S=Object.assign({x:b,y:g,width:m,height:x,destWidth:w,destHeight:y,canvasId:c,fileType:h,quality:u,success:l,fail:a},e),!s){i.next=22;break}return i.prev=7,e.pathType||t.pathType||(e.pathType="url"),i.next=11,t.setFilePath(t.canvas.toDataURL("image/".concat(e.fileType||h).replace(/pg/,"peg"),e.quality||u),e);case 11:k=i.sent,e.success&&e.success({tempFilePath:k}),n({tempFilePath:k}),i.next=20;break;case 16:i.prev=16,i.t0=i["catch"](7),e.fail&&e.fail(i.t0),a(i.t0);case 20:i.next=23;break;case 22:uni.canvasToTempFilePath(S,t);case 23:case"end":return i.stop()}}),i,null,[[7,16]])})));return function(t,e){return i.apply(this,arguments)}}())}}};e.default=h},"2dae":function(t,e,i){"use strict";i.r(e);var n=i("3a0f"),r=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=r.a},"364d":function(t,e,i){"use strict";i.r(e);var n=i("231a"),r=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=r.a},"3a0f":function(t,e,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("d3b7");var r=n(i("c7eb")),o=n(i("1da1")),a=n(i("871a")),s={name:"u-read-more",mixins:[uni.$u.mpMixin,uni.$u.mixin,a.default],data:function(){return{isLongContent:!1,status:"close",elId:uni.$u.guid(),contentHeight:100}},computed:{innerShadowStyle:function(){return"open"===this.status?{}:this.shadowStyle}},mounted:function(){this.init()},methods:{init:function(){var t=this;return(0,o.default)((0,r.default)().mark((function e(){return(0,r.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:t.getContentHeight().then((function(e){t.contentHeight=e,e>uni.$u.getPx(t.showHeight)&&(t.isLongContent=!0,t.status="close")}));case 1:case"end":return e.stop()}}),e)})))()},getContentHeight:function(){var t=this;return(0,o.default)((0,r.default)().mark((function e(){return(0,r.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,uni.$u.sleep(30);case 2:return e.abrupt("return",new Promise((function(e){t.$uGetRect("."+t.elId).then((function(t){e(t.height)}))})));case 3:case"end":return e.stop()}}),e)})))()},toggleReadMore:function(){this.status="close"===this.status?"open":"close",0==this.toggle&&(this.isLongContent=!1),this.$emit(this.status,this.name)}}};e.default=s},"3f44":function(t,e,i){"use strict";var n=i("95b5"),r=i.n(n);r.a},7169:function(t,e,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("c975"),i("498a");var r=n(i("5530")),o=i("26cb"),a={data:function(){return{jobList:[],tobheight:45,platform:this.$platform.get(),isLoading:!0,themeColor:"#007AFF",showPoster:!1,posterObj:{},qrcode:"",spmplatform:0}},computed:(0,r.default)({},(0,o.mapGetters)(["appInfo","userInfo","isLogin"])),watch:{appInfo:function(t){}},onLoad:function(){if("wxMiniProgram"==this.platform){var t=uni.getMenuButtonBoundingClientRect().top-uni.getSystemInfoSync().statusBarHeight,e=uni.getSystemInfoSync().statusBarHeight+t;this.tobheight=t+e+uni.getMenuButtonBoundingClientRect().height}this.spmplatform=["H5","wxOfficialAccount","wxMiniProgram","App"].indexOf(this.platform)+1,this.commonqrcodePath()},methods:{queryList:function(t,e){var i=this,n={page:t,limit:e};this.$http("question.my",n).then((function(t){0==t.code&&(uni.setNavigationBarTitle({title:i.appInfo.site_name}),i.$refs.paging.complete(t.data.data),i.isLoading=!1)}))},toSave:function(){var t=this;uni.showLoading({title:"海报生成中"}),this.$refs.painter.canvasToTempFilePathSync({fileType:"jpg",quality:1,success:function(e){t.showPoster=!1,uni.hideLoading(),uni.showModal({confirmColor:"#26B3A0",confirmText:"查看图片",title:"提示",content:"查看图片后长按图片即可保存或分享",success:function(t){t.confirm?uni.previewImage({urls:[e.tempFilePath]}):t.cancel&&(this.showPoster=!0)}})}})},commonqrcodePath:function(){var t=this,e=this.userInfo.id+".1.0."+this.spmplatform+".1";this.$http("common.qrcodePath",{spm:e}).then((function(e){0==e.code&&(t.qrcode=e.data)}))},copyText:function(t){uni.setClipboardData({data:t,success:function(){uni.showToast({title:"复制成功"})}})},gallerydel:function(t){var e=this;uni.showModal({confirmText:"删除",content:"是否删除此问答记录",title:"提示",confirmColor:"#26B3A0",success:function(i){i.confirm&&e.$http("question.del",{id:e.jobList[t].id}).then((function(t){0==t.code?(uni.showToast({title:"删除成功"}),e.$refs.paging.reload(!0)):uni.showToast({title:"删除失败",icon:"none"})}))}})},onSubmit:function(){uni.navigateTo({url:"/pages/main/answer/index"})},createPoster:function(t){this.posterObj={width:"670rpx",background:"#fff",borderRadius:"16rpx",css:{width:"670rpx"},views:[{type:"view",css:{marginTop:"20rpx",paddingLeft:"10rpx",display:"flex"},views:[{type:"image",src:this.userInfo.avatar?this.userInfo.avatar:"/static/images/head.jpg",css:{marginTop:"10rpx",marginLeft:"10rpx",borderRadius:"16rpx",width:"80rpx",height:"80rpx",border:"2rpx solid #fff",objectFit:"cover"}},{type:"view",css:{marginTop:"10rpx",marginLeft:"20rpx"},views:[{type:"view",views:[{type:"text",text:this.userInfo.nickname?this.userInfo.nickname:"提问者",css:{marginTop:"10rpx",fontSize:"28rpx",fontWeight:"bold",color:"#1A2033",lineHeight:"28rpx"}}]},{type:"view",views:[{type:"text",text:"我的提问",css:{marginTop:"15rpx",fontSize:"22rpx",color:"#999",lineHeight:"25rpx"}}]}]}]},{type:"view",css:{marginTop:"20rpx",width:"610rpx",padding:"10rpx",background:"#d2f8d3",borderRadius:"16rpx",marginLeft:"20rpx",marginRight:"10rpx"},views:[{type:"text",text:this.jobList[t].question,css:{fontSize:"28rpx",color:"#1A2033",lineHeight:"45rpx",lineClamp:2,paddingLeft:"10rpx",paddingRight:"10rpx",width:"590rpx"}}]},{type:"view",css:{marginTop:"20rpx",paddingLeft:"10rpx",display:"flex"},views:[{type:"image",src:"/static/images/open.png",css:{marginTop:"10rpx",marginLeft:"10rpx",borderRadius:"16rpx",width:"80rpx",height:"80rpx",border:"2rpx solid #fff",objectFit:"cover"}},{type:"view",css:{marginTop:"10rpx",marginLeft:"20rpx"},views:[{type:"view",views:[{type:"text",text:this.appInfo.site_name?this.appInfo.site_name:"AI智能问答机器人",css:{marginTop:"10rpx",fontSize:"28rpx",fontWeight:"bold",color:"#1A2033",lineHeight:"28rpx"}}]},{type:"view",views:[{type:"text",text:"回答结果",css:{marginTop:"15rpx",fontSize:"22rpx",color:"#999",lineHeight:"25rpx"}}]}]}]},{type:"view",css:{marginTop:"20rpx",width:"610rpx",padding:"10rpx",background:"#f5f6f8",borderRadius:"16rpx",marginLeft:"20rpx",marginRight:"10rpx"},views:[{type:"text",text:uni.$u.trim(this.jobList[t].answer),css:{fontSize:"28rpx",color:"#1A2033",lineHeight:"45rpx",lineClamp:11,width:"590rpx",padding:"10rpx"}}]},{type:"view",css:{marginTop:"20rpx",width:"100%",textAlign:"center"},views:[{type:"qrcode",text:this.qrcode,css:{width:"200rpx",height:"200rpx"}}]},{type:"text",text:"———— 长按识别 | 欢迎使用 ————",css:{marginTop:"20rpx",width:"100%",textAlign:"center",fontSize:"24rpx",color:"#989FB3",lineHeight:"33rpx"}}]},this.showPoster=!0}}};e.default=a},7275:function(t,e,i){"use strict";i.r(e);var n=i("8b7f"),r=i("364d");for(var o in r)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(o);i("970f");var a=i("f0c5"),s=Object(a["a"])(r["default"],n["b"],n["c"],!1,null,"0fba428e",null,!1,n["a"],void 0);e["default"]=s.exports},"75b3":function(t,e,i){"use strict";i.r(e);var n=i("0226"),r=i("848e");for(var o in r)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(o);i("3f44");var a=i("f0c5"),s=Object(a["a"])(r["default"],n["b"],n["c"],!1,null,"035d8199",null,!1,n["a"],void 0);e["default"]=s.exports},"848e":function(t,e,i){"use strict";i.r(e);var n=i("7169"),r=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=r.a},"871a":function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("a9e3");var n={props:{showHeight:{type:[String,Number],default:uni.$u.props.readMore.showHeight},toggle:{type:Boolean,default:uni.$u.props.readMore.toggle},closeText:{type:String,default:uni.$u.props.readMore.closeText},openText:{type:String,default:uni.$u.props.readMore.openText},color:{type:String,default:uni.$u.props.readMore.color},fontSize:{type:[String,Number],default:uni.$u.props.readMore.fontSize},shadowStyle:{type:Object,default:function(){return{backgroundImage:"linear-gradient(-180deg, rgba(255, 255, 255, 0) 0%, #fff 80%)",paddingTop:"100px",marginTop:"-100px"}}},textIndent:{type:String,default:uni.$u.props.readMore.textIndent},name:{type:[String,Number],default:uni.$u.props.readMore.name}}};e.default=n},"8b7f":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{ref:"limepainter",staticClass:"lime-painter"},[t.canvasId&&t.size?i("v-uni-view",{style:t.styles},[t.use2dCanvas?i("v-uni-canvas",{staticClass:"lime-painter__canvas",style:t.size,attrs:{id:t.canvasId,type:"2d"}}):i("v-uni-canvas",{staticClass:"lime-painter__canvas",style:t.size,attrs:{"canvas-id":t.canvasId,id:t.canvasId,width:t.boardWidth*t.dpr,height:t.boardHeight*t.dpr}})],1):t._e(),t._t("default")],2)},r=[]},"8cfe":function(t,e,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.base64ToPath=function(t){var e=/^data:image\/(\w+);base64,/.exec(t)||[],i=(0,s.default)(e,2);i[1];return new Promise((function(e,i){for(var n=t.split(",")[0].split(":")[1].split(";")[0],r=atob(t.split(",")[1]),o=new ArrayBuffer(r.length),a=new Uint8Array(o),s=0;so)return 1;if(r2&&void 0!==arguments[2]&&arguments[2];if("number"===typeof e)return e;if(h(e))return 1*e;if("string"===typeof e){var r=/^-?([0-9]+)?([.]{1}[0-9]+){0,1}(em|rpx|px|%)$/g,o=r.exec(e);if(!e||!o)return 0;var a=o[3];e=parseFloat(e);var s=0;return"rpx"===a?s=uni.upx2px(e):"px"===a?s=1*e:"%"===a?s=e*t(i)/100:"em"===a&&(s=e*t(i||14)),n?1*s.toFixed(2):Math.round(s)}return 0};var r=n(i("c7eb")),o=n(i("5530")),a=n(i("1da1")),s=n(i("3835"));i("ac1f"),i("00b4"),i("d3b7"),i("caad"),i("acd8"),i("14d9"),i("e25e"),i("c19f"),i("ace4"),i("c975"),i("5cc6"),i("907a"),i("9a8c"),i("a975"),i("735e"),i("c1ac"),i("d139"),i("3a7b"),i("986a"),i("1d02"),i("d5d6"),i("82f8"),i("e91f"),i("60bd"),i("5f96"),i("3280"),i("3fcc"),i("ca91"),i("25a1"),i("cd26"),i("3c5d"),i("2954"),i("649e"),i("219c"),i("b39a"),i("72f7"),i("5319"),i("d401"),i("81b2"),i("0eb6"),i("b7ef"),i("8bd4"),i("3ca3"),i("ddb0"),i("2b3d"),i("9861");e.networkReg=/^(http|\/\/)/;e.isBase64=function(t){return/^data:image\/(\w+);base64/.test(t)};var c=["devtools"].includes(uni.getSystemInfoSync().platform),d={};function h(t){return/^-?\d+(\.\d+)?$/.test(t)}function u(t){return/^data:/.test(t)?t:new Promise((function(e,i){var n=new Image;n.setAttribute("crossOrigin","Anonymous"),n.onload=function(){var t=document.createElement("canvas");t.width=this.naturalWidth,t.height=this.naturalHeight,t.getContext("2d").drawImage(n,0,0);var i=t.toDataURL("image/png");e(i),t.height=t.width=0},n.src=t+"?v="+Math.random(),n.onerror=function(t){i(t)}}))}},"95b5":function(t,e,i){var n=i("0864");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var r=i("4f06").default;r("f3d63a2a",n,!0,{sourceMap:!1,shadowMode:!1})},"970f":function(t,e,i){"use strict";var n=i("f148"),r=i.n(n);r.a},a626:function(t,e,i){"use strict";var n=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Painter=void 0;var r=n(i("53ca"));i("d3b7"),i("a4d3"),i("e01a"),i("d28b"),i("3ca3"),i("ddb0"),i("d9e2"),i("d401"),i("14d9"),i("ac1f"),i("00b4"),i("acd8"),i("2ca0"),i("466d"),i("c975"),i("498a"),i("baa5"),i("7a82"),i("131a"),i("fb6a"),i("a630"),i("caad"),i("2532"),i("4e82"),i("159b"),i("13d5"),i("b64b"),i("d81d"),i("7db0"),i("5319"),i("99af"),i("4ec9"),i("cb29"),i("4de4"),i("e9c4"),i("07ac");var o=function(){return o=Object.assign||function(t){for(var e,i=1,n=arguments.length;i0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]t.length)&&(e=t.length);for(var i=0,n=new Array(e);i=t.length?{done:!0}:{done:!1,value:t[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function O(t){return"number"==typeof t}function B(t){return"auto"===t||null===t}function _(t){return/%$/.test(t)}var R,C=0,W=function(){function t(){P(this,"elements",[]),P(this,"afterElements",[]),P(this,"beforeElements",[]),P(this,"ids",[]),P(this,"width",0),P(this,"height",0),P(this,"top",0),P(this,"left",0),P(this,"pre",null),P(this,"offsetX",0),P(this,"offsetY",0),C++,this.id=C}var e=t.prototype;return e.fixedBind=function(t,e){void 0===e&&(e=0),this.container=e?t.parent:t.root,this.container.fixedLine=this,this.fixedAdd(t)},e.fixedAdd=function(t){this.elements.push(t);var e=t.computedStyle.zIndex;(void 0===e?0:e)>=0?this.afterElements.push(t):this.beforeElements.push(t),this.refreshLayout()},e.bind=function(t){this.container=t.parent,this.container.line=null,this.container.lines?(this.container.lines.push(this),this.pre=this.getPreLine(),this.top=this.pre.top+this.pre.height,this.left=this.container.contentSize.left):(this.top=this.container.contentSize.top,this.left=this.container.contentSize.left,this.container.lines=[this]),this.isInline=t.isInline(),this.container.line=this,this.outerWidth=t.parent&&t.parent.contentSize.width?t.parent.contentSize.width:1/0,this.add(t)},e.getPreLine=function(){return this.container.lines[this.container.lines.length-2]},e.canIEnter=function(t){return this.outerWidth||t.parent&&t.parent.contentSize.width,!((100*t.offsetSize.width+100*this.width)/100>this.outerWidth)||(this.closeLine(),!1)},e.closeLine=function(){delete this.container.line},e.add=function(t){this.ids.includes(t.id)||(this.ids.push(t.id),this.elements.push(t),this.refreshWidthHeight(t))},e.refreshWidthHeight=function(t){t.offsetSize.height>this.height&&(this.height=t.offsetSize.height),this.width+=t.offsetSize.width||0,(this.container.lineMaxWidth||0)this[this.key.height]&&(this[this.key.height]=t.offsetSize[this.key.height]),this[this.key.width]+=t.offsetSize[this.key.width];var e=Math.min(this[this.key.width],this.container.contentSize[this.key.width]);(this.container.lineMaxWidth||0)1?0:"flex-end"===t.style.alignSelf?this.container.contentSize[this.key.contentHeight]-t.contentSize[this.key.height]:"center"===t.style.alignSelf?(this.container.contentSize[this.key.contentHeight]-t.contentSize[this.key.height])/2:0},n}(W),F=l,$=u,A=h,H=f,E="inline-block",N="flex",D="absolute",U="fixed",q=0,Y={left:null,top:null,width:null,height:null},X=function(){function t(t,e,i,n){var r=this;P(this,"id",q++),P(this,"style",{left:null,top:null,width:null,height:null}),P(this,"computedStyle",{}),P(this,"originStyle",{}),P(this,"children",{}),P(this,"layoutBox",z({},Y)),P(this,"contentSize",z({},Y)),P(this,"clientSize",z({},Y)),P(this,"borderSize",z({},Y)),P(this,"offsetSize",z({},Y)),this.ctx=n,this.root=i,e&&(this.parent=e),this.name=t.name||t.type,this.attributes=this.getAttributes(t);var o=this.getComputedStyle(t,e&&e.computedStyle);this.isAbsolute=o.position==D,this.isFixed=o.position==U,this.originStyle=o,Object.keys(o).forEach((function(t){Object.defineProperty(r.style,t,{configurable:!0,enumerable:!0,get:function(){return o[t]},set:function(e){o[t]=e}})}));var a={contentSize:z({},this.contentSize),clientSize:z({},this.clientSize),borderSize:z({},this.borderSize),offsetSize:z({},this.offsetSize)};Object.keys(a).forEach((function(t){Object.keys(r[t]).forEach((function(e){Object.defineProperty(r[t],e,{configurable:!0,enumerable:!0,get:function(){return a[t][e]},set:function(i){a[t][e]=i}})}))})),this.computedStyle=this.style}var e=t.prototype;return e.add=function(t){t.parent=this,this.children[t.id]=t},e.getChildren=function(){var t=this;return Object.keys(this.children).map((function(e){return t.children[e]}))},e.getLineRect=function(t,e){var i=e?e.lines:this.parent&&this.parent.lines;return i&&i.find((function(e){return e.ids.includes(t)}))||{width:0,height:0}},e.getComputedStyle=function(t,e){var i=["color","fontSize","lineHeight","verticalAlign","fontWeight","textAlign"],n=t.css,o=void 0===n?{}:n,a=t.type,s=void 0===a?A:a,c=z({},g);if([$,F,H].includes(s)&&!o.display&&(c.display=E),e)for(var d=0;d=0&&u<0,E=c>=0&&f<0;return i==d[0]&&(this[i].left=t.left+a+v+F+(H?2*-u:0),this[i].top=t.top+c+m+T+(E?2*-f:0),this[i].width=t.width+(this[i].widthAdd?0:$),this[i].height=t.height+(this[i].heightAdd?0:A),this[i].widthAdd=$,this[i].heightAdd=A),i==d[1]&&(this[i].left=t.left+a+F+(H<0?-u:0),this[i].top=t.top+c+T+(E?-f:0),this[i].width=t.width+v+w,this[i].height=t.height+m+S),i==d[2]&&(this[i].left=t.left+a+F/2+(H<0?-u:0),this[i].top=t.top+c+T/2+(E?-f:0),this[i].width=t.width+v+w+F/2+W/2,this[i].height=t.height+m+S+_/2+T/2),i==d[3]&&(this[i].left=t.left+(H<0?-u:0),this[i].top=t.top+(E?-f:0),this[i].width=t.width+v+w+F+W+a+u,this[i].height=t.height+m+S+_+T+f+c),this[i]},e.layoutBoxUpdate=function(t,e,i,n){var r=this;if(void 0===i&&(i=-1),"border-box"==e.boxSizing){var o=e||{},a=o.border,s=(a=void 0===a?{}:a).borderWidth,c=void 0===s?0:s,h=o.borderTop,u=(h=void 0===h?{}:h).borderTopWidth,l=void 0===u?c:u,f=o.borderBottom,p=(f=void 0===f?{}:f).borderBottomWidth,g=void 0===p?c:p,v=o.borderRight,b=(v=void 0===v?{}:v).borderRightWidth,m=void 0===b?c:b,x=o.borderLeft,w=(x=void 0===x?{}:x).borderLeftWidth,y=void 0===w?c:w,S=o.padding,k=(S=void 0===S?{}:S).paddingTop,P=void 0===k?0:k,z=S.paddingRight,I=void 0===z?0:z,M=S.paddingBottom,T=void 0===M?0:M,O=S.paddingLeft,B=void 0===O?0:O;i||(t.width-=B+I+m+y),1!==i||n||(t.height-=P+T+l+g)}this.layoutBox&&(d.forEach((function(i){return r.layoutBox[i]=r.getOffsetSize(t,e,i)})),this.layoutBox=Object.assign({},this.layoutBox,this.layoutBox.borderSize))},e.getBoxPosition2=function(){var t=this.computedStyle,e=this.fixedLine,i=this.lines,n=t.left,r=void 0===n?0:n,o=t.top,a=void 0===o?0:o,s=t.padding||{},c=s.paddingBottom,d=void 0===c?0:c,h=s.paddingRight,u=void 0===h?0:h,l=z({},this.contentSize,{left:r,top:a}),f=this.contentSize.top-this.offsetSize.top,p=this.contentSize.left-this.offsetSize.left;if(this.root.fixedLine&&!this.root.isDone){this.root.isDone=!0;for(var g,v=T(this.root.fixedLine.elements);!(g=v()).done;){var b=g.value;b.setPosition(b,this.root.offsetSize),b.getBoxPosition2()}}if(e)for(var m,x=T(e.elements);!(m=x()).done;){var w=m.value;w.setPosition(w,l),w.style.left+=r+p+u,w.style.top+=a+f+d,w.getBoxPosition2()}if(i)for(var y,S=T(i);!(y=S()).done;)y.value.layout(l.top+f,l.left+p);return this.layoutBoxUpdate(l,t),this.layoutBox},e.getBoxState=function(t,e){return this.isBlock(t)||this.isBlock(e)},e.isBlock=function(t){return void 0===t&&(t=this),t&&"block"==t.style.display},e.isFlex=function(t){return void 0===t&&(t=this),t&&t.style.display==N},e.isInFlow=function(){return!(this.isAbsolute||this.isFixed)},e.inFlexBox=function(t){return void 0===t&&(t=this),!!t.isInFlow()&&!!t.parent&&(!(!t.parent||t.parent.style.display!==N)||void 0)},e.isInline=function(t){return void 0===t&&(t=this),t&&t.style.display==E},e.contrastSize=function(t,e,i){var n=t;return i&&(n=Math.min(n,i)),e&&(n=Math.max(n,e)),n},e.measureText=function(t,e){var i=this.ctx.measureText(t),n=i.width,r=i.actualBoundingBoxAscent,o=i.actualBoundingBoxDescent;return{ascent:r,descent:o,width:n,fontHeight:r+o||.7*e+1}},e.getBoxWidthHeight=function(){var t=this,e=this.name,i=this.computedStyle,n=this.attributes,r=this.parent,o=void 0===r?{}:r,a=this.ctx,s=this.getChildren(),c=i.left,d=void 0===c?0:c,h=i.top,u=void 0===h?0:h,l=i.bottom,f=i.right,p=i.width,g=void 0===p?0:p,v=i.minWidth,b=i.maxWidth,m=i.minHeight,x=i.maxHeight,w=i.height,S=void 0===w?0:w,k=i.fontSize,P=void 0===k?14:k,z=i.fontWeight,I=i.fontFamily,M=i.fontStyle,T=i.position,O=i.lineClamp,B=i.lineHeight,R=i.padding,C=void 0===R?{}:R,L=i.margin,H=void 0===L?{}:L,E=i.border,N=(E=void 0===E?{}:E).borderWidth,U=void 0===N?0:N,q=i.borderRight,Y=(q=void 0===q?{}:q).borderRightWidth,X=void 0===Y?U:Y,J=i.borderLeft,V=(J=void 0===J?{}:J).borderLeftWidth,G=void 0===V?U:V,Q=o.contentSize&&o.contentSize.width,K=o.contentSize&&o.contentSize.height;if(_(g)&&Q&&(g=y(g,Q)),_(g)&&!Q&&(g=null),_(S)&&K&&(S=y(S,K)),_(S)&&!K&&(S=null),_(v)&&Q&&(v=y(v,Q)),_(b)&&Q&&(b=y(b,Q)),_(m)&&K&&(m=y(m,K)),_(x)&&K&&(x=y(x,K)),i.padding&&Q)for(var Z in i.padding)Object.hasOwnProperty.call(i.padding,Z)&&(i.padding[Z]=y(i.padding[Z],Q));var tt=C.paddingRight,et=void 0===tt?0:tt,it=C.paddingLeft,nt=void 0===it?0:it;if(i.margin&&[i.margin.marginLeft,i.margin.marginRight].includes("auto"))if(g){var rt=Q&&Q-g-et-nt-G-X||0;i.margin.marginLeft==i.margin.marginRight?i.margin.marginLeft=i.margin.marginRight=rt/2:"auto"==i.margin.marginLeft?i.margin.marginLeft=rt:i.margin.marginRight=rt}else i.margin.marginLeft=i.margin.marginRight=0;var ot=H.marginRight,at=void 0===ot?0:ot,st=H.marginLeft,ct={width:g,height:S,left:0,top:0},dt=nt+et+G+X+(void 0===st?0:st)+at;if(e==$&&!this.attributes.widths){var ht=n.text||"";a.save(),a.setFonts({fontFamily:I,fontSize:P,fontWeight:z,fontStyle:M});var ut=new Map;ht.split("\n").map((function(e){var i=e.split("").map((function(e){var i=ut.get(e);if(i)return i;var n=t.measureText(e,P).width;return ut.set(e,n),n})),n=t.measureText(e,P),r=n.fontHeight,o=n.ascent,a=n.descent;t.attributes.fontHeight=r,t.attributes.ascent=o,t.attributes.descent=a,t.attributes.widths||(t.attributes.widths=[]),t.attributes.widths.push({widths:i,total:i.reduce((function(t,e){return t+e}),0)})})),a.restore()}if(e==F&&null==g){var lt=n.width,ft=n.height;ct.width=this.contrastSize(Math.round(lt*S/ft)||0,v,b),this.layoutBoxUpdate(ct,i,0)}if(e==$&&null==g){var pt=this.attributes.widths,gt=Math.max.apply(Math,pt.map((function(t){return t.total})));o&&Q>0&&(gt>Q||this.isBlock(this))&&!this.isAbsolute&&!this.isFixed&&(gt=Q-dt),ct.width=this.contrastSize(gt,v,b),this.layoutBoxUpdate(ct,i,0)}if(e==$&&(o.style.flex||!this.attributes.lines)){var vt=this.attributes.widths.length;this.attributes.widths.forEach((function(t){return t.widths.reduce((function(t,e,i){return t+e>ct.width?(vt++,e):t+e}),0)})),vt=O&&vt>O?O:vt,this.attributes.lines=vt}if(e==F&&null==S){var bt=n.width,mt=n.height;ct.height=this.contrastSize(y(ct.width*mt/bt)||0,m,x),this.layoutBoxUpdate(ct,i,1)}e==$&&null==S&&(B=y(B,P),ct.height=this.contrastSize(y(this.attributes.lines*B),m,x),this.layoutBoxUpdate(ct,i,1,!0)),o&&o.children&&Q&&([A,$].includes(e)&&this.isFlex()||e==A&&this.isBlock(this)&&this.isInFlow())&&(ct.width=this.contrastSize(Q-dt,v,b),this.layoutBoxUpdate(ct,i)),g&&!_(g)&&(ct.width=this.contrastSize(g,v,b),this.layoutBoxUpdate(ct,i,0)),S&&!_(S)&&(ct.height=this.contrastSize(ct.height,m,x),this.layoutBoxUpdate(ct,i,1));var xt=0;if(s.length){var wt=null;s.forEach((function(e,n){e.getBoxWidthHeight();var r=s[n+1];if(r&&r.isInFlow()&&(e.next=r),e.isInFlow()&&!e.inFlexBox()){var o=t.getBoxState(wt,e);t.line&&t.line.canIEnter(e)&&!o?t.line.add(e):(new W).bind(e),wt=e}else e.inFlexBox()?t.line&&(t.line.canIEnter(e)||"nowrap"==i.flexWrap)?t.line.add(e):(new j).bind(e):e.isFixed?t.root.fixedLine?t.root.fixedLine.fixedAdd(e):(new W).fixedBind(e):t.fixedLine?t.fixedLine.fixedAdd(e):(new W).fixedBind(e,1)})),this.lines&&(xt=this.lines.reduce((function(t,e){return t+e.height}),0))}var yt=0,St=0;if(!g&&(this.isAbsolute||this.isFixed)&&Q){var kt=T==D?Q:this.root.width,Pt=kt-(_(d)?y(d,kt):d)-(_(f)?y(f,kt):f);yt=i.left?Pt:this.lineMaxWidth}if(!S&&(null!=u?u:this.isAbsolute||this.isFixed&&K)){var zt=T==D?K:this.root.height,It=zt-(_(u)?y(u,zt):u)-(_(l)?y(l,zt):l);St=i.top?It:0}if(g&&!_(g)||ct.width||(ct.width=yt||this.contrastSize((this.isBlock(this)&&!this.isInFlow()?Q||o.lineMaxWidth:this.lineMaxWidth)||this.lineMaxWidth,v,b),this.layoutBoxUpdate(ct,i,0)),S||!xt&&!St||(ct.height=St||this.contrastSize(xt,m,x),this.layoutBoxUpdate(ct,i)),i.borderRadius&&this.borderSize&&this.borderSize.width)for(var Z in i.borderRadius)Object.hasOwnProperty.call(i.borderRadius,Z)&&(i.borderRadius[Z]=y(i.borderRadius[Z],this.borderSize.width));return this.layoutBox},e.layout=function(){return this.getBoxWidthHeight(),this.root.offsetSize=this.offsetSize,this.getBoxPosition2(),this.offsetSize},t}(),J=function(){var t,e,i,n,r,o,a=[0,11,15,19,23,27,31,16,18,20,22,24,26,28,20,22,24,24,26,28,28,22,24,24,26,26,28,28,24,24,26,26,26,28,28,24,26,26,26,28,28],s=[3220,1468,2713,1235,3062,1890,2119,1549,2344,2936,1117,2583,1330,2470,1667,2249,2028,3780,481,4011,142,3098,831,3445,592,2517,1776,2234,1951,2827,1070,2660,1345,3177],c=[30660,29427,32170,30877,26159,25368,27713,26998,21522,20773,24188,23371,17913,16590,20375,19104,13663,12392,16177,14854,9396,8579,11994,11245,5769,5054,7399,6608,1890,597,3340,2107],d=[1,0,19,7,1,0,16,10,1,0,13,13,1,0,9,17,1,0,34,10,1,0,28,16,1,0,22,22,1,0,16,28,1,0,55,15,1,0,44,26,2,0,17,18,2,0,13,22,1,0,80,20,2,0,32,18,2,0,24,26,4,0,9,16,1,0,108,26,2,0,43,24,2,2,15,18,2,2,11,22,2,0,68,18,4,0,27,16,4,0,19,24,4,0,15,28,2,0,78,20,4,0,31,18,2,4,14,18,4,1,13,26,2,0,97,24,2,2,38,22,4,2,18,22,4,2,14,26,2,0,116,30,3,2,36,22,4,4,16,20,4,4,12,24,2,2,68,18,4,1,43,26,6,2,19,24,6,2,15,28,4,0,81,20,1,4,50,30,4,4,22,28,3,8,12,24,2,2,92,24,6,2,36,22,4,6,20,26,7,4,14,28,4,0,107,26,8,1,37,22,8,4,20,24,12,4,11,22,3,1,115,30,4,5,40,24,11,5,16,20,11,5,12,24,5,1,87,22,5,5,41,24,5,7,24,30,11,7,12,24,5,1,98,24,7,3,45,28,15,2,19,24,3,13,15,30,1,5,107,28,10,1,46,28,1,15,22,28,2,17,14,28,5,1,120,30,9,4,43,26,17,1,22,28,2,19,14,28,3,4,113,28,3,11,44,26,17,4,21,26,9,16,13,26,3,5,107,28,3,13,41,26,15,5,24,30,15,10,15,28,4,4,116,28,17,0,42,26,17,6,22,28,19,6,16,30,2,7,111,28,17,0,46,28,7,16,24,30,34,0,13,24,4,5,121,30,4,14,47,28,11,14,24,30,16,14,15,30,6,4,117,30,6,14,45,28,11,16,24,30,30,2,16,30,8,4,106,26,8,13,47,28,7,22,24,30,22,13,15,30,10,2,114,28,19,4,46,28,28,6,22,28,33,4,16,30,8,4,122,30,22,3,45,28,8,26,23,30,12,28,15,30,3,10,117,30,3,23,45,28,4,31,24,30,11,31,15,30,7,7,116,30,21,7,45,28,1,37,23,30,19,26,15,30,5,10,115,30,19,10,47,28,15,25,24,30,23,25,15,30,13,3,115,30,2,29,46,28,42,1,24,30,23,28,15,30,17,0,115,30,10,23,46,28,10,35,24,30,19,35,15,30,17,1,115,30,14,21,46,28,29,19,24,30,11,46,15,30,13,6,115,30,14,23,46,28,44,7,24,30,59,1,16,30,12,7,121,30,12,26,47,28,39,14,24,30,22,41,15,30,6,14,121,30,6,34,47,28,46,10,24,30,2,64,15,30,17,4,122,30,29,14,46,28,49,10,24,30,24,46,15,30,4,18,122,30,13,32,46,28,48,14,24,30,42,32,15,30,20,4,117,30,40,7,47,28,43,22,24,30,10,67,15,30,19,6,118,30,18,31,47,28,34,34,24,30,20,61,15,30],h=[255,0,1,25,2,50,26,198,3,223,51,238,27,104,199,75,4,100,224,14,52,141,239,129,28,193,105,248,200,8,76,113,5,138,101,47,225,36,15,33,53,147,142,218,240,18,130,69,29,181,194,125,106,39,249,185,201,154,9,120,77,228,114,166,6,191,139,98,102,221,48,253,226,152,37,179,16,145,34,136,54,208,148,206,143,150,219,189,241,210,19,92,131,56,70,64,30,66,182,163,195,72,126,110,107,58,40,84,250,133,186,61,202,94,155,159,10,21,121,43,78,212,229,172,115,243,167,87,7,112,192,247,140,128,99,13,103,74,222,237,49,197,254,24,227,165,153,119,38,184,180,124,17,68,146,217,35,32,137,46,55,63,209,91,149,188,207,205,144,135,151,178,220,252,190,97,242,86,211,171,20,42,93,158,132,60,57,83,71,109,65,162,31,45,67,216,183,123,164,118,196,23,73,236,127,12,111,246,108,161,59,82,41,157,85,170,251,96,134,177,187,204,62,90,203,89,95,176,156,169,160,81,11,245,22,235,122,117,44,215,79,174,213,233,230,231,173,232,116,214,244,234,168,80,88,175],u=[1,2,4,8,16,32,64,128,29,58,116,232,205,135,19,38,76,152,45,90,180,117,234,201,143,3,6,12,24,48,96,192,157,39,78,156,37,74,148,53,106,212,181,119,238,193,159,35,70,140,5,10,20,40,80,160,93,186,105,210,185,111,222,161,95,190,97,194,153,47,94,188,101,202,137,15,30,60,120,240,253,231,211,187,107,214,177,127,254,225,223,163,91,182,113,226,217,175,67,134,17,34,68,136,13,26,52,104,208,189,103,206,129,31,62,124,248,237,199,147,59,118,236,197,151,51,102,204,133,23,46,92,184,109,218,169,79,158,33,66,132,21,42,84,168,77,154,41,82,164,85,170,73,146,57,114,228,213,183,115,230,209,191,99,198,145,63,126,252,229,215,179,123,246,241,255,227,219,171,75,150,49,98,196,149,55,110,220,165,87,174,65,130,25,50,100,200,141,7,14,28,56,112,224,221,167,83,166,81,162,89,178,121,242,249,239,195,155,43,86,172,69,138,9,18,36,72,144,61,122,244,245,247,243,251,235,203,139,11,22,44,88,176,125,250,233,207,131,27,54,108,216,173,71,142,0],l=[],f=[],p=[],g=[],v=[],b=2;function m(t,e){var i;t>e&&(i=t,t=e,e=i),i=e,i*=e,i+=e,i>>=1,g[i+=t]=1}function x(t,i){var n;for(p[t+e*i]=1,n=-2;n<2;n++)p[t+n+e*(i-2)]=1,p[t-2+e*(i+n+1)]=1,p[t+2+e*(i+n)]=1,p[t+n+1+e*(i+2)]=1;for(n=0;n<2;n++)m(t-1,i+n),m(t+1,i-n),m(t-n,i-1),m(t+n,i+1)}function w(t){for(;t>=255;)t=((t-=255)>>8)+(255&t);return t}var y=[];function S(t,e,i,n){var r,o,a;for(r=0;re&&(i=t,t=e,e=i),i=e,i+=e*e,i>>=1,g[i+=t]}function P(t){var i,n,r,o;switch(t){case 0:for(n=0;n>1&1,i=0;i=5&&(i+=3+v[e]-5);for(e=3;et||3*v[e-3]>=4*v[e]||3*v[e+3]>=4*v[e])&&(i+=40);return i}function I(){var t,i,n,r,o,a=0,s=0;for(i=0;ie*e;)c-=e*e,d++;for(a+=10*d,t=0;t1)for(O=a[t],M=e-7;;){for(z=e-7;z>O-3&&(x(z,M),!(z6)for(O=s[t-7],T=17,z=0;z<6;z++)for(M=0;M<3;M++,T--)1&(T>11?t>>T-12:O>>T)?(p[5-z+e*(2-M+e-11)]=1,p[2-M+e-11+e*(5-z)]=1):(m(5-z,2-M+e-11),m(2-M+e-11,5-z));for(M=0;M=(z=r*(i+n)+n)-2&&(B=z-2,t>9&&B--),_=B,t>9){for(l[_+2]=0,l[_+3]=0;_--;)O=l[_],l[_+3]|=255&O<<4,l[_+2]=O>>4;l[2]|=255&B<<4,l[1]=B>>4,l[0]=64|B>>12}else{for(l[_+1]=0,l[_+2]=0;_--;)O=l[_],l[_+2]|=255&O<<4,l[_+1]=O>>4;l[1]|=255&B<<4,l[0]=64|B>>4}for(_=B+3-(t<10);_0;R--)y[R]=y[R]?y[R-1]^u[w(h[y[R]]+_)]:y[R-1];y[0]=u[w(h[y[0]]+_)]}for(_=0;_<=o;_++)y[_]=h[y[_]];for(T=z,M=0,_=0;_>=1)1&M&&(p[e-1-T+8*e]=1,T<6?p[8+e*T]=1:p[8+e*(T+1)]=1);for(T=0;T<7;T++,M>>=1)1&M&&(p[8+e*(e-7+T)]=1,T?p[6-T+8*e]=1:p[7+8*e]=1);return p}(v)},utf16to8:function(t){var e,i,n,r;for(e="",n=t.length,i=0;i=1&&r<=127?e+=t.charAt(i):r>2047?(e+=String.fromCharCode(224|r>>12&15),e+=String.fromCharCode(128|r>>6&63),e+=String.fromCharCode(128|r>>0&63)):(e+=String.fromCharCode(192|r>>6&31),e+=String.fromCharCode(128|r>>0&63));return e},draw:function(t,i,n,r,o){i.drawView(n,r);var a=i.ctx,s=n.contentSize,c=s.width,d=s.height,h=s.left,u=s.top;r.borderRadius,r.backgroundColor;var l=r.color,f=void 0===l?"#000000":l;if(r.border,n.contentSize.left,n.borderSize.left,n.contentSize.top,n.borderSize.top,b=o||b,a){a.save(),i.setOpacity(r),i.setTransform(n,r);var p=Math.min(c,d);t=this.utf16to8(t);var g=this.getFrame(t),v=p/e;a.setFillStyle(f);for(var m=0;m=360&&(a-=360),a<0&&(a+=360),0===(a=Math.round(a)))return{x0:Math.round(e/2)+n,y0:i+r,x1:Math.round(e/2)+n,y1:r};if(180===a)return{x0:Math.round(e/2)+n,y0:r,x1:Math.round(e/2)+n,y1:i+r};if(90===a)return{x0:n,y0:Math.round(i/2)+r,x1:e+n,y1:Math.round(i/2)+r};if(270===a)return{x0:e+n,y0:Math.round(i/2)+r,x1:n,y1:Math.round(i/2)+r};var s=Math.round(180*Math.asin(e/Math.sqrt(Math.pow(e,2)+Math.pow(i,2)))/Math.PI);if(a===s)return{x0:n,y0:i+r,x1:e+n,y1:r};if(a===180-s)return{x0:n,y0:r,x1:e+n,y1:i+r};if(a===180+s)return{x0:e+n,y0:r,x1:n,y1:i+r};if(a===360-s)return{x0:e+n,y0:i+r,x1:n,y1:r};var c,d=0,h=0,u=0,l=0;if(a180-s&&a<180||a>180&&a<180+s||a>360-s){var f=a*Math.PI/180,p=a360-s?i/2:-i/2,g=Math.tan(f)*p,v=a180-s&&a<180?e/2-g:-e/2-g;d=-(u=g+(c=Math.pow(Math.sin(f),2)*v)),h=-(l=p+c/Math.tan(f))}(a>s&&a<90||a>90&&a<90+s||a>180+s&&a<270||a>270&&a<360-s)&&(f=(90-a)*Math.PI/180,g=a>s&&a<90||a>90&&a<90+s?e/2:-e/2,p=Math.tan(f)*g,v=a>s&&a<90||a>270&&a<360-s?i/2-p:-i/2-p,d=-(u=g+(c=Math.pow(Math.sin(f),2)*v)/Math.tan(f)),h=-(l=p+c));return d=Math.round(d+e/2)+n,h=Math.round(i/2-h)+r,u=Math.round(u+e/2)+n,l=Math.round(i/2-l)+r,{x0:d,y0:h,x1:u,y1:l}}(r,t,e,i,n),s=a.x0,c=a.y0,d=a.x1,h=a.y1,u=o.createLinearGradient(s,c,d,h),l=r.match(/linear-gradient\((.+)\)/)[1],f=k(l.substring(l.indexOf(",")+1)),p=0;p=a||"cover"==n&&o=a)&&(s=e.width/i.width);var c=i.width*s,d=i.height*s,h=r||[],u=h[0],l=h[1],f=/^\d+px|rpx$/.test(u)?y(u,e.width):(e.width-c)*(S(u)?y(u,1):{left:0,center:.5,right:1}[u||"center"]),p=/^\d+px|rpx$/.test(l)?y(l,e.height):(e.height-d)*(S(l)?y(l,1):{top:0,center:.5,bottom:1}[l||"center"]),g=function(t,e){return[(t-f)/s,(e-p)/s]},v=g(0,0),b=v[0],m=v[1],x=g(e.width,e.height),w=x[0],k=x[1];return{sx:Math.max(b,0),sy:Math.max(m,0),sw:Math.min(w-b,i.width),sh:Math.min(k-m,i.height),dx:Math.max(f,0),dy:Math.max(p,0),dw:Math.min(c,e.width),dh:Math.min(d,e.height)}}({objectFit:f,objectPosition:v},e.contentSize,t),n=i.sx,o=i.sy,a=i.sh,s=i.sw,d=i.dx,h=i.dy,u=i.dh,l=i.dw;b==c.MP_BAIDU?r.drawImage(t.src,d+P,h+z,l,u,n,o,s,a):r.drawImage(t.src,n,o,s,a,d+P,h+z,l,u)}else r.drawImage(t.src,P,z,w,k)},O=function(){r.restore(),_.drawView(e,i,!1,!0,!1),o(1)},B=function(t){T(t),O()},B(t),[2]}))}))}))];case 1:return o.sent(),[2]}}))}))},t.prototype.drawText=function(t,e,i,n){var r=this.ctx,o=e.borderSize,a=e.contentSize,s=e.left,c=e.top,d=a.width,h=a.height,u=a.left-o.left,l=a.top-o.top,f=i.color,p=void 0===f?"#000000":f,g=i.lineHeight,v=void 0===g?"1.4em":g,b=i.fontSize,m=void 0===b?14:b,x=i.fontWeight,w=i.fontFamily,S=i.fontStyle,k=i.textAlign,P=void 0===k?"left":k,z=i.verticalAlign,I=void 0===z?K:z,M=i.backgroundColor,T=i.lineClamp,O=i.backgroundClip,B=i.textShadow,_=i.textDecoration;if(this.drawView(e,i,O!=V),v=y(v,m),t){r.save(),this.setShadow({boxShadow:B}),s+=u,c+=l;var R=n.fontHeight,C=n.descent+n.ascent;switch(r.setFonts({fontFamily:w,fontSize:m,fontWeight:x,fontStyle:S}),r.setTextBaseline(C?K:I),r.setTextAlign(P),O?this.setBackground(M,d,h,s,c):r.setFillStyle(p),P){case"left":break;case"center":s+=.5*d;break;case"right":s+=d}var W=n.lines*v,L=Math.ceil((h-W)/2);switch(L<0&&(L=0),I){case"top":break;case K:c+=L;break;case"bottom":c+=2*L}var j=(v-R)/2,F=function(t){var e=r.measureText(t),i=e.actualBoundingBoxDescent,n=void 0===i?0:i,o=e.actualBoundingBoxAscent;return"top"==I?{fix:C?void 0===o?0:o:0,lineY:C?2*j:j}:I==K?{fix:C?v/2+n/4:v/2,lineY:(v-R)/2}:"bottom"==I?{fix:C?v-n:v+j,lineY:0}:{fix:0,height:0,lineY:0}},$=function(t,e,i){var o=t;switch(P){case"left":o+=i;break;case"center":o=(t-=i/2)+i;break;case"right":o=t,t-=i}if(_){r.setLineWidth(m/13),r.beginPath();var a=.1*n.fontHeight;/\bunderline\b/.test(_)&&(r.moveTo(t,e+a),r.lineTo(o,e+a)),/\boverline\b/.test(_)&&(C||(e-=j),r.moveTo(t,e-n.fontHeight-a),r.lineTo(o,e-n.fontHeight-a)),/\bline-through\b/.test(_)&&(r.moveTo(t,e-.5*n.fontHeight),r.lineTo(o,e-.5*n.fontHeight)),r.closePath(),r.setStrokeStyle(p),r.stroke()}};if(!n.widths||1==n.widths.length&&n.widths[0].total<=a.width){var A=F(t),H=A.fix,E=A.lineY;return r.fillText(t,s,c+H),$(s,(c+=v)-E,n&&n.widths&&n.widths[0].total||n.text),r.restore(),void this.setBorder(e,i)}for(var N=t.split(""),D=c,U=s,q="",Y=0,X=0;X<=N.length;X++){var J=N[X]||"",G="\n"===J,Q=""==J,Z=q+(J=G?"":J),tt=r.measureText(Z).width;if(Y>=T)break;if(U=s,tt>a.width||G||Q){if(Y++,q=Q&&tt<=a.width?Z:q,Y===T&&tt>d){for(;r.measureText("".concat(q,"...")).width>a.width&&!(q.length<=1);)q=q.substring(0,q.length-1);q+="..."}var et=F(q);if(H=et.fix,E=et.lineY,r.fillText(q,U,c+H),$(U,(c+=v)-E,tt),q=J,c>D+h)break}else q=Z}r.restore()}},t.prototype.source=function(t){return a(this,void 0,void 0,(function(){var e,i,n,r=this;return s(this,(function(o){switch(o.label){case 0:if(this.node=null,e=+new Date,"{}"==JSON.stringify(t))return[2];if(!t.type)for(i in t.type=Q,t.css=t.css||{},t)["views","children","type","css"].includes(i)||(t.css[i]=t[i],delete t[i]);return t.css&&!t.css.width&&(t.css||(t.css={})),[4,this.create(t)];case 1:return(n=o.sent())?(this.size=n.layout()||{},this.node=n,this.onEffectFinished().then((function(t){return r.lifecycle("onEffectSuccess",t)})).catch((function(t){return r.lifecycle("onEffectFail",t)})),console.log("布局用时:"+(+new Date-e)+"ms"),[2,this.size]):[2,console.warn("no node")]}}))}))},t.prototype.getImageInfo=function(t){return this.imageBus[t]||(this.imageBus[t]=this.createImage(t,this.useCORS)),this.imageBus[t]},t.prototype.create=function(t,e){return a(this,void 0,void 0,(function(){var i,n,r,a,c,d,h,u,l,f,p,g,v,b,m,x,w;return s(this,(function(s){switch(s.label){case 0:if(i="image"==t.type,n=[V,G].includes(t.type),r=t.css||{},a=r.backgroundImage,c=r.display,i&&!t.src&&!t.url||n&&!t.text)return[2];if("none"==c)return[2];if(n&&(t.text=String(t.text)),!(i||t.type==Q&&a))return[3,4];d=i?t.src:"",h=/url\((.+)\)/.exec(a),a&&h&&h[1]&&(d=h[1]||""),s.label=1;case 1:return s.trys.push([1,3,,4]),[4,this.getImageInfo(d)];case 2:return u=s.sent(),l=u.width,f=u.height,!(p=u.path)&&i?[2]:(p&&(t.attributes=Object.assign(t.attributes||{},{width:l,height:f,path:p,src:p,naturalSrc:d})),[3,4]);case 3:return g=s.sent(),t.type!=Q?[2]:(this.lifecycle("onEffectFail",o(o({},g),{src:d})),[3,4]);case 4:if(this.count+=1,v=new X(t,e,this.root,this.ctx),!(b=t.views||t.children))return[3,8];m=0,s.label=5;case 5:return m1&&void 0!==arguments[1]?arguments[1]:{};e.indexKey;return{inject:(0,a.default)({},t,{default:null}),watch:{el:{handler:function(t,e){JSON.stringify(t)!=JSON.stringify(e)&&this.bindRelation()},deep:!0,immediate:!0},src:{handler:function(t,e){t!=e&&this.bindRelation()},immediate:!0},text:{handler:function(t,e){t!=e&&this.bindRelation()},immediate:!0},css:{handler:function(t,e){t!=e&&(this.el.css=("object"==(0,o.default)(t)?t:t&&Object.assign.apply(Object,(0,r.default)(s(t))))||{})},immediate:!0},replace:{handler:function(t,e){JSON.stringify(t)!=JSON.stringify(e)&&this.bindRelation()},deep:!0,immediate:!0}},created:function(){var e=this;this._uid||(this._uid=this._.uid),Object.defineProperty(this,"parent",{get:function(){return e[t]||[]}}),Object.defineProperty(this,"index",{get:function(){e.bindRelation();var t=e.parent;t=void 0===t?{}:t;var i=t.el;i=void 0===i?{}:i;var n=i.views,r=void 0===n?[]:n;return r.indexOf(e.el)}}),this.el.type=this.type,this.bindRelation()},beforeDestroy:function(){this.removeEl()},methods:{removeEl:function(){var t=this;this.parent&&(this.parent.el.views=this.parent.el.views.filter((function(e){return e._uid!==t._uid})))},bindRelation:function(){var t=this;if(this.el._uid||(this.el._uid=this._uid),["text","qrcode"].includes(this.type)&&(this.el.text=this.$slots&&this.$slots.default&&this.$slots.default[0].text||"".concat(this.text||"").replace(/\\n/g,"\n")),"image"==this.type&&(this.el.src=this.src),this.parent){var e=this.parent.el.views||[];-1!==e.indexOf(this.el)?this.parent.el.views=e.map((function(e){return e._uid==t._uid?t.el:e})):this.parent.el.views=[].concat((0,r.default)(e),[this.el])}}},mounted:function(){}}},e.parent=function(t){return{provide:function(){return(0,a.default)({},t,this)},data:function(){return{el:{css:{},views:[]}}},watch:{css:{handler:function(t){this.canvasId&&(this.el.css=("object"==(0,o.default)(t)?t:t&&Object.assign.apply(Object,(0,r.default)(s(t))))||{},this.canvasWidth=this.el.css&&this.el.css.width||this.canvasWidth,this.canvasHeight=this.el.css&&this.el.css.height||this.canvasHeight)},immediate:!0}}}};var r=n(i("2909")),o=n(i("53ca")),a=n(i("ade3"));i("d81d"),i("4de4"),i("d3b7"),i("ac1f"),i("00b4"),i("fb6a"),i("c975"),i("5319"),i("e9c4"),i("7a82"),i("caad"),i("99af");var s=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return t.split(";").filter((function(t){return t&&!/^[\n\s]+$/.test(t)})).map((function(t){var e=t.slice(0,t.indexOf(":")),i=t.slice(t.indexOf(":")+1);return(0,a.default)({},e.replace(/-([a-z])/g,(function(){return arguments[1].toUpperCase()})).replace(/\s+/g,""),i.replace(/^\s+/,"").replace(/\s+$/,"")||"")}))}},baa5:function(t,e,i){var n=i("23e7"),r=i("e58c");n({target:"Array",proto:!0,forced:r!==[].lastIndexOf},{lastIndexOf:r})},cba6:function(t,e,i){"use strict";i.d(e,"b",(function(){return r})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={"u-Text":i("7614").default,uIcon:i("94f3").default},r=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"u-read-more"},[i("v-uni-view",{staticClass:"u-read-more__content",style:{height:t.isLongContent&&"close"===t.status?t.$u.addUnit(t.showHeight):t.$u.addUnit(t.contentHeight),textIndent:t.textIndent}},[i("v-uni-view",{ref:"u-read-more__content__inner",staticClass:"u-read-more__content__inner",class:[t.elId]},[t._t("default")],2)],1),t.isLongContent?i("v-uni-view",{staticClass:"u-read-more__toggle",style:[t.innerShadowStyle]},[t._t("toggle",[i("v-uni-view",{staticClass:"u-read-more__toggle__text",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toggleReadMore.apply(void 0,arguments)}}},[i("u--text",{attrs:{text:"close"===t.status?t.closeText:t.openText,color:t.color,size:t.fontSize,lineHeight:t.fontSize,margin:"0 5px 0 0"}}),i("v-uni-view",{staticClass:"u-read-more__toggle__icon"},[i("u-icon",{attrs:{color:t.color,size:t.fontSize+2,name:"close"===t.status?"arrow-down":"arrow-up"}})],1)],1)])],2):t._e()],1)},o=[]},d5b1:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,".lime-painter[data-v-0fba428e],\n.lime-painter__canvas[data-v-0fba428e]{\nwidth:100%;\n}",""]),t.exports=e},f148:function(t,e,i){var n=i("d5b1");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var r=i("4f06").default;r("0c60db80",n,!0,{sourceMap:!1,shadowMode:!1})},f39c:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,"uni-view[data-v-7c1d503a], uni-scroll-view[data-v-7c1d503a], uni-swiper-item[data-v-7c1d503a]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-read-more__content[data-v-7c1d503a]{overflow:hidden;color:#606266;font-size:15px;text-align:left}.u-read-more__toggle[data-v-7c1d503a]{display:flex;flex-direction:row;justify-content:center}.u-read-more__toggle__text[data-v-7c1d503a]{display:flex;flex-direction:row;align-items:center;justify-content:center;margin-top:5px}",""]),t.exports=e},fcfe:function(t,e,i){"use strict";var n=i("1424"),r=i.n(n);r.a}}]);