diff --git a/apis/index.js b/apis/index.js index b8e5669..d8664da 100644 --- a/apis/index.js +++ b/apis/index.js @@ -9,8 +9,11 @@ import store from '@/store' // 基础配置 const config = { + // apiUrl : 'https://oapi.lianshang.vip/api/', + // apiUrls : 'https://oapi.lianshang.vip/', + apiUrl : 'http://api.ahxh.shangkelian.cn/api/', - apiUrls : 'http://api.ahxh.shangkelian.cn', + apiUrls : 'http://api.ahxh.shangkelian.cn/', timeout : 60000 } @@ -142,13 +145,11 @@ const loginHint = () => { uni.showModal({ title: '登录提示', content: '您的登录信息已过期,请重新登录', - confirmColor: '#009B69', + confirmColor: '#8b64fd', showCancel:false, success: res=> { loginHintState = false - if (res.confirm) uni.reLaunch({ - url: '/pages/equity/index' - }) + if (res.confirm) this.$Router.replace({name: 'Index'}) } }) } diff --git a/apis/interfaces/wx.js b/apis/interfaces/wx.js new file mode 100644 index 0000000..2fede15 --- /dev/null +++ b/apis/interfaces/wx.js @@ -0,0 +1,21 @@ + +/** + * Web唐明明 + * 匆匆数载恍如梦,岁月迢迢华发增。 + * 碌碌无为枉半生,一朝惊醒万事空。 + * moduleName: 微信相关 + */ + + +import { request } from '../index' + +const wxConfig = data => { + return request({ + url : 'user/auth/get_jssdk', + data : data + }) +} + +export { + wxConfig +} diff --git a/manifest.json b/manifest.json index fc88c68..b0dfc34 100644 --- a/manifest.json +++ b/manifest.json @@ -74,10 +74,5 @@ "uniStatistics" : { "enable" : false }, - "vueVersion" : "2", - "h5" : { - "router" : { - "mode" : "history" - } - } + "vueVersion" : "2" } diff --git a/node_modules/jweixin-module/README.md b/node_modules/jweixin-module/README.md new file mode 100644 index 0000000..7c91d7b --- /dev/null +++ b/node_modules/jweixin-module/README.md @@ -0,0 +1,30 @@ +# jweixin-module + +微信JS-SDK + +## 安装 + +### NPM + +```shell +npm install jweixin-module --save +``` + +### UMD + +```http +https://unpkg.com/jweixin-module/out/index.js +``` + +## 使用 + +```js +var jweixin = require('jweixin-module') +jweixin.ready(function(){ + // TODO +}); +``` + +## 完整API + +>[微信JS-SDK说明文档](https://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1421141115) diff --git a/node_modules/jweixin-module/lib/index.js b/node_modules/jweixin-module/lib/index.js new file mode 100644 index 0000000..1b5014b --- /dev/null +++ b/node_modules/jweixin-module/lib/index.js @@ -0,0 +1 @@ +!function(e,n){"function"==typeof define&&(define.amd||define.cmd)?define(function(){return n(e)}):n(e,!0)}(window,function(o,e){if(!o.jWeixin){var n,c={config:"preVerifyJSAPI",onMenuShareTimeline:"menu:share:timeline",onMenuShareAppMessage:"menu:share:appmessage",onMenuShareQQ:"menu:share:qq",onMenuShareWeibo:"menu:share:weiboApp",onMenuShareQZone:"menu:share:QZone",previewImage:"imagePreview",getLocation:"geoLocation",openProductSpecificView:"openProductViewWithPid",addCard:"batchAddCard",openCard:"batchViewCard",chooseWXPay:"getBrandWCPayRequest",openEnterpriseRedPacket:"getRecevieBizHongBaoRequest",startSearchBeacons:"startMonitoringBeacons",stopSearchBeacons:"stopMonitoringBeacons",onSearchBeacons:"onBeaconsInRange",consumeAndShareCard:"consumedShareCard",openAddress:"editAddress"},a=function(){var e={};for(var n in c)e[c[n]]=n;return e}(),i=o.document,t=i.title,r=navigator.userAgent.toLowerCase(),s=navigator.platform.toLowerCase(),d=!(!s.match("mac")&&!s.match("win")),u=-1!=r.indexOf("wxdebugger"),l=-1!=r.indexOf("micromessenger"),p=-1!=r.indexOf("android"),f=-1!=r.indexOf("iphone")||-1!=r.indexOf("ipad"),m=(n=r.match(/micromessenger\/(\d+\.\d+\.\d+)/)||r.match(/micromessenger\/(\d+\.\d+)/))?n[1]:"",g={initStartTime:L(),initEndTime:0,preVerifyStartTime:0,preVerifyEndTime:0},h={version:1,appId:"",initTime:0,preVerifyTime:0,networkType:"",isPreVerifyOk:1,systemType:f?1:p?2:-1,clientVersion:m,url:encodeURIComponent(location.href)},v={},S={_completes:[]},y={state:0,data:{}};O(function(){g.initEndTime=L()});var I=!1,_=[],w={config:function(e){B("config",v=e);var t=!1!==v.check;O(function(){if(t)M(c.config,{verifyJsApiList:C(v.jsApiList),verifyOpenTagList:C(v.openTagList)},function(){S._complete=function(e){g.preVerifyEndTime=L(),y.state=1,y.data=e},S.success=function(e){h.isPreVerifyOk=0},S.fail=function(e){S._fail?S._fail(e):y.state=-1};var t=S._completes;return t.push(function(){!function(){if(!(d||u||v.debug||m<"6.0.2"||h.systemType<0)){var i=new Image;h.appId=v.appId,h.initTime=g.initEndTime-g.initStartTime,h.preVerifyTime=g.preVerifyEndTime-g.preVerifyStartTime,w.getNetworkType({isInnerInvoke:!0,success:function(e){h.networkType=e.networkType;var n="https://open.weixin.qq.com/sdk/report?v="+h.version+"&o="+h.isPreVerifyOk+"&s="+h.systemType+"&c="+h.clientVersion+"&a="+h.appId+"&n="+h.networkType+"&i="+h.initTime+"&p="+h.preVerifyTime+"&u="+h.url;i.src=n}})}}()}),S.complete=function(e){for(var n=0,i=t.length;n + + 404 + + + + + + diff --git a/pages/index/index.vue b/pages/index/index.vue index 18fbb36..42ef399 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -122,7 +122,7 @@ }; }, onShow() { - if(this.$store.state.token != '') this.isAuth = true + this.isAuth = this.$store.state.token != '' this.getIndex() }, methods:{ @@ -510,7 +510,7 @@ width: 58rpx; height: 58rpx; line-height: 58rpx; - background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .0) 40%, #ca66e0); + background: radial-gradient(circle at 50% 50%, rgba(202, 102, 224, .0) 40%, #ca66e0); border-radius: 50%; box-shadow: 0 0 5rpx 5rpx rgba($color: #ca66e0, $alpha: .5); .icon { diff --git a/pages/login/login.vue b/pages/login/login.vue index 2780c9e..950f5f8 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -17,14 +17,17 @@ + + + - + 未注册的手机号验证后将自动创建账号,登录即表示同意接收 @@ -32,6 +35,9 @@ 和 用户服务协议 + 皖ICP备2021013714号-1 + + @@ -43,21 +49,34 @@ export default { data() { return { - phone: "18245180131", - code: "", - smsTime: 60, - getSms: false + phone : "18245180131", + code : "", + parentId: "", + smsTime : 60, + getSms : false } }, + onShow(){ + + console.log(this.$Route) + + this.parentId = this.$Route.query.invite || '' + }, methods: { // 用户登录 login() { smsAuth({ - mobileNo: this.phone, - code: this.code + mobileNo : this.phone, + code : this.code, + parent_id : this.parentId }).then(res => { this.$store.commit('setToken', res.token_type + ' ' + res.access_token) - this.$Router.back() + + if(this.$Route.toName){ + this.$Router.back() + }else{ + this.$Router.replace({name: 'Index'}) + } }).catch(err => { uni.showToast({ title: err.message, @@ -111,7 +130,7 @@ background: white; .login-top { - height: 36vh; + height: 26vh; width: 100%; display: flex; flex-direction: row; @@ -120,15 +139,12 @@ box-sizing: border-box; position: relative; padding-bottom: 160rpx; - .top-bg { position: absolute; bottom: 30rpx; z-index: 2; width: 740rpx; - margin-left: 40rpx; } - .top-logo-content { display: flex; flex-direction: column; @@ -185,8 +201,8 @@ height: 77rpx; line-height: 77rpx; position: absolute; - top: 0; - right: 0; + top: 1rpx; + right: 1rpx; padding: 0; margin: 0; border-radius: 0; @@ -253,7 +269,7 @@ } .agreement { - padding-top: $padding * 2; + padding-top: 12vh; font-size: $title-size-sm; color: $text-gray; view { @@ -262,5 +278,11 @@ padding: 0 10rpx; } } + .beianNo{ + font-size: $title-size-sm; + color: $text-gray-m; + text-align: center; + padding-top: $padding*2; + } } diff --git a/pages/setting/setting.vue b/pages/setting/setting.vue index 210c683..c86e235 100644 --- a/pages/setting/setting.vue +++ b/pages/setting/setting.vue @@ -68,7 +68,7 @@ - 切换账户 + 退出登录 @@ -110,13 +110,7 @@ } }, onShow() { - wx.login({ - success: res => { - this.loginCode = res.code - } - }) this.getUserInfo() - }, onPullDownRefresh() { this.getUserInfo() @@ -124,7 +118,6 @@ methods: { // 是否个人认证 certificationClick(certfication) { - console.log(certfication) if (certfication.is_true) { // 跳转到个人认证信息完成展示页面 // this.$refs.uToast.show({ @@ -146,7 +139,6 @@ }, // 是否展示企业信息 企业认证 -1.未认证,0.审核中,1.审核通过,2.驳回 company(code) { - console.log(code, '是否企业认证') if (code === -1) { // 跳转到企业认证页面 this.$Router.push({ @@ -192,7 +184,6 @@ }) // -1.未认证,0.审核中,1.审核通过,2.驳回 companyStatus().then(res => { - console.log(res) this.companyCode = res }).catch(err => { this.$refs.uToast.show({ @@ -281,7 +272,7 @@ }, loginOut() { this.$store.commit('setToken', '') - this.$Router.push({name: 'Login'}) + this.$Router.push({name: 'Index'}) }, // 上传头像 updImgs(type) { @@ -320,7 +311,6 @@ value: value } resetUserInfo(data).then(res => { - console.log(res, 'res...') uni.showToast({ title: res, icon: 'none' diff --git a/pages/user/index.vue b/pages/user/index.vue index 3a3f0e6..6ebebf1 100644 --- a/pages/user/index.vue +++ b/pages/user/index.vue @@ -1,5 +1,5 @@
\ No newline at end of file + document.write('')
\ No newline at end of file diff --git a/unpackage/dist/build/h5/static/js/index.4ff06646.js b/unpackage/dist/build/h5/static/js/index.4ff06646.js new file mode 100644 index 0000000..49bde06 --- /dev/null +++ b/unpackage/dist/build/h5/static/js/index.4ff06646.js @@ -0,0 +1 @@ +(function(t){function n(n){for(var i,r,p=n[0],g=n[1],m=n[2],d=0,s=[];da)return 1;if(r1&&void 0!==e[1]?e[1]:null,i.next=3,n.getContext(n.canvasId);case 3:if(r=i.sent,!n.isCloud){i.next=17;break}if(a=null,!n.imageMask){i.next=13;break}return n.isMask=!0,i.next=10,n.getImageMask(r);case 10:a=i.sent,n.imageData=a,n.isMask=!1;case 13:return i.next=15,n.getContext(n.canvasId+"_cloud");case 15:s=i.sent,r=Object.assign({},r,{cloud:s,imageMask:a});case 17:return i.next=19,t(r);case 19:o=i.sent,o&&(o.repaint(),n.chart=o,n.canvasEl=o.get("el"),n.isInited=!0);case 21:case"end":return i.stop()}}),i)})))()},changeData:function(t){this.chart&&this.chart.changeData(t||this.source)},clear:function(){this.chart&&this.chart.clear()},destroy:function(){this.chart&&this.chart.destroy()},repaint:function(){this.changeData(this.source)},reset:function(t){var e=this;this.$watch("isInited",(function(n){return n&&t(e.chart)}),{immediate:!0})},canvasToTempFilePath:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=this.use2dCanvas,i=this.canvasId,r=this.config;return new Promise((function(a,s){var o=Object.assign({canvasId:i,success:a,fail:s},e);if(n){var l=r[i].canvas;delete o.canvasId,o.canvas=l}uni.canvasToTempFilePath(o,t)}))},getImageMask:function(t){var e=this;return new Promise((function(n){uni.getImageInfo({src:e.imageMask,success:function(){var i=(0,r.default)(regeneratorRuntime.mark((function i(a){var s,o,l,c,u,h;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(!a.path){i.next=17;break}if(s=t.context,o=t.width,l=t.height,c=t.canvas,!e.use2dCanvas){i.next=7;break}u=function(){var t=c.createImage();t.crossOrigin="",t.src=a.path,t.onload=(0,r.default)(regeneratorRuntime.mark((function e(){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:s.drawImage(t,0,0,a.width,a.height,0,0,o,l),i=s.getImageData(0,0,o,l).data,s.clearRect(0,0,o,l),n(i);case 4:case"end":return e.stop()}}),e)})))},u(),i.next=17;break;case 7:return s.drawImage(a.path,0,0,a.width,a.height,0,0,o,l),i.next=10,e.canvasDraw(s);case 10:return i.next=12,s.getImageData(0,0,o,l);case 12:return h=i.sent,s.clearRect(0,0,o,l),i.next=16,e.canvasDraw(s);case 16:n(h);case 17:case"end":return i.stop()}}),i)})));function a(t){return i.apply(this,arguments)}return a}(),fail:function(t){console.error(JSON.stringify(t)),n(null)}})}))},canvasDraw:function(t){return new Promise((function(e){t.draw(!1,(function(){setTimeout((function(){e(!0)}),100)}))}))},getContext:function(t){var e,n=this,i=this.use2dCanvas,r=this.type,o=void 0===r?"2d":r,l=this.config;return(null===(e=l[t])||void 0===e?void 0:e.context)?Promise.resolve(l[t]):new Promise(i?function(e){uni.createSelectorQuery().in(n).select("#".concat(t)).fields({node:!0,size:!0}).exec((function(i){var r=i[0],l=r.node,c=r.width,u=r.height;c=c||300,u=u||300;var h=l.getContext(o);t.includes("_cloud")||(n.width=c,n.height=u),l.width=c*s.pixelRatio,l.height=u*s.pixelRatio,n.config[t]={context:(0,a.default)(h),width:c,height:u,pixelRatio:s.pixelRatio,canvas:l},e(n.config[t])}))}:function(e){uni.createSelectorQuery().in(n).select("#".concat(t)).boundingClientRect().exec((function(i){if(i){var r=i[0],o=r.width,l=r.height;o=o||300,l=l||300;var c=uni.createCanvasContext(t,n);t.includes("_cloud")||(n.width=o,n.height=l),n.config[t]={context:(0,a.default)(c),width:o,height:l,pixelRatio:s.pixelRatio},e(n.config[t])}}))})},touchStart:function(t){this.canvasEl&&this.canvasEl.dispatchEvent("touchstart",(0,s.wrapEvent)(t))},touchMove:function(t){this.canvasEl&&this.canvasEl.dispatchEvent("touchmove",(0,s.wrapEvent)(t))},touchEnd:function(t){this.canvasEl&&this.canvasEl.dispatchEvent("touchend",(0,s.wrapEvent)(t))}}};e.default=o},"6b934":function(t,e,n){var i=n("23e7"),r=Math.log,a=Math.LOG10E;i({target:"Math",stat:!0},{log10:function(t){return r(t)*a}})},"6c57":function(t,e,n){var i=n("23e7"),r=n("da84");i({global:!0},{globalThis:r})},7039:function(t,e,n){var i=n("23e7"),r=n("d039"),a=n("057f").f,s=r((function(){return!Object.getOwnPropertyNames(1)}));i({target:"Object",stat:!0,forced:s},{getOwnPropertyNames:a})},7212:function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return i}));var i={uniIcons:n("f1a7").default,uToast:n("4d12").default},r=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"content"},[i("v-uni-view",{staticClass:"total"},[i("v-uni-view",{staticClass:"item nowrap",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.navAccount("walletProperty")}}},[i("v-uni-image",{attrs:{src:n("e547")}}),t._v(t._s(t.isAuth?"能量球"+t.account.coin:"查看能量球"))],1),i("v-uni-view",{staticClass:"item nowrap",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.navAccount("Fragment")}}},[i("v-uni-image",{attrs:{src:n("9769")}}),t._v(t._s(t.isAuth?"能量碎片"+t.account.crystal:"查看能量碎片"))],1)],1),i("v-uni-view",{staticClass:"ore"},[i("v-uni-image",{staticClass:"ore-back",attrs:{src:n("fa4b"),mode:"widthFix"}}),i("v-uni-view",{staticClass:"ball"},[i("v-uni-view",{staticClass:"shadow"})],1),t.isAuth?[i("v-uni-view",{staticClass:"ore-lists"},[t._l(t.crystalArr,(function(e,r){return i("v-uni-view",{key:r,staticClass:"oct-float ore-item",style:{left:e.left+"%",top:e.top+"%"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.ledCrystal(r)}}},[null!==e.amount?[i("v-uni-view",{staticClass:"oct-icon"},[i("v-uni-image",{staticClass:"icon",attrs:{src:n("9769"),mode:"widthFix"}})],1),i("v-uni-view",{staticClass:"text"},[t._v(t._s(e.amount||"-"))])]:t._e()],2)})),i("v-uni-view",{staticClass:"oct-float ore-item-nav",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.issueGoosd.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"oct-icon"},[i("v-uni-image",{staticClass:"icon",attrs:{src:n("8ae7"),mode:"widthFix"}})],1),i("v-uni-view",{staticClass:"text"},[t._v("发权证"),i("uni-icons",{attrs:{type:"arrowright",color:"#FFFFFF",size:"12"}})],1)],1)],2)]:[i("v-uni-view",{staticClass:"ore-lists"},[i("v-uni-view",{staticClass:"oct-float oct-login",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$Router.push({name:"Login"})}}},[i("v-uni-view",{staticClass:"oct-icon"},[i("v-uni-image",{staticClass:"icon",attrs:{src:n("9769"),mode:"widthFix"}})],1),i("v-uni-view",{staticClass:"text"},[t._v("登录后领取")])],1)],1)]],2),i("v-uni-scroll-view",{staticClass:"task-block",attrs:{"scroll-x":"true"}},t._l(t.categoryArr,(function(e,n){return i("v-uni-view",{key:n,staticClass:"item",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.JumpUrl(e.url,e.title)}}},[i("v-uni-view",{staticClass:"text nowrap"},[t._v(t._s(e.sub_title))]),i("v-uni-view",{staticClass:"icon"},[i("v-uni-image",{attrs:{src:e.cover}})],1),i("v-uni-view",{staticClass:"title nowrap"},[t._v(t._s(e.title))]),i("v-uni-view",{staticClass:"submit-title nowrap"},[t._v("能量碎片"+t._s(e.tips))])],1)})),1),i("v-uni-view",{staticClass:"situation"},[i("v-uni-view",{staticClass:"header"},[i("v-uni-view",{staticClass:"header-item"},[i("v-uni-view",{staticClass:"title"},[t._v("平台能量球余量"),i("uni-icons",{staticClass:"help-icon",attrs:{type:"help-filled",size:"15",color:"rgba(255,255,255,.3)"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showHelp("balance")}}})],1),i("v-uni-view",{staticClass:"number nowrap"},[t._v(t._s(t.chains.balance))])],1),i("v-uni-view",{staticClass:"header-item"},[i("v-uni-view",{staticClass:"title"},[t._v("上期能量球价值"),i("uni-icons",{staticClass:"help-icon",attrs:{type:"help-filled",size:"15",color:"rgba(255,255,255,.3)"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showHelp("up")}}})],1),i("v-uni-view",{staticClass:"number nowrap"},[t._v(t._s(t.chains.up))])],1),i("v-uni-view",{staticClass:"header-item"},[i("v-uni-view",{staticClass:"title"},[t._v("昨日瓜分能量碎片"),i("uni-icons",{staticClass:"help-icon",attrs:{type:"help-filled",size:"15",color:"rgba(255,255,255,.3)"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showHelp("score")}}})],1),i("v-uni-view",{staticClass:"number nowrap"},[t._v(t._s(t.chains.score))])],1),i("v-uni-view",{staticClass:"header-item"},[i("v-uni-view",{staticClass:"title"},[t._v("区块链高度"),i("uni-icons",{staticClass:"help-icon",attrs:{type:"help-filled",size:"15",color:"rgba(255,255,255,.3)"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showHelp("height")}}})],1),i("v-uni-view",{staticClass:"number nowrap"},[t._v(t._s(t.chains.height))])],1),i("v-uni-view",{staticClass:"header-item"},[i("v-uni-view",{staticClass:"title"},[t._v("已开通节点数"),i("uni-icons",{staticClass:"help-icon",attrs:{type:"help-filled",size:"15",color:"rgba(255,255,255,.3)"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showHelp("number")}}})],1),i("v-uni-view",{staticClass:"number nowrap"},[t._v(t._s(t.chains.number))])],1)],1),i("v-uni-view",{staticClass:"chart"},[i("v-uni-view",{staticClass:"title"},[t._v("累计盈利和能量球价值走势图")]),i("v-uni-view",{staticClass:"chart-f2"},[i("l-f2",{ref:"chartChange"})],1)],1),i("u-toast",{ref:"uToast"})],1)],1)},a=[]},"89ef":function(t,e,n){var i=n("24fb"),r=n("1de5"),a=n("57dc");e=i(!1);var s=r(a);e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/**\n * Web唐明明\n * 匆匆数载恍如梦,岁月迢迢华发增。\n * 碌碌无为枉半生,一朝惊醒万事空。\n */.ios-bottom[data-v-218f84fe]{padding-bottom:env(safe-area-inset-bottom);padding-bottom:constant(safe-area-inset-bottom)}.ios-left[data-v-218f84fe]{padding-left:env(safe-area-inset-left);padding-left:constant(safe-area-inset-left)}.ios-right[data-v-218f84fe]{padding-right:env(safe-area-inset-right);padding-right:constant(safe-area-inset-right)}.ios-top[data-v-218f84fe]{padding-top:0}.vertical[data-v-218f84fe]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-pack:center}.nowrap[data-v-218f84fe]{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ellipsis[data-v-218f84fe]{max-width:100%;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ellipsis-3[data-v-218f84fe]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3}.ellipsis-4[data-v-218f84fe]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4}.ellipsis-5[data-v-218f84fe]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:5}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */@font-face{font-family:uniicons;src:url('+s+') format("truetype")}.uni-icons[data-v-218f84fe]{font-family:uniicons;text-decoration:none;text-align:center}',""]),t.exports=e},"8ae7":function(t,e,n){t.exports=n.p+"static/img/gemstone-ore-icon.1bea6c28.png"},"8ba4":function(t,e,n){var i=n("23e7"),r=n("5e89");i({target:"Number",stat:!0},{isInteger:r})},9129:function(t,e,n){var i=n("23e7");i({target:"Number",stat:!0},{isNaN:function(t){return t!=t}})},"93f3":function(t,e,n){"use strict";var i=n("fe87"),r=n.n(i);r.a},9769:function(t,e,n){t.exports=n.p+"static/img/crystal-icon.9cbfd02a.png"},"99ac":function(t,e,n){"use strict";var i=n("a9a0"),r=n.n(i);r.a},"9b73":function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/**\n * Web唐明明\n * 匆匆数载恍如梦,岁月迢迢华发增。\n * 碌碌无为枉半生,一朝惊醒万事空。\n */.ios-bottom[data-v-3350775c]{padding-bottom:env(safe-area-inset-bottom);padding-bottom:constant(safe-area-inset-bottom)}.ios-left[data-v-3350775c]{padding-left:env(safe-area-inset-left);padding-left:constant(safe-area-inset-left)}.ios-right[data-v-3350775c]{padding-right:env(safe-area-inset-right);padding-right:constant(safe-area-inset-right)}.ios-top[data-v-3350775c]{padding-top:0}.vertical[data-v-3350775c]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-pack:center}.nowrap[data-v-3350775c]{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ellipsis[data-v-3350775c]{max-width:100%;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ellipsis-3[data-v-3350775c]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3}.ellipsis-4[data-v-3350775c]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4}.ellipsis-5[data-v-3350775c]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:5}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.content[data-v-3350775c]{min-height:calc(100vh - 60px);background:#1f1922;overflow:hidden}.situation[data-v-3350775c]{margin:0 %?30?%;background-image:-webkit-linear-gradient(top,#2b2449,#1f1922);background-image:linear-gradient(180deg,#2b2449,#1f1922);border-radius:%?20?%;padding:%?30?% %?15?% %?60?%}.situation .header[data-v-3350775c]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;padding-bottom:%?30?%}.situation .header .number[data-v-3350775c]{color:#fff;font-size:%?32?%;font-weight:700;line-height:%?70?%}.situation .header .title[data-v-3350775c]{color:hsla(0,0%,100%,.4);font-size:%?26?%;line-height:%?40?%}.situation .header .header-item[data-v-3350775c]{width:50%;padding:%?15?%;padding-bottom:%?30?%;box-sizing:border-box}.situation .header .header-item[data-v-3350775c]:first-child{width:100%}.situation .header .header-item:first-child .number[data-v-3350775c]{font-size:%?32?%}.situation .chart[data-v-3350775c]{background:rgba(43,36,73,.8);padding:%?15?%;border-radius:%?10?%}.situation .chart .title[data-v-3350775c]{text-align:center;line-height:%?80?%;color:hsla(0,0%,100%,.4);font-size:%?26?%}.situation .chart .chart-f2[data-v-3350775c]{height:200px}.total[data-v-3350775c]{position:relative;margin:%?30?%;background:#2b2449;padding:0;display:-webkit-box;display:-webkit-flex;display:flex;border-radius:%?20?%}.total .item[data-v-3350775c]{width:50%;padding:0 %?30?%;text-align:center;color:#fff;font-size:%?26?%;line-height:%?76?%}.total .item uni-image[data-v-3350775c]{width:%?38?%;height:%?38?%;vertical-align:top;margin-top:calc((%?76?% - %?38?%) / 2);margin-right:%?15?%}.total[data-v-3350775c]::before{position:absolute;top:0;bottom:0;content:"";width:%?2?%;left:50%;background:-webkit-linear-gradient(top,transparent,hsla(0,0%,100%,.7),transparent);background:linear-gradient(180deg,transparent,hsla(0,0%,100%,.7),transparent)}.help-icon[data-v-3350775c]{margin-left:%?10?%;opacity:.7}.ore[data-v-3350775c]{position:relative;padding-top:120%}.ore > uni-image[data-v-3350775c]{width:100%;position:absolute;top:0;left:0}.ore .ore-lists[data-v-3350775c]{position:absolute;top:0;left:0;height:100%;width:100%;z-index:1}.ore .ore-lists .oct-float-item[data-v-3350775c], .ore .ore-lists .ore-item-nav[data-v-3350775c], .ore .ore-lists .ore-item[data-v-3350775c], .ore .ore-lists .oct-login[data-v-3350775c]{position:absolute;text-align:center}.ore .ore-lists .oct-float-item .text[data-v-3350775c], .ore .ore-lists .ore-item-nav .text[data-v-3350775c], .ore .ore-lists .ore-item .text[data-v-3350775c], .ore .ore-lists .oct-login .text[data-v-3350775c]{color:#fff;font-size:%?22?%;line-height:%?40?%;text-shadow:0 %?3?% %?3?% rgba(0,0,0,.2)}.ore .ore-lists .oct-float-item .oct-icon[data-v-3350775c], .ore .ore-lists .ore-item-nav .oct-icon[data-v-3350775c], .ore .ore-lists .ore-item .oct-icon[data-v-3350775c], .ore .ore-lists .oct-login .oct-icon[data-v-3350775c]{display:inline-block;width:%?58?%;height:%?58?%;line-height:%?58?%;background:-webkit-radial-gradient(50% 50%,circle,hsla(0,0%,100%,0) 40%,#ca66e0);background:radial-gradient(circle at 50% 50%,hsla(0,0%,100%,0) 40%,#ca66e0);border-radius:50%;box-shadow:0 0 %?5?% %?5?% rgba(202,102,224,.5)}.ore .ore-lists .oct-float-item .oct-icon .icon[data-v-3350775c], .ore .ore-lists .ore-item-nav .oct-icon .icon[data-v-3350775c], .ore .ore-lists .ore-item .oct-icon .icon[data-v-3350775c], .ore .ore-lists .oct-login .oct-icon .icon[data-v-3350775c]{margin-top:%?10?%;height:%?38?%;width:%?38?%}.ore .ore-lists .ore-item-nav[data-v-3350775c]{right:%?30?%;top:12%}.ore .ore-lists .oct-login[data-v-3350775c]{left:42%;top:45%}.task-block[data-v-3350775c]{white-space:nowrap;margin-bottom:%?30?%}.task-block .item[data-v-3350775c]{background:#2b2449;display:inline-block;margin-left:%?30?%;width:%?260?%;border-radius:%?20?%;text-align:center;padding:%?20?% %?15?%}.task-block .item[data-v-3350775c]:first-child{margin-left:%?30?%}.task-block .item[data-v-3350775c]:last-child{margin-right:%?30?%}.task-block .item .icon[data-v-3350775c]{display:inline-block;margin:%?15?% 0;width:%?98?%;height:%?98?%;line-height:%?98?%;background:#1f183d;border-radius:50%;text-align:center}.task-block .item .icon uni-image[data-v-3350775c]{width:%?56?%;height:%?56?%;vertical-align:middle}.task-block .item .text[data-v-3350775c]{font-size:%?26?%;color:hsla(0,0%,100%,.4);line-height:%?40?%}.task-block .item .title[data-v-3350775c]{font-size:%?30?%;color:#fff;font-weight:700;line-height:%?50?%}.task-block .item .submit-title[data-v-3350775c]{font-size:%?22?%;color:hsla(0,0%,100%,.4);line-height:%?40?%}',""]),t.exports=e},"9e2c":function(t,e,n){"use strict";var i=n("4ea4");n("4160"),n("b64b"),n("d3b7"),n("e25e"),n("ac1f"),n("5319"),n("1276"),n("159b"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n("2909")),a=n("3c48"),s={fillStyle:"FillStyle",fontSize:"FontSize",globalAlpha:"GlobalAlpha",opacity:"GlobalAlpha",lineCap:"LineCap",lineJoin:"LineJoin",lineWidth:"LineWidth",miterLimit:"MiterLimit",strokeStyle:"StrokeStyle",textAlign:"TextAlign",textBaseline:"TextBaseline",shadow:"Shadow",font:"FontSize"};function o(t){for(var e=0,n=0;n0&&t.charCodeAt(n)<128?e++:e+=2;return e}var l=/(\d*\.?\d*)px/,c=/#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])\b/g,u=function(t){return t.uniTransform=t.transform,t.transform=function(){for(var e=arguments.length,n=new Array(e),i=0;i6&&n.pop(),t.uniTransform.apply(t,n)},t.getImageData||(t.getImageData=function(){for(var e=arguments.length,n=new Array(e),i=0;i-1})(e,t)||e.push(t)})),e};function v(t){if(n(t))return t[0]}function m(t){if(n(t))return t[t.length-1]}var y=function(t,e){var n=e.toString(),i=n.indexOf(".");if(-1===i)return Math.round(t);var r=n.substr(i+1).length;return r>20&&(r=20),parseFloat(t.toFixed(r))},x=function(t){return a(t,"Number")},_=function(t){return o(t)?"":t.toString()},b=function(t){var e=_(t);return e.charAt(0).toLowerCase()+e.substring(1)};function w(t,e){return t&&e?t.replace(/\\?\{([^{}]+)\}/g,(function(t,n){return"\\"===t.charAt(0)?t.slice(1):void 0===e[n]?"":e[n]})):t}var S=function(t){var e=_(t);return e.charAt(0).toUpperCase()+e.substring(1)},M={}.toString,C=function(t){return a(t,"Boolean")},k=function(t){return a(t,"Date")},P=Object.prototype;function A(t,e){for(var n in e)e.hasOwnProperty(n)&&"constructor"!==n&&void 0!==e[n]&&(t[n]=e[n])}function T(t,e,n,i){return e&&A(t,e),n&&A(t,n),i&&A(t,i),t}function D(t,e,n,i){for(var r in n=n||0,i=i||5,e)if(e.hasOwnProperty(r)){var a=e[r];null!==a&&d(a)?(d(t[r])||(t[r]={}),n0?new Date(t).getTime():new Date(t.replace(/-/gi,"/")).getTime()),k(t)&&(t=t.getTime()),t}var dt=Object.freeze({__proto__:null,Array:W,upperFirst:S,lowerFirst:b,isString:p,isNumber:x,isBoolean:C,isFunction:s,isDate:k,isArray:l,isNil:o,isObject:c,isPlainObject:d,isEqual:F,deepMix:I,mix:T,each:u,uniq:g,find:function(t,e){if(!l(t))return null;var n;if(s(e)&&(n=e),d(e)&&(n=function(t){return function(t,e){var n=h(e),i=n.length;if(o(t))return!i;for(var r=0;r=0;return n?r?2*Math.PI-i:i:r?i:2*Math.PI-i},zero:function(t){return 0===t[0]&&0===t[1]},distance:function(t,e){var n=e[0]-t[0],i=e[1]-t[1];return Math.sqrt(n*n+i*i)},clone:function(t){return[t[0],t[1]]},min:function(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t},max:function(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t},transformMat2d:function(t,e,n){var i=e[0],r=e[1];return t[0]=n[0]*i+n[2]*r+n[4],t[1]=n[1]*i+n[3]*r+n[5],t}},Pt=[1,0,0,1,0,0],At=function(){var t=e.prototype;function e(t){var e,n;this._initDefaultCfg(),T(this,t),this.plot?(e=this.plot.bl,n=this.plot.tr,this.start=e,this.end=n):(e=this.start,n=this.end),this.init(e,n)}return t._initDefaultCfg=function(){},t._scale=function(t,e){var n=this.matrix,i=this.center;Ct.translate(n,n,[i.x,i.y]),Ct.scale(n,n,[t,e]),Ct.translate(n,n,[-i.x,-i.y])},t.init=function(t,e){this.matrix=[].concat(Pt),this.center={x:(e.x-t.x)/2+t.x,y:(e.y-t.y)/2+t.y},this.scale&&this._scale(this.scale[0],this.scale[1])},t.convertPoint=function(t){var e=this._convertPoint(t),n=e.x,i=e.y;if(!Ct.isChanged(this.matrix))return{x:n,y:i};var r=[n,i];return kt.transformMat2d(r,r,this.matrix),{x:r[0],y:r[1]}},t.invertPoint=function(t){return this._invertPoint(t)},t._convertPoint=function(t){return t},t._invertPoint=function(t){return t},t.reset=function(t){this.plot=t;var e=t.bl,n=t.tr;this.start=e,this.end=n,this.init(e,n)},e}(),Tt=function(t){function e(){return t.apply(this,arguments)||this}_t(e,t);var n=e.prototype;return n._initDefaultCfg=function(){this.type="cartesian",this.transposed=!1,this.isRect=!0},n.init=function(e,n){t.prototype.init.call(this,e,n),this.x={start:e.x,end:n.x},this.y={start:e.y,end:n.y}},n._convertPoint=function(t){var e=this.transposed,n=e?"y":"x",i=e?"x":"y",r=this.x,a=this.y;return{x:r.start+(r.end-r.start)*t[n],y:a.start+(a.end-a.start)*t[i]}},n._invertPoint=function(t){var e=this.transposed,n=e?"y":"x",i=e?"x":"y",r=this.x,a=this.y,s={};return s[n]=(t.x-r.start)/(r.end-r.start),s[i]=(t.y-a.start)/(a.end-a.start),s},e}(At);function Dt(t,e){return p(e)?e:t.invert(t.scale(e))}At.Cartesian=Tt,At.Rect=Tt;var It=function(){function t(t){var e=this;this.type="base",this.name=null,this.method=null,this.values=[],this.scales=[],this.linear=null;var n=null,i=this.callback;if(t.callback){var r=t.callback;n=function(){for(var t=arguments.length,n=new Array(t),a=0;aa&&(a=u)}(re.max)&&e.change({min:r,max:a})},n._sort=function(t){var e=this.getXScale(),n=e.field,i=e.type;"identity"!==i&&e.values.length>1&&u(t,(function(t){t.sort((function(t,r){return"timeCat"===i?ft(t._origin[n])-ft(r._origin[n]):e.translate(t._origin[n])-e.translate(r._origin[n])}))})),this.set("hasSorted",!0),this.set("dataArray",t)},n.paint=function(){var t=this.get("mappingData"),e=[],n=this.getShapeFactory();n.setCoord(this.get("coord")),this._beforeMapping(t);for(var i=0,r=t.length;i5?c:h,u=t.slice(0,5).map((function(t){var e=t._origin;return i.getText(e[i.field])+":"+r.getText(e[r.field])}));e.push(w(o,{index:n+1,count:a,part:3,name:s[p.field],values:u.join(" ")}))}}}))}t.set("ariaLabel",e.join(""))}},n.createShapePointsCfg=function(t){var e=this.getXScale(),n=this.getYScale();return{x:this._normalizeValues(t[e.field],e),y:n?this._normalizeValues(t[n.field],n):t.y?t.y:.1,y0:n?n.scale(this.getYMinValue()):void 0}},n.getYMinValue=function(){var t=this.getYScale(),e=t.min,n=t.max;return this.get("startOnZero")?n<=0&&e<=0?n:e>=0?e:0:e},n._normalizeValues=function(t,e){var n=[];if(l(t))for(var i=0,r=t.length;ie);r++){if(i[i.length-1][1]<=e){r=i.length-1;break}if(i[r][0]<=e&&i[r][1]>e)break}}else{(i=t.values).sort((function(t,e){return t-e}));for(var o=i.length;re)&&!((i[r-1]+i[r])/2<=e&&(i[r+1]+i[r])/2>e);r++)if((i[i.length-2]+i[i.length-1])/2<=e){r=i.length-1;break}}return i[r]},n.getSnapRecords=function(t){var e=this,n=e.get("coord"),i=e.getXScale(),r=e.getYScale(),a=i.field,s=e.get("dataArray");this.get("hasSorted")||this._sort(s);var c=[],u=n.invertPoint(t),h=u.x;e.isInCircle()&&!n.transposed&&h>(1+i.rangeMax())/2&&(h=i.rangeMin());var f=i.invert(h);i.isCategory||(f=e._getSnap(i,f));var d=[];if(s.forEach((function(t){t.forEach((function(t){var n=o(t._origin)?t[a]:t._origin[a];e._isEqual(n,f,i)&&d.push(t)}))})),this.hasAdjust("stack")&&n.isPolar&&n.transposed){if(h>=0&&h<=1){var p=r.invert(u.y);p=e._getSnap(r,p,d),d.forEach((function(t){(l(p)?t._originY.toString()===p.toString():t._originY===p)&&c.push(t)}))}}else c=d;return c},n.getRecords=function(t){var e=this,n=this.getXScale(),i=this.get("dataArray"),r=n.field;return i.map((function(i){for(var a=i.length-1;a>=0;a--){var s=i[a],l=o(s._origin)?s[r]:s._origin[r];if(e._isEqual(l,t,n))return s}return null}))},n._isEqual=function(t,e,n){return"timeCat"===n.type?ft(t)===e:e===t},n.position=function(t){return this._setAttrOptions("position",{field:t}),this},n.color=function(t,e){return this._createAttrOption("color",t,e,mt.colors),this},n.size=function(t,e){return this._createAttrOption("size",t,e,mt.sizes),this},n.shape=function(t,e){var n=this.get("type"),i=mt.shapes[n]||[];return this._createAttrOption("shape",t,e,i),this},n.style=function(t,e){var n,i=this.get("styleOptions");return i||(i={},this.set("styleOptions",i)),c(t)&&(e=t,t=null),t&&(n=Jt(t)),i.fields=n,i.style=e,this},n.adjust=function(t){return p(t)&&(t={type:t}),this.set("adjust",t),this},n.animate=function(t){return this.set("animateCfg",t),this},n.changeData=function(t){this.set("data",t),this.set("scales",{}),this.get("isInit")&&(this.set("isInit",!1),this.init())},n.clearInner=function(){var t=this.get("container");t&&t.clear()},n.reset=function(){this.set("isInit",!1),this.set("attrs",{}),this.set("attrOptions",{}),this.set("adjust",null),this.clearInner()},n.clear=function(){this.clearInner()},n.destroy=function(){this.set("isInit",!1),this.clear(),t.prototype.destroy.call(this)},n._display=function(t){this.set("visible",t);var e=this.get("container"),n=e.get("canvas");e.set("visible",t),n.draw()},n.show=function(){this._display(!0)},n.hide=function(){this._display(!1)},e}(St),Qt={};function Kt(t){return Qt[t]}function te(t,e){Qt[t]=e}var ee=function(){function t(t){this.type="base",this.isCategory=!1,this.isLinear=!1,this.isContinuous=!1,this.isIdentity=!1,this.values=[],this.range=[0,1],this.ticks=[],this.__cfg__=t,this.initCfg(),this.init()}return t.prototype.translate=function(t){return t},t.prototype.change=function(t){T(this.__cfg__,t),this.init()},t.prototype.clone=function(){return this.constructor(this.__cfg__)},t.prototype.getTicks=function(){var t=this;return N(this.ticks,(function(e,n){return c(e)?e:{text:t.getText(e,n),tickValue:e,value:t.scale(e)}}))},t.prototype.getText=function(t,e){var n=this.formatter,i=n?n(t,e):t;return o(i)||!s(i.toString)?"":i.toString()},t.prototype.getConfig=function(t){return this.__cfg__[t]},t.prototype.init=function(){T(this,this.__cfg__),this.setDomain(),E(this.getConfig("ticks"))&&(this.ticks=this.calculateTicks())},t.prototype.initCfg=function(){},t.prototype.setDomain=function(){},t.prototype.calculateTicks=function(){var t=this.tickMethod,e=[];if(p(t)){var n=Kt(t);if(!n)throw new Error("There is no method to to calculate ticks!");e=n(this)}else s(t)&&(e=t(this));return e},t.prototype.rangeMin=function(){return v(this.range)},t.prototype.rangeMax=function(){return m(this.range)},t.prototype.calcPercent=function(t,e,n){return x(t)?(t-e)/(n-e):NaN},t.prototype.calcValue=function(t,e,n){return e+t*(n-e)},t}(),ne=function(t,e){return(ne=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)}; +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-index"],{"163c":function(t,e,n){t.exports=n.p+"static/media/crystal.826fc717.mp3"},"1de5":function(t,e,n){"use strict";t.exports=function(t,e){return e||(e={}),t=t&&t.__esModule?t.default:t,"string"!==typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t)}},"2ec7":function(t,e,n){"use strict";var i;n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return i}));var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.canvasId?n("v-uni-view",{staticClass:"l-f2",style:t.customStyle},[t.isMask?n("v-uni-cover-view",{staticClass:"l-f2__mask"}):t._e(),t.use2dCanvas?n("v-uni-canvas",{staticClass:"l-f2__canvas",style:"width:"+t.width+"px;height:"+t.height+"px",attrs:{type:"2d",id:t.canvasId,"disable-scroll":t.isDisableScroll},on:{touchstart:function(e){arguments[0]=e=t.$handleEvent(e),t.touchStart.apply(void 0,arguments)},touchmove:function(e){arguments[0]=e=t.$handleEvent(e),t.touchMove.apply(void 0,arguments)},touchend:function(e){arguments[0]=e=t.$handleEvent(e),t.touchEnd.apply(void 0,arguments)}}}):n("v-uni-canvas",{staticClass:"l-f2__canvas",style:"width:"+t.width+"px;height:"+t.height+"px",attrs:{width:t.nodeWidth,height:t.nodeHeight,"canvas-id":t.canvasId,id:t.canvasId,"disable-scroll":t.isDisableScroll},on:{touchstart:function(e){arguments[0]=e=t.$handleEvent(e),t.touchStart.apply(void 0,arguments)},touchmove:function(e){arguments[0]=e=t.$handleEvent(e),t.touchMove.apply(void 0,arguments)},touchend:function(e){arguments[0]=e=t.$handleEvent(e),t.touchEnd.apply(void 0,arguments)}}}),t.isCloud?n("v-uni-view",{staticStyle:{width:"2048px",height:"2048px",position:"fixed",left:"9999px"}},[t.use2dCanvas?n("v-uni-canvas",{staticClass:"l-f2__canvas",attrs:{type:"2d","canvas-id":t.canvasId+"_cloud",id:t.canvasId+"_cloud"}}):n("v-uni-canvas",{staticClass:"l-f2__canvas",attrs:{"canvas-id":t.canvasId+"_cloud",id:t.canvasId+"_cloud"}})],1):t._e()],1):t._e()},a=[]},"351c":function(t,e,n){"use strict";var i=n("c43a"),r=n.n(i);r.a},"35b3":function(t,e,n){var i=n("23e7");i({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},"3c48":function(t,e,n){"use strict";function i(t,e){t=t.split("."),e=e.split(".");var n=Math.max(t.length,e.length);while(t.lengtha)return 1;if(r1&&void 0!==e[1]?e[1]:null,i.next=3,n.getContext(n.canvasId);case 3:if(r=i.sent,!n.isCloud){i.next=17;break}if(a=null,!n.imageMask){i.next=13;break}return n.isMask=!0,i.next=10,n.getImageMask(r);case 10:a=i.sent,n.imageData=a,n.isMask=!1;case 13:return i.next=15,n.getContext(n.canvasId+"_cloud");case 15:s=i.sent,r=Object.assign({},r,{cloud:s,imageMask:a});case 17:return i.next=19,t(r);case 19:o=i.sent,o&&(o.repaint(),n.chart=o,n.canvasEl=o.get("el"),n.isInited=!0);case 21:case"end":return i.stop()}}),i)})))()},changeData:function(t){this.chart&&this.chart.changeData(t||this.source)},clear:function(){this.chart&&this.chart.clear()},destroy:function(){this.chart&&this.chart.destroy()},repaint:function(){this.changeData(this.source)},reset:function(t){var e=this;this.$watch("isInited",(function(n){return n&&t(e.chart)}),{immediate:!0})},canvasToTempFilePath:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=this.use2dCanvas,i=this.canvasId,r=this.config;return new Promise((function(a,s){var o=Object.assign({canvasId:i,success:a,fail:s},e);if(n){var l=r[i].canvas;delete o.canvasId,o.canvas=l}uni.canvasToTempFilePath(o,t)}))},getImageMask:function(t){var e=this;return new Promise((function(n){uni.getImageInfo({src:e.imageMask,success:function(){var i=(0,r.default)(regeneratorRuntime.mark((function i(a){var s,o,l,c,u,h;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(!a.path){i.next=17;break}if(s=t.context,o=t.width,l=t.height,c=t.canvas,!e.use2dCanvas){i.next=7;break}u=function(){var t=c.createImage();t.crossOrigin="",t.src=a.path,t.onload=(0,r.default)(regeneratorRuntime.mark((function e(){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:s.drawImage(t,0,0,a.width,a.height,0,0,o,l),i=s.getImageData(0,0,o,l).data,s.clearRect(0,0,o,l),n(i);case 4:case"end":return e.stop()}}),e)})))},u(),i.next=17;break;case 7:return s.drawImage(a.path,0,0,a.width,a.height,0,0,o,l),i.next=10,e.canvasDraw(s);case 10:return i.next=12,s.getImageData(0,0,o,l);case 12:return h=i.sent,s.clearRect(0,0,o,l),i.next=16,e.canvasDraw(s);case 16:n(h);case 17:case"end":return i.stop()}}),i)})));function a(t){return i.apply(this,arguments)}return a}(),fail:function(t){console.error(JSON.stringify(t)),n(null)}})}))},canvasDraw:function(t){return new Promise((function(e){t.draw(!1,(function(){setTimeout((function(){e(!0)}),100)}))}))},getContext:function(t){var e,n=this,i=this.use2dCanvas,r=this.type,o=void 0===r?"2d":r,l=this.config;return(null===(e=l[t])||void 0===e?void 0:e.context)?Promise.resolve(l[t]):new Promise(i?function(e){uni.createSelectorQuery().in(n).select("#".concat(t)).fields({node:!0,size:!0}).exec((function(i){var r=i[0],l=r.node,c=r.width,u=r.height;c=c||300,u=u||300;var h=l.getContext(o);t.includes("_cloud")||(n.width=c,n.height=u),l.width=c*s.pixelRatio,l.height=u*s.pixelRatio,n.config[t]={context:(0,a.default)(h),width:c,height:u,pixelRatio:s.pixelRatio,canvas:l},e(n.config[t])}))}:function(e){uni.createSelectorQuery().in(n).select("#".concat(t)).boundingClientRect().exec((function(i){if(i){var r=i[0],o=r.width,l=r.height;o=o||300,l=l||300;var c=uni.createCanvasContext(t,n);t.includes("_cloud")||(n.width=o,n.height=l),n.config[t]={context:(0,a.default)(c),width:o,height:l,pixelRatio:s.pixelRatio},e(n.config[t])}}))})},touchStart:function(t){this.canvasEl&&this.canvasEl.dispatchEvent("touchstart",(0,s.wrapEvent)(t))},touchMove:function(t){this.canvasEl&&this.canvasEl.dispatchEvent("touchmove",(0,s.wrapEvent)(t))},touchEnd:function(t){this.canvasEl&&this.canvasEl.dispatchEvent("touchend",(0,s.wrapEvent)(t))}}};e.default=o},"6b934":function(t,e,n){var i=n("23e7"),r=Math.log,a=Math.LOG10E;i({target:"Math",stat:!0},{log10:function(t){return r(t)*a}})},"6c57":function(t,e,n){var i=n("23e7"),r=n("da84");i({global:!0},{globalThis:r})},7039:function(t,e,n){var i=n("23e7"),r=n("d039"),a=n("057f").f,s=r((function(){return!Object.getOwnPropertyNames(1)}));i({target:"Object",stat:!0,forced:s},{getOwnPropertyNames:a})},"72d1":function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/**\n * Web唐明明\n * 匆匆数载恍如梦,岁月迢迢华发增。\n * 碌碌无为枉半生,一朝惊醒万事空。\n */.ios-bottom[data-v-0e9d1fe2]{padding-bottom:env(safe-area-inset-bottom);padding-bottom:constant(safe-area-inset-bottom)}.ios-left[data-v-0e9d1fe2]{padding-left:env(safe-area-inset-left);padding-left:constant(safe-area-inset-left)}.ios-right[data-v-0e9d1fe2]{padding-right:env(safe-area-inset-right);padding-right:constant(safe-area-inset-right)}.ios-top[data-v-0e9d1fe2]{padding-top:0}.vertical[data-v-0e9d1fe2]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-pack:center}.nowrap[data-v-0e9d1fe2]{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ellipsis[data-v-0e9d1fe2]{max-width:100%;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ellipsis-3[data-v-0e9d1fe2]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3}.ellipsis-4[data-v-0e9d1fe2]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4}.ellipsis-5[data-v-0e9d1fe2]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:5}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.content[data-v-0e9d1fe2]{min-height:calc(100vh - 60px);background:#1f1922;overflow:hidden}.situation[data-v-0e9d1fe2]{margin:0 %?30?%;background-image:-webkit-linear-gradient(top,#2b2449,#1f1922);background-image:linear-gradient(180deg,#2b2449,#1f1922);border-radius:%?20?%;padding:%?30?% %?15?% %?60?%}.situation .header[data-v-0e9d1fe2]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;padding-bottom:%?30?%}.situation .header .number[data-v-0e9d1fe2]{color:#fff;font-size:%?32?%;font-weight:700;line-height:%?70?%}.situation .header .title[data-v-0e9d1fe2]{color:hsla(0,0%,100%,.4);font-size:%?26?%;line-height:%?40?%}.situation .header .header-item[data-v-0e9d1fe2]{width:50%;padding:%?15?%;padding-bottom:%?30?%;box-sizing:border-box}.situation .header .header-item[data-v-0e9d1fe2]:first-child{width:100%}.situation .header .header-item:first-child .number[data-v-0e9d1fe2]{font-size:%?32?%}.situation .chart[data-v-0e9d1fe2]{background:rgba(43,36,73,.8);padding:%?15?%;border-radius:%?10?%}.situation .chart .title[data-v-0e9d1fe2]{text-align:center;line-height:%?80?%;color:hsla(0,0%,100%,.4);font-size:%?26?%}.situation .chart .chart-f2[data-v-0e9d1fe2]{height:200px}.total[data-v-0e9d1fe2]{position:relative;margin:%?30?%;background:#2b2449;padding:0;display:-webkit-box;display:-webkit-flex;display:flex;border-radius:%?20?%}.total .item[data-v-0e9d1fe2]{width:50%;padding:0 %?30?%;text-align:center;color:#fff;font-size:%?26?%;line-height:%?76?%}.total .item uni-image[data-v-0e9d1fe2]{width:%?38?%;height:%?38?%;vertical-align:top;margin-top:calc((%?76?% - %?38?%) / 2);margin-right:%?15?%}.total[data-v-0e9d1fe2]::before{position:absolute;top:0;bottom:0;content:"";width:%?2?%;left:50%;background:-webkit-linear-gradient(top,transparent,hsla(0,0%,100%,.7),transparent);background:linear-gradient(180deg,transparent,hsla(0,0%,100%,.7),transparent)}.help-icon[data-v-0e9d1fe2]{margin-left:%?10?%;opacity:.7}.ore[data-v-0e9d1fe2]{position:relative;padding-top:120%}.ore > uni-image[data-v-0e9d1fe2]{width:100%;position:absolute;top:0;left:0}.ore .ore-lists[data-v-0e9d1fe2]{position:absolute;top:0;left:0;height:100%;width:100%;z-index:1}.ore .ore-lists .oct-float-item[data-v-0e9d1fe2], .ore .ore-lists .ore-item-nav[data-v-0e9d1fe2], .ore .ore-lists .ore-item[data-v-0e9d1fe2], .ore .ore-lists .oct-login[data-v-0e9d1fe2]{position:absolute;text-align:center}.ore .ore-lists .oct-float-item .text[data-v-0e9d1fe2], .ore .ore-lists .ore-item-nav .text[data-v-0e9d1fe2], .ore .ore-lists .ore-item .text[data-v-0e9d1fe2], .ore .ore-lists .oct-login .text[data-v-0e9d1fe2]{color:#fff;font-size:%?22?%;line-height:%?40?%;text-shadow:0 %?3?% %?3?% rgba(0,0,0,.2)}.ore .ore-lists .oct-float-item .oct-icon[data-v-0e9d1fe2], .ore .ore-lists .ore-item-nav .oct-icon[data-v-0e9d1fe2], .ore .ore-lists .ore-item .oct-icon[data-v-0e9d1fe2], .ore .ore-lists .oct-login .oct-icon[data-v-0e9d1fe2]{display:inline-block;width:%?58?%;height:%?58?%;line-height:%?58?%;background:-webkit-radial-gradient(50% 50%,circle,rgba(202,102,224,0) 40%,#ca66e0);background:radial-gradient(circle at 50% 50%,rgba(202,102,224,0) 40%,#ca66e0);border-radius:50%;box-shadow:0 0 %?5?% %?5?% rgba(202,102,224,.5)}.ore .ore-lists .oct-float-item .oct-icon .icon[data-v-0e9d1fe2], .ore .ore-lists .ore-item-nav .oct-icon .icon[data-v-0e9d1fe2], .ore .ore-lists .ore-item .oct-icon .icon[data-v-0e9d1fe2], .ore .ore-lists .oct-login .oct-icon .icon[data-v-0e9d1fe2]{margin-top:%?10?%;height:%?38?%;width:%?38?%}.ore .ore-lists .ore-item-nav[data-v-0e9d1fe2]{right:%?30?%;top:12%}.ore .ore-lists .oct-login[data-v-0e9d1fe2]{left:42%;top:45%}.task-block[data-v-0e9d1fe2]{white-space:nowrap;margin-bottom:%?30?%}.task-block .item[data-v-0e9d1fe2]{background:#2b2449;display:inline-block;margin-left:%?30?%;width:%?260?%;border-radius:%?20?%;text-align:center;padding:%?20?% %?15?%}.task-block .item[data-v-0e9d1fe2]:first-child{margin-left:%?30?%}.task-block .item[data-v-0e9d1fe2]:last-child{margin-right:%?30?%}.task-block .item .icon[data-v-0e9d1fe2]{display:inline-block;margin:%?15?% 0;width:%?98?%;height:%?98?%;line-height:%?98?%;background:#1f183d;border-radius:50%;text-align:center}.task-block .item .icon uni-image[data-v-0e9d1fe2]{width:%?56?%;height:%?56?%;vertical-align:middle}.task-block .item .text[data-v-0e9d1fe2]{font-size:%?26?%;color:hsla(0,0%,100%,.4);line-height:%?40?%}.task-block .item .title[data-v-0e9d1fe2]{font-size:%?30?%;color:#fff;font-weight:700;line-height:%?50?%}.task-block .item .submit-title[data-v-0e9d1fe2]{font-size:%?22?%;color:hsla(0,0%,100%,.4);line-height:%?40?%}',""]),t.exports=e},"89ef":function(t,e,n){var i=n("24fb"),r=n("1de5"),a=n("57dc");e=i(!1);var s=r(a);e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/**\n * Web唐明明\n * 匆匆数载恍如梦,岁月迢迢华发增。\n * 碌碌无为枉半生,一朝惊醒万事空。\n */.ios-bottom[data-v-218f84fe]{padding-bottom:env(safe-area-inset-bottom);padding-bottom:constant(safe-area-inset-bottom)}.ios-left[data-v-218f84fe]{padding-left:env(safe-area-inset-left);padding-left:constant(safe-area-inset-left)}.ios-right[data-v-218f84fe]{padding-right:env(safe-area-inset-right);padding-right:constant(safe-area-inset-right)}.ios-top[data-v-218f84fe]{padding-top:0}.vertical[data-v-218f84fe]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-pack:center}.nowrap[data-v-218f84fe]{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ellipsis[data-v-218f84fe]{max-width:100%;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ellipsis-3[data-v-218f84fe]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3}.ellipsis-4[data-v-218f84fe]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4}.ellipsis-5[data-v-218f84fe]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:5}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */@font-face{font-family:uniicons;src:url('+s+') format("truetype")}.uni-icons[data-v-218f84fe]{font-family:uniicons;text-decoration:none;text-align:center}',""]),t.exports=e},"8ae7":function(t,e,n){t.exports=n.p+"static/img/gemstone-ore-icon.1bea6c28.png"},"8ba4":function(t,e,n){var i=n("23e7"),r=n("5e89");i({target:"Number",stat:!0},{isInteger:r})},9129:function(t,e,n){var i=n("23e7");i({target:"Number",stat:!0},{isNaN:function(t){return t!=t}})},"93f3":function(t,e,n){"use strict";var i=n("fe87"),r=n.n(i);r.a},9769:function(t,e,n){t.exports=n.p+"static/img/crystal-icon.9cbfd02a.png"},"99ac":function(t,e,n){"use strict";var i=n("a9a0"),r=n.n(i);r.a},"9b72":function(t,e,n){"use strict";var i=n("cf6e"),r=n.n(i);r.a},"9e2c":function(t,e,n){"use strict";var i=n("4ea4");n("4160"),n("b64b"),n("d3b7"),n("e25e"),n("ac1f"),n("5319"),n("1276"),n("159b"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n("2909")),a=n("3c48"),s={fillStyle:"FillStyle",fontSize:"FontSize",globalAlpha:"GlobalAlpha",opacity:"GlobalAlpha",lineCap:"LineCap",lineJoin:"LineJoin",lineWidth:"LineWidth",miterLimit:"MiterLimit",strokeStyle:"StrokeStyle",textAlign:"TextAlign",textBaseline:"TextBaseline",shadow:"Shadow",font:"FontSize"};function o(t){for(var e=0,n=0;n0&&t.charCodeAt(n)<128?e++:e+=2;return e}var l=/(\d*\.?\d*)px/,c=/#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])\b/g,u=function(t){return t.uniTransform=t.transform,t.transform=function(){for(var e=arguments.length,n=new Array(e),i=0;i6&&n.pop(),t.uniTransform.apply(t,n)},t.getImageData||(t.getImageData=function(){for(var e=arguments.length,n=new Array(e),i=0;i-1})(e,t)||e.push(t)})),e};function v(t){if(n(t))return t[0]}function m(t){if(n(t))return t[t.length-1]}var y=function(t,e){var n=e.toString(),i=n.indexOf(".");if(-1===i)return Math.round(t);var r=n.substr(i+1).length;return r>20&&(r=20),parseFloat(t.toFixed(r))},x=function(t){return a(t,"Number")},_=function(t){return o(t)?"":t.toString()},b=function(t){var e=_(t);return e.charAt(0).toLowerCase()+e.substring(1)};function w(t,e){return t&&e?t.replace(/\\?\{([^{}]+)\}/g,(function(t,n){return"\\"===t.charAt(0)?t.slice(1):void 0===e[n]?"":e[n]})):t}var S=function(t){var e=_(t);return e.charAt(0).toUpperCase()+e.substring(1)},M={}.toString,C=function(t){return a(t,"Boolean")},k=function(t){return a(t,"Date")},P=Object.prototype;function A(t,e){for(var n in e)e.hasOwnProperty(n)&&"constructor"!==n&&void 0!==e[n]&&(t[n]=e[n])}function T(t,e,n,i){return e&&A(t,e),n&&A(t,n),i&&A(t,i),t}function D(t,e,n,i){for(var r in n=n||0,i=i||5,e)if(e.hasOwnProperty(r)){var a=e[r];null!==a&&d(a)?(d(t[r])||(t[r]={}),n0?new Date(t).getTime():new Date(t.replace(/-/gi,"/")).getTime()),k(t)&&(t=t.getTime()),t}var dt=Object.freeze({__proto__:null,Array:W,upperFirst:S,lowerFirst:b,isString:p,isNumber:x,isBoolean:C,isFunction:s,isDate:k,isArray:l,isNil:o,isObject:c,isPlainObject:d,isEqual:F,deepMix:I,mix:T,each:u,uniq:g,find:function(t,e){if(!l(t))return null;var n;if(s(e)&&(n=e),d(e)&&(n=function(t){return function(t,e){var n=h(e),i=n.length;if(o(t))return!i;for(var r=0;r=0;return n?r?2*Math.PI-i:i:r?i:2*Math.PI-i},zero:function(t){return 0===t[0]&&0===t[1]},distance:function(t,e){var n=e[0]-t[0],i=e[1]-t[1];return Math.sqrt(n*n+i*i)},clone:function(t){return[t[0],t[1]]},min:function(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t},max:function(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t},transformMat2d:function(t,e,n){var i=e[0],r=e[1];return t[0]=n[0]*i+n[2]*r+n[4],t[1]=n[1]*i+n[3]*r+n[5],t}},Pt=[1,0,0,1,0,0],At=function(){var t=e.prototype;function e(t){var e,n;this._initDefaultCfg(),T(this,t),this.plot?(e=this.plot.bl,n=this.plot.tr,this.start=e,this.end=n):(e=this.start,n=this.end),this.init(e,n)}return t._initDefaultCfg=function(){},t._scale=function(t,e){var n=this.matrix,i=this.center;Ct.translate(n,n,[i.x,i.y]),Ct.scale(n,n,[t,e]),Ct.translate(n,n,[-i.x,-i.y])},t.init=function(t,e){this.matrix=[].concat(Pt),this.center={x:(e.x-t.x)/2+t.x,y:(e.y-t.y)/2+t.y},this.scale&&this._scale(this.scale[0],this.scale[1])},t.convertPoint=function(t){var e=this._convertPoint(t),n=e.x,i=e.y;if(!Ct.isChanged(this.matrix))return{x:n,y:i};var r=[n,i];return kt.transformMat2d(r,r,this.matrix),{x:r[0],y:r[1]}},t.invertPoint=function(t){return this._invertPoint(t)},t._convertPoint=function(t){return t},t._invertPoint=function(t){return t},t.reset=function(t){this.plot=t;var e=t.bl,n=t.tr;this.start=e,this.end=n,this.init(e,n)},e}(),Tt=function(t){function e(){return t.apply(this,arguments)||this}_t(e,t);var n=e.prototype;return n._initDefaultCfg=function(){this.type="cartesian",this.transposed=!1,this.isRect=!0},n.init=function(e,n){t.prototype.init.call(this,e,n),this.x={start:e.x,end:n.x},this.y={start:e.y,end:n.y}},n._convertPoint=function(t){var e=this.transposed,n=e?"y":"x",i=e?"x":"y",r=this.x,a=this.y;return{x:r.start+(r.end-r.start)*t[n],y:a.start+(a.end-a.start)*t[i]}},n._invertPoint=function(t){var e=this.transposed,n=e?"y":"x",i=e?"x":"y",r=this.x,a=this.y,s={};return s[n]=(t.x-r.start)/(r.end-r.start),s[i]=(t.y-a.start)/(a.end-a.start),s},e}(At);function Dt(t,e){return p(e)?e:t.invert(t.scale(e))}At.Cartesian=Tt,At.Rect=Tt;var It=function(){function t(t){var e=this;this.type="base",this.name=null,this.method=null,this.values=[],this.scales=[],this.linear=null;var n=null,i=this.callback;if(t.callback){var r=t.callback;n=function(){for(var t=arguments.length,n=new Array(t),a=0;aa&&(a=u)}(re.max)&&e.change({min:r,max:a})},n._sort=function(t){var e=this.getXScale(),n=e.field,i=e.type;"identity"!==i&&e.values.length>1&&u(t,(function(t){t.sort((function(t,r){return"timeCat"===i?ft(t._origin[n])-ft(r._origin[n]):e.translate(t._origin[n])-e.translate(r._origin[n])}))})),this.set("hasSorted",!0),this.set("dataArray",t)},n.paint=function(){var t=this.get("mappingData"),e=[],n=this.getShapeFactory();n.setCoord(this.get("coord")),this._beforeMapping(t);for(var i=0,r=t.length;i5?c:h,u=t.slice(0,5).map((function(t){var e=t._origin;return i.getText(e[i.field])+":"+r.getText(e[r.field])}));e.push(w(o,{index:n+1,count:a,part:3,name:s[p.field],values:u.join(" ")}))}}}))}t.set("ariaLabel",e.join(""))}},n.createShapePointsCfg=function(t){var e=this.getXScale(),n=this.getYScale();return{x:this._normalizeValues(t[e.field],e),y:n?this._normalizeValues(t[n.field],n):t.y?t.y:.1,y0:n?n.scale(this.getYMinValue()):void 0}},n.getYMinValue=function(){var t=this.getYScale(),e=t.min,n=t.max;return this.get("startOnZero")?n<=0&&e<=0?n:e>=0?e:0:e},n._normalizeValues=function(t,e){var n=[];if(l(t))for(var i=0,r=t.length;ie);r++){if(i[i.length-1][1]<=e){r=i.length-1;break}if(i[r][0]<=e&&i[r][1]>e)break}}else{(i=t.values).sort((function(t,e){return t-e}));for(var o=i.length;re)&&!((i[r-1]+i[r])/2<=e&&(i[r+1]+i[r])/2>e);r++)if((i[i.length-2]+i[i.length-1])/2<=e){r=i.length-1;break}}return i[r]},n.getSnapRecords=function(t){var e=this,n=e.get("coord"),i=e.getXScale(),r=e.getYScale(),a=i.field,s=e.get("dataArray");this.get("hasSorted")||this._sort(s);var c=[],u=n.invertPoint(t),h=u.x;e.isInCircle()&&!n.transposed&&h>(1+i.rangeMax())/2&&(h=i.rangeMin());var f=i.invert(h);i.isCategory||(f=e._getSnap(i,f));var d=[];if(s.forEach((function(t){t.forEach((function(t){var n=o(t._origin)?t[a]:t._origin[a];e._isEqual(n,f,i)&&d.push(t)}))})),this.hasAdjust("stack")&&n.isPolar&&n.transposed){if(h>=0&&h<=1){var p=r.invert(u.y);p=e._getSnap(r,p,d),d.forEach((function(t){(l(p)?t._originY.toString()===p.toString():t._originY===p)&&c.push(t)}))}}else c=d;return c},n.getRecords=function(t){var e=this,n=this.getXScale(),i=this.get("dataArray"),r=n.field;return i.map((function(i){for(var a=i.length-1;a>=0;a--){var s=i[a],l=o(s._origin)?s[r]:s._origin[r];if(e._isEqual(l,t,n))return s}return null}))},n._isEqual=function(t,e,n){return"timeCat"===n.type?ft(t)===e:e===t},n.position=function(t){return this._setAttrOptions("position",{field:t}),this},n.color=function(t,e){return this._createAttrOption("color",t,e,mt.colors),this},n.size=function(t,e){return this._createAttrOption("size",t,e,mt.sizes),this},n.shape=function(t,e){var n=this.get("type"),i=mt.shapes[n]||[];return this._createAttrOption("shape",t,e,i),this},n.style=function(t,e){var n,i=this.get("styleOptions");return i||(i={},this.set("styleOptions",i)),c(t)&&(e=t,t=null),t&&(n=Jt(t)),i.fields=n,i.style=e,this},n.adjust=function(t){return p(t)&&(t={type:t}),this.set("adjust",t),this},n.animate=function(t){return this.set("animateCfg",t),this},n.changeData=function(t){this.set("data",t),this.set("scales",{}),this.get("isInit")&&(this.set("isInit",!1),this.init())},n.clearInner=function(){var t=this.get("container");t&&t.clear()},n.reset=function(){this.set("isInit",!1),this.set("attrs",{}),this.set("attrOptions",{}),this.set("adjust",null),this.clearInner()},n.clear=function(){this.clearInner()},n.destroy=function(){this.set("isInit",!1),this.clear(),t.prototype.destroy.call(this)},n._display=function(t){this.set("visible",t);var e=this.get("container"),n=e.get("canvas");e.set("visible",t),n.draw()},n.show=function(){this._display(!0)},n.hide=function(){this._display(!1)},e}(St),Qt={};function Kt(t){return Qt[t]}function te(t,e){Qt[t]=e}var ee=function(){function t(t){this.type="base",this.isCategory=!1,this.isLinear=!1,this.isContinuous=!1,this.isIdentity=!1,this.values=[],this.range=[0,1],this.ticks=[],this.__cfg__=t,this.initCfg(),this.init()}return t.prototype.translate=function(t){return t},t.prototype.change=function(t){T(this.__cfg__,t),this.init()},t.prototype.clone=function(){return this.constructor(this.__cfg__)},t.prototype.getTicks=function(){var t=this;return N(this.ticks,(function(e,n){return c(e)?e:{text:t.getText(e,n),tickValue:e,value:t.scale(e)}}))},t.prototype.getText=function(t,e){var n=this.formatter,i=n?n(t,e):t;return o(i)||!s(i.toString)?"":i.toString()},t.prototype.getConfig=function(t){return this.__cfg__[t]},t.prototype.init=function(){T(this,this.__cfg__),this.setDomain(),E(this.getConfig("ticks"))&&(this.ticks=this.calculateTicks())},t.prototype.initCfg=function(){},t.prototype.setDomain=function(){},t.prototype.calculateTicks=function(){var t=this.tickMethod,e=[];if(p(t)){var n=Kt(t);if(!n)throw new Error("There is no method to to calculate ticks!");e=n(this)}else s(t)&&(e=t(this));return e},t.prototype.rangeMin=function(){return v(this.range)},t.prototype.rangeMax=function(){return m(this.range)},t.prototype.calcPercent=function(t,e,n){return x(t)?(t-e)/(n-e):NaN},t.prototype.calcValue=function(t,e,n){return e+t*(n-e)},t}(),ne=function(t,e){return(ne=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)}; /*! ***************************************************************************** Copyright (c) Microsoft Corporation. @@ -12,4 +12,4 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - ***************************************************************************** */function ie(t,e){function n(){this.constructor=t}ne(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}function re(){for(var t=0,e=0,n=arguments.length;ethis.max?NaN:this.values[i]},e.prototype.getText=function(e){for(var n=[],i=1;i1?t-1:t}},e}(ee),se=/d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,oe="[^\\s]+",le=/\[([^]*?)\]/gm;function ce(t,e){for(var n=[],i=0,r=t.length;i-1?i:null}};function he(t){for(var e=[],n=1;n3?0:(t-t%10!=10?1:0)*t%10]}},ve=he({},ge),me=function(t){return ve=he(ve,t)},ye=function(t){return t.replace(/[|\\{()[^$+*?.-]/g,"\\$&")},xe=function(t,e){for(void 0===e&&(e=2),t=String(t);t.length0?"-":"+")+xe(100*Math.floor(Math.abs(e)/60)+Math.abs(e)%60,4)},Z:function(t){var e=t.getTimezoneOffset();return(e>0?"-":"+")+xe(Math.floor(Math.abs(e)/60),2)+":"+xe(Math.abs(e)%60,2)}},be=function(t){return+t-1},we=[null,"[1-9]\\d?"],Se=[null,oe],Me=["isPm",oe,function(t,e){var n=t.toLowerCase();return n===e.amPm[0]?0:n===e.amPm[1]?1:null}],Ce=["timezoneOffset","[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z?",function(t){var e=(t+"").match(/([+-]|\d\d)/gi);if(e){var n=60*+e[1]+parseInt(e[2],10);return"+"===e[0]?n:-n}return 0}],ke={D:["day","[1-9]\\d?"],DD:["day","\\d\\d"],Do:["day","[1-9]\\d?"+oe,function(t){return parseInt(t,10)}],M:["month","[1-9]\\d?",be],MM:["month","\\d\\d",be],YY:["year","\\d\\d",function(t){var e=+(""+(new Date).getFullYear()).substr(0,2);return+(""+(+t>68?e-1:e)+t)}],h:["hour","[1-9]\\d?",void 0,"isPm"],hh:["hour","\\d\\d",void 0,"isPm"],H:["hour","[1-9]\\d?"],HH:["hour","\\d\\d"],m:["minute","[1-9]\\d?"],mm:["minute","\\d\\d"],s:["second","[1-9]\\d?"],ss:["second","\\d\\d"],YYYY:["year","\\d{4}"],S:["millisecond","\\d",function(t){return 100*+t}],SS:["millisecond","\\d\\d",function(t){return 10*+t}],SSS:["millisecond","\\d{3}"],d:we,dd:we,ddd:Se,dddd:Se,MMM:["month",oe,ue("monthNamesShort")],MMMM:["month",oe,ue("monthNames")],a:Me,A:Me,ZZ:Ce,Z:Ce},Pe={default:"ddd MMM DD YYYY HH:mm:ss",shortDate:"M/D/YY",mediumDate:"MMM D, YYYY",longDate:"MMMM D, YYYY",fullDate:"dddd, MMMM D, YYYY",isoDate:"YYYY-MM-DD",isoDateTime:"YYYY-MM-DDTHH:mm:ssZ",shortTime:"HH:mm",mediumTime:"HH:mm:ss",longTime:"HH:mm:ss.SSS"},Ae=function(t){return he(Pe,t)},Te=function(t,e,n){if(void 0===e&&(e=Pe.default),void 0===n&&(n={}),"number"==typeof t&&(t=new Date(t)),"[object Date]"!==Object.prototype.toString.call(t)||isNaN(t.getTime()))throw new Error("Invalid Date pass to format");var i=[];e=(e=Pe[e]||e).replace(le,(function(t,e){return i.push(e),"@@@"}));var r=he(he({},ve),n);return(e=e.replace(se,(function(e){return _e[e](t,r)}))).replace(/@@@/g,(function(){return i.shift()}))};function De(t,e,n){if(void 0===n&&(n={}),"string"!=typeof e)throw new Error("Invalid format in fecha parse");if(e=Pe[e]||e,t.length>1e3)return null;var i={year:(new Date).getFullYear(),month:0,day:1,hour:0,minute:0,second:0,millisecond:0,isPm:null,timezoneOffset:null},r=[],a=[],s=e.replace(le,(function(t,e){return a.push(ye(e)),"@@@"})),o={},l={};s=ye(s).replace(se,(function(t){var e=ke[t],n=e[0],i=e[1],a=e[3];if(o[n])throw new Error("Invalid format. "+n+" specified twice in format");return o[n]=!0,a&&(l[a]=!0),r.push(e),"("+i+")"})),Object.keys(l).forEach((function(t){if(!o[t])throw new Error("Invalid format. "+t+" is required in specified format")})),s=s.replace(/@@@/g,(function(){return a.shift()}));var c=t.match(new RegExp(s,"i"));if(!c)return null;for(var u=he(he({},ve),n),h=1;h0?new Date(t).getTime():new Date(t.replace(/-/gi,"/")).getTime()),k(t)&&(t=t.getTime()),t}var Fe=36e5,Ne=24*Fe,ze=31*Ne,Be=[["HH:mm:ss",1e3],["HH:mm:ss",1e4],["HH:mm:ss",3e4],["HH:mm",6e4],["HH:mm",6e5],["HH:mm",18e5],["HH",Fe],["HH",6*Fe],["HH",12*Fe],["YYYY-MM-DD",Ne],["YYYY-MM-DD",4*Ne],["YYYY-WW",7*Ne],["YYYY-MM",ze],["YYYY-MM",4*ze],["YYYY-MM",6*ze],["YYYY",380*Ne]];function Le(t,e,n){var i,r=(i=function(t){return t[1]},function(t,e,n,r){for(var a=o(n)?0:n,s=o(r)?t.length:r;a>>1;i(t[l])>e?s=l:a=l+1}return a})(Be,(e-t)/n)-1,a=Be[r];return r<0?a=Be[0]:r>=Be.length&&(a=m(Be)),a}var je=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="timeCat",e}return ie(e,t),e.prototype.translate=function(t){t=Ee(t);var e=this.values.indexOf(t);return-1===e&&(e=x(t)&&t-1){var i=this.values[n],r=this.formatter;return r?r(i,e):Oe(i,this.mask)}return t},e.prototype.initCfg=function(){this.tickMethod="time-cat",this.mask="YYYY-MM-DD",this.tickCount=7},e.prototype.setDomain=function(){var e=this.values;u(e,(function(t,n){e[n]=Ee(t)})),e.sort((function(t,e){return t-e})),t.prototype.setDomain.call(this)},e}(ae),Xe=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.isContinuous=!0,e}return ie(e,t),e.prototype.scale=function(t){if(o(t))return NaN;var e=this.rangeMin(),n=this.rangeMax();return this.max===this.min?e:e+this.getScalePercent(t)*(n-e)},e.prototype.init=function(){t.prototype.init.call(this);var e=this.ticks,n=v(e),i=m(e);nthis.max&&(this.max=i),o(this.minLimit)||(this.min=n),o(this.maxLimit)||(this.max=i)},e.prototype.setDomain=function(){var t=function(t){var e=t.filter((function(t){return!isNaN(t)}));if(!e.length)return{min:0,max:0};if(l(t[0])){for(var n=[],i=0;ithis.max&&(this.min=e,this.max=n)},e.prototype.calculateTicks=function(){var e=this,n=t.prototype.calculateTicks.call(this);return this.nice||(n=i(n,(function(t){return t>=e.min&&t<=e.max}))),n},e.prototype.getScalePercent=function(t){var e=this.max,n=this.min;return(t-n)/(e-n)},e.prototype.getInvertPercent=function(t){return(t-this.rangeMin())/(this.rangeMax()-this.rangeMin())},e}(ee),Re=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="linear",e.isLinear=!0,e}return ie(e,t),e.prototype.invert=function(t){var e=this.getInvertPercent(t);return this.min+e*(this.max-this.min)},e.prototype.initCfg=function(){this.tickMethod="wilkinson-extended",this.nice=!1},e}(Xe);function Ge(t,e){var n=Math.E;return e>=0?Math.pow(n,Math.log(e)/t):-1*Math.pow(n,Math.log(-e)/t)}function He(t,e){return 1===t?1:Math.log(e)/Math.log(t)}function We(t,e,n){o(n)&&(n=Math.max.apply(null,t));var i=n;return u(t,(function(t){t>0&&t1&&(i=1),i}var Ve=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e}return ie(e,t),e.prototype.invert=function(t){var e,n=this.base,i=He(n,this.max),r=this.rangeMin(),a=this.rangeMax()-r,s=this.positiveMin;if(s){if(0===t)return 0;var o=1/(i-(e=He(n,s/n)))*a;if(t=0?1:-1;return Math.pow(a,n)*s},e.prototype.initCfg=function(){this.tickMethod="pow",this.exponent=2,this.tickCount=5,this.nice=!0},e.prototype.getScalePercent=function(t){var e=this.max,n=this.min;if(e===n)return 0;var i=this.exponent;return(Ge(i,t)-Ge(i,n))/(Ge(i,e)-Ge(i,n))},e}(Xe),qe=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="time",e}return ie(e,t),e.prototype.getText=function(t,e){var n=this.translate(t),i=this.formatter;return i?i(n,e):Oe(n,this.mask)},e.prototype.scale=function(e){var n=e;return(p(n)||k(n))&&(n=this.translate(n)),t.prototype.scale.call(this,n)},e.prototype.translate=function(t){return Ee(t)},e.prototype.initCfg=function(){this.tickMethod="time-pretty",this.mask="YYYY-MM-DD",this.tickCount=7,this.nice=!1},e.prototype.setDomain=function(){var t=this.values,e=this.getConfig("min"),n=this.getConfig("max");if(o(e)&&x(e)||(this.min=this.translate(this.min)),o(n)&&x(n)||(this.max=this.translate(this.max)),t&&t.length){var i=[],r=1/0,a=r,s=0;u(t,(function(t){var e=Ee(t);if(isNaN(e))throw new TypeError("Invalid Time: "+t+" in time scale!");r>e?(a=r,r=e):a>e&&(a=e),s1&&(this.minTickInterval=a-r),o(e)&&(this.min=r),o(n)&&(this.max=s)}},e}(Re),Ue=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="quantize",e}return ie(e,t),e.prototype.invert=function(t){var e=this.ticks,n=e.length,i=this.getInvertPercent(t),r=Math.floor(i*(n-1));if(r>=n-1)return m(e);if(r<0)return v(e);var a=e[r],s=r/(n-1);return a+(i-s)/((r+1)/(n-1)-s)*(e[r+1]-a)},e.prototype.initCfg=function(){this.tickMethod="r-pretty",this.tickCount=5,this.nice=!0},e.prototype.calculateTicks=function(){var e=t.prototype.calculateTicks.call(this);return this.nice||(m(e)!==this.max&&e.push(this.max),v(e)!==this.min&&e.unshift(this.min)),e},e.prototype.getScalePercent=function(t){var e=this.ticks;if(tm(e))return 1;var n=0;return u(e,(function(e,i){if(!(t>=e))return!1;n=i})),n/(e.length-1)},e}(Xe),Je=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="quantile",e}return ie(e,t),e.prototype.initCfg=function(){this.tickMethod="quantile",this.tickCount=5,this.nice=!0},e}(Ue),Ze={};function Qe(t){return Ze[t]}function Ke(t,e){if(Qe(t))throw new Error("type '"+t+"' existed.");Ze[t]=e}var tn=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="identity",e.isIdentity=!0,e}return ie(e,t),e.prototype.calculateTicks=function(){return this.values},e.prototype.scale=function(t){return this.values[0]!==t&&x(t)?t:this.range[0]},e.prototype.invert=function(t){var e=this.range;return te[1]?NaN:this.values[0]},e}(ee),en=[1,5,2,2.5,4,3],nn=100*Number.EPSILON;function rn(t,e,n,i,r,a){var s=z(e),o=Y(e,t),l=0,c=function(t,e){return(t%e+e)%e}(i,a);return(c=0&&(l=1),1-o/(s-1)-n+l}function an(t,e,n){var i=z(e);return 1-Y(e,t)/(i-1)-n+1}function sn(t,e,n,i,r,a){var s=(t-1)/(a-r),o=(e-1)/(Math.max(a,i)-Math.min(n,r));return 2-Math.max(s/o,o/s)}function on(t,e){return t>=e?2-(t-1)/(e-1):1}function ln(t,e,n,i){var r=e-t;return 1-.5*(Math.pow(e-i,2)+Math.pow(t-n,2))/Math.pow(.1*r,2)}function cn(t,e,n){var i=e-t;if(n>i){var r=(n-i)/2;return 1-Math.pow(r,2)/Math.pow(.1*i,2)}return 1}function un(t,e,n,i,r,a){if(void 0===n&&(n=5),void 0===i&&(i=!0),void 0===r&&(r=en),void 0===a&&(a=[.25,.2,.5,.05]),"number"!=typeof t||"number"!=typeof e)return{min:0,max:0,ticks:[]};if(t===e||1===n)return{min:t,max:e,ticks:[t]};for(var s={score:-2,lmin:0,lmax:0,lstep:0},o=1;o<1/0;){for(var l=0,c=r;lb)g+=1;else{for(var w=_;w<=b;w+=1){var S=w*(y/o),M=S+y*(f-1),C=y,k=rn(u,r,o,S,M,C),P=ln(t,e,S,M),A=sn(f,n,t,e,S,M),T=a[0]*k+a[1]*P+a[2]*A+1*a[3];T>s.score&&(!i||S<=t&&M>=e)&&(s.lmin=S,s.lmax=M,s.lstep=C,s.score=T)}g+=1}}f+=1}}o+=1}for(var D=Number.isInteger(s.lstep)?0:Math.ceil(Math.abs(Math.log10(s.lstep))),I=[],Y=s.lmin;Y<=s.lmax;Y+=s.lstep)I.push(Y);var O=D?N(I,(function(t){return Number.parseFloat(t.toFixed(D))})):I;return{min:Math.min(t,v(O)),max:Math.max(e,m(O)),ticks:O}}function hn(t){var e=t.values,n=t.tickInterval,r=t.tickCount,a=e;if(x(n))return i(a,(function(t,e){return e%n==0}));var s=t.min,l=t.max;if(o(s)&&(s=0),o(l)&&(l=e.length-1),x(r)&&r=s&&t<=l})).map((function(t){return e[t]}))}return e.slice(s,l+1)}var fn=Math.sqrt(50),dn=Math.sqrt(10),pn=Math.sqrt(2),gn=function(){function t(){this._domain=[0,1]}return t.prototype.domain=function(t){return t?(this._domain=Array.from(t,Number),this):this._domain.slice()},t.prototype.nice=function(t){var e,n;void 0===t&&(t=5);var i,r=this._domain.slice(),a=0,s=this._domain.length-1,o=this._domain[a],l=this._domain[s];return l0?i=vn(o=Math.floor(o/i)*i,l=Math.ceil(l/i)*i,t):i<0&&(i=vn(o=Math.ceil(o*i)/i,l=Math.floor(l*i)/i,t)),i>0?(r[a]=Math.floor(o/i)*i,r[s]=Math.ceil(l/i)*i,this.domain(r)):i<0&&(r[a]=Math.ceil(o*i)/i,r[s]=Math.floor(l*i)/i,this.domain(r)),this},t.prototype.ticks=function(t){return void 0===t&&(t=5),function(t,e,n){var i,r,a,s,o=-1;if(n=+n,(t=+t)===(e=+e)&&n>0)return[t];if((i=e0)for(t=Math.ceil(t/s),e=Math.floor(e/s),a=new Array(r=Math.ceil(e-t+1));++o=0?(a>=fn?10:a>=dn?5:a>=pn?2:1)*Math.pow(10,r):-Math.pow(10,-r)/(a>=fn?10:a>=dn?5:a>=pn?2:1)}function mn(t,e,n){return("ceil"===n?Math.ceil(t/e):"floor"===n?Math.floor(t/e):Math.round(t/e))*e}function yn(t,e,n){var i=mn(t,n,"floor"),r=mn(e,n,"ceil");i=y(i,n),r=y(r,n);for(var a=[],s=i;s<=r;s+=n){var o=y(s,n);a.push(o)}return{min:i,max:r,ticks:a}}function xn(t,e,n){var i,r=t.minLimit,a=t.maxLimit,s=t.min,l=t.max,c=t.tickCount,u=void 0===c?5:c,h=o(r)?o(e)?s:e:r,f=o(a)?o(n)?l:n:a;if(h>f&&(f=(i=[h,f])[0],h=i[1]),u<=2)return[h,f];for(var d=(f-h)/(u-1),p=[],g=0;g1&&(r*=Math.ceil(s)),i&&r31536e6)for(var l=wn(n),c=Math.ceil(a/31536e6),u=o;u<=l+c;u+=c)s.push(Sn(u));else if(a>ze){var h=Math.ceil(a/ze),f=Mn(e),d=function(t,e){var n=wn(t),i=wn(e),r=Mn(t);return 12*(i-n)+(Mn(e)-r)%12}(e,n);for(u=0;u<=d+h;u+=h)s.push(Cn(o,u+f))}else if(a>Ne){var p=(x=new Date(e)).getFullYear(),g=x.getMonth(),v=x.getDate(),m=Math.ceil(a/Ne),y=function(t,e){return Math.ceil((e-t)/Ne)}(e,n);for(u=0;uFe){p=(x=new Date(e)).getFullYear(),g=x.getMonth(),m=x.getDate();var x,_=x.getHours(),b=Math.ceil(a/Fe),w=function(t,e){return Math.ceil((e-t)/Fe)}(e,n);for(u=0;u<=w+b;u+=b)s.push(new Date(p,g,m,_+u).getTime())}else if(a>6e4){var S=function(t,e){return Math.ceil((e-t)/6e4)}(e,n),M=Math.ceil(a/6e4);for(u=0;u<=S+M;u+=M)s.push(e+6e4*u)}else{var C=a;C<1e3&&(C=1e3);var k=1e3*Math.floor(e/1e3),P=Math.ceil((n-e)/1e3),A=Math.ceil(C/1e3);for(u=0;u=512&&console.warn("Notice: current ticks length("+s.length+') >= 512, may cause performance issues, even out of memory. Because of the configure "tickInterval"(in milliseconds, current is '+a+") is too small, increase the value to solve the problem!"),s})),te("log",(function(t){var e,n=t.base,i=t.tickCount,r=t.min,a=t.max,s=t.values,o=He(n,a);if(r>0)e=Math.floor(He(n,r));else{var l=We(s,n,a);e=Math.floor(He(n,l))}for(var c=o-e,u=Math.ceil(c/i),h=[],f=e;f=0?1:-1;return Math.pow(t,e)*n}))})),te("quantile",(function(t){var e=t.tickCount,n=t.values;if(!n||!n.length)return[];for(var i=n.slice().sort((function(t,e){return t-e})),r=[],a=0;a=n?r[r.length-1]=s:r.push(s)),r},Pn=[1,1.2,1.5,2,2.2,2.4,2.5,3,4,5,6,7.5,8,10];function An(t){var e=1;if(0===(t=Math.abs(t)))return e;if(t<1){for(var n=0;t<1;)e/=10,t*=10,n++;return e.toString().length>12&&(e=parseFloat(e.toFixed(n))),e}for(;t>10;)e*=10,t/=10;return e}function Tn(t){var e=t.interval,n=t.tickCount,i=t.max,r=t.min;return Math.floor(r/e)*e+(n-1)*e>=i}function Dn(t){var e=t.toString(),n=e.indexOf("."),i=e.indexOf("e-"),r=i>=0?parseInt(e.substr(i+2),10):e.substr(n+1).length;return r>20&&(r=20),r}function In(t,e){return parseFloat(t.toFixed(e))}var Yn=Qe("linear"),On=Qe("identity"),En=Qe("category"),Fn=Qe("timeCat");function Nn(t){Object.keys(t).forEach((function(e){delete t[e]}))}te("cat",kn),te("time-cat",kn),te("wilkinson-extended",(function(t){var e=t||{},n=e.tickCount,i=e.tickInterval,r=t||{},a=r.min,s=r.max;a=isNaN(a)?0:a,s=isNaN(s)?0:s;var o=n&&n>=2?n:5,l=i||function(t){var e=t.tickCount,n=t.min,i=t.max;if(n===i)return 1*An(i);for(var r=(i-n)/(e-1),a=An(r),s=r/a,o=i/a,l=n/a,c=0,u=0;u0?t.change({min:0}):r<0&&t.change({max:0}))},e.clear=function(){Nn(this.defs),Nn(this.scales),this.data=null},t}(),Bn=function(){var t=e.prototype;function e(t){this._initDefaultCfg(),T(this,t),this.draw()}return t._initDefaultCfg=function(){this.ticks=[],this.tickLine={},this.offsetFactor=1,this.frontContainer=null,this.backContainer=null,this.gridPoints=[]},t.draw=function(){var t=this.line,e=this.tickLine,n=this.label,i=this.grid;i&&this.drawGrid(i),e&&this.drawTicks(e),t&&this.drawLine(t),n&&this.drawLabels()},t.drawTicks=function(t){var e=this,n=e.ticks,i=t.length,r=e.getContainer(t.top);u(n,(function(n){var a=e.getOffsetPoint(n.value),s=e.getSidePoint(a,i);r.addShape("line",{className:"axis-tick",attrs:T({x1:a.x,y1:a.y,x2:s.x,y2:s.y},t)})._id=e._id+"-ticks"}))},t.drawLabels=function(){var t=this,e=t.labelOffset;u(t.labels,(function(n){var i=t.getContainer(n.get("top")),r=t.getOffsetPoint(n.get("value")),a=t.getSidePoint(r,e),s=a.x,o=a.y;n.attr(T({x:s,y:o},t.getTextAlignInfo(r,e),n.get("textStyle"))),n._id=t._id+"-"+n.attr("text"),i.add(n)}))},t.drawLine=function(){},t.drawGrid=function(t){var e=this,n=e.gridPoints,i=e.ticks,r=t,a=n.length;u(n,(function(n,o){if(s(t)){var l=i[o]||{},c=t(l.text,o,a);r=c?T({},mt._defaultAxis.grid,c):null}if(r){var u,h=r.type,f=n.points,d=e.getContainer(r.top);if("arc"===h){var p=e.center,g=e.startAngle,v=e.endAngle,m=kt.length([f[0].x-p.x,f[0].y-p.y]);u=d.addShape("Arc",{className:"axis-grid",attrs:T({x:p.x,y:p.y,startAngle:g,endAngle:v,r:m},r)})}else u=d.addShape("Polyline",{className:"axis-grid",attrs:T({points:f},r)});u._id=n._id}}))},t.getOffsetPoint=function(){},t.getAxisVector=function(){},t.getOffsetVector=function(t,e){var n=this.getAxisVector(t),i=kt.normalize([],n),r=this.offsetFactor,a=[-1*i[1]*r,i[0]*r];return kt.scale([],a,e)},t.getSidePoint=function(t,e){var n=this.getOffsetVector(t,e);return{x:t.x+n[0],y:t.y+n[1]}},t.getTextAlignInfo=function(t,e){var n=this.getOffsetVector(t,e);return{textAlign:n[0]>0?"left":n[0]<0?"right":"center",textBaseline:n[1]>0?"top":n[1]<0?"bottom":"middle"}},t.getContainer=function(t){var e=this.frontContainer,n=this.backContainer;return t?e:n},e}(),Ln=function(t){function e(){return t.apply(this,arguments)||this}_t(e,t);var n=e.prototype;return n._initDefaultCfg=function(){t.prototype._initDefaultCfg.call(this),this.start=null,this.end=null},n.getOffsetPoint=function(t){var e=this.start,n=this.end;return{x:e.x+(n.x-e.x)*t,y:e.y+(n.y-e.y)*t}},n.getAxisVector=function(){var t=this.start,e=this.end;return[e.x-t.x,e.y-t.y]},n.drawLine=function(t){var e=this.getContainer(t.top),n=this.start,i=this.end;e.addShape("line",{className:"axis-line",attrs:T({x1:n.x,y1:n.y,x2:i.x,y2:i.y},t)})},e}(Bn);Bn.Line=Ln;var jn=function(){function t(t){this.axisCfg={},this.frontPlot=null,this.backPlot=null,this.axes={},T(this,t)}var e=t.prototype;return e._isHide=function(t){var e=this.axisCfg;return!e||!1===e[t]},e._getLinePosition=function(t,e,n,i){var r="",a=t.field,s=this.axisCfg;return s[a]&&s[a].position?r=s[a].position:"x"===e?r=i?"left":"bottom":"y"===e&&(r=n?"right":"left",i&&(r="bottom")),r},e._getLineCfg=function(t,e,n){var i,r,a=1;return"x"===e?(i={x:0,y:0},r={x:1,y:0}):"right"===n?(i={x:1,y:0},r={x:1,y:1}):(i={x:0,y:0},r={x:0,y:1},a=-1),t.transposed&&(a*=-1),{offsetFactor:a,start:t.convertPoint(i),end:t.convertPoint(r)}},e._getCircleCfg=function(t){return{startAngle:t.startAngle,endAngle:t.endAngle,center:t.center,radius:t.circleRadius}},e._getRadiusCfg=function(t){var e,n;return t.transposed?(e={x:0,y:0},n={x:1,y:0}):(e={x:0,y:0},n={x:0,y:1}),{offsetFactor:-1,start:t.convertPoint(e),end:t.convertPoint(n)}},e._getAxisCfg=function(t,e,n,i,r){var a=this,o=this,l=this.axisCfg,c=e.getTicks(),h=I({ticks:c,frontContainer:this.frontPlot,backContainer:this.backPlot},r,l[e.field]),f=[],d=h.label,p=c.length,g=0,v=0,m=d;return u(c,(function(t,e){if(s(d)){var n=d(t.text,e,p);m=n?T({},mt._defaultAxis.label,n):null}if(m){var i={};m.textAlign&&(i.textAlign=m.textAlign),m.textBaseline&&(i.textBaseline=m.textBaseline);var r=(m.top?a.frontPlot:a.backPlot).addShape("text",{className:"axis-label",aria:!1,attrs:T({x:0,y:0,text:t.text,fontFamily:o.chart.get("canvas").get("fontFamily")},m),value:t.value,textStyle:i,top:m.top,context:o.chart.get("canvas").get("context")});f.push(r);var l=r.getBBox(),c=l.width,u=l.height;g=Math.max(g,c),v=Math.max(v,u)}})),h.labels=f,h.maxWidth=g,h.maxHeight=v,h},e._createAxis=function(t,e,n,i,r){void 0===r&&(r="");var a,s,o,l=t.type,c=t.transposed;if("cartesian"===l||"rect"===l){var u=this._getLinePosition(e,i,r,c);(o=mt.axis[u]).position=u,a="Line",s=u}else"x"===i&&!c||"y"===i&&c?(o=mt.axis.circle,a="Circle",s="circle"):(o=mt.axis.radius,a="Line",s="radius");var h=this._getAxisCfg(t,e,n,i,o);h.type=a,h.dimType=i,h.verticalScale=n,h.index=r,this.axes[s]=h},e.createAxis=function(t,e,n){var i=this;e&&!i._isHide(e.field)&&i._createAxis(t,e,n[0],"x"),u(n,(function(n,r){i._isHide(n.field)||i._createAxis(t,n,e,"y",r)}));var r=this.axes,a=i.chart;if(a._isAutoPadding()){var s=ut(a.get("padding")),l=ut(a.get("appendPadding")),c=a.get("legendRange")||{top:0,right:0,bottom:0,left:0},h=["auto"===s[0]?c.top+2*l[0]:s[0],"auto"===s[1]?c.right+l[1]:s[1],"auto"===s[2]?c.bottom+l[2]:s[2],"auto"===s[3]?c.left+l[3]:s[3]];if(t.isPolar){var f=r.circle;if(f){var d=f.maxHeight,p=f.maxWidth,g=f.labelOffset;h[0]+=d+g,h[1]+=p+g,h[2]+=d+g,h[3]+=p+g}}else{if(r.right&&"auto"===s[1]){var v=r.right,m=v.maxWidth,y=v.labelOffset;h[1]+=m+y}if(r.left&&"auto"===s[3]){var x=r.left,_=x.maxWidth,b=x.labelOffset;h[3]+=_+b}if(r.bottom&&"auto"===s[2]){var w=r.bottom,S=w.maxHeight,M=w.labelOffset;h[2]+=S+M}}a.set("_padding",h),a._updateLayout(h)}u(r,(function(e){var n,r=e.type,a=e.grid,s=e.verticalScale,l=e.ticks,c=e.dimType,h=e.position,f=e.index;if(t.isPolar?"Line"===r?n=i._getRadiusCfg(t):"Circle"===r&&(n=i._getCircleCfg(t)):n=i._getLineCfg(t,c,h),a&&s){var d=[],p=function(t){var e=t.slice(0);if(e.length>0){var n=e[0],i=e[e.length-1];0!==n.value&&e.unshift({value:0}),1!==i.value&&e.push({value:1})}return e}(s.getTicks());u(l,(function(e){var n=[];u(p,(function(i){var r="x"===c?e.value:i.value,a="x"===c?i.value:e.value;if(r>=0&&r<=1&&a>=0&&a<=1){var s=t.convertPoint({x:r,y:a});n.push(s)}})),d.push({points:n,_id:"axis-"+c+f+"-grid-"+e.tickValue})})),e.gridPoints=d,t.isPolar&&(e.center=t.center,e.startAngle=t.startAngle,e.endAngle=t.endAngle)}n._id="axis-"+c,o(f)||(n._id="axis-"+c+f),new Bn[r](T(e,n))}))},e.clear=function(){this.axes={},this.frontPlot.clear(),this.backPlot.clear()},t}(),Xn=function(t,e){var n=e.x-t.x,i=e.y-t.y;return Math.abs(n)>Math.abs(i)?n>0?"right":"left":i>0?"down":"up"},Rn=function(t,e){var n=Math.abs(e.x-t.x),i=Math.abs(e.y-t.y);return Math.sqrt(n*n+i*i)},Gn=function(){function t(t){var e=this,n=t.canvas,i=t.el;yt(this,"_click",(function(t){var n=ot(t,e.canvas);t.points=n,e.emitEvent("click",t)})),yt(this,"_start",(function(t){var n,i,r=ot(t,e.canvas);r&&(t.points=r,e.emitEvent("touchstart",t),e.reset(),e.startTime=Date.now(),e.startPoints=r,r.length>1?(e.startDistance=Rn(r[0],r[1]),e.center=(n=r[0],i=r[1],{x:n.x+(i.x-n.x)/2,y:n.y+(i.y-n.y)/2})):e.pressTimeout=setTimeout((function(){t.direction="none",e.emitStart("press",t),e.emitEvent("press",t),e.eventType="press",e.direction="none"}),250))})),yt(this,"_move",(function(t){var n=ot(t,e.canvas);if(n){e.clearPressTimeout(),t.points=n,e.emitEvent("touchmove",t);var i=e.startPoints;if(i)if(n.length>1){var r=e.startDistance,a=Rn(n[0],n[1]);t.zoom=a/r,t.center=e.center,e.emitStart("pinch",t),e.emitEvent("pinch",t)}else{var s=n[0].x-i[0].x,o=n[0].y-i[0].y,l=e.direction||Xn(i[0],n[0]);e.direction=l;var c=e.getEventType(n);t.direction=l,t.deltaX=s,t.deltaY=o,e.emitStart(c,t),e.emitEvent(c,t);var u=e.lastMoveTime,h=Date.now();h-u>0&&(e.prevMoveTime=u,e.prevMovePoints=e.lastMovePoints,e.lastMoveTime=h,e.lastMovePoints=n)}}})),yt(this,"_end",(function(t){var n=ot(t,e.canvas);t.points=n,e.emitEnd(t),e.emitEvent("touchend",t);var i=e.lastMoveTime;if(Date.now()-i<100){var r=i-(e.prevMoveTime||e.startTime);if(r>0){var a=e.prevMovePoints||e.startPoints,s=e.lastMovePoints,o=Rn(a[0],s[0])/r;o>.3&&(t.velocity=o,t.direction=Xn(a[0],s[0]),e.emitEvent("swipe",t))}}e.reset();var l=t.touches;l&&l.length>0&&e._start(t)})),yt(this,"_cancel",(function(t){e.emitEvent("touchcancel",t),e.reset()})),this.canvas=n,this.delegateEvent(i),this.processEvent={}}var e=t.prototype;return e.delegateEvent=function(t){t.addEventListener("click",this._click),t.addEventListener("touchstart",this._start),t.addEventListener("touchmove",this._move),t.addEventListener("touchend",this._end),t.addEventListener("touchcancel",this._cancel)},e.emitEvent=function(t,e){this.canvas.emit(t,e)},e.getEventType=function(t){var e,n=this.eventType,i=this.canvas,r=this.startTime,a=this.startPoints;if(n)return n;var s=i.__events.pan;return e=s&&s.length?Date.now()-r>250&&Rn(a[0],t[0])<10?"press":"pan":"press",this.eventType=e,e},e.enable=function(t){this.processEvent[t]=!0},e.isProcess=function(t){return this.processEvent[t]},e.emitStart=function(t,e){this.isProcess(t)||(this.enable(t),this.emitEvent(t+"start",e))},e.emitEnd=function(t){var e=this,n=this.processEvent;Object.keys(n).forEach((function(i){e.emitEvent(i+"end",t),delete n[i]}))},e.clearPressTimeout=function(){this.pressTimeout&&(clearTimeout(this.pressTimeout),this.pressTimeout=0)},e.reset=function(){this.clearPressTimeout(),this.startTime=0,this.startPoints=null,this.startDistance=0,this.direction=null,this.eventType=null,this.pinch=!1,this.prevMoveTime=0,this.prevMovePoints=null,this.lastMoveTime=0,this.lastMovePoints=null},t}(),Hn=function(t){function e(e){var n;return(n=t.call(this)||this).context=e,n.width=0,n.height=0,n.style={},n.currentStyle={},n.attrs={},n.isCanvasElement=!0,n}_t(e,t);var n=e.prototype;return n.getContext=function(){return this.context},n.getBoundingClientRect=function(){return{top:0,right:this.width,bottom:this.height,left:0}},n.setAttribute=function(t,e){this.attrs[t]=e},n.addEventListener=function(t,e){this.on(t,e)},n.removeEventListener=function(t,e){this.off(t,e)},n.dispatchEvent=function(t,e){this.emit(t,e)},e}(wt),Wn=function(t){return t?function(t){if(!t)return!1;if(1!==t.nodeType||!t.nodeName||"canvas"!==t.nodeName.toLowerCase())return!1;var e=!1;try{t.addEventListener("eventTest",(function(){e=!0})),t.dispatchEvent(new Event("eventTest"))}catch(t){e=!1}return e}(t.canvas)?t.canvas:new Hn(t):null};function Vn(t,e){u(t,(function(t){t=t.split(":"),e.addColorStop(Number(t[0]),t[1])}))}function $n(t,e,n){if("("===t[1])try{var i=t[0];if("l"===i)return function(t,e,n){var i,r,a=t.split(" "),s=a[0].slice(2,a[0].length-1);i=parseFloat(s)*Math.PI/180,r=2*Math.PI,s=(i%r+r)%r;var o,l,c=a.slice(1),u=e.getBBox(),h=u.minX,f=u.minY,d=u.maxX,p=u.maxY;s>=0&&s<.5*Math.PI?(o={x:h,y:f},l={x:d,y:p}):.5*Math.PI<=s&&s-1?(null===t.get("canvas")&&(t=Object.assign({},t)),t.set("parent",this.get("parent")),t.set("context",this.get("context")),t):null},t.attr=function(t,e){var n=this;if(n.get("destroyed"))return null;var i=arguments.length;if(0===i)return n._attrs.attrs;if(c(t)){for(var r in this._attrs.bbox=null,t)n._setAttr(r,t[r]);return n._afterAttrsSet&&n._afterAttrsSet(),n}return 2===i?(this._attrs.bbox=null,n._setAttr(t,e),n._afterAttrsSet&&n._afterAttrsSet(),n):n._getAttr(t)},t.getParent=function(){return this.get("parent")},t.draw=function(t){this.get("destroyed")||this.get("visible")&&(this.setContext(t),this.drawInner(t),this.restoreContext(t))},t.setContext=function(t){var e=this._attrs.attrs.clip;t.save(),e&&(e.resetTransform(t),e.createPath(t),t.clip()),this.resetContext(t),this.resetTransform(t)},t.restoreContext=function(t){t.restore()},t.resetContext=function(t){var e=this._attrs.attrs;for(var n in e)if(Un.indexOf(n)>-1){var i=e[n];"fillStyle"!==n&&"strokeStyle"!==n||!i||(i=$n(i,this,t)),"lineDash"===n&&t.setLineDash&&l(i)?t.setLineDash(i):t[n]=i}},t.hasFill=function(){return this.get("canFill")&&this._attrs.attrs.fillStyle},t.hasStroke=function(){return this.get("canStroke")&&this._attrs.attrs.strokeStyle},t.drawInner=function(){},t.show=function(){return this.set("visible",!0),this},t.hide=function(){return this.set("visible",!1),this},t.isVisible=function(){return this.get("visible")},t.getAriaLabel=function(){var t=this._attrs,e=t.destroyed,n=t.visible,i=t.isShape,r=t.aria;if(!e&&n&&(!i||r))return this._getAriaLabel()},t._getAriaLabel=function(){return this._attrs.ariaLabel},t._removeFromParent=function(){var t=this.get("parent");return t&&G(t.get("children"),this),this},t.remove=function(t){t?this.destroy():this._removeFromParent()},t.destroy=function(){if(this.get("destroyed"))return null;this._removeFromParent(),this._attrs={},this.set("destroyed",!0)},t.getBBox=function(){return{minX:0,maxX:0,minY:0,maxY:0,width:0,height:0}},t.initTransform=function(){var t=this._attrs.attrs||{};t.matrix||(t.matrix=[1,0,0,1,0,0]),this._attrs.attrs=t},t.getMatrix=function(){return this._attrs.attrs.matrix},t.setMatrix=function(t){this._attrs.attrs.matrix=[t[0],t[1],t[2],t[3],t[4],t[5]]},t.transform=function(t){var e=this._attrs.attrs.matrix;return this._attrs.attrs.matrix=Ct.transform(e,t),this},t.setTransform=function(t){return this._attrs.attrs.matrix=[1,0,0,1,0,0],this.transform(t)},t.translate=function(t,e){var n=this._attrs.attrs.matrix;Ct.translate(n,n,[t,e])},t.rotate=function(t){var e=this._attrs.attrs.matrix;Ct.rotate(e,e,t)},t.scale=function(t,e){var n=this._attrs.attrs.matrix;Ct.scale(n,n,[t,e])},t.moveTo=function(t,e){var n=this._attrs.x||0,i=this._attrs.y||0;this.translate(t-n,e-i),this.set("x",t),this.set("y",e)},t.apply=function(t){var e=this._attrs.attrs.matrix;return kt.transformMat2d(t,t,e),this},t.resetTransform=function(t){var e=this._attrs.attrs.matrix;Ct.isChanged(e)&&t.transform(e[0],e[1],e[2],e[3],e[4],e[5],!0)},t.isDestroyed=function(){return this.get("destroyed")},e}(),Qn=function(t){function e(){return t.apply(this,arguments)||this}_t(e,t);var n=e.prototype;return n._initProperties=function(){this._attrs={zIndex:0,visible:!0,destroyed:!1,isShape:!0,attrs:{}}},n.getType=function(){return this._attrs.type},n.drawInner=function(t){var e=this.get("attrs");this.createPath(t);var n=t.globalAlpha;if(this.hasFill()){var i=e.fillOpacity;o(i)||1===i?t.fill():(t.globalAlpha=i,t.fill(),t.globalAlpha=n)}if(this.hasStroke()&&e.lineWidth>0){var r=e.strokeOpacity;o(r)||1===r||(t.globalAlpha=r),t.stroke()}},n.getBBox=function(){var t=this._attrs.bbox;return t||((t=this.calculateBox())&&(t.x=t.minX,t.y=t.minY,t.width=t.maxX-t.minX,t.height=t.maxY-t.minY),this._attrs.bbox=t),t},n.calculateBox=function(){return null},n.createPath=function(){},e}(Zn),Kn=function(t){function e(){return t.apply(this,arguments)||this}_t(e,t);var n=e.prototype;return n._initProperties=function(){t.prototype._initProperties.call(this),this._attrs.canFill=!0,this._attrs.canStroke=!0,this._attrs.type="rect"},n.getDefaultAttrs=function(){return{x:0,y:0,width:0,height:0,radius:0,lineWidth:0}},n.createRadiusPath=function(t,e,n,i,r,a){a=function(t,e,n){if(!((t=ut(t))[0]||t[1]||t[2]||t[3]))return t;var i=Math.max(t[0]+t[1],t[2]+t[3]),r=Math.max(t[0]+t[3],t[1]+t[2]),a=Math.min(e/i,n/r);return a<1?t.map((function(t){return t*a})):t}(a,i,r),t.moveTo(e+a[0],n),t.lineTo(e+i-a[1],n),t.arc(e+i-a[1],n+a[1],a[1],-Math.PI/2,0,!1),t.lineTo(e+i,n+r-a[2]),t.arc(e+i-a[2],n+r-a[2],a[2],0,Math.PI/2,!1),t.lineTo(e+a[3],n+r),t.arc(e+a[3],n+r-a[3],a[3],Math.PI/2,Math.PI,!1),t.lineTo(e,n+a[0]),t.arc(e+a[0],n+a[0],a[0],Math.PI,3*Math.PI/2,!1),t.closePath()},n.createPath=function(t){var e=this.get("attrs"),n=e.x,i=e.y,r=e.width,a=e.height,s=e.radius;t.beginPath(),s&&r*a?this.createRadiusPath(t,n,i,r,a,s):t.rect(n,i,r,a)},n.calculateBox=function(){var t=this.get("attrs"),e=t.x,n=t.y;return{minX:e,minY:n,maxX:e+t.width,maxY:n+t.height}},e}(Qn),ti=function(t){function e(){return t.apply(this,arguments)||this}_t(e,t);var n=e.prototype;return n._initProperties=function(){t.prototype._initProperties.call(this),this._attrs.canFill=!1,this._attrs.canStroke=!1,this._attrs.loading=!1,this._attrs.image=null,this._attrs.type="image"},n.createPath=function(t){var e=this,n=this.get("attrs").src;if(!this.get("loading")){var i=this.get("image");if(i)this.drawImage(t,i);else if(n&&Image){this.set("loading",!0);var r=new Image;r.src=n,r.crossOrigin="Anonymous",r.onload=function(){e.set("loading",!1),e.set("image",r),e.drawImage(t,r)}}}},n.drawImage=function(t,e){var n=this._attrs,i=n.attrs;if(!n.destroyed){var r=i.x,a=i.y,s=i.width,l=i.height,c=i.sx,u=i.sy,h=i.swidth,f=i.sheight,d=i.radius;d&&(t.save(),this.createRadiusPath(t,r,a,s,l,d),t.clip()),o(c)||o(u)||o(h)||o(f)?t.drawImage(e,r,a,s,l):t.drawImage(e,c,u,h,f,r,a,s,l),d&&t.restore()}},e}(Kn),ei=function(t){function e(){return t.apply(this,arguments)||this}_t(e,t);var n=e.prototype;return n._initProperties=function(){t.prototype._initProperties.call(this),this._attrs.canFill=!0,this._attrs.canStroke=!0,this._attrs.type="circle"},n.getDefaultAttrs=function(){return{x:0,y:0,r:0,lineWidth:0}},n.createPath=function(t){var e=this.get("attrs"),n=e.x,i=e.y,r=e.r;t.beginPath(),t.arc(n,i,r,0,2*Math.PI,!1),t.closePath()},n.calculateBox=function(){var t=this.get("attrs"),e=t.x,n=t.y,i=t.r;return{minX:e-i,maxX:e+i,minY:n-i,maxY:n+i}},e}(Qn),ni=kt.create(),ii=kt.create(),ri=kt.create();function ai(t,e,n,i,r){var a=t*t;return e+(3*-e+t*(3*e-e*t))*t+(3*n+t*(-6*n+3*n*t))*t+(3*i-3*i*t)*a+r*(a*t)}function si(t){for(var e,n,i,r,a,s=1/0,o=-1/0,l=1/0,c=-1/0,u={x:t[0],y:t[1]},h={x:t[2],y:t[3]},f={x:t[4],y:t[5]},d={x:t[6],y:t[7]},p=0;p<100;p++){var g={x:ai(a=p/100,(e=u).x,(n=h).x,(i=f).x,(r=d).x),y:ai(a,e.y,n.y,i.y,r.y)};g.xo&&(o=g.x),g.yc&&(c=g.y)}return{minX:s,minY:l,maxX:o,maxY:c}}function oi(t,e){if(0!==t.length){for(var n=t[0],i=n.x,r=n.x,a=n.y,s=n.y,o=t.length,l=1;l1e-4)return{minX:t-n,minY:e-n,maxX:t+n,maxY:e+n};ni[0]=Math.cos(i)*n+t,ni[1]=Math.sin(i)*n+e,ii[0]=Math.cos(r)*n+t,ii[1]=Math.sin(r)*n+e;var o=[0,0],l=[0,0];if(kt.min(o,ni,ii),kt.max(l,ni,ii),(i%=2*Math.PI)<0&&(i+=2*Math.PI),(r%=2*Math.PI)<0&&(r+=2*Math.PI),i>r&&!a?r+=2*Math.PI:ii&&(ri[0]=Math.cos(u)*n+t,ri[1]=Math.sin(u)*n+e,kt.min(o,ri,o),kt.max(l,ri,l));return{minX:o[0],minY:o[1],maxX:l[0],maxY:l[1]}}var ci=function(t){function e(){return t.apply(this,arguments)||this}_t(e,t);var n=e.prototype;return n._initProperties=function(){t.prototype._initProperties.call(this),this._attrs.canStroke=!0,this._attrs.type="line"},n.getDefaultAttrs=function(){return{x1:0,y1:0,x2:0,y2:0,lineWidth:1}},n.createPath=function(t){var e=this.get("attrs"),n=e.x1,i=e.y1,r=e.x2,a=e.y2;t.beginPath(),t.moveTo(n,i),t.lineTo(r,a)},n.calculateBox=function(){var t=this.get("attrs");return function(t,e,n,i,r){return r=r/2||0,{minX:Math.min(t,n)-r,minY:Math.min(e,i)-r,maxX:Math.max(t,n)+r,maxY:Math.max(e,i)+r}}(t.x1,t.y1,t.x2,t.y2,t.lineWidth)},e}(Qn),ui=function(t){function e(){return t.apply(this,arguments)||this}_t(e,t);var n=e.prototype;return n._initProperties=function(){t.prototype._initProperties.call(this),this._attrs.canFill=!0,this._attrs.canStroke=!0,this._attrs.type="polygon"},n.getDefaultAttrs=function(){return{points:null,lineWidth:0}},n.createPath=function(t){var e=this.get("attrs").points;t.beginPath();for(var n=0,i=e.length;ni&&(i=l.maxX),l.minYa&&(a=l.maxY)}return{minX:n-(e=e/2||0),minY:r-e,maxX:i+e,maxY:a+e}}(a,i)}return oi(r,i)},e}(Qn),gi=function(t){function e(){return t.apply(this,arguments)||this}_t(e,t);var n=e.prototype;return n._initProperties=function(){t.prototype._initProperties.call(this),this._attrs.canStroke=!0,this._attrs.canFill=!0,this._attrs.type="arc"},n.getDefaultAttrs=function(){return{x:0,y:0,r:0,startAngle:0,endAngle:2*Math.PI,anticlockwise:!1,lineWidth:1}},n.createPath=function(t){var e=this.get("attrs"),n=e.x,i=e.y,r=e.r,a=e.startAngle,s=e.endAngle,o=e.anticlockwise;t.beginPath(),a!==s&&t.arc(n,i,r,a,s,o)},n.calculateBox=function(){var t=this.get("attrs");return li(t.x,t.y,t.r,t.startAngle,t.endAngle,t.anticlockwise)},e}(Qn),vi=function(t){function e(){return t.apply(this,arguments)||this}_t(e,t);var n=e.prototype;return n._initProperties=function(){t.prototype._initProperties.call(this),this._attrs.canFill=!0,this._attrs.canStroke=!0,this._attrs.type="sector"},n.getDefaultAttrs=function(){return{x:0,y:0,lineWidth:0,r:0,r0:0,startAngle:0,endAngle:2*Math.PI,anticlockwise:!1}},n.createPath=function(t){var e=this.get("attrs"),n=e.x,i=e.y,r=e.startAngle,a=e.endAngle,s=e.r,o=e.r0,l=e.anticlockwise;t.beginPath();var c=Math.cos(r),u=Math.sin(r);t.moveTo(c*o+n,u*o+i),t.lineTo(c*s+n,u*s+i),(Math.abs(a-r)>1e-4||0===r&&a<0)&&(t.arc(n,i,s,r,a,l),t.lineTo(Math.cos(a)*o+n,Math.sin(a)*o+i),0!==o&&t.arc(n,i,o,a,r,!l)),t.closePath()},n.calculateBox=function(){var t=this.get("attrs"),e=t.x,n=t.y,i=t.r,r=t.r0,a=t.startAngle,s=t.endAngle,o=t.anticlockwise,l=li(e,n,i,a,s,o),c=li(e,n,r,a,s,o);return{minX:Math.min(l.minX,c.minX),minY:Math.min(l.minY,c.minY),maxX:Math.max(l.maxX,c.maxX),maxY:Math.max(l.maxY,c.maxY)}},e}(Qn),mi=function(t){var e=t.width,n=t.height,i=t.rotate,r=Math.abs(i);return{width:Math.abs(e*Math.cos(r)+n*Math.sin(r)),height:Math.abs(n*Math.cos(r)+e*Math.sin(r))}},yi=0,xi={},_i=function(t){function e(){return t.apply(this,arguments)||this}_t(e,t);var n=e.prototype;return n._initProperties=function(){t.prototype._initProperties.call(this),this._attrs.canFill=!0,this._attrs.canStroke=!0,this._attrs.type="text"},n.getDefaultAttrs=function(){return{lineWidth:0,lineCount:1,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom",lineHeight:null,textArr:null}},n._getFontStyle=function(){var t=this._attrs.attrs,e=t.fontSize,n=t.fontFamily,i=t.fontWeight;return t.fontStyle+" "+t.fontVariant+" "+i+" "+e+"px "+n},n._afterAttrsSet=function(){var t=this._attrs.attrs;if(t.font=this._getFontStyle(),t.text){var e=t.text,n=null,i=1;p(e)&&-1!==e.indexOf("\n")&&(i=(n=e.split("\n")).length),t.lineCount=i,t.textArr=n}this.set("attrs",t)},n._getTextHeight=function(){var t=this._attrs.attrs;if(t.height)return t.height;var e=t.lineCount,n=1*t.fontSize;return e>1?n*e+this._getSpaceingY()*(e-1):n},n._getSpaceingY=function(){var t=this._attrs.attrs,e=t.lineHeight,n=1*t.fontSize;return e?e-n:.14*n},n.drawInner=function(t){var e=this._attrs.attrs,n=e.text,i=e.x,r=e.y;if(!(o(n)||isNaN(i)||isNaN(r))){var a=e.textArr,s=1*e.fontSize,l=this._getSpaceingY();e.rotate&&(t.translate(i,r),t.rotate(e.rotate),i=0,r=0);var c,u,h=e.textBaseline;if(a&&(c=this._getTextHeight()),this.hasFill()){var f=e.fillOpacity;if(o(f)||1===f||(t.globalAlpha=f),a)for(var d=0,p=a.length;d5e3&&(yi=0,xi={}),yi++,xi[a]=s,s}},e}(Qn),bi=function(t){function e(){return t.apply(this,arguments)||this}_t(e,t);var n=e.prototype;return n._initProperties=function(){t.prototype._initProperties.call(this),this._attrs.canFill=!0,this._attrs.canStroke=!0,this._attrs.createPath=null,this._attrs.type="custom"},n.createPath=function(t){var e=this.get("createPath");e&&e.call(this,t)},n.calculateBox=function(){var t=this.get("calculateBox");return t&&t.call(this)},e}(Qn),wi={circle:function(t,e,n,i){i.arc(t,e,n,0,2*Math.PI,!1)},square:function(t,e,n,i){i.moveTo(t-n,e-n),i.lineTo(t+n,e-n),i.lineTo(t+n,e+n),i.lineTo(t-n,e+n),i.closePath()}},Si=function(t){function e(){return t.apply(this,arguments)||this}_t(e,t);var n=e.prototype;return n._initProperties=function(){t.prototype._initProperties.call(this),this._attrs.canFill=!0,this._attrs.canStroke=!0,this._attrs.type="marker"},n.getDefaultAttrs=function(){return{x:0,y:0,lineWidth:0}},n.createPath=function(t){var e,n=this.get("attrs"),i=n.x,r=n.y,a=n.radius,o=n.symbol||"circle";e=s(o)?o:wi[o],t.beginPath(),e(i,r,a,t,this)},n.calculateBox=function(){var t=this.get("attrs"),e=t.x,n=t.y,i=t.radius;return{minX:e-i,minY:n-i,maxX:e+i,maxY:n+i}},e}(Qn);Qn.Rect=Kn,Qn.Image=ti,Qn.Circle=ei,Qn.Line=ci,Qn.Polygon=ui,Qn.Polyline=pi,Qn.Arc=gi,Qn.Sector=vi,Qn.Text=_i,Qn.Custom=bi,Qn.Marker=Si;var Mi={},Ci={getGroupClass:function(){},getChildren:function(){return this.get("children")},addShape:function(t,e){void 0===e&&(e={});var n=Mi[t];n||(n=S(t),Mi[t]=n);var i=new Qn[n](e);return this.add(i),i},addGroup:function(t){var e=new(this.getGroupClass())(t);return this.add(e),e},contain:function(t){return this.get("children").indexOf(t)>-1},sort:function(){for(var t=this.get("children"),e=0,n=t.length;e=r.x&&n<=a.x&&i>=r.y&&i<=s.y}var Fi=Object.freeze({__proto__:null,getClip:Oi,isPointInPlot:Ei});function Ni(t,e){return t-e}var zi=function(t){_t(n,t),n.initPlugins=function(){return{_plugins:[],_cacheId:0,register:function(t){var e=this._plugins;[].concat(t).forEach((function(t){-1===e.indexOf(t)&&e.push(t)})),this._cacheId++},unregister:function(t){var e=this._plugins;[].concat(t).forEach((function(t){var n=e.indexOf(t);-1!==n&&e.splice(n,1)})),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(t,e,n){var i,r,a,s,o=this.descriptors(t),l=o.length;for(i=0;i0;)t.shift().destroy()},e._clearGeoms=function(){for(var t=this.get("geoms"),e=0,n=t.length;e=0&&(e.lineWidth=t.size),T(e,t.style),T({},mt.shape.line,e)}(e);return"dash"===t&&(r.lineDash=mt.lineDash),function(t,e,n,i){var r=t.points;if(r.length&&l(r[0].y)){for(var a=[],s=[],o=0,c=r.length;o1?mt.widthRatio.multiplePie:mt.widthRatio.rose:(n.isLinear&&(s*=a[1]-a[0]),o=mt.widthRatio.column),s*=o,this.hasAdjust("dodge")&&(s/=i.length),t=s,this.set("defaultSize",t)}return t},getDimWidth:function(t){var e=this.get("coord"),n=e.convertPoint({x:0,y:0}),i=e.convertPoint({x:"x"===t?1:0,y:"x"===t?0:1}),r=0;return n&&i&&(r=Math.sqrt(Math.pow(i.x-n.x,2)+Math.pow(i.y-n.y,2))),r},_getWidth:function(){var t=this.get("_width");if(!t){var e=this.get("coord");t=e&&e.isPolar&&!e.transposed?(e.endAngle-e.startAngle)*e.circleRadius:this.getDimWidth("x"),this.set("_width",t)}return t},_toNormalizedSize:function(t){return t/this._getWidth()},_toCoordSize:function(t){return this._getWidth()*t},getNormalizedSize:function(t){var e=this.getAttrValue("size",t);return o(e)?this.getDefaultSize():this._toNormalizedSize(e)},getSize:function(t){var e=this.getAttrValue("size",t);if(o(e)){var n=this.getDefaultSize();e=this._toCoordSize(n)}return e}};function Zi(t){var e,n,i=t.x,r=t.y,a=t.y0,s=t.size,o=a,c=r;return l(r)&&(c=r[1],o=r[0]),l(i)?(e=i[0],n=i[1]):(e=i-s/2,n=i+s/2),[{x:e,y:o},{x:e,y:c},{x:n,y:c},{x:n,y:o}]}Rt.registerFactory("interval",{defaultShapeType:"rect",getDefaultPoints:function(t){return Zi(t)}}),Rt.registerShape("interval","rect",{draw:function(t,e){var n=this.parsePoints(t.points),i=T({fill:t.color},mt.shape.interval,t.style);if(t.isInCircle){var r=n.slice(0);this._coord.transposed&&(r=[n[0],n[3],n[2],n[1]]);var a=t.center,s=a.x,o=a.y,l=[1,0],c=[r[0].x-s,r[0].y-o],u=[r[1].x-s,r[1].y-o],h=[r[2].x-s,r[2].y-o],f=kt.angleTo(l,u),d=kt.angleTo(l,h),p=kt.length(c),g=kt.length(u);return f>=1.5*Math.PI&&(f-=2*Math.PI),d>=1.5*Math.PI&&(d-=2*Math.PI),e.addShape("Sector",{className:"interval",attrs:T({x:s,y:o,r:g,r0:p,startAngle:f,endAngle:d},i)})}var v=function(t){for(var e=[],n=[],i=0,r=t.length;i=0?"positive":"negative";r[d][f]||(r[d][f]=0),c[n]=[r[d][f],h+r[d][f]],r[d][f]+=h}}},i}($t);$t.Stack=ar;var sr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},or=function(t){var e=void 0===t?"undefined":sr(t);return null!==t&&"object"===e||"function"===e},lr=function(t,e){if(t)if(ir(t))for(var n=0,i=t.length;ni&&(n=t,i=r)})),n}},fr={merge:function(t){for(var e=[],n=0;n0&&l<=1&&(i*=l),this.x={start:this.startAngle,end:this.endAngle},this.y={start:i*a,end:i},this.center=r,this.circleRadius=i},n._convertPoint=function(t){var e=this.center,n=this.transposed,i=n?"y":"x",r=n?"x":"y",a=this.x,s=this.y,o=a.start+(a.end-a.start)*t[i],l=s.start+(s.end-s.start)*t[r];return{x:e.x+Math.cos(o)*l,y:e.y+Math.sin(o)*l}},n._invertPoint=function(t){var e=this.center,n=this.transposed,i=this.x,r=this.y,a=n?"y":"x",s=n?"x":"y",o=[1,0,0,1,0,0];Ct.rotate(o,o,i.start);var l=[1,0];kt.transformMat2d(l,l,o),l=[l[0],l[1]];var c=[t.x-e.x,t.y-e.y];if(kt.zero(c))return{x:0,y:0};var u=kt.angleTo(l,c,i.end0?f:-f;var d=(h-r.start)/(r.end-r.start),p={};return p[a]=f,p[s]=d,p},e}(At);At.Polar=pr;var gr=function(t){function e(){return t.apply(this,arguments)||this}_t(e,t);var n=e.prototype;return n._initDefaultCfg=function(){t.prototype._initDefaultCfg.call(this),this.startAngle=-Math.PI/2,this.endAngle=3*Math.PI/2,this.radius=null,this.center=null},n.getOffsetPoint=function(t){var e=this.startAngle,n=e+(this.endAngle-e)*t;return this._getCirclePoint(n)},n._getCirclePoint=function(t,e){var n=this.center;return e=e||this.radius,{x:n.x+Math.cos(t)*e,y:n.y+Math.sin(t)*e}},n.getTextAlignInfo=function(t,e){var n,i=this.getOffsetVector(t,e),r="middle";return i[0]>0?n="left":i[0]<0?n="right":(n="center",i[1]>0?r="top":i[1]<0&&(r="bottom")),{textAlign:n,textBaseline:r}},n.getAxisVector=function(t){var e=this.center,n=this.offsetFactor;return[(t.y-e.y)*n,-1*(t.x-e.x)*n]},n.drawLine=function(t){var e=this.center,n=this.radius,i=this.startAngle,r=this.endAngle;this.getContainer(t.top).addShape("arc",{className:"axis-line",attrs:T({x:e.x,y:e.y,r:n,startAngle:i,endAngle:r},t)})},e}(Bn);Bn.Circle=gr;var vr={min:0,median:.5,max:1},mr=function(){var t=e.prototype;function e(t){this._initDefaultCfg(),I(this,t)}return t._initDefaultCfg=function(){},t._getNormalizedValue=function(t,e){return o(vr[t])?e.scale(t):vr[t]},t.parsePercentPoint=function(t,e){var n=parseFloat(e[0])/100,i=parseFloat(e[1])/100,r=t.start,a=t.end,s=Math.abs(r.x-a.x),o=Math.abs(r.y-a.y);return{x:s*n+Math.min(r.x,a.x),y:o*i+Math.min(r.y,a.y)}},t.parsePoint=function(t,e){var n=this.xScale,i=this.yScales;if(s(e)&&(e=e(n,i)),p(e[0])&&-1!==e[0].indexOf("%")&&!isNaN(e[0].slice(0,-1)))return this.parsePercentPoint(t,e);var r=this._getNormalizedValue(e[0],n),a=this._getNormalizedValue(e[1],i[0]),o=t.convertPoint({x:r,y:a});return this.limitInPlot?r>=0&&r<=1&&a>=0&&a<=1?o:null:o},t.render=function(){},t.repaint=function(){this.remove();var t=this.coord,e=this.container,n=this.canvas;e&&!e.isDestroyed()&&(this.render(t,e),n.draw())},t.remove=function(){var t=this.element;t&&t.remove(!0)},t.changeVisible=function(t){this.visible=t;var e=this.element;e&&(e.set?e.set("visible",t):e.style.display=t?"":"none")},e}(),yr=function(t){function e(){return t.apply(this,arguments)||this}_t(e,t);var n=e.prototype;return n._initDefaultCfg=function(){this.type="arc",this.start=[],this.end=[],this.style={stroke:"#999",lineWidth:1}},n.render=function(t,e){var n=this.parsePoint(t,this.start),i=this.parsePoint(t,this.end);if(n&&i){var r=t.center,a=Math.sqrt((n.x-r.x)*(n.x-r.x)+(n.y-r.y)*(n.y-r.y)),s=Math.atan2(n.y-r.y,n.x-r.x),o=Math.atan2(i.y-r.y,i.x-r.x),l=e.addShape("arc",{className:"guide-arc",attrs:T({x:r.x,y:r.y,r:a,startAngle:s,endAngle:o},this.style)});return this.element=l,l}},e}(mr);function xr(t,e){for(var n in e)e.hasOwnProperty(n)&&(t.style[n]=e[n]);return t}function _r(t){var e=document.createElement("div");return t=t.replace(/(^\s*)|(\s*$)/g,""),e.innerHTML=""+t,e.childNodes[0]}mr.Arc=yr;var br=function(t){function e(){return t.apply(this,arguments)||this}_t(e,t);var n=e.prototype;return n._initDefaultCfg=function(){this.type="html",this.position=null,this.alignX="center",this.alignY="middle",this.offsetX=null,this.offsetY=null,this.html=null},n.render=function(t,e){var n=this.parsePoint(t,this.position);if(n){var i=_r(this.html);i=xr(i,{position:"absolute",top:Math.floor(n.y)+"px",left:Math.floor(n.x)+"px",visibility:"hidden"});var r=e.get("canvas").get("el"),a=r.parentNode;a=xr(a,{position:"relative"});var s=_r('
');a.appendChild(s),s.appendChild(i);var o=r.offsetTop,l=r.offsetLeft,c=this.alignX,u=this.alignY,h=this.offsetX,f=this.offsetY,d=function(t,e,n,i){var r=[];return"left"===t&&"top"===e?(r[0]=0,r[1]=0):"right"===t&&"top"===e?(r[0]=-n,r[1]=0):"left"===t&&"bottom"===e?(r[0]=0,r[1]=Math.floor(-i)):"right"===t&&"bottom"===e?(r[0]=Math.floor(-n),r[1]=Math.floor(-i)):"right"===t&&"middle"===e?(r[0]=Math.floor(-n),r[1]=Math.floor(-i/2)):"left"===t&&"middle"===e?(r[0]=0,r[1]=Math.floor(-i/2)):"center"===t&&"bottom"===e?(r[0]=Math.floor(-n/2),r[1]=Math.floor(-i)):"center"===t&&"top"===e?(r[0]=Math.floor(-n/2),r[1]=0):(r[0]=Math.floor(-n/2),r[1]=Math.floor(-i/2)),r}(c,u,tt(i),et(i));n.x=n.x+d[0]+l,n.y=n.y+d[1]+o,h&&(n.x+=h),f&&(n.y+=f),xr(i,{top:Math.floor(n.y)+"px",left:Math.floor(n.x)+"px",visibility:"visible"}),this.element=s}},n.remove=function(){var t=this.element;t&&t.parentNode&&t.parentNode.removeChild(t)},e}(mr);mr.Html=br;var wr=function(t){function e(){return t.apply(this,arguments)||this}_t(e,t);var n=e.prototype;return n._initDefaultCfg=function(){this.type="line",this.start=[],this.end=[],this.style={stroke:"#000",lineWidth:1}},n.render=function(t,e){var n=[];if(n[0]=this.parsePoint(t,this.start),n[1]=this.parsePoint(t,this.end),n[0]&&n[1]){var i=e.addShape("Line",{className:"guide-line",attrs:T({x1:n[0].x,y1:n[0].y,x2:n[1].x,y2:n[1].y},this.style)});return this.element=i,i}},e}(mr);mr.Line=wr;var Sr=function(t){function e(){return t.apply(this,arguments)||this}_t(e,t);var n=e.prototype;return n._initDefaultCfg=function(){this.type="rect",this.start=[],this.end=[],this.style={fill:"#CCD7EB",opacity:.4}},n.render=function(t,e){var n=this.parsePoint(t,this.start),i=this.parsePoint(t,this.end);if(n&&i){var r=e.addShape("rect",{className:"guide-rect",attrs:T({x:Math.min(n.x,i.x),y:Math.min(n.y,i.y),width:Math.abs(i.x-n.x),height:Math.abs(n.y-i.y)},this.style)});return this.element=r,r}},e}(mr);mr.Rect=Sr;var Mr=function(t){function e(){return t.apply(this,arguments)||this}_t(e,t);var n=e.prototype;return n._initDefaultCfg=function(){this.type="text",this.position=null,this.content=null,this.style={fill:"#000"},this.offsetX=0,this.offsetY=0},n.render=function(t,e){var n=this.position,i=this.parsePoint(t,n);if(i){var r=this.content,a=this.style,s=this.offsetX,o=this.offsetY;s&&(i.x+=s),o&&(i.y+=o);var l=e.addShape("text",{className:"guide-text",attrs:T({x:i.x,y:i.y,text:r},a)});return this.element=l,l}},e}(mr);mr.Text=Mr;var Cr=function(t){function e(){return t.apply(this,arguments)||this}_t(e,t);var n=e.prototype;return n._initDefaultCfg=function(){this.type="tag",this.position=null,this.content=null,this.direct="tl",this.autoAdjust=!0,this.offsetX=0,this.offsetY=0,this.side=4,this.background={padding:5,radius:2,fill:"#1890FF"},this.textStyle={fontSize:12,fill:"#fff",textAlign:"center",textBaseline:"middle"},this.withPoint=!0,this.pointStyle={fill:"#1890FF",r:3,lineWidth:1,stroke:"#fff"}},n._getDirect=function(t,e,n,i){var r=this.direct,a=this.side,s=t.get("canvas"),o=s.get("width"),l=s.get("height"),c=e.x,u=e.y,h=r[0],f=r[1];"t"===h&&u-a-i<0?h="b":"b"===h&&u+a+i>l&&(h="t");var d="c"===h?a:0;return"l"===f&&c-d-n<0?f="r":"r"===f&&c+d+n>o?f="l":"c"===f&&(n/2+c+d>o?f="l":c-n/2-d<0&&(f="r")),h+f},n.render=function(t,e){var n=this.parsePoint(t,this.position);if(n&&!isNaN(n.x)&&!isNaN(n.y)){var i=this.content,r=this.background,a=this.textStyle,s=[],o=e.addGroup({className:"guide-tag"});if(this.withPoint){var l=o.addShape("Circle",{className:"guide-tag-point",attrs:T({x:n.x,y:n.y},this.pointStyle)});s.push(l)}var c=o.addGroup(),u=c.addShape("text",{className:"guide-tag-text",zIndex:1,attrs:T({x:0,y:0,text:i},a)});s.push(u);var h=u.getBBox(),f=ut(r.padding),d=h.width+f[1]+f[3],p=h.height+f[0]+f[2],g=h.minY-f[0],v=h.minX-f[3],m=c.addShape("rect",{className:"guide-tag-bg",zIndex:-1,attrs:T({x:v,y:g,width:d,height:p},r)});s.push(m);var y,x=this.autoAdjust?this._getDirect(e,n,d,p):this.direct,_=this.side,b=n.x+this.offsetX,w=n.y+this.offsetY,S=ut(r.radius);"tl"===x?(y=[{x:d+v-_-1,y:p+g-1},{x:d+v,y:p+g-1},{x:d+v,y:p+_+g}],S[2]=0,b-=d,w=w-_-p):"cl"===x?(y=[{x:d+v-1,y:(p-_)/2+g-1},{x:d+v-1,y:(p+_)/2+g+1},{x:d+_+v,y:p/2+g}],b=b-d-_,w-=p/2):"bl"===x?(y=[{x:d+v,y:-_+g},{x:d+v-_-1,y:g+1},{x:d+v,y:g+1}],S[1]=0,b-=d,w+=_):"bc"===x?(y=[{x:d/2+v,y:-_+g},{x:(d-_)/2+v-1,y:g+1},{x:(d+_)/2+v+1,y:g+1}],b-=d/2,w+=_):"br"===x?(y=[{x:v,y:g-_},{x:v,y:g+1},{x:v+_+1,y:g+1}],S[0]=0,w+=_):"cr"===x?(y=[{x:v-_,y:p/2+g},{x:v+1,y:(p-_)/2+g-1},{x:v+1,y:(p+_)/2+g+1}],b+=_,w-=p/2):"tr"===x?(y=[{x:v,y:p+_+g},{x:v,y:p+g-1},{x:_+v+1,y:p+g-1}],S[3]=0,w=w-p-_):"tc"===x&&(y=[{x:(d-_)/2+v-1,y:p+g-1},{x:(d+_)/2+v+1,y:p+g-1},{x:d/2+v,y:p+_+g}],b-=d/2,w=w-p-_);var M=c.addShape("Polygon",{className:"guide-tag-side",zIndex:0,attrs:{points:y,fill:r.fill}});return s.push(M),m.attr("radius",S),c.moveTo(b-v,w-g),c.sort(),this.element=o,s}},e}(mr);mr.Tag=Cr;var kr=function(t){function e(){return t.apply(this,arguments)||this}_t(e,t);var n=e.prototype;return n._initDefaultCfg=function(){this.type="point",this.position=null,this.offsetX=0,this.offsetY=0,this.style={fill:"#1890FF",r:3,lineWidth:1,stroke:"#fff"}},n.render=function(t,e){var n=this.parsePoint(t,this.position);if(!n)return null;var i=e.addShape("Circle",{className:"guide-point",attrs:T({x:n.x+this.offsetX,y:n.y+this.offsetY},this.style)});return this.element=i,i},e}(mr);mr.Point=kr;var Pr=function(){var t=e.prototype;function e(t){I(this,this.getDefaultCfg(),t),this._init(),this._renderTitle(),this._renderItems()}return t.getDefaultCfg=function(){return{showTitle:!1,title:null,items:null,titleGap:12,itemGap:10,itemMarginBottom:12,itemFormatter:null,itemWidth:null,wordSpace:6,x:0,y:0,layout:"horizontal",joinString:": "}},t._init=function(){var t=this.parent;if(t){var e=t.addGroup({zIndex:this.zIndex||0});this.container=e;var n=e.addGroup();this.wrapper=n;var i=n.addGroup({className:"itemsGroup"});this.itemsGroup=i}},t._renderTitle=function(t){t=t||this.title;var e=this.titleShape,n=0;if(this.showTitle&&t){if(e&&!e.get("destroyed"))e.attr("text",t);else{var i=this.wrapper,r=this.titleStyle;e=i.addShape("text",{className:"title",attrs:T({x:0,y:0,text:t},r)}),this.titleShape=e}n=e.getBBox().height+this.titleGap}this._titleHeight=n},t._renderItems=function(t){var e=this;(t=t||e.items)&&(e.reversed&&t.reverse(),u(t,(function(t,n){e._addItem(t,n)})),t.length>1&&this._adjustItems(),this._renderBackground())},t._renderBackground=function(){var t=this.background;if(t){var e=this.container,n=this.wrapper.getBBox(),i=n.minX,r=n.minY,a=n.width,s=n.height,o=t.padding||[0,0,0,0],l=T({x:i-(o=ut(o))[3],y:r-o[0],width:a+o[1]+o[3],height:s+o[0]+o[2]},t),c=this.backShape;c?c.attr(l):c=e.addShape("Rect",{zIndex:-1,attrs:l}),this.backShape=c,e.sort()}},t._addItem=function(t){var e,n=this.itemsGroup.addGroup({name:t.name,value:t.value,dataValue:t.dataValue,checked:t.checked}),i=this.unCheckStyle,r=this.unCheckColor,a=this.nameStyle,s=this.valueStyle,o=this.wordSpace,l=t.marker,c=t.value,u=0;if(r&&(i.fill=r),l){var h=T({x:l.radius||3,y:this._titleHeight},l);!1===t.checked&&T(h,i),u+=n.addShape("marker",{className:"item-marker",attrs:h}).getBBox().width+o}var f=t.name;if(f){var d=this.joinString||"";f=c?f+d:f,e=n.addShape("text",{className:"name",attrs:T({x:u,y:this._titleHeight,text:this._formatItemValue(f)},a,!1===t.checked?i:null)})}if(c){var p=u;e&&(p+=e.getBBox().width),n.addShape("text",{className:"value",attrs:T({x:p,y:this._titleHeight,text:c},s,!1===t.checked?i:null)})}return n},t._formatItemValue=function(t){var e=this.itemFormatter;return e&&(t=e.call(this,t)),t},t._getMaxItemWidth=function(){var t=this.itemWidth;if(x(t)||o(t))return t;if("auto"===t){for(var e=this.itemsGroup.get("children"),n=e.length,i=0,r=0;r1e-4&&(o++,l=0),d.moveTo(l,o*e),u.push({x:l,y:o*e+s-g/2,width:1.375*v,height:1.375*g}),l+=t+r}this.legendHitBoxes=u},t._adjustVertical=function(){for(var t,e,n=this.maxLength,i=this.itemsGroup,r=this.itemGap,a=this.itemMarginBottom,s=this.itemWidth,o=this._titleHeight,l=i.get("children"),c=0,u=0,h=0,f=[],d=0,p=l.length;du&&(u=t+r),n-c=e.br.y&&(o=e.br.y-r),s<0&&(s=e.tl.x,n&&n.attr("x1",e.tl.x+a)),i.updatePosition(s,o)}},t.setXTipContent=function(t){var e=this.xTip;t=s(e)?e(t):T({text:t},e),this.xTipBox&&this.xTipBox.updateContent(t)},t.setXTipPosition=function(t){var e=this.showXTip,n=this.canvas,i=this.plotRange,r=this.xTipBox,a=this.crosshairsShapeY;if(e){var s=n.get("height"),o=r.getWidth(),l=r.getHeight(),c=t-o/2,u=i.br.y;c<=i.tl.x&&(c=i.tl.x),c+o>=i.tr.x&&(c=i.tr.x-o),s-u1?(t[0].x+t[t.length-1].x)/2:t[0].x)-h/2+i)p.x&&(g=p.x-h),s){var m=v+f;s.attr("points",[{x:o-3,y:m},{x:o+3,y:m},{x:o,y:m+4}]);var y=e.backShape,x=ut(y.attr("radius"));o===d.x?(x[3]=0,s.attr("points",[{x:d.x,y:m},{x:d.x+4,y:m},{x:d.x,y:m+4}])):o===p.x&&(x[2]=0,s.attr("points",[{x:p.x-4,y:m},{x:p.x,y:m},{x:p.x,y:m+4}])),y.attr("radius",x)}e.moveTo(g-c,v-u)}},t.setMarkers=function(t){void 0===t&&(t={});var e=t,n=e.items,i=e.style,r=e.type,a=this._getMarkerGroup(r);if("circle"===r)for(var s=0,o=n.length;s16&&(e.showTooltip(r),e.timeStamp=s)}else e.hideTooltip()}})),yt(this,"handleHideEvent",(function(){e.enable&&e.hideTooltip()})),this.enable=!0,this.cfg={},this.tooltip=null,this.chart=null,this.timeStamp=0,T(this,t);var n=this.chart.get("canvas");this.canvas=n,this.canvasDom=n.get("el")}var e=t.prototype;return e._setCrosshairsCfg=function(){var t=this.chart,e=T({},mt.tooltip),n=t.get("geoms"),i=[];u(n,(function(t){var e=t.get("type");-1===i.indexOf(e)&&i.push(e)}));var r=t.get("coord").type;return!n.length||"cartesian"!==r&&"rect"!==r||1===i.length&&-1!==["line","area","path","point"].indexOf(i[0])&&T(e,{showCrosshairs:!0}),e},e._getMaxLength=function(t){void 0===t&&(t={});var e=t,n=e.layout,i=e.plotRange;return"horizontal"===n?i.br.x-i.bl.x:i.bl.y-i.tr.y},e.render=function(){if(!this.tooltip){var t=this.chart,e=t.get("canvas"),n=t.get("frontPlot").addGroup({className:"tooltipContainer",zIndex:10}),i=t.get("backPlot").addGroup({className:"tooltipContainer"}),r=t.get("plotRange"),a=t.get("coord"),s=this._setCrosshairsCfg(),o=this.cfg,l=I({plotRange:r,frontPlot:n,backPlot:i,canvas:e,fixed:a.transposed||a.isPolar},s,o);l.maxLength=this._getMaxLength(l),this._tooltipCfg=l;var c=new Tr(l);this.tooltip=c,l.alwaysShow&&this.prePoint&&this.showTooltip(this.prePoint),this.bindEvents()}},e.clear=function(){var t=this.tooltip;t&&(t.destroy(),this.unBindEvents()),this.tooltip=null,this._lastActive=null},e._getTooltipMarkerStyle=function(t){void 0===t&&(t={});var e=t,n=e.type,i=e.items,r=this._tooltipCfg;if("rect"===n){var a,s,o,l,c=this.chart,u=c.get("plotRange"),h=u.tl,f=u.br,d=c.get("coord"),p=i[0],g=i[i.length-1],v=p.width;d.transposed?(a=h.x,s=g.y-.75*v,o=f.x-h.x,l=p.y-g.y+1.5*v):(a=p.x-.75*v,s=h.y,o=g.x-p.x+1.5*v,l=f.y-h.y),t.style=T({x:a,y:s,width:o,height:l,fill:"#CCD6EC",opacity:.3},r.tooltipMarkerStyle)}else t.style=T({radius:4,fill:"#fff",lineWidth:2},r.tooltipMarkerStyle);return t},e._setTooltip=function(t,e,n){void 0===n&&(n={}),this.prePoint=t;var i=this._lastActive,r=this.tooltip,a=this._tooltipCfg;e=Er(e);var s=this.chart,o=s.get("coord"),l=s.getYScales()[0],c=a.snap;if(!1===c&&l.isLinear){var u,h,f=o.invertPoint(t);Ei(t,s.get("plotRange"))&&(o.transposed?(u=l.invert(f.x),h=t.x,r.setXTipContent(u),r.setXTipPosition(h),r.setYCrosshairPosition(h)):(u=l.invert(f.y),h=t.y,r.setYTipContent(u),r.setYTipPosition(h),r.setXCrosshairPosition(h)))}if(a.onShow&&a.onShow({x:t.x,y:t.y,tooltip:r,items:e,tooltipMarkerCfg:n}),d=i,p=e,JSON.stringify(d)!==JSON.stringify(p)){var d,p;this._lastActive=e;var g=a.onChange;g&&g({x:t.x,y:t.y,tooltip:r,items:e,tooltipMarkerCfg:n});var v=e[0],m=v.title||v.name,y=v.x;if(e.length>1&&(y=(e[0].x+e[e.length-1].x)/2),r.setContent(m,e,o.transposed),r.setPosition(e,t),o.transposed){var x=v.y;e.length>1&&(x=(e[0].y+e[e.length-1].y)/2),r.setYTipContent(m),r.setYTipPosition(x),r.setXCrosshairPosition(x),c&&(r.setXTipContent(v.value),r.setXTipPosition(y),r.setYCrosshairPosition(y))}else r.setXTipContent(m),r.setXTipPosition(y),r.setYCrosshairPosition(y),c&&(r.setYTipContent(v.value),r.setYTipPosition(v.y),r.setXCrosshairPosition(v.y));var _=n.items;a.showTooltipMarker&&_.length?(n=this._getTooltipMarkerStyle(n),r.setMarkers(n)):r.clearMarkers(),r.show()}else!1===c&&(ht(a.crosshairsType,"y")||a.showYTip)&&this.chart.get("canvas").draw()},e.showTooltip=function(t){var e,n,i=this.chart,r=[],a=[],s=this._tooltipCfg,o=s.showItemMarker,c=s.itemMarkerStyle,h=s.alwaysShow;o&&(n=c);var f=i.get("geoms"),d=i.get("coord");if(u(f,(function(i){if(i.get("visible")){var s=i.get("type"),o=i.getSnapRecords(t),c=i.get("adjust");if("interval"===s&&c&&"symmetric"===c.type)return;u(o,(function(t){var o=t.x,c=t.y,u=t._origin,h=t.color;if((o||!isNaN(o))&&(c||!isNaN(c))){var f={x:o,y:l(c)?c[1]:c,color:h||mt.defaultColor,origin:u,name:Ir(i,u),value:Yr(i,u),title:Or(i,u)};n&&(f.marker=T({fill:h||mt.defaultColor},n)),a.push(f),-1!==["line","area","path"].indexOf(s)?(e="circle",r.push(f)):"interval"!==s||"cartesian"!==d.type&&"rect"!==d.type||(e="rect",f.width=i.getSize(t._origin),r.push(f))}}))}})),a.length){var p={items:r,type:e};this._setTooltip(t,a,p)}else h||this.hideTooltip()},e.hideTooltip=function(){var t=this._tooltipCfg;this._lastActive=null;var e=this.tooltip;e&&(e.hide(),t.onHide&&t.onHide({tooltip:e}),this.chart.get("canvas").draw())},e._handleEvent=function(t,e,n){var i=this.canvas;u([].concat(t),(function(t){"bind"===n?i.on(t,e):i.off(t,e)}))},e.bindEvents=function(){var t=this._tooltipCfg,e=t.triggerOn,n=t.triggerOff,i=t.alwaysShow;e&&this._handleEvent(e,this.handleShowEvent,"bind"),i||this._handleEvent(n,this.handleHideEvent,"bind")},e.unBindEvents=function(){var t=this._tooltipCfg,e=t.triggerOn,n=t.triggerOff,i=t.alwaysShow;e&&this._handleEvent(e,this.handleShowEvent,"unBind"),i||this._handleEvent(n,this.handleHideEvent,"unBind")},t}();function Nr(t){var e=new Fr({chart:t});t.set("tooltipController",e),t.tooltip=function(t,n){return c(t)&&(n=t,t=!0),e.enable=t,n&&(e.cfg=n),this}}function zr(t){var e=t.get("tooltipController");e.render(),t.showTooltip=function(t){return e.showTooltip(t),this},t.hideTooltip=function(){return e.hideTooltip(),this}}function Br(t){t.get("tooltipController").clear()}var Lr={init:Nr,afterGeomDraw:zr,clearInner:Br},jr=Object.freeze({__proto__:null,init:Nr,afterGeomDraw:zr,clearInner:Br,default:Lr});mt.guide=I({line:{style:{stroke:"#a3a3a3",lineWidth:1},top:!0},text:{style:{fill:"#787878",textAlign:"center",textBaseline:"middle"},offsetX:0,offsetY:0,top:!0},rect:{style:{fill:"#fafafa"},top:!1},arc:{style:{stroke:"#a3a3a3"},top:!0},html:{offsetX:0,offsetY:0,alignX:"center",alignY:"middle"},tag:{top:!0,offsetX:0,offsetY:0,side:4,background:{padding:5,radius:2,fill:"#1890FF"},textStyle:{fontSize:12,fill:"#fff",textAlign:"center",textBaseline:"middle"}},point:{top:!0,offsetX:0,offsetY:0,style:{fill:"#fff",r:3,lineWidth:2,stroke:"#1890ff"}}},mt.guide||{});var Xr=function(){function t(t){this.guides=[],this.xScale=null,this.yScales=null,this.guideShapes=[],T(this,t)}var e=t.prototype;return e._toString=function(t){return s(t)&&(t=t(this.xScale,this.yScales)),t.toString()},e._getId=function(t,e){var n=e.id;if(!n){var i=e.type;n="arc"===i||"line"===i||"rect"===i?this._toString(e.start)+"-"+this._toString(e.end):this._toString(e.position)}return n},e.paint=function(t){var e=this,n=e.chart,i=e.guides,r=e.xScale,a=e.yScales,s=[];u(i,(function(i,o){var l;i.xScale=r,i.yScales=a,"regionFilter"===i.type?i.chart=n:l=i.top?e.frontPlot:e.backPlot,i.coord=t,i.container=l,i.canvas=n.get("canvas");var c=i.render(t,l);if(c){var u=e._getId(c,i);[].concat(c).forEach((function(t){t._id=t.get("className")+"-"+u,t.set("index",o),s.push(t)}))}})),e.guideShapes=s},e.clear=function(){return this.reset(),this.guides=[],this},e.reset=function(){u(this.guides,(function(t){t.remove()}))},e._createGuide=function(t,e){var n=S(t),i=new mr[n](I({},mt.guide[t],e));return this.guides.push(i),i},e.line=function(t){return void 0===t&&(t={}),this._createGuide("line",t)},e.text=function(t){return void 0===t&&(t={}),this._createGuide("text",t)},e.arc=function(t){return void 0===t&&(t={}),this._createGuide("arc",t)},e.html=function(t){return void 0===t&&(t={}),this._createGuide("html",t)},e.rect=function(t){return void 0===t&&(t={}),this._createGuide("rect",t)},e.tag=function(t){return void 0===t&&(t={}),this._createGuide("tag",t)},e.point=function(t){return void 0===t&&(t={}),this._createGuide("point",t)},e.regionFilter=function(t){return void 0===t&&(t={}),this._createGuide("regionFilter",t)},t}();function Rr(t){var e=new Xr({frontPlot:t.get("frontPlot").addGroup({zIndex:20,className:"guideContainer"}),backPlot:t.get("backPlot").addGroup({className:"guideContainer"})});t.set("guideController",e),t.guide=function(){return e}}function Gr(t){var e=t.get("guideController");if(e.guides.length){var n=t.getXScale(),i=t.getYScales(),r=t.get("coord");e.xScale=n,e.yScales=i,e.chart=t,e.paint(r)}}function Hr(t){t.get("guideController").clear()}function Wr(t){t.get("guideController").reset()}var Vr={init:Rr,afterGeomDraw:Gr,clear:Hr,repaint:Wr},$r=Object.freeze({__proto__:null,init:Rr,afterGeomDraw:Gr,clear:Hr,repaint:Wr,default:Vr}),qr={itemMarginBottom:12,itemGap:10,showTitle:!1,titleStyle:{fontSize:12,fill:"#808080",textAlign:"start",textBaseline:"top"},nameStyle:{fill:"#808080",fontSize:12,textAlign:"start",textBaseline:"middle"},valueStyle:{fill:"#000000",fontSize:12,textAlign:"start",textBaseline:"middle"},unCheckStyle:{fill:"#bfbfbf"},itemWidth:"auto",wordSpace:6,selectedMode:"multiple"};mt.legend=I({common:qr,right:T({position:"right",layout:"vertical"},qr),left:T({position:"left",layout:"vertical"},qr),top:T({position:"top",layout:"horizontal"},qr),bottom:T({position:"bottom",layout:"horizontal"},qr)},mt.legend||{});var Ur=function(){function t(t){var e=this;yt(this,"handleEvent",(function(t){var n=e,i=n.chart,r=lt(t,i),a=function(t,e){var i=null;return u(n.legends,(function(n){u(n,(function(n){var r=n.itemsGroup,a=n.legendHitBoxes,s=r.get("children");if(s.length){var o=n.x,l=n.y;u(a,(function(r,a){if(t>=r.x+o&&t<=r.x+r.width+o&&e>=r.y+l&&e<=r.height+r.y+l)return i={clickedItem:s[a],clickedLegend:n},!1}))}}))})),i}(r.x,r.y);if(a&&!1!==a.clickedLegend.clickable){var s=a.clickedItem,o=a.clickedLegend;if(o.onClick)t.clickedItem=s,o.onClick(t);else if(!o.custom){var l=s.get("checked"),c=s.get("dataValue"),h=o.filteredVals,f=o.field;"single"===o.selectedMode?i.filter(f,(function(t){return t===c})):(l?h.push(c):G(h,c),i.filter(f,(function(t){return-1===h.indexOf(t)}))),i.repaint()}}})),this.legendCfg={},this.enable=!0,this.position="top",T(this,t);var n=this.chart;this.canvasDom=n.get("canvas").get("el"),this.clear()}var e=t.prototype;return e.addLegend=function(t,e,n){var i=this.legendCfg,r=t.field,a=i[r];if(!1===a)return null;if(a&&a.custom)this.addCustomLegend(r);else{var s=i.position||this.position;a&&a.position&&(s=a.position),t.isCategory&&this._addCategoryLegend(t,e,s,n)}},e.addCustomLegend=function(t){var e=this.legendCfg;t&&e[t]&&(e=e[t]);var n=e.position||this.position,i=this.legends;i[n]=i[n]||[];var r=e.items;if(!r)return null;var a=this.container;u(r,(function(t){d(t.marker)?t.marker.radius=t.marker.radius||3:t.marker={symbol:t.marker||"circle",fill:t.fill,radius:3},t.checked=!!o(t.checked)||t.checked,t.name=t.name||t.value}));var s=new Pr(I({},mt.legend[n],e,{maxLength:this._getMaxLength(n),items:r,parent:a}));i[n].push(s)},e.clear=function(){u(this.legends,(function(t){u(t,(function(t){t.clear()}))})),this.legends={},this.unBindEvents()},e._isFiltered=function(t,e,n){var i=!1;return u(e,(function(e){if(i=i||t.getText(e)===t.getText(n))return!1})),i},e._getMaxLength=function(t){var e=this.chart,n=ut(e.get("appendPadding"));return"right"===t||"left"===t?e.get("height")-(n[0]+n[2]):e.get("width")-(n[1]+n[3])},e._addCategoryLegend=function(t,e,n,i){var r=this,a=r.legendCfg,s=r.legends,o=r.container,l=r.chart,c=t.field;s[n]=s[n]||[];var h="circle";a[c]&&a[c].marker?h=a[c].marker:a.marker&&(h=a.marker),u(e,(function(e){d(h)?T(e.marker,h):e.marker.symbol=h,i&&(e.checked=!r._isFiltered(t,i,e.dataValue))})),l.get("legendItems")[c]=e;var f=I({},mt.legend[n],a[c]||a,{maxLength:r._getMaxLength(n),items:e,field:c,filteredVals:i,parent:o});f.showTitle&&I(f,{title:t.alias||t.field});var p=new Pr(f);return s[n].push(p),p},e._alignLegend=function(t,e,n){var i=this.plotRange,r=i.tl,a=i.bl,s=this.chart,o=t.offsetX||0,l=t.offsetY||0,c=s.get("width"),u=s.get("height"),h=ut(s.get("appendPadding")),f=t.getHeight(),d=t.getWidth(),p=0,g=0;if("left"===n||"right"===n){var v=t.verticalAlign||"middle",m=Math.abs(r.y-a.y);p="left"===n?h[3]:c-d-h[1],g=(m-f)/2+r.y,"top"===v?g=r.y:"bottom"===v&&(g=a.y-f),e&&(g=e.get("y")-f-12)}else{var y=t.align||"left";if(p=h[3],"center"===y?p=c/2-d/2:"right"===y&&(p=c-(d+h[1])),g="top"===n?h[0]+Math.abs(t.container.getBBox().minY):u-f,e){var x=e.getWidth();p=e.x+x+12}}"bottom"===n&&l>0&&(l=0),"right"===n&&o>0&&(o=0),t.moveTo(p+o,g+l)},e.alignLegends=function(){var t=this;return u(t.legends,(function(e,n){u(e,(function(i,r){var a=e[r-1];t._alignLegend(i,a,n)}))})),t},e.bindEvents=function(){var t=this.legendCfg.triggerOn||"touchstart";rt(this.canvasDom,t,this.handleEvent)},e.unBindEvents=function(){var t=this.legendCfg.triggerOn||"touchstart";at(this.canvasDom,t,this.handleEvent)},t}();function Jr(t){var e=new Ur({container:t.get("backPlot").addGroup(),plotRange:t.get("plotRange"),chart:t});t.set("legendController",e),t.legend=function(t,n){var i=e.legendCfg;return e.enable=!0,C(t)?(e.enable=t,i=n||{}):c(t)?i=t:i[t]=n,e.legendCfg=i,this}}function Zr(t){var e=t.get("legendController");if(!e.enable)return null;var n=e.legendCfg,i=e.container;if(n&&n.custom)e.addCustomLegend();else{var r=t.getLegendItems(),a=t.get("scales"),s=t.get("filters");u(r,(function(t,n){var i,r=a[n],o=r.values;i=s&&s[n]?o.filter((function(t){return!s[n](t)})):[],e.addLegend(r,t,i)}))}n&&!1!==n.clickable&&e.bindEvents();var o=e.legends,l={top:0,right:0,bottom:0,left:0};u(o,(function(e,n){var i=0;u(e,(function(t){var e=t.getWidth(),r=t.getHeight();"top"===n||"bottom"===n?(i=Math.max(i,r),t.offsetY>0&&(i+=t.offsetY)):(i=Math.max(i,e),t.offsetX>0&&(i+=t.offsetX))})),l[n]=i+function(t,e){var n=0;switch(e=ut(e),t){case"top":n=e[0];break;case"right":n=e[1];break;case"bottom":n=e[2];break;case"left":n=e[3]}return n}(n,t.get("appendPadding"))})),t.set("legendRange",l),Object.keys(o).length?i.set("ariaLabel",vt.legend.prefix):i.set("ariaLabel",null)}function Qr(t){t.get("legendController").alignLegends()}function Kr(t){t.get("legendController").clear(),t.set("legendRange",null)}var ta={init:Jr,beforeGeomDraw:Zr,afterGeomDraw:Qr,clearInner:Kr},ea=Object.freeze({__proto__:null,init:Jr,beforeGeomDraw:Zr,afterGeomDraw:Qr,clearInner:Kr,default:ta}),na="object"==typeof performance&&performance.now?performance:Date,ia=function(){function t(){this.anims=[],this.time=null,this.playing=!1,this.canvas=[]}var e=t.prototype;return e.play=function(){var t=this;t.time=na.now(),t.playing=!0,Pi((function e(){t.playing&&(Pi(e),t.update())}))},e.stop=function(){this.playing=!1,this.time=null,this.canvas=[]},e.pushAnim=function(t){this.playing||this.play();var e=t.delay,n=t.duration,i=this.time+e,r=i+n;t.startTime=i,t.endTime=r,this.anims.push(t)},e.update=function(){var t=na.now();if(this.canvas=[],this.anims.length){for(var e=0;e=n.startTime&&!n.hasStarted&&(n.hasStarted=!0,n.onStart&&n.onStart());var l=(t-n.startTime)/o;if(l=Math.max(0,Math.min(l,1)),l=n.easing(l),n.onFrame)n.onFrame(l);else for(var c in s){var u=(0,s[c])(l),h=void 0;if("points"===c){h=[];for(var f=Math.max(r.points.length,a.points.length),d=0;d=n.endTime&&!n.hasEnded&&(n.hasEnded=!0,n.onEnd&&n.onEnd()),1===l&&(this.anims.splice(e,1),e--)}}}this.canvas.map((function(t){return t.draw(),t})),this.time=na.now()}else this.stop()},t}();function ra(t){return t}function aa(t){return 1-sa(1-t)}function sa(t){return(t/=1)<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}var oa=Object.freeze({__proto__:null,linear:ra,quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},elasticIn:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4/(2*Math.PI)*Math.asin(1/n),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4))},elasticOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4/(2*Math.PI)*Math.asin(1/n),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/.4)+1)},elasticInOut:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=i/(2*Math.PI)*Math.asin(1/n),(t*=2)<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:aa,bounceOut:sa,bounceInOut:function(t){return t<.5?.5*aa(2*t):.5*sa(2*t-1)+.5}});function la(t){for(var e=[],n=0,i=t.length;nl.x?i.x:l.x,s=l.y+h/2):"xy"===r&&(n.isPolar?(a=n.center.x,s=n.center.y):(a=(l.x+c.x)/2,s=(l.y+c.y)/2));var d=pa(f,[a,s],r);f.isClip=!0,f.endState={matrix:d},f.set("canvas",t.get("canvas")),t.attr("clip",f),ga(f,f.endState,e,(function(){t.attr("clip",null),f.remove(!0)}))}function xa(t,e,n){for(var i=t.get("children"),r=0,a=i.length;r-1&&(t="guide-tag"),c(n)?n[t]:!1!==n&&null}function Oa(){(Ca=new ia).play()}function Ea(t){if(!1!==t.get("animate")){var e=t.get("isUpdate"),n=t.get("canvas"),i=t.get("coord"),r=t.get("geoms"),a=n.get("caches")||[];0===a.length&&(e=!1);var l=Aa(r,t,i),c=t.get("axisController"),h=c.frontPlot,f=c.backPlot,d=h.get("children").concat(f.get("children")),p=[];t.get("guideController")&&(p=t.get("guideController").guideShapes);var g,v,m=[];d.concat(p).forEach((function(e){var n=Ya(e.get("className"),t);e.set("coord",i),e.set("animateCfg",n),m.push(e),l.push(e)})),n.set("caches",function(t){for(var e={},n=0,i=t.length;n1?[1-a,1]:[o,l],this.updateRange(e)}},e.updateRange=function(t){var e=this.values,n=t[0],i=t[1];n=Math.max(0,n),i=Math.min(1,i),this.range=[n,i];var r=e.length,a=n*r,s=i*r,o=e.slice(a,s);this.repaint(o)},e.repaint=function(t){var e=this.chart,n=this.getPinchScale(),i=n.values,r=n.ticks;(function(t,e){if(t.length!==e.length)return!1;var n=t.length-1;return t[0]===e[0]&&t[n]===e[n]})(i,t)||(this.updateScale(n,{ticks:r,values:t}),this.updateFollowScale(n,t),e.repaint())},e.updateFollowScale=function(t,e){var n=this.chart,i=this.getFollowScale(),r=t.field,a=t.type,s=i.field,o=[],l={};e.forEach((function(t){l[t]=!0})),n.get("data").forEach((function(t){if("timeCat"===a){var e=ft(t[r]);l[e]&&o.push(t[s])}}));var c=H(o),u=c.min,h=c.max;this.updateScale(i,{min:u,max:h,nice:!0})},e.updateScale=function(t,e){t&&t.change(e)},e.updateTicks=function(){var t=this.chart,e=this.values,n=this.getPinchScale(),i=n.values,r=n.tickCount,a=Math.round(r*e.length/i.length),s=Kt("cat")({tickCount:a,values:e});this.updateScale(n,{ticks:s,values:i}),t.repaint()},e.destroy=function(){var t=this.chart;t.off("afterinit",this._afterinit),t.off("afterdatachange",this._afterdatachange)},t}(),ja=function(){var t=e.prototype;function e(t,e){var n=this;yt(this,"type",""),yt(this,"startEvent","touchstart"),yt(this,"processEvent","touchmove"),yt(this,"endEvent","touchend"),yt(this,"resetEvent",null),yt(this,"context",null),yt(this,"_start",(function(t){n.preStart&&n.preStart(t),n.start(t),n.onStart&&n.onStart(t)})),yt(this,"_process",(function(t){n.preProcess&&n.preProcess(t),n.process(t),n.onProcess&&n.onProcess(t)})),yt(this,"_end",(function(t){n.preEnd&&n.preEnd(t),n.end(t),n.onEnd&&n.onEnd(t)})),yt(this,"_reset",(function(t){n.preReset&&n.preReset(t),n.reset(t),n.onReset&&n.onReset(t)})),T(this,this.getDefaultCfg(),t),this.context=this.getInteractionContext(e),this.chart=e;var i=this.range;i&&(this.context.range=i),this._bindEvents(e)}return t.getDefaultCfg=function(){return{}},t.getInteractionContext=function(t){var e=t.get("interactionContext");return e||(e=new La(t),t.set("interactionContext",e),e)},t._bindEvents=function(t){var e=this.startEvent,n=this.processEvent,i=this.endEvent,r=this.resetEvent,a=t.get("canvas");a.on(e,this._start),a.on(n,this._process),a.on(i,this._end),a.on(r,this._reset)},t._clearEvents=function(){var t=this.chart,e=this.startEvent,n=this.processEvent,i=this.endEvent,r=this.resetEvent,a=t.get("canvas");a.off(e,this._start),a.off(n,this._process),a.off(i,this._end),a.off(r,this._start)},t.start=function(){},t.process=function(){},t.end=function(){},t.reset=function(){},t.destroy=function(){this.context.destroy(),this._clearEvents()},e}(),Xa=function(t){function e(){return t.apply(this,arguments)||this}_t(e,t);var n=e.prototype;return n.getDefaultCfg=function(){return{type:"pan",startEvent:"panstart",processEvent:"pan",endEvent:"panend"}},n.start=function(){this.context.start()},n.process=function(t){var e=t.direction,n=t.deltaX;if("up"!==e&&"down"!==e){t.preventDefault&&t.preventDefault();var i=this.context,r=i.chart.get("coord"),a=r.start,s=n/(r.end.x-a.x);i.doMove(s)}},e}(ja),Ra=function(t){_t(n,t);var e=n.prototype;function n(e,n){var i;return T(bt(i=t.call(this,e,n)||this).context,e),i}return e.getDefaultCfg=function(){return{type:"pinch",startEvent:"pinchstart",processEvent:"pinch",endEvent:"pinchend"}},e.start=function(){this.context.start()},e.process=function(t){t.preventDefault&&t.preventDefault();var e=t.zoom,n=t.center,i=this.context,r=i.chart.get("coord"),a=r.start,s=r.end,o=s.x-a.x,l=Math.abs(n.x-a.x)/o,c=Math.abs(s.x-n.x)/o;i.doZoom(l,c,e)},e.end=function(){this.context.updateTicks()},n}(ja);zi.registerInteraction("pan",Xa),zi.registerInteraction("pinch",Ra);var Ga={Marker:Qn.Marker,Tooltip:Tr};zi.plugins.register([jr,ea,$r,za]);var Ha={Component:Ga,Global:mt,Chart:zi,Shape:Rt,G:Yi,Util:dt,Helper:Fi,track:Bi,Animate:da};e.Animate=da,e.Chart=zi,e.Component=Ga,e.G=Yi,e.Global=mt,e.Helper=Fi,e.Shape=Rt,e.Util=dt,e.default=Ha,e.track=Bi,Object.defineProperty(e,"__esModule",{value:!0})}))}).call(this,n("c8ba"))},f052:function(t,e,n){"use strict";n.r(e);var i=n("2ec7"),r=n("4fb4");for(var a in r)"default"!==a&&function(t){n.d(e,t,(function(){return r[t]}))}(a);n("93f3");var s,o=n("f0c5"),l=Object(o["a"])(r["default"],i["b"],i["c"],!1,null,"32d2e1d6",null,!1,i["a"],s);e["default"]=l.exports},f1a7:function(t,e,n){"use strict";n.r(e);var i=n("6876"),r=n("5f33");for(var a in r)"default"!==a&&function(t){n.d(e,t,(function(){return r[t]}))}(a);n("99ac");var s,o=n("f0c5"),l=Object(o["a"])(r["default"],i["b"],i["c"],!1,null,"218f84fe",null,!1,i["a"],s);e["default"]=l.exports},f8cb:function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,".l-f2[data-v-32d2e1d6]{width:100%;height:100%;position:relative}.l-f2__mask[data-v-32d2e1d6]{position:absolute;left:0;right:0;bottom:0;top:0;background-color:#fff;z-index:1}.l-f2__canvas[data-v-32d2e1d6]{width:100%;height:100%}",""]),t.exports=e},fa4b:function(t,e,n){t.exports=n.p+"static/img/chain-back-00.8e82e1c1.png"},fe87:function(t,e,n){var i=n("f8cb");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=n("4f06").default;r("6ddd28b6",i,!0,{sourceMap:!1,shadowMode:!1})}}]); \ No newline at end of file + ***************************************************************************** */function ie(t,e){function n(){this.constructor=t}ne(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}function re(){for(var t=0,e=0,n=arguments.length;ethis.max?NaN:this.values[i]},e.prototype.getText=function(e){for(var n=[],i=1;i1?t-1:t}},e}(ee),se=/d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,oe="[^\\s]+",le=/\[([^]*?)\]/gm;function ce(t,e){for(var n=[],i=0,r=t.length;i-1?i:null}};function he(t){for(var e=[],n=1;n3?0:(t-t%10!=10?1:0)*t%10]}},ve=he({},ge),me=function(t){return ve=he(ve,t)},ye=function(t){return t.replace(/[|\\{()[^$+*?.-]/g,"\\$&")},xe=function(t,e){for(void 0===e&&(e=2),t=String(t);t.length0?"-":"+")+xe(100*Math.floor(Math.abs(e)/60)+Math.abs(e)%60,4)},Z:function(t){var e=t.getTimezoneOffset();return(e>0?"-":"+")+xe(Math.floor(Math.abs(e)/60),2)+":"+xe(Math.abs(e)%60,2)}},be=function(t){return+t-1},we=[null,"[1-9]\\d?"],Se=[null,oe],Me=["isPm",oe,function(t,e){var n=t.toLowerCase();return n===e.amPm[0]?0:n===e.amPm[1]?1:null}],Ce=["timezoneOffset","[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z?",function(t){var e=(t+"").match(/([+-]|\d\d)/gi);if(e){var n=60*+e[1]+parseInt(e[2],10);return"+"===e[0]?n:-n}return 0}],ke={D:["day","[1-9]\\d?"],DD:["day","\\d\\d"],Do:["day","[1-9]\\d?"+oe,function(t){return parseInt(t,10)}],M:["month","[1-9]\\d?",be],MM:["month","\\d\\d",be],YY:["year","\\d\\d",function(t){var e=+(""+(new Date).getFullYear()).substr(0,2);return+(""+(+t>68?e-1:e)+t)}],h:["hour","[1-9]\\d?",void 0,"isPm"],hh:["hour","\\d\\d",void 0,"isPm"],H:["hour","[1-9]\\d?"],HH:["hour","\\d\\d"],m:["minute","[1-9]\\d?"],mm:["minute","\\d\\d"],s:["second","[1-9]\\d?"],ss:["second","\\d\\d"],YYYY:["year","\\d{4}"],S:["millisecond","\\d",function(t){return 100*+t}],SS:["millisecond","\\d\\d",function(t){return 10*+t}],SSS:["millisecond","\\d{3}"],d:we,dd:we,ddd:Se,dddd:Se,MMM:["month",oe,ue("monthNamesShort")],MMMM:["month",oe,ue("monthNames")],a:Me,A:Me,ZZ:Ce,Z:Ce},Pe={default:"ddd MMM DD YYYY HH:mm:ss",shortDate:"M/D/YY",mediumDate:"MMM D, YYYY",longDate:"MMMM D, YYYY",fullDate:"dddd, MMMM D, YYYY",isoDate:"YYYY-MM-DD",isoDateTime:"YYYY-MM-DDTHH:mm:ssZ",shortTime:"HH:mm",mediumTime:"HH:mm:ss",longTime:"HH:mm:ss.SSS"},Ae=function(t){return he(Pe,t)},Te=function(t,e,n){if(void 0===e&&(e=Pe.default),void 0===n&&(n={}),"number"==typeof t&&(t=new Date(t)),"[object Date]"!==Object.prototype.toString.call(t)||isNaN(t.getTime()))throw new Error("Invalid Date pass to format");var i=[];e=(e=Pe[e]||e).replace(le,(function(t,e){return i.push(e),"@@@"}));var r=he(he({},ve),n);return(e=e.replace(se,(function(e){return _e[e](t,r)}))).replace(/@@@/g,(function(){return i.shift()}))};function De(t,e,n){if(void 0===n&&(n={}),"string"!=typeof e)throw new Error("Invalid format in fecha parse");if(e=Pe[e]||e,t.length>1e3)return null;var i={year:(new Date).getFullYear(),month:0,day:1,hour:0,minute:0,second:0,millisecond:0,isPm:null,timezoneOffset:null},r=[],a=[],s=e.replace(le,(function(t,e){return a.push(ye(e)),"@@@"})),o={},l={};s=ye(s).replace(se,(function(t){var e=ke[t],n=e[0],i=e[1],a=e[3];if(o[n])throw new Error("Invalid format. "+n+" specified twice in format");return o[n]=!0,a&&(l[a]=!0),r.push(e),"("+i+")"})),Object.keys(l).forEach((function(t){if(!o[t])throw new Error("Invalid format. "+t+" is required in specified format")})),s=s.replace(/@@@/g,(function(){return a.shift()}));var c=t.match(new RegExp(s,"i"));if(!c)return null;for(var u=he(he({},ve),n),h=1;h0?new Date(t).getTime():new Date(t.replace(/-/gi,"/")).getTime()),k(t)&&(t=t.getTime()),t}var Fe=36e5,Ne=24*Fe,ze=31*Ne,Be=[["HH:mm:ss",1e3],["HH:mm:ss",1e4],["HH:mm:ss",3e4],["HH:mm",6e4],["HH:mm",6e5],["HH:mm",18e5],["HH",Fe],["HH",6*Fe],["HH",12*Fe],["YYYY-MM-DD",Ne],["YYYY-MM-DD",4*Ne],["YYYY-WW",7*Ne],["YYYY-MM",ze],["YYYY-MM",4*ze],["YYYY-MM",6*ze],["YYYY",380*Ne]];function Le(t,e,n){var i,r=(i=function(t){return t[1]},function(t,e,n,r){for(var a=o(n)?0:n,s=o(r)?t.length:r;a>>1;i(t[l])>e?s=l:a=l+1}return a})(Be,(e-t)/n)-1,a=Be[r];return r<0?a=Be[0]:r>=Be.length&&(a=m(Be)),a}var je=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="timeCat",e}return ie(e,t),e.prototype.translate=function(t){t=Ee(t);var e=this.values.indexOf(t);return-1===e&&(e=x(t)&&t-1){var i=this.values[n],r=this.formatter;return r?r(i,e):Oe(i,this.mask)}return t},e.prototype.initCfg=function(){this.tickMethod="time-cat",this.mask="YYYY-MM-DD",this.tickCount=7},e.prototype.setDomain=function(){var e=this.values;u(e,(function(t,n){e[n]=Ee(t)})),e.sort((function(t,e){return t-e})),t.prototype.setDomain.call(this)},e}(ae),Re=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.isContinuous=!0,e}return ie(e,t),e.prototype.scale=function(t){if(o(t))return NaN;var e=this.rangeMin(),n=this.rangeMax();return this.max===this.min?e:e+this.getScalePercent(t)*(n-e)},e.prototype.init=function(){t.prototype.init.call(this);var e=this.ticks,n=v(e),i=m(e);nthis.max&&(this.max=i),o(this.minLimit)||(this.min=n),o(this.maxLimit)||(this.max=i)},e.prototype.setDomain=function(){var t=function(t){var e=t.filter((function(t){return!isNaN(t)}));if(!e.length)return{min:0,max:0};if(l(t[0])){for(var n=[],i=0;ithis.max&&(this.min=e,this.max=n)},e.prototype.calculateTicks=function(){var e=this,n=t.prototype.calculateTicks.call(this);return this.nice||(n=i(n,(function(t){return t>=e.min&&t<=e.max}))),n},e.prototype.getScalePercent=function(t){var e=this.max,n=this.min;return(t-n)/(e-n)},e.prototype.getInvertPercent=function(t){return(t-this.rangeMin())/(this.rangeMax()-this.rangeMin())},e}(ee),Xe=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="linear",e.isLinear=!0,e}return ie(e,t),e.prototype.invert=function(t){var e=this.getInvertPercent(t);return this.min+e*(this.max-this.min)},e.prototype.initCfg=function(){this.tickMethod="wilkinson-extended",this.nice=!1},e}(Re);function Ge(t,e){var n=Math.E;return e>=0?Math.pow(n,Math.log(e)/t):-1*Math.pow(n,Math.log(-e)/t)}function He(t,e){return 1===t?1:Math.log(e)/Math.log(t)}function We(t,e,n){o(n)&&(n=Math.max.apply(null,t));var i=n;return u(t,(function(t){t>0&&t1&&(i=1),i}var Ve=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e}return ie(e,t),e.prototype.invert=function(t){var e,n=this.base,i=He(n,this.max),r=this.rangeMin(),a=this.rangeMax()-r,s=this.positiveMin;if(s){if(0===t)return 0;var o=1/(i-(e=He(n,s/n)))*a;if(t=0?1:-1;return Math.pow(a,n)*s},e.prototype.initCfg=function(){this.tickMethod="pow",this.exponent=2,this.tickCount=5,this.nice=!0},e.prototype.getScalePercent=function(t){var e=this.max,n=this.min;if(e===n)return 0;var i=this.exponent;return(Ge(i,t)-Ge(i,n))/(Ge(i,e)-Ge(i,n))},e}(Re),qe=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="time",e}return ie(e,t),e.prototype.getText=function(t,e){var n=this.translate(t),i=this.formatter;return i?i(n,e):Oe(n,this.mask)},e.prototype.scale=function(e){var n=e;return(p(n)||k(n))&&(n=this.translate(n)),t.prototype.scale.call(this,n)},e.prototype.translate=function(t){return Ee(t)},e.prototype.initCfg=function(){this.tickMethod="time-pretty",this.mask="YYYY-MM-DD",this.tickCount=7,this.nice=!1},e.prototype.setDomain=function(){var t=this.values,e=this.getConfig("min"),n=this.getConfig("max");if(o(e)&&x(e)||(this.min=this.translate(this.min)),o(n)&&x(n)||(this.max=this.translate(this.max)),t&&t.length){var i=[],r=1/0,a=r,s=0;u(t,(function(t){var e=Ee(t);if(isNaN(e))throw new TypeError("Invalid Time: "+t+" in time scale!");r>e?(a=r,r=e):a>e&&(a=e),s1&&(this.minTickInterval=a-r),o(e)&&(this.min=r),o(n)&&(this.max=s)}},e}(Xe),Ue=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="quantize",e}return ie(e,t),e.prototype.invert=function(t){var e=this.ticks,n=e.length,i=this.getInvertPercent(t),r=Math.floor(i*(n-1));if(r>=n-1)return m(e);if(r<0)return v(e);var a=e[r],s=r/(n-1);return a+(i-s)/((r+1)/(n-1)-s)*(e[r+1]-a)},e.prototype.initCfg=function(){this.tickMethod="r-pretty",this.tickCount=5,this.nice=!0},e.prototype.calculateTicks=function(){var e=t.prototype.calculateTicks.call(this);return this.nice||(m(e)!==this.max&&e.push(this.max),v(e)!==this.min&&e.unshift(this.min)),e},e.prototype.getScalePercent=function(t){var e=this.ticks;if(tm(e))return 1;var n=0;return u(e,(function(e,i){if(!(t>=e))return!1;n=i})),n/(e.length-1)},e}(Re),Je=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="quantile",e}return ie(e,t),e.prototype.initCfg=function(){this.tickMethod="quantile",this.tickCount=5,this.nice=!0},e}(Ue),Ze={};function Qe(t){return Ze[t]}function Ke(t,e){if(Qe(t))throw new Error("type '"+t+"' existed.");Ze[t]=e}var tn=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="identity",e.isIdentity=!0,e}return ie(e,t),e.prototype.calculateTicks=function(){return this.values},e.prototype.scale=function(t){return this.values[0]!==t&&x(t)?t:this.range[0]},e.prototype.invert=function(t){var e=this.range;return te[1]?NaN:this.values[0]},e}(ee),en=[1,5,2,2.5,4,3],nn=100*Number.EPSILON;function rn(t,e,n,i,r,a){var s=z(e),o=Y(e,t),l=0,c=function(t,e){return(t%e+e)%e}(i,a);return(c=0&&(l=1),1-o/(s-1)-n+l}function an(t,e,n){var i=z(e);return 1-Y(e,t)/(i-1)-n+1}function sn(t,e,n,i,r,a){var s=(t-1)/(a-r),o=(e-1)/(Math.max(a,i)-Math.min(n,r));return 2-Math.max(s/o,o/s)}function on(t,e){return t>=e?2-(t-1)/(e-1):1}function ln(t,e,n,i){var r=e-t;return 1-.5*(Math.pow(e-i,2)+Math.pow(t-n,2))/Math.pow(.1*r,2)}function cn(t,e,n){var i=e-t;if(n>i){var r=(n-i)/2;return 1-Math.pow(r,2)/Math.pow(.1*i,2)}return 1}function un(t,e,n,i,r,a){if(void 0===n&&(n=5),void 0===i&&(i=!0),void 0===r&&(r=en),void 0===a&&(a=[.25,.2,.5,.05]),"number"!=typeof t||"number"!=typeof e)return{min:0,max:0,ticks:[]};if(t===e||1===n)return{min:t,max:e,ticks:[t]};for(var s={score:-2,lmin:0,lmax:0,lstep:0},o=1;o<1/0;){for(var l=0,c=r;lb)g+=1;else{for(var w=_;w<=b;w+=1){var S=w*(y/o),M=S+y*(f-1),C=y,k=rn(u,r,o,S,M,C),P=ln(t,e,S,M),A=sn(f,n,t,e,S,M),T=a[0]*k+a[1]*P+a[2]*A+1*a[3];T>s.score&&(!i||S<=t&&M>=e)&&(s.lmin=S,s.lmax=M,s.lstep=C,s.score=T)}g+=1}}f+=1}}o+=1}for(var D=Number.isInteger(s.lstep)?0:Math.ceil(Math.abs(Math.log10(s.lstep))),I=[],Y=s.lmin;Y<=s.lmax;Y+=s.lstep)I.push(Y);var O=D?N(I,(function(t){return Number.parseFloat(t.toFixed(D))})):I;return{min:Math.min(t,v(O)),max:Math.max(e,m(O)),ticks:O}}function hn(t){var e=t.values,n=t.tickInterval,r=t.tickCount,a=e;if(x(n))return i(a,(function(t,e){return e%n==0}));var s=t.min,l=t.max;if(o(s)&&(s=0),o(l)&&(l=e.length-1),x(r)&&r=s&&t<=l})).map((function(t){return e[t]}))}return e.slice(s,l+1)}var fn=Math.sqrt(50),dn=Math.sqrt(10),pn=Math.sqrt(2),gn=function(){function t(){this._domain=[0,1]}return t.prototype.domain=function(t){return t?(this._domain=Array.from(t,Number),this):this._domain.slice()},t.prototype.nice=function(t){var e,n;void 0===t&&(t=5);var i,r=this._domain.slice(),a=0,s=this._domain.length-1,o=this._domain[a],l=this._domain[s];return l0?i=vn(o=Math.floor(o/i)*i,l=Math.ceil(l/i)*i,t):i<0&&(i=vn(o=Math.ceil(o*i)/i,l=Math.floor(l*i)/i,t)),i>0?(r[a]=Math.floor(o/i)*i,r[s]=Math.ceil(l/i)*i,this.domain(r)):i<0&&(r[a]=Math.ceil(o*i)/i,r[s]=Math.floor(l*i)/i,this.domain(r)),this},t.prototype.ticks=function(t){return void 0===t&&(t=5),function(t,e,n){var i,r,a,s,o=-1;if(n=+n,(t=+t)===(e=+e)&&n>0)return[t];if((i=e0)for(t=Math.ceil(t/s),e=Math.floor(e/s),a=new Array(r=Math.ceil(e-t+1));++o=0?(a>=fn?10:a>=dn?5:a>=pn?2:1)*Math.pow(10,r):-Math.pow(10,-r)/(a>=fn?10:a>=dn?5:a>=pn?2:1)}function mn(t,e,n){return("ceil"===n?Math.ceil(t/e):"floor"===n?Math.floor(t/e):Math.round(t/e))*e}function yn(t,e,n){var i=mn(t,n,"floor"),r=mn(e,n,"ceil");i=y(i,n),r=y(r,n);for(var a=[],s=i;s<=r;s+=n){var o=y(s,n);a.push(o)}return{min:i,max:r,ticks:a}}function xn(t,e,n){var i,r=t.minLimit,a=t.maxLimit,s=t.min,l=t.max,c=t.tickCount,u=void 0===c?5:c,h=o(r)?o(e)?s:e:r,f=o(a)?o(n)?l:n:a;if(h>f&&(f=(i=[h,f])[0],h=i[1]),u<=2)return[h,f];for(var d=(f-h)/(u-1),p=[],g=0;g1&&(r*=Math.ceil(s)),i&&r31536e6)for(var l=wn(n),c=Math.ceil(a/31536e6),u=o;u<=l+c;u+=c)s.push(Sn(u));else if(a>ze){var h=Math.ceil(a/ze),f=Mn(e),d=function(t,e){var n=wn(t),i=wn(e),r=Mn(t);return 12*(i-n)+(Mn(e)-r)%12}(e,n);for(u=0;u<=d+h;u+=h)s.push(Cn(o,u+f))}else if(a>Ne){var p=(x=new Date(e)).getFullYear(),g=x.getMonth(),v=x.getDate(),m=Math.ceil(a/Ne),y=function(t,e){return Math.ceil((e-t)/Ne)}(e,n);for(u=0;uFe){p=(x=new Date(e)).getFullYear(),g=x.getMonth(),m=x.getDate();var x,_=x.getHours(),b=Math.ceil(a/Fe),w=function(t,e){return Math.ceil((e-t)/Fe)}(e,n);for(u=0;u<=w+b;u+=b)s.push(new Date(p,g,m,_+u).getTime())}else if(a>6e4){var S=function(t,e){return Math.ceil((e-t)/6e4)}(e,n),M=Math.ceil(a/6e4);for(u=0;u<=S+M;u+=M)s.push(e+6e4*u)}else{var C=a;C<1e3&&(C=1e3);var k=1e3*Math.floor(e/1e3),P=Math.ceil((n-e)/1e3),A=Math.ceil(C/1e3);for(u=0;u=512&&console.warn("Notice: current ticks length("+s.length+') >= 512, may cause performance issues, even out of memory. Because of the configure "tickInterval"(in milliseconds, current is '+a+") is too small, increase the value to solve the problem!"),s})),te("log",(function(t){var e,n=t.base,i=t.tickCount,r=t.min,a=t.max,s=t.values,o=He(n,a);if(r>0)e=Math.floor(He(n,r));else{var l=We(s,n,a);e=Math.floor(He(n,l))}for(var c=o-e,u=Math.ceil(c/i),h=[],f=e;f=0?1:-1;return Math.pow(t,e)*n}))})),te("quantile",(function(t){var e=t.tickCount,n=t.values;if(!n||!n.length)return[];for(var i=n.slice().sort((function(t,e){return t-e})),r=[],a=0;a=n?r[r.length-1]=s:r.push(s)),r},Pn=[1,1.2,1.5,2,2.2,2.4,2.5,3,4,5,6,7.5,8,10];function An(t){var e=1;if(0===(t=Math.abs(t)))return e;if(t<1){for(var n=0;t<1;)e/=10,t*=10,n++;return e.toString().length>12&&(e=parseFloat(e.toFixed(n))),e}for(;t>10;)e*=10,t/=10;return e}function Tn(t){var e=t.interval,n=t.tickCount,i=t.max,r=t.min;return Math.floor(r/e)*e+(n-1)*e>=i}function Dn(t){var e=t.toString(),n=e.indexOf("."),i=e.indexOf("e-"),r=i>=0?parseInt(e.substr(i+2),10):e.substr(n+1).length;return r>20&&(r=20),r}function In(t,e){return parseFloat(t.toFixed(e))}var Yn=Qe("linear"),On=Qe("identity"),En=Qe("category"),Fn=Qe("timeCat");function Nn(t){Object.keys(t).forEach((function(e){delete t[e]}))}te("cat",kn),te("time-cat",kn),te("wilkinson-extended",(function(t){var e=t||{},n=e.tickCount,i=e.tickInterval,r=t||{},a=r.min,s=r.max;a=isNaN(a)?0:a,s=isNaN(s)?0:s;var o=n&&n>=2?n:5,l=i||function(t){var e=t.tickCount,n=t.min,i=t.max;if(n===i)return 1*An(i);for(var r=(i-n)/(e-1),a=An(r),s=r/a,o=i/a,l=n/a,c=0,u=0;u0?t.change({min:0}):r<0&&t.change({max:0}))},e.clear=function(){Nn(this.defs),Nn(this.scales),this.data=null},t}(),Bn=function(){var t=e.prototype;function e(t){this._initDefaultCfg(),T(this,t),this.draw()}return t._initDefaultCfg=function(){this.ticks=[],this.tickLine={},this.offsetFactor=1,this.frontContainer=null,this.backContainer=null,this.gridPoints=[]},t.draw=function(){var t=this.line,e=this.tickLine,n=this.label,i=this.grid;i&&this.drawGrid(i),e&&this.drawTicks(e),t&&this.drawLine(t),n&&this.drawLabels()},t.drawTicks=function(t){var e=this,n=e.ticks,i=t.length,r=e.getContainer(t.top);u(n,(function(n){var a=e.getOffsetPoint(n.value),s=e.getSidePoint(a,i);r.addShape("line",{className:"axis-tick",attrs:T({x1:a.x,y1:a.y,x2:s.x,y2:s.y},t)})._id=e._id+"-ticks"}))},t.drawLabels=function(){var t=this,e=t.labelOffset;u(t.labels,(function(n){var i=t.getContainer(n.get("top")),r=t.getOffsetPoint(n.get("value")),a=t.getSidePoint(r,e),s=a.x,o=a.y;n.attr(T({x:s,y:o},t.getTextAlignInfo(r,e),n.get("textStyle"))),n._id=t._id+"-"+n.attr("text"),i.add(n)}))},t.drawLine=function(){},t.drawGrid=function(t){var e=this,n=e.gridPoints,i=e.ticks,r=t,a=n.length;u(n,(function(n,o){if(s(t)){var l=i[o]||{},c=t(l.text,o,a);r=c?T({},mt._defaultAxis.grid,c):null}if(r){var u,h=r.type,f=n.points,d=e.getContainer(r.top);if("arc"===h){var p=e.center,g=e.startAngle,v=e.endAngle,m=kt.length([f[0].x-p.x,f[0].y-p.y]);u=d.addShape("Arc",{className:"axis-grid",attrs:T({x:p.x,y:p.y,startAngle:g,endAngle:v,r:m},r)})}else u=d.addShape("Polyline",{className:"axis-grid",attrs:T({points:f},r)});u._id=n._id}}))},t.getOffsetPoint=function(){},t.getAxisVector=function(){},t.getOffsetVector=function(t,e){var n=this.getAxisVector(t),i=kt.normalize([],n),r=this.offsetFactor,a=[-1*i[1]*r,i[0]*r];return kt.scale([],a,e)},t.getSidePoint=function(t,e){var n=this.getOffsetVector(t,e);return{x:t.x+n[0],y:t.y+n[1]}},t.getTextAlignInfo=function(t,e){var n=this.getOffsetVector(t,e);return{textAlign:n[0]>0?"left":n[0]<0?"right":"center",textBaseline:n[1]>0?"top":n[1]<0?"bottom":"middle"}},t.getContainer=function(t){var e=this.frontContainer,n=this.backContainer;return t?e:n},e}(),Ln=function(t){function e(){return t.apply(this,arguments)||this}_t(e,t);var n=e.prototype;return n._initDefaultCfg=function(){t.prototype._initDefaultCfg.call(this),this.start=null,this.end=null},n.getOffsetPoint=function(t){var e=this.start,n=this.end;return{x:e.x+(n.x-e.x)*t,y:e.y+(n.y-e.y)*t}},n.getAxisVector=function(){var t=this.start,e=this.end;return[e.x-t.x,e.y-t.y]},n.drawLine=function(t){var e=this.getContainer(t.top),n=this.start,i=this.end;e.addShape("line",{className:"axis-line",attrs:T({x1:n.x,y1:n.y,x2:i.x,y2:i.y},t)})},e}(Bn);Bn.Line=Ln;var jn=function(){function t(t){this.axisCfg={},this.frontPlot=null,this.backPlot=null,this.axes={},T(this,t)}var e=t.prototype;return e._isHide=function(t){var e=this.axisCfg;return!e||!1===e[t]},e._getLinePosition=function(t,e,n,i){var r="",a=t.field,s=this.axisCfg;return s[a]&&s[a].position?r=s[a].position:"x"===e?r=i?"left":"bottom":"y"===e&&(r=n?"right":"left",i&&(r="bottom")),r},e._getLineCfg=function(t,e,n){var i,r,a=1;return"x"===e?(i={x:0,y:0},r={x:1,y:0}):"right"===n?(i={x:1,y:0},r={x:1,y:1}):(i={x:0,y:0},r={x:0,y:1},a=-1),t.transposed&&(a*=-1),{offsetFactor:a,start:t.convertPoint(i),end:t.convertPoint(r)}},e._getCircleCfg=function(t){return{startAngle:t.startAngle,endAngle:t.endAngle,center:t.center,radius:t.circleRadius}},e._getRadiusCfg=function(t){var e,n;return t.transposed?(e={x:0,y:0},n={x:1,y:0}):(e={x:0,y:0},n={x:0,y:1}),{offsetFactor:-1,start:t.convertPoint(e),end:t.convertPoint(n)}},e._getAxisCfg=function(t,e,n,i,r){var a=this,o=this,l=this.axisCfg,c=e.getTicks(),h=I({ticks:c,frontContainer:this.frontPlot,backContainer:this.backPlot},r,l[e.field]),f=[],d=h.label,p=c.length,g=0,v=0,m=d;return u(c,(function(t,e){if(s(d)){var n=d(t.text,e,p);m=n?T({},mt._defaultAxis.label,n):null}if(m){var i={};m.textAlign&&(i.textAlign=m.textAlign),m.textBaseline&&(i.textBaseline=m.textBaseline);var r=(m.top?a.frontPlot:a.backPlot).addShape("text",{className:"axis-label",aria:!1,attrs:T({x:0,y:0,text:t.text,fontFamily:o.chart.get("canvas").get("fontFamily")},m),value:t.value,textStyle:i,top:m.top,context:o.chart.get("canvas").get("context")});f.push(r);var l=r.getBBox(),c=l.width,u=l.height;g=Math.max(g,c),v=Math.max(v,u)}})),h.labels=f,h.maxWidth=g,h.maxHeight=v,h},e._createAxis=function(t,e,n,i,r){void 0===r&&(r="");var a,s,o,l=t.type,c=t.transposed;if("cartesian"===l||"rect"===l){var u=this._getLinePosition(e,i,r,c);(o=mt.axis[u]).position=u,a="Line",s=u}else"x"===i&&!c||"y"===i&&c?(o=mt.axis.circle,a="Circle",s="circle"):(o=mt.axis.radius,a="Line",s="radius");var h=this._getAxisCfg(t,e,n,i,o);h.type=a,h.dimType=i,h.verticalScale=n,h.index=r,this.axes[s]=h},e.createAxis=function(t,e,n){var i=this;e&&!i._isHide(e.field)&&i._createAxis(t,e,n[0],"x"),u(n,(function(n,r){i._isHide(n.field)||i._createAxis(t,n,e,"y",r)}));var r=this.axes,a=i.chart;if(a._isAutoPadding()){var s=ut(a.get("padding")),l=ut(a.get("appendPadding")),c=a.get("legendRange")||{top:0,right:0,bottom:0,left:0},h=["auto"===s[0]?c.top+2*l[0]:s[0],"auto"===s[1]?c.right+l[1]:s[1],"auto"===s[2]?c.bottom+l[2]:s[2],"auto"===s[3]?c.left+l[3]:s[3]];if(t.isPolar){var f=r.circle;if(f){var d=f.maxHeight,p=f.maxWidth,g=f.labelOffset;h[0]+=d+g,h[1]+=p+g,h[2]+=d+g,h[3]+=p+g}}else{if(r.right&&"auto"===s[1]){var v=r.right,m=v.maxWidth,y=v.labelOffset;h[1]+=m+y}if(r.left&&"auto"===s[3]){var x=r.left,_=x.maxWidth,b=x.labelOffset;h[3]+=_+b}if(r.bottom&&"auto"===s[2]){var w=r.bottom,S=w.maxHeight,M=w.labelOffset;h[2]+=S+M}}a.set("_padding",h),a._updateLayout(h)}u(r,(function(e){var n,r=e.type,a=e.grid,s=e.verticalScale,l=e.ticks,c=e.dimType,h=e.position,f=e.index;if(t.isPolar?"Line"===r?n=i._getRadiusCfg(t):"Circle"===r&&(n=i._getCircleCfg(t)):n=i._getLineCfg(t,c,h),a&&s){var d=[],p=function(t){var e=t.slice(0);if(e.length>0){var n=e[0],i=e[e.length-1];0!==n.value&&e.unshift({value:0}),1!==i.value&&e.push({value:1})}return e}(s.getTicks());u(l,(function(e){var n=[];u(p,(function(i){var r="x"===c?e.value:i.value,a="x"===c?i.value:e.value;if(r>=0&&r<=1&&a>=0&&a<=1){var s=t.convertPoint({x:r,y:a});n.push(s)}})),d.push({points:n,_id:"axis-"+c+f+"-grid-"+e.tickValue})})),e.gridPoints=d,t.isPolar&&(e.center=t.center,e.startAngle=t.startAngle,e.endAngle=t.endAngle)}n._id="axis-"+c,o(f)||(n._id="axis-"+c+f),new Bn[r](T(e,n))}))},e.clear=function(){this.axes={},this.frontPlot.clear(),this.backPlot.clear()},t}(),Rn=function(t,e){var n=e.x-t.x,i=e.y-t.y;return Math.abs(n)>Math.abs(i)?n>0?"right":"left":i>0?"down":"up"},Xn=function(t,e){var n=Math.abs(e.x-t.x),i=Math.abs(e.y-t.y);return Math.sqrt(n*n+i*i)},Gn=function(){function t(t){var e=this,n=t.canvas,i=t.el;yt(this,"_click",(function(t){var n=ot(t,e.canvas);t.points=n,e.emitEvent("click",t)})),yt(this,"_start",(function(t){var n,i,r=ot(t,e.canvas);r&&(t.points=r,e.emitEvent("touchstart",t),e.reset(),e.startTime=Date.now(),e.startPoints=r,r.length>1?(e.startDistance=Xn(r[0],r[1]),e.center=(n=r[0],i=r[1],{x:n.x+(i.x-n.x)/2,y:n.y+(i.y-n.y)/2})):e.pressTimeout=setTimeout((function(){t.direction="none",e.emitStart("press",t),e.emitEvent("press",t),e.eventType="press",e.direction="none"}),250))})),yt(this,"_move",(function(t){var n=ot(t,e.canvas);if(n){e.clearPressTimeout(),t.points=n,e.emitEvent("touchmove",t);var i=e.startPoints;if(i)if(n.length>1){var r=e.startDistance,a=Xn(n[0],n[1]);t.zoom=a/r,t.center=e.center,e.emitStart("pinch",t),e.emitEvent("pinch",t)}else{var s=n[0].x-i[0].x,o=n[0].y-i[0].y,l=e.direction||Rn(i[0],n[0]);e.direction=l;var c=e.getEventType(n);t.direction=l,t.deltaX=s,t.deltaY=o,e.emitStart(c,t),e.emitEvent(c,t);var u=e.lastMoveTime,h=Date.now();h-u>0&&(e.prevMoveTime=u,e.prevMovePoints=e.lastMovePoints,e.lastMoveTime=h,e.lastMovePoints=n)}}})),yt(this,"_end",(function(t){var n=ot(t,e.canvas);t.points=n,e.emitEnd(t),e.emitEvent("touchend",t);var i=e.lastMoveTime;if(Date.now()-i<100){var r=i-(e.prevMoveTime||e.startTime);if(r>0){var a=e.prevMovePoints||e.startPoints,s=e.lastMovePoints,o=Xn(a[0],s[0])/r;o>.3&&(t.velocity=o,t.direction=Rn(a[0],s[0]),e.emitEvent("swipe",t))}}e.reset();var l=t.touches;l&&l.length>0&&e._start(t)})),yt(this,"_cancel",(function(t){e.emitEvent("touchcancel",t),e.reset()})),this.canvas=n,this.delegateEvent(i),this.processEvent={}}var e=t.prototype;return e.delegateEvent=function(t){t.addEventListener("click",this._click),t.addEventListener("touchstart",this._start),t.addEventListener("touchmove",this._move),t.addEventListener("touchend",this._end),t.addEventListener("touchcancel",this._cancel)},e.emitEvent=function(t,e){this.canvas.emit(t,e)},e.getEventType=function(t){var e,n=this.eventType,i=this.canvas,r=this.startTime,a=this.startPoints;if(n)return n;var s=i.__events.pan;return e=s&&s.length?Date.now()-r>250&&Xn(a[0],t[0])<10?"press":"pan":"press",this.eventType=e,e},e.enable=function(t){this.processEvent[t]=!0},e.isProcess=function(t){return this.processEvent[t]},e.emitStart=function(t,e){this.isProcess(t)||(this.enable(t),this.emitEvent(t+"start",e))},e.emitEnd=function(t){var e=this,n=this.processEvent;Object.keys(n).forEach((function(i){e.emitEvent(i+"end",t),delete n[i]}))},e.clearPressTimeout=function(){this.pressTimeout&&(clearTimeout(this.pressTimeout),this.pressTimeout=0)},e.reset=function(){this.clearPressTimeout(),this.startTime=0,this.startPoints=null,this.startDistance=0,this.direction=null,this.eventType=null,this.pinch=!1,this.prevMoveTime=0,this.prevMovePoints=null,this.lastMoveTime=0,this.lastMovePoints=null},t}(),Hn=function(t){function e(e){var n;return(n=t.call(this)||this).context=e,n.width=0,n.height=0,n.style={},n.currentStyle={},n.attrs={},n.isCanvasElement=!0,n}_t(e,t);var n=e.prototype;return n.getContext=function(){return this.context},n.getBoundingClientRect=function(){return{top:0,right:this.width,bottom:this.height,left:0}},n.setAttribute=function(t,e){this.attrs[t]=e},n.addEventListener=function(t,e){this.on(t,e)},n.removeEventListener=function(t,e){this.off(t,e)},n.dispatchEvent=function(t,e){this.emit(t,e)},e}(wt),Wn=function(t){return t?function(t){if(!t)return!1;if(1!==t.nodeType||!t.nodeName||"canvas"!==t.nodeName.toLowerCase())return!1;var e=!1;try{t.addEventListener("eventTest",(function(){e=!0})),t.dispatchEvent(new Event("eventTest"))}catch(t){e=!1}return e}(t.canvas)?t.canvas:new Hn(t):null};function Vn(t,e){u(t,(function(t){t=t.split(":"),e.addColorStop(Number(t[0]),t[1])}))}function $n(t,e,n){if("("===t[1])try{var i=t[0];if("l"===i)return function(t,e,n){var i,r,a=t.split(" "),s=a[0].slice(2,a[0].length-1);i=parseFloat(s)*Math.PI/180,r=2*Math.PI,s=(i%r+r)%r;var o,l,c=a.slice(1),u=e.getBBox(),h=u.minX,f=u.minY,d=u.maxX,p=u.maxY;s>=0&&s<.5*Math.PI?(o={x:h,y:f},l={x:d,y:p}):.5*Math.PI<=s&&s-1?(null===t.get("canvas")&&(t=Object.assign({},t)),t.set("parent",this.get("parent")),t.set("context",this.get("context")),t):null},t.attr=function(t,e){var n=this;if(n.get("destroyed"))return null;var i=arguments.length;if(0===i)return n._attrs.attrs;if(c(t)){for(var r in this._attrs.bbox=null,t)n._setAttr(r,t[r]);return n._afterAttrsSet&&n._afterAttrsSet(),n}return 2===i?(this._attrs.bbox=null,n._setAttr(t,e),n._afterAttrsSet&&n._afterAttrsSet(),n):n._getAttr(t)},t.getParent=function(){return this.get("parent")},t.draw=function(t){this.get("destroyed")||this.get("visible")&&(this.setContext(t),this.drawInner(t),this.restoreContext(t))},t.setContext=function(t){var e=this._attrs.attrs.clip;t.save(),e&&(e.resetTransform(t),e.createPath(t),t.clip()),this.resetContext(t),this.resetTransform(t)},t.restoreContext=function(t){t.restore()},t.resetContext=function(t){var e=this._attrs.attrs;for(var n in e)if(Un.indexOf(n)>-1){var i=e[n];"fillStyle"!==n&&"strokeStyle"!==n||!i||(i=$n(i,this,t)),"lineDash"===n&&t.setLineDash&&l(i)?t.setLineDash(i):t[n]=i}},t.hasFill=function(){return this.get("canFill")&&this._attrs.attrs.fillStyle},t.hasStroke=function(){return this.get("canStroke")&&this._attrs.attrs.strokeStyle},t.drawInner=function(){},t.show=function(){return this.set("visible",!0),this},t.hide=function(){return this.set("visible",!1),this},t.isVisible=function(){return this.get("visible")},t.getAriaLabel=function(){var t=this._attrs,e=t.destroyed,n=t.visible,i=t.isShape,r=t.aria;if(!e&&n&&(!i||r))return this._getAriaLabel()},t._getAriaLabel=function(){return this._attrs.ariaLabel},t._removeFromParent=function(){var t=this.get("parent");return t&&G(t.get("children"),this),this},t.remove=function(t){t?this.destroy():this._removeFromParent()},t.destroy=function(){if(this.get("destroyed"))return null;this._removeFromParent(),this._attrs={},this.set("destroyed",!0)},t.getBBox=function(){return{minX:0,maxX:0,minY:0,maxY:0,width:0,height:0}},t.initTransform=function(){var t=this._attrs.attrs||{};t.matrix||(t.matrix=[1,0,0,1,0,0]),this._attrs.attrs=t},t.getMatrix=function(){return this._attrs.attrs.matrix},t.setMatrix=function(t){this._attrs.attrs.matrix=[t[0],t[1],t[2],t[3],t[4],t[5]]},t.transform=function(t){var e=this._attrs.attrs.matrix;return this._attrs.attrs.matrix=Ct.transform(e,t),this},t.setTransform=function(t){return this._attrs.attrs.matrix=[1,0,0,1,0,0],this.transform(t)},t.translate=function(t,e){var n=this._attrs.attrs.matrix;Ct.translate(n,n,[t,e])},t.rotate=function(t){var e=this._attrs.attrs.matrix;Ct.rotate(e,e,t)},t.scale=function(t,e){var n=this._attrs.attrs.matrix;Ct.scale(n,n,[t,e])},t.moveTo=function(t,e){var n=this._attrs.x||0,i=this._attrs.y||0;this.translate(t-n,e-i),this.set("x",t),this.set("y",e)},t.apply=function(t){var e=this._attrs.attrs.matrix;return kt.transformMat2d(t,t,e),this},t.resetTransform=function(t){var e=this._attrs.attrs.matrix;Ct.isChanged(e)&&t.transform(e[0],e[1],e[2],e[3],e[4],e[5],!0)},t.isDestroyed=function(){return this.get("destroyed")},e}(),Qn=function(t){function e(){return t.apply(this,arguments)||this}_t(e,t);var n=e.prototype;return n._initProperties=function(){this._attrs={zIndex:0,visible:!0,destroyed:!1,isShape:!0,attrs:{}}},n.getType=function(){return this._attrs.type},n.drawInner=function(t){var e=this.get("attrs");this.createPath(t);var n=t.globalAlpha;if(this.hasFill()){var i=e.fillOpacity;o(i)||1===i?t.fill():(t.globalAlpha=i,t.fill(),t.globalAlpha=n)}if(this.hasStroke()&&e.lineWidth>0){var r=e.strokeOpacity;o(r)||1===r||(t.globalAlpha=r),t.stroke()}},n.getBBox=function(){var t=this._attrs.bbox;return t||((t=this.calculateBox())&&(t.x=t.minX,t.y=t.minY,t.width=t.maxX-t.minX,t.height=t.maxY-t.minY),this._attrs.bbox=t),t},n.calculateBox=function(){return null},n.createPath=function(){},e}(Zn),Kn=function(t){function e(){return t.apply(this,arguments)||this}_t(e,t);var n=e.prototype;return n._initProperties=function(){t.prototype._initProperties.call(this),this._attrs.canFill=!0,this._attrs.canStroke=!0,this._attrs.type="rect"},n.getDefaultAttrs=function(){return{x:0,y:0,width:0,height:0,radius:0,lineWidth:0}},n.createRadiusPath=function(t,e,n,i,r,a){a=function(t,e,n){if(!((t=ut(t))[0]||t[1]||t[2]||t[3]))return t;var i=Math.max(t[0]+t[1],t[2]+t[3]),r=Math.max(t[0]+t[3],t[1]+t[2]),a=Math.min(e/i,n/r);return a<1?t.map((function(t){return t*a})):t}(a,i,r),t.moveTo(e+a[0],n),t.lineTo(e+i-a[1],n),t.arc(e+i-a[1],n+a[1],a[1],-Math.PI/2,0,!1),t.lineTo(e+i,n+r-a[2]),t.arc(e+i-a[2],n+r-a[2],a[2],0,Math.PI/2,!1),t.lineTo(e+a[3],n+r),t.arc(e+a[3],n+r-a[3],a[3],Math.PI/2,Math.PI,!1),t.lineTo(e,n+a[0]),t.arc(e+a[0],n+a[0],a[0],Math.PI,3*Math.PI/2,!1),t.closePath()},n.createPath=function(t){var e=this.get("attrs"),n=e.x,i=e.y,r=e.width,a=e.height,s=e.radius;t.beginPath(),s&&r*a?this.createRadiusPath(t,n,i,r,a,s):t.rect(n,i,r,a)},n.calculateBox=function(){var t=this.get("attrs"),e=t.x,n=t.y;return{minX:e,minY:n,maxX:e+t.width,maxY:n+t.height}},e}(Qn),ti=function(t){function e(){return t.apply(this,arguments)||this}_t(e,t);var n=e.prototype;return n._initProperties=function(){t.prototype._initProperties.call(this),this._attrs.canFill=!1,this._attrs.canStroke=!1,this._attrs.loading=!1,this._attrs.image=null,this._attrs.type="image"},n.createPath=function(t){var e=this,n=this.get("attrs").src;if(!this.get("loading")){var i=this.get("image");if(i)this.drawImage(t,i);else if(n&&Image){this.set("loading",!0);var r=new Image;r.src=n,r.crossOrigin="Anonymous",r.onload=function(){e.set("loading",!1),e.set("image",r),e.drawImage(t,r)}}}},n.drawImage=function(t,e){var n=this._attrs,i=n.attrs;if(!n.destroyed){var r=i.x,a=i.y,s=i.width,l=i.height,c=i.sx,u=i.sy,h=i.swidth,f=i.sheight,d=i.radius;d&&(t.save(),this.createRadiusPath(t,r,a,s,l,d),t.clip()),o(c)||o(u)||o(h)||o(f)?t.drawImage(e,r,a,s,l):t.drawImage(e,c,u,h,f,r,a,s,l),d&&t.restore()}},e}(Kn),ei=function(t){function e(){return t.apply(this,arguments)||this}_t(e,t);var n=e.prototype;return n._initProperties=function(){t.prototype._initProperties.call(this),this._attrs.canFill=!0,this._attrs.canStroke=!0,this._attrs.type="circle"},n.getDefaultAttrs=function(){return{x:0,y:0,r:0,lineWidth:0}},n.createPath=function(t){var e=this.get("attrs"),n=e.x,i=e.y,r=e.r;t.beginPath(),t.arc(n,i,r,0,2*Math.PI,!1),t.closePath()},n.calculateBox=function(){var t=this.get("attrs"),e=t.x,n=t.y,i=t.r;return{minX:e-i,maxX:e+i,minY:n-i,maxY:n+i}},e}(Qn),ni=kt.create(),ii=kt.create(),ri=kt.create();function ai(t,e,n,i,r){var a=t*t;return e+(3*-e+t*(3*e-e*t))*t+(3*n+t*(-6*n+3*n*t))*t+(3*i-3*i*t)*a+r*(a*t)}function si(t){for(var e,n,i,r,a,s=1/0,o=-1/0,l=1/0,c=-1/0,u={x:t[0],y:t[1]},h={x:t[2],y:t[3]},f={x:t[4],y:t[5]},d={x:t[6],y:t[7]},p=0;p<100;p++){var g={x:ai(a=p/100,(e=u).x,(n=h).x,(i=f).x,(r=d).x),y:ai(a,e.y,n.y,i.y,r.y)};g.xo&&(o=g.x),g.yc&&(c=g.y)}return{minX:s,minY:l,maxX:o,maxY:c}}function oi(t,e){if(0!==t.length){for(var n=t[0],i=n.x,r=n.x,a=n.y,s=n.y,o=t.length,l=1;l1e-4)return{minX:t-n,minY:e-n,maxX:t+n,maxY:e+n};ni[0]=Math.cos(i)*n+t,ni[1]=Math.sin(i)*n+e,ii[0]=Math.cos(r)*n+t,ii[1]=Math.sin(r)*n+e;var o=[0,0],l=[0,0];if(kt.min(o,ni,ii),kt.max(l,ni,ii),(i%=2*Math.PI)<0&&(i+=2*Math.PI),(r%=2*Math.PI)<0&&(r+=2*Math.PI),i>r&&!a?r+=2*Math.PI:ii&&(ri[0]=Math.cos(u)*n+t,ri[1]=Math.sin(u)*n+e,kt.min(o,ri,o),kt.max(l,ri,l));return{minX:o[0],minY:o[1],maxX:l[0],maxY:l[1]}}var ci=function(t){function e(){return t.apply(this,arguments)||this}_t(e,t);var n=e.prototype;return n._initProperties=function(){t.prototype._initProperties.call(this),this._attrs.canStroke=!0,this._attrs.type="line"},n.getDefaultAttrs=function(){return{x1:0,y1:0,x2:0,y2:0,lineWidth:1}},n.createPath=function(t){var e=this.get("attrs"),n=e.x1,i=e.y1,r=e.x2,a=e.y2;t.beginPath(),t.moveTo(n,i),t.lineTo(r,a)},n.calculateBox=function(){var t=this.get("attrs");return function(t,e,n,i,r){return r=r/2||0,{minX:Math.min(t,n)-r,minY:Math.min(e,i)-r,maxX:Math.max(t,n)+r,maxY:Math.max(e,i)+r}}(t.x1,t.y1,t.x2,t.y2,t.lineWidth)},e}(Qn),ui=function(t){function e(){return t.apply(this,arguments)||this}_t(e,t);var n=e.prototype;return n._initProperties=function(){t.prototype._initProperties.call(this),this._attrs.canFill=!0,this._attrs.canStroke=!0,this._attrs.type="polygon"},n.getDefaultAttrs=function(){return{points:null,lineWidth:0}},n.createPath=function(t){var e=this.get("attrs").points;t.beginPath();for(var n=0,i=e.length;ni&&(i=l.maxX),l.minYa&&(a=l.maxY)}return{minX:n-(e=e/2||0),minY:r-e,maxX:i+e,maxY:a+e}}(a,i)}return oi(r,i)},e}(Qn),gi=function(t){function e(){return t.apply(this,arguments)||this}_t(e,t);var n=e.prototype;return n._initProperties=function(){t.prototype._initProperties.call(this),this._attrs.canStroke=!0,this._attrs.canFill=!0,this._attrs.type="arc"},n.getDefaultAttrs=function(){return{x:0,y:0,r:0,startAngle:0,endAngle:2*Math.PI,anticlockwise:!1,lineWidth:1}},n.createPath=function(t){var e=this.get("attrs"),n=e.x,i=e.y,r=e.r,a=e.startAngle,s=e.endAngle,o=e.anticlockwise;t.beginPath(),a!==s&&t.arc(n,i,r,a,s,o)},n.calculateBox=function(){var t=this.get("attrs");return li(t.x,t.y,t.r,t.startAngle,t.endAngle,t.anticlockwise)},e}(Qn),vi=function(t){function e(){return t.apply(this,arguments)||this}_t(e,t);var n=e.prototype;return n._initProperties=function(){t.prototype._initProperties.call(this),this._attrs.canFill=!0,this._attrs.canStroke=!0,this._attrs.type="sector"},n.getDefaultAttrs=function(){return{x:0,y:0,lineWidth:0,r:0,r0:0,startAngle:0,endAngle:2*Math.PI,anticlockwise:!1}},n.createPath=function(t){var e=this.get("attrs"),n=e.x,i=e.y,r=e.startAngle,a=e.endAngle,s=e.r,o=e.r0,l=e.anticlockwise;t.beginPath();var c=Math.cos(r),u=Math.sin(r);t.moveTo(c*o+n,u*o+i),t.lineTo(c*s+n,u*s+i),(Math.abs(a-r)>1e-4||0===r&&a<0)&&(t.arc(n,i,s,r,a,l),t.lineTo(Math.cos(a)*o+n,Math.sin(a)*o+i),0!==o&&t.arc(n,i,o,a,r,!l)),t.closePath()},n.calculateBox=function(){var t=this.get("attrs"),e=t.x,n=t.y,i=t.r,r=t.r0,a=t.startAngle,s=t.endAngle,o=t.anticlockwise,l=li(e,n,i,a,s,o),c=li(e,n,r,a,s,o);return{minX:Math.min(l.minX,c.minX),minY:Math.min(l.minY,c.minY),maxX:Math.max(l.maxX,c.maxX),maxY:Math.max(l.maxY,c.maxY)}},e}(Qn),mi=function(t){var e=t.width,n=t.height,i=t.rotate,r=Math.abs(i);return{width:Math.abs(e*Math.cos(r)+n*Math.sin(r)),height:Math.abs(n*Math.cos(r)+e*Math.sin(r))}},yi=0,xi={},_i=function(t){function e(){return t.apply(this,arguments)||this}_t(e,t);var n=e.prototype;return n._initProperties=function(){t.prototype._initProperties.call(this),this._attrs.canFill=!0,this._attrs.canStroke=!0,this._attrs.type="text"},n.getDefaultAttrs=function(){return{lineWidth:0,lineCount:1,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom",lineHeight:null,textArr:null}},n._getFontStyle=function(){var t=this._attrs.attrs,e=t.fontSize,n=t.fontFamily,i=t.fontWeight;return t.fontStyle+" "+t.fontVariant+" "+i+" "+e+"px "+n},n._afterAttrsSet=function(){var t=this._attrs.attrs;if(t.font=this._getFontStyle(),t.text){var e=t.text,n=null,i=1;p(e)&&-1!==e.indexOf("\n")&&(i=(n=e.split("\n")).length),t.lineCount=i,t.textArr=n}this.set("attrs",t)},n._getTextHeight=function(){var t=this._attrs.attrs;if(t.height)return t.height;var e=t.lineCount,n=1*t.fontSize;return e>1?n*e+this._getSpaceingY()*(e-1):n},n._getSpaceingY=function(){var t=this._attrs.attrs,e=t.lineHeight,n=1*t.fontSize;return e?e-n:.14*n},n.drawInner=function(t){var e=this._attrs.attrs,n=e.text,i=e.x,r=e.y;if(!(o(n)||isNaN(i)||isNaN(r))){var a=e.textArr,s=1*e.fontSize,l=this._getSpaceingY();e.rotate&&(t.translate(i,r),t.rotate(e.rotate),i=0,r=0);var c,u,h=e.textBaseline;if(a&&(c=this._getTextHeight()),this.hasFill()){var f=e.fillOpacity;if(o(f)||1===f||(t.globalAlpha=f),a)for(var d=0,p=a.length;d5e3&&(yi=0,xi={}),yi++,xi[a]=s,s}},e}(Qn),bi=function(t){function e(){return t.apply(this,arguments)||this}_t(e,t);var n=e.prototype;return n._initProperties=function(){t.prototype._initProperties.call(this),this._attrs.canFill=!0,this._attrs.canStroke=!0,this._attrs.createPath=null,this._attrs.type="custom"},n.createPath=function(t){var e=this.get("createPath");e&&e.call(this,t)},n.calculateBox=function(){var t=this.get("calculateBox");return t&&t.call(this)},e}(Qn),wi={circle:function(t,e,n,i){i.arc(t,e,n,0,2*Math.PI,!1)},square:function(t,e,n,i){i.moveTo(t-n,e-n),i.lineTo(t+n,e-n),i.lineTo(t+n,e+n),i.lineTo(t-n,e+n),i.closePath()}},Si=function(t){function e(){return t.apply(this,arguments)||this}_t(e,t);var n=e.prototype;return n._initProperties=function(){t.prototype._initProperties.call(this),this._attrs.canFill=!0,this._attrs.canStroke=!0,this._attrs.type="marker"},n.getDefaultAttrs=function(){return{x:0,y:0,lineWidth:0}},n.createPath=function(t){var e,n=this.get("attrs"),i=n.x,r=n.y,a=n.radius,o=n.symbol||"circle";e=s(o)?o:wi[o],t.beginPath(),e(i,r,a,t,this)},n.calculateBox=function(){var t=this.get("attrs"),e=t.x,n=t.y,i=t.radius;return{minX:e-i,minY:n-i,maxX:e+i,maxY:n+i}},e}(Qn);Qn.Rect=Kn,Qn.Image=ti,Qn.Circle=ei,Qn.Line=ci,Qn.Polygon=ui,Qn.Polyline=pi,Qn.Arc=gi,Qn.Sector=vi,Qn.Text=_i,Qn.Custom=bi,Qn.Marker=Si;var Mi={},Ci={getGroupClass:function(){},getChildren:function(){return this.get("children")},addShape:function(t,e){void 0===e&&(e={});var n=Mi[t];n||(n=S(t),Mi[t]=n);var i=new Qn[n](e);return this.add(i),i},addGroup:function(t){var e=new(this.getGroupClass())(t);return this.add(e),e},contain:function(t){return this.get("children").indexOf(t)>-1},sort:function(){for(var t=this.get("children"),e=0,n=t.length;e=r.x&&n<=a.x&&i>=r.y&&i<=s.y}var Fi=Object.freeze({__proto__:null,getClip:Oi,isPointInPlot:Ei});function Ni(t,e){return t-e}var zi=function(t){_t(n,t),n.initPlugins=function(){return{_plugins:[],_cacheId:0,register:function(t){var e=this._plugins;[].concat(t).forEach((function(t){-1===e.indexOf(t)&&e.push(t)})),this._cacheId++},unregister:function(t){var e=this._plugins;[].concat(t).forEach((function(t){var n=e.indexOf(t);-1!==n&&e.splice(n,1)})),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(t,e,n){var i,r,a,s,o=this.descriptors(t),l=o.length;for(i=0;i0;)t.shift().destroy()},e._clearGeoms=function(){for(var t=this.get("geoms"),e=0,n=t.length;e=0&&(e.lineWidth=t.size),T(e,t.style),T({},mt.shape.line,e)}(e);return"dash"===t&&(r.lineDash=mt.lineDash),function(t,e,n,i){var r=t.points;if(r.length&&l(r[0].y)){for(var a=[],s=[],o=0,c=r.length;o1?mt.widthRatio.multiplePie:mt.widthRatio.rose:(n.isLinear&&(s*=a[1]-a[0]),o=mt.widthRatio.column),s*=o,this.hasAdjust("dodge")&&(s/=i.length),t=s,this.set("defaultSize",t)}return t},getDimWidth:function(t){var e=this.get("coord"),n=e.convertPoint({x:0,y:0}),i=e.convertPoint({x:"x"===t?1:0,y:"x"===t?0:1}),r=0;return n&&i&&(r=Math.sqrt(Math.pow(i.x-n.x,2)+Math.pow(i.y-n.y,2))),r},_getWidth:function(){var t=this.get("_width");if(!t){var e=this.get("coord");t=e&&e.isPolar&&!e.transposed?(e.endAngle-e.startAngle)*e.circleRadius:this.getDimWidth("x"),this.set("_width",t)}return t},_toNormalizedSize:function(t){return t/this._getWidth()},_toCoordSize:function(t){return this._getWidth()*t},getNormalizedSize:function(t){var e=this.getAttrValue("size",t);return o(e)?this.getDefaultSize():this._toNormalizedSize(e)},getSize:function(t){var e=this.getAttrValue("size",t);if(o(e)){var n=this.getDefaultSize();e=this._toCoordSize(n)}return e}};function Zi(t){var e,n,i=t.x,r=t.y,a=t.y0,s=t.size,o=a,c=r;return l(r)&&(c=r[1],o=r[0]),l(i)?(e=i[0],n=i[1]):(e=i-s/2,n=i+s/2),[{x:e,y:o},{x:e,y:c},{x:n,y:c},{x:n,y:o}]}Xt.registerFactory("interval",{defaultShapeType:"rect",getDefaultPoints:function(t){return Zi(t)}}),Xt.registerShape("interval","rect",{draw:function(t,e){var n=this.parsePoints(t.points),i=T({fill:t.color},mt.shape.interval,t.style);if(t.isInCircle){var r=n.slice(0);this._coord.transposed&&(r=[n[0],n[3],n[2],n[1]]);var a=t.center,s=a.x,o=a.y,l=[1,0],c=[r[0].x-s,r[0].y-o],u=[r[1].x-s,r[1].y-o],h=[r[2].x-s,r[2].y-o],f=kt.angleTo(l,u),d=kt.angleTo(l,h),p=kt.length(c),g=kt.length(u);return f>=1.5*Math.PI&&(f-=2*Math.PI),d>=1.5*Math.PI&&(d-=2*Math.PI),e.addShape("Sector",{className:"interval",attrs:T({x:s,y:o,r:g,r0:p,startAngle:f,endAngle:d},i)})}var v=function(t){for(var e=[],n=[],i=0,r=t.length;i=0?"positive":"negative";r[d][f]||(r[d][f]=0),c[n]=[r[d][f],h+r[d][f]],r[d][f]+=h}}},i}($t);$t.Stack=ar;var sr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},or=function(t){var e=void 0===t?"undefined":sr(t);return null!==t&&"object"===e||"function"===e},lr=function(t,e){if(t)if(ir(t))for(var n=0,i=t.length;ni&&(n=t,i=r)})),n}},fr={merge:function(t){for(var e=[],n=0;n0&&l<=1&&(i*=l),this.x={start:this.startAngle,end:this.endAngle},this.y={start:i*a,end:i},this.center=r,this.circleRadius=i},n._convertPoint=function(t){var e=this.center,n=this.transposed,i=n?"y":"x",r=n?"x":"y",a=this.x,s=this.y,o=a.start+(a.end-a.start)*t[i],l=s.start+(s.end-s.start)*t[r];return{x:e.x+Math.cos(o)*l,y:e.y+Math.sin(o)*l}},n._invertPoint=function(t){var e=this.center,n=this.transposed,i=this.x,r=this.y,a=n?"y":"x",s=n?"x":"y",o=[1,0,0,1,0,0];Ct.rotate(o,o,i.start);var l=[1,0];kt.transformMat2d(l,l,o),l=[l[0],l[1]];var c=[t.x-e.x,t.y-e.y];if(kt.zero(c))return{x:0,y:0};var u=kt.angleTo(l,c,i.end0?f:-f;var d=(h-r.start)/(r.end-r.start),p={};return p[a]=f,p[s]=d,p},e}(At);At.Polar=pr;var gr=function(t){function e(){return t.apply(this,arguments)||this}_t(e,t);var n=e.prototype;return n._initDefaultCfg=function(){t.prototype._initDefaultCfg.call(this),this.startAngle=-Math.PI/2,this.endAngle=3*Math.PI/2,this.radius=null,this.center=null},n.getOffsetPoint=function(t){var e=this.startAngle,n=e+(this.endAngle-e)*t;return this._getCirclePoint(n)},n._getCirclePoint=function(t,e){var n=this.center;return e=e||this.radius,{x:n.x+Math.cos(t)*e,y:n.y+Math.sin(t)*e}},n.getTextAlignInfo=function(t,e){var n,i=this.getOffsetVector(t,e),r="middle";return i[0]>0?n="left":i[0]<0?n="right":(n="center",i[1]>0?r="top":i[1]<0&&(r="bottom")),{textAlign:n,textBaseline:r}},n.getAxisVector=function(t){var e=this.center,n=this.offsetFactor;return[(t.y-e.y)*n,-1*(t.x-e.x)*n]},n.drawLine=function(t){var e=this.center,n=this.radius,i=this.startAngle,r=this.endAngle;this.getContainer(t.top).addShape("arc",{className:"axis-line",attrs:T({x:e.x,y:e.y,r:n,startAngle:i,endAngle:r},t)})},e}(Bn);Bn.Circle=gr;var vr={min:0,median:.5,max:1},mr=function(){var t=e.prototype;function e(t){this._initDefaultCfg(),I(this,t)}return t._initDefaultCfg=function(){},t._getNormalizedValue=function(t,e){return o(vr[t])?e.scale(t):vr[t]},t.parsePercentPoint=function(t,e){var n=parseFloat(e[0])/100,i=parseFloat(e[1])/100,r=t.start,a=t.end,s=Math.abs(r.x-a.x),o=Math.abs(r.y-a.y);return{x:s*n+Math.min(r.x,a.x),y:o*i+Math.min(r.y,a.y)}},t.parsePoint=function(t,e){var n=this.xScale,i=this.yScales;if(s(e)&&(e=e(n,i)),p(e[0])&&-1!==e[0].indexOf("%")&&!isNaN(e[0].slice(0,-1)))return this.parsePercentPoint(t,e);var r=this._getNormalizedValue(e[0],n),a=this._getNormalizedValue(e[1],i[0]),o=t.convertPoint({x:r,y:a});return this.limitInPlot?r>=0&&r<=1&&a>=0&&a<=1?o:null:o},t.render=function(){},t.repaint=function(){this.remove();var t=this.coord,e=this.container,n=this.canvas;e&&!e.isDestroyed()&&(this.render(t,e),n.draw())},t.remove=function(){var t=this.element;t&&t.remove(!0)},t.changeVisible=function(t){this.visible=t;var e=this.element;e&&(e.set?e.set("visible",t):e.style.display=t?"":"none")},e}(),yr=function(t){function e(){return t.apply(this,arguments)||this}_t(e,t);var n=e.prototype;return n._initDefaultCfg=function(){this.type="arc",this.start=[],this.end=[],this.style={stroke:"#999",lineWidth:1}},n.render=function(t,e){var n=this.parsePoint(t,this.start),i=this.parsePoint(t,this.end);if(n&&i){var r=t.center,a=Math.sqrt((n.x-r.x)*(n.x-r.x)+(n.y-r.y)*(n.y-r.y)),s=Math.atan2(n.y-r.y,n.x-r.x),o=Math.atan2(i.y-r.y,i.x-r.x),l=e.addShape("arc",{className:"guide-arc",attrs:T({x:r.x,y:r.y,r:a,startAngle:s,endAngle:o},this.style)});return this.element=l,l}},e}(mr);function xr(t,e){for(var n in e)e.hasOwnProperty(n)&&(t.style[n]=e[n]);return t}function _r(t){var e=document.createElement("div");return t=t.replace(/(^\s*)|(\s*$)/g,""),e.innerHTML=""+t,e.childNodes[0]}mr.Arc=yr;var br=function(t){function e(){return t.apply(this,arguments)||this}_t(e,t);var n=e.prototype;return n._initDefaultCfg=function(){this.type="html",this.position=null,this.alignX="center",this.alignY="middle",this.offsetX=null,this.offsetY=null,this.html=null},n.render=function(t,e){var n=this.parsePoint(t,this.position);if(n){var i=_r(this.html);i=xr(i,{position:"absolute",top:Math.floor(n.y)+"px",left:Math.floor(n.x)+"px",visibility:"hidden"});var r=e.get("canvas").get("el"),a=r.parentNode;a=xr(a,{position:"relative"});var s=_r('
');a.appendChild(s),s.appendChild(i);var o=r.offsetTop,l=r.offsetLeft,c=this.alignX,u=this.alignY,h=this.offsetX,f=this.offsetY,d=function(t,e,n,i){var r=[];return"left"===t&&"top"===e?(r[0]=0,r[1]=0):"right"===t&&"top"===e?(r[0]=-n,r[1]=0):"left"===t&&"bottom"===e?(r[0]=0,r[1]=Math.floor(-i)):"right"===t&&"bottom"===e?(r[0]=Math.floor(-n),r[1]=Math.floor(-i)):"right"===t&&"middle"===e?(r[0]=Math.floor(-n),r[1]=Math.floor(-i/2)):"left"===t&&"middle"===e?(r[0]=0,r[1]=Math.floor(-i/2)):"center"===t&&"bottom"===e?(r[0]=Math.floor(-n/2),r[1]=Math.floor(-i)):"center"===t&&"top"===e?(r[0]=Math.floor(-n/2),r[1]=0):(r[0]=Math.floor(-n/2),r[1]=Math.floor(-i/2)),r}(c,u,tt(i),et(i));n.x=n.x+d[0]+l,n.y=n.y+d[1]+o,h&&(n.x+=h),f&&(n.y+=f),xr(i,{top:Math.floor(n.y)+"px",left:Math.floor(n.x)+"px",visibility:"visible"}),this.element=s}},n.remove=function(){var t=this.element;t&&t.parentNode&&t.parentNode.removeChild(t)},e}(mr);mr.Html=br;var wr=function(t){function e(){return t.apply(this,arguments)||this}_t(e,t);var n=e.prototype;return n._initDefaultCfg=function(){this.type="line",this.start=[],this.end=[],this.style={stroke:"#000",lineWidth:1}},n.render=function(t,e){var n=[];if(n[0]=this.parsePoint(t,this.start),n[1]=this.parsePoint(t,this.end),n[0]&&n[1]){var i=e.addShape("Line",{className:"guide-line",attrs:T({x1:n[0].x,y1:n[0].y,x2:n[1].x,y2:n[1].y},this.style)});return this.element=i,i}},e}(mr);mr.Line=wr;var Sr=function(t){function e(){return t.apply(this,arguments)||this}_t(e,t);var n=e.prototype;return n._initDefaultCfg=function(){this.type="rect",this.start=[],this.end=[],this.style={fill:"#CCD7EB",opacity:.4}},n.render=function(t,e){var n=this.parsePoint(t,this.start),i=this.parsePoint(t,this.end);if(n&&i){var r=e.addShape("rect",{className:"guide-rect",attrs:T({x:Math.min(n.x,i.x),y:Math.min(n.y,i.y),width:Math.abs(i.x-n.x),height:Math.abs(n.y-i.y)},this.style)});return this.element=r,r}},e}(mr);mr.Rect=Sr;var Mr=function(t){function e(){return t.apply(this,arguments)||this}_t(e,t);var n=e.prototype;return n._initDefaultCfg=function(){this.type="text",this.position=null,this.content=null,this.style={fill:"#000"},this.offsetX=0,this.offsetY=0},n.render=function(t,e){var n=this.position,i=this.parsePoint(t,n);if(i){var r=this.content,a=this.style,s=this.offsetX,o=this.offsetY;s&&(i.x+=s),o&&(i.y+=o);var l=e.addShape("text",{className:"guide-text",attrs:T({x:i.x,y:i.y,text:r},a)});return this.element=l,l}},e}(mr);mr.Text=Mr;var Cr=function(t){function e(){return t.apply(this,arguments)||this}_t(e,t);var n=e.prototype;return n._initDefaultCfg=function(){this.type="tag",this.position=null,this.content=null,this.direct="tl",this.autoAdjust=!0,this.offsetX=0,this.offsetY=0,this.side=4,this.background={padding:5,radius:2,fill:"#1890FF"},this.textStyle={fontSize:12,fill:"#fff",textAlign:"center",textBaseline:"middle"},this.withPoint=!0,this.pointStyle={fill:"#1890FF",r:3,lineWidth:1,stroke:"#fff"}},n._getDirect=function(t,e,n,i){var r=this.direct,a=this.side,s=t.get("canvas"),o=s.get("width"),l=s.get("height"),c=e.x,u=e.y,h=r[0],f=r[1];"t"===h&&u-a-i<0?h="b":"b"===h&&u+a+i>l&&(h="t");var d="c"===h?a:0;return"l"===f&&c-d-n<0?f="r":"r"===f&&c+d+n>o?f="l":"c"===f&&(n/2+c+d>o?f="l":c-n/2-d<0&&(f="r")),h+f},n.render=function(t,e){var n=this.parsePoint(t,this.position);if(n&&!isNaN(n.x)&&!isNaN(n.y)){var i=this.content,r=this.background,a=this.textStyle,s=[],o=e.addGroup({className:"guide-tag"});if(this.withPoint){var l=o.addShape("Circle",{className:"guide-tag-point",attrs:T({x:n.x,y:n.y},this.pointStyle)});s.push(l)}var c=o.addGroup(),u=c.addShape("text",{className:"guide-tag-text",zIndex:1,attrs:T({x:0,y:0,text:i},a)});s.push(u);var h=u.getBBox(),f=ut(r.padding),d=h.width+f[1]+f[3],p=h.height+f[0]+f[2],g=h.minY-f[0],v=h.minX-f[3],m=c.addShape("rect",{className:"guide-tag-bg",zIndex:-1,attrs:T({x:v,y:g,width:d,height:p},r)});s.push(m);var y,x=this.autoAdjust?this._getDirect(e,n,d,p):this.direct,_=this.side,b=n.x+this.offsetX,w=n.y+this.offsetY,S=ut(r.radius);"tl"===x?(y=[{x:d+v-_-1,y:p+g-1},{x:d+v,y:p+g-1},{x:d+v,y:p+_+g}],S[2]=0,b-=d,w=w-_-p):"cl"===x?(y=[{x:d+v-1,y:(p-_)/2+g-1},{x:d+v-1,y:(p+_)/2+g+1},{x:d+_+v,y:p/2+g}],b=b-d-_,w-=p/2):"bl"===x?(y=[{x:d+v,y:-_+g},{x:d+v-_-1,y:g+1},{x:d+v,y:g+1}],S[1]=0,b-=d,w+=_):"bc"===x?(y=[{x:d/2+v,y:-_+g},{x:(d-_)/2+v-1,y:g+1},{x:(d+_)/2+v+1,y:g+1}],b-=d/2,w+=_):"br"===x?(y=[{x:v,y:g-_},{x:v,y:g+1},{x:v+_+1,y:g+1}],S[0]=0,w+=_):"cr"===x?(y=[{x:v-_,y:p/2+g},{x:v+1,y:(p-_)/2+g-1},{x:v+1,y:(p+_)/2+g+1}],b+=_,w-=p/2):"tr"===x?(y=[{x:v,y:p+_+g},{x:v,y:p+g-1},{x:_+v+1,y:p+g-1}],S[3]=0,w=w-p-_):"tc"===x&&(y=[{x:(d-_)/2+v-1,y:p+g-1},{x:(d+_)/2+v+1,y:p+g-1},{x:d/2+v,y:p+_+g}],b-=d/2,w=w-p-_);var M=c.addShape("Polygon",{className:"guide-tag-side",zIndex:0,attrs:{points:y,fill:r.fill}});return s.push(M),m.attr("radius",S),c.moveTo(b-v,w-g),c.sort(),this.element=o,s}},e}(mr);mr.Tag=Cr;var kr=function(t){function e(){return t.apply(this,arguments)||this}_t(e,t);var n=e.prototype;return n._initDefaultCfg=function(){this.type="point",this.position=null,this.offsetX=0,this.offsetY=0,this.style={fill:"#1890FF",r:3,lineWidth:1,stroke:"#fff"}},n.render=function(t,e){var n=this.parsePoint(t,this.position);if(!n)return null;var i=e.addShape("Circle",{className:"guide-point",attrs:T({x:n.x+this.offsetX,y:n.y+this.offsetY},this.style)});return this.element=i,i},e}(mr);mr.Point=kr;var Pr=function(){var t=e.prototype;function e(t){I(this,this.getDefaultCfg(),t),this._init(),this._renderTitle(),this._renderItems()}return t.getDefaultCfg=function(){return{showTitle:!1,title:null,items:null,titleGap:12,itemGap:10,itemMarginBottom:12,itemFormatter:null,itemWidth:null,wordSpace:6,x:0,y:0,layout:"horizontal",joinString:": "}},t._init=function(){var t=this.parent;if(t){var e=t.addGroup({zIndex:this.zIndex||0});this.container=e;var n=e.addGroup();this.wrapper=n;var i=n.addGroup({className:"itemsGroup"});this.itemsGroup=i}},t._renderTitle=function(t){t=t||this.title;var e=this.titleShape,n=0;if(this.showTitle&&t){if(e&&!e.get("destroyed"))e.attr("text",t);else{var i=this.wrapper,r=this.titleStyle;e=i.addShape("text",{className:"title",attrs:T({x:0,y:0,text:t},r)}),this.titleShape=e}n=e.getBBox().height+this.titleGap}this._titleHeight=n},t._renderItems=function(t){var e=this;(t=t||e.items)&&(e.reversed&&t.reverse(),u(t,(function(t,n){e._addItem(t,n)})),t.length>1&&this._adjustItems(),this._renderBackground())},t._renderBackground=function(){var t=this.background;if(t){var e=this.container,n=this.wrapper.getBBox(),i=n.minX,r=n.minY,a=n.width,s=n.height,o=t.padding||[0,0,0,0],l=T({x:i-(o=ut(o))[3],y:r-o[0],width:a+o[1]+o[3],height:s+o[0]+o[2]},t),c=this.backShape;c?c.attr(l):c=e.addShape("Rect",{zIndex:-1,attrs:l}),this.backShape=c,e.sort()}},t._addItem=function(t){var e,n=this.itemsGroup.addGroup({name:t.name,value:t.value,dataValue:t.dataValue,checked:t.checked}),i=this.unCheckStyle,r=this.unCheckColor,a=this.nameStyle,s=this.valueStyle,o=this.wordSpace,l=t.marker,c=t.value,u=0;if(r&&(i.fill=r),l){var h=T({x:l.radius||3,y:this._titleHeight},l);!1===t.checked&&T(h,i),u+=n.addShape("marker",{className:"item-marker",attrs:h}).getBBox().width+o}var f=t.name;if(f){var d=this.joinString||"";f=c?f+d:f,e=n.addShape("text",{className:"name",attrs:T({x:u,y:this._titleHeight,text:this._formatItemValue(f)},a,!1===t.checked?i:null)})}if(c){var p=u;e&&(p+=e.getBBox().width),n.addShape("text",{className:"value",attrs:T({x:p,y:this._titleHeight,text:c},s,!1===t.checked?i:null)})}return n},t._formatItemValue=function(t){var e=this.itemFormatter;return e&&(t=e.call(this,t)),t},t._getMaxItemWidth=function(){var t=this.itemWidth;if(x(t)||o(t))return t;if("auto"===t){for(var e=this.itemsGroup.get("children"),n=e.length,i=0,r=0;r1e-4&&(o++,l=0),d.moveTo(l,o*e),u.push({x:l,y:o*e+s-g/2,width:1.375*v,height:1.375*g}),l+=t+r}this.legendHitBoxes=u},t._adjustVertical=function(){for(var t,e,n=this.maxLength,i=this.itemsGroup,r=this.itemGap,a=this.itemMarginBottom,s=this.itemWidth,o=this._titleHeight,l=i.get("children"),c=0,u=0,h=0,f=[],d=0,p=l.length;du&&(u=t+r),n-c=e.br.y&&(o=e.br.y-r),s<0&&(s=e.tl.x,n&&n.attr("x1",e.tl.x+a)),i.updatePosition(s,o)}},t.setXTipContent=function(t){var e=this.xTip;t=s(e)?e(t):T({text:t},e),this.xTipBox&&this.xTipBox.updateContent(t)},t.setXTipPosition=function(t){var e=this.showXTip,n=this.canvas,i=this.plotRange,r=this.xTipBox,a=this.crosshairsShapeY;if(e){var s=n.get("height"),o=r.getWidth(),l=r.getHeight(),c=t-o/2,u=i.br.y;c<=i.tl.x&&(c=i.tl.x),c+o>=i.tr.x&&(c=i.tr.x-o),s-u1?(t[0].x+t[t.length-1].x)/2:t[0].x)-h/2+i)p.x&&(g=p.x-h),s){var m=v+f;s.attr("points",[{x:o-3,y:m},{x:o+3,y:m},{x:o,y:m+4}]);var y=e.backShape,x=ut(y.attr("radius"));o===d.x?(x[3]=0,s.attr("points",[{x:d.x,y:m},{x:d.x+4,y:m},{x:d.x,y:m+4}])):o===p.x&&(x[2]=0,s.attr("points",[{x:p.x-4,y:m},{x:p.x,y:m},{x:p.x,y:m+4}])),y.attr("radius",x)}e.moveTo(g-c,v-u)}},t.setMarkers=function(t){void 0===t&&(t={});var e=t,n=e.items,i=e.style,r=e.type,a=this._getMarkerGroup(r);if("circle"===r)for(var s=0,o=n.length;s16&&(e.showTooltip(r),e.timeStamp=s)}else e.hideTooltip()}})),yt(this,"handleHideEvent",(function(){e.enable&&e.hideTooltip()})),this.enable=!0,this.cfg={},this.tooltip=null,this.chart=null,this.timeStamp=0,T(this,t);var n=this.chart.get("canvas");this.canvas=n,this.canvasDom=n.get("el")}var e=t.prototype;return e._setCrosshairsCfg=function(){var t=this.chart,e=T({},mt.tooltip),n=t.get("geoms"),i=[];u(n,(function(t){var e=t.get("type");-1===i.indexOf(e)&&i.push(e)}));var r=t.get("coord").type;return!n.length||"cartesian"!==r&&"rect"!==r||1===i.length&&-1!==["line","area","path","point"].indexOf(i[0])&&T(e,{showCrosshairs:!0}),e},e._getMaxLength=function(t){void 0===t&&(t={});var e=t,n=e.layout,i=e.plotRange;return"horizontal"===n?i.br.x-i.bl.x:i.bl.y-i.tr.y},e.render=function(){if(!this.tooltip){var t=this.chart,e=t.get("canvas"),n=t.get("frontPlot").addGroup({className:"tooltipContainer",zIndex:10}),i=t.get("backPlot").addGroup({className:"tooltipContainer"}),r=t.get("plotRange"),a=t.get("coord"),s=this._setCrosshairsCfg(),o=this.cfg,l=I({plotRange:r,frontPlot:n,backPlot:i,canvas:e,fixed:a.transposed||a.isPolar},s,o);l.maxLength=this._getMaxLength(l),this._tooltipCfg=l;var c=new Tr(l);this.tooltip=c,l.alwaysShow&&this.prePoint&&this.showTooltip(this.prePoint),this.bindEvents()}},e.clear=function(){var t=this.tooltip;t&&(t.destroy(),this.unBindEvents()),this.tooltip=null,this._lastActive=null},e._getTooltipMarkerStyle=function(t){void 0===t&&(t={});var e=t,n=e.type,i=e.items,r=this._tooltipCfg;if("rect"===n){var a,s,o,l,c=this.chart,u=c.get("plotRange"),h=u.tl,f=u.br,d=c.get("coord"),p=i[0],g=i[i.length-1],v=p.width;d.transposed?(a=h.x,s=g.y-.75*v,o=f.x-h.x,l=p.y-g.y+1.5*v):(a=p.x-.75*v,s=h.y,o=g.x-p.x+1.5*v,l=f.y-h.y),t.style=T({x:a,y:s,width:o,height:l,fill:"#CCD6EC",opacity:.3},r.tooltipMarkerStyle)}else t.style=T({radius:4,fill:"#fff",lineWidth:2},r.tooltipMarkerStyle);return t},e._setTooltip=function(t,e,n){void 0===n&&(n={}),this.prePoint=t;var i=this._lastActive,r=this.tooltip,a=this._tooltipCfg;e=Er(e);var s=this.chart,o=s.get("coord"),l=s.getYScales()[0],c=a.snap;if(!1===c&&l.isLinear){var u,h,f=o.invertPoint(t);Ei(t,s.get("plotRange"))&&(o.transposed?(u=l.invert(f.x),h=t.x,r.setXTipContent(u),r.setXTipPosition(h),r.setYCrosshairPosition(h)):(u=l.invert(f.y),h=t.y,r.setYTipContent(u),r.setYTipPosition(h),r.setXCrosshairPosition(h)))}if(a.onShow&&a.onShow({x:t.x,y:t.y,tooltip:r,items:e,tooltipMarkerCfg:n}),d=i,p=e,JSON.stringify(d)!==JSON.stringify(p)){var d,p;this._lastActive=e;var g=a.onChange;g&&g({x:t.x,y:t.y,tooltip:r,items:e,tooltipMarkerCfg:n});var v=e[0],m=v.title||v.name,y=v.x;if(e.length>1&&(y=(e[0].x+e[e.length-1].x)/2),r.setContent(m,e,o.transposed),r.setPosition(e,t),o.transposed){var x=v.y;e.length>1&&(x=(e[0].y+e[e.length-1].y)/2),r.setYTipContent(m),r.setYTipPosition(x),r.setXCrosshairPosition(x),c&&(r.setXTipContent(v.value),r.setXTipPosition(y),r.setYCrosshairPosition(y))}else r.setXTipContent(m),r.setXTipPosition(y),r.setYCrosshairPosition(y),c&&(r.setYTipContent(v.value),r.setYTipPosition(v.y),r.setXCrosshairPosition(v.y));var _=n.items;a.showTooltipMarker&&_.length?(n=this._getTooltipMarkerStyle(n),r.setMarkers(n)):r.clearMarkers(),r.show()}else!1===c&&(ht(a.crosshairsType,"y")||a.showYTip)&&this.chart.get("canvas").draw()},e.showTooltip=function(t){var e,n,i=this.chart,r=[],a=[],s=this._tooltipCfg,o=s.showItemMarker,c=s.itemMarkerStyle,h=s.alwaysShow;o&&(n=c);var f=i.get("geoms"),d=i.get("coord");if(u(f,(function(i){if(i.get("visible")){var s=i.get("type"),o=i.getSnapRecords(t),c=i.get("adjust");if("interval"===s&&c&&"symmetric"===c.type)return;u(o,(function(t){var o=t.x,c=t.y,u=t._origin,h=t.color;if((o||!isNaN(o))&&(c||!isNaN(c))){var f={x:o,y:l(c)?c[1]:c,color:h||mt.defaultColor,origin:u,name:Ir(i,u),value:Yr(i,u),title:Or(i,u)};n&&(f.marker=T({fill:h||mt.defaultColor},n)),a.push(f),-1!==["line","area","path"].indexOf(s)?(e="circle",r.push(f)):"interval"!==s||"cartesian"!==d.type&&"rect"!==d.type||(e="rect",f.width=i.getSize(t._origin),r.push(f))}}))}})),a.length){var p={items:r,type:e};this._setTooltip(t,a,p)}else h||this.hideTooltip()},e.hideTooltip=function(){var t=this._tooltipCfg;this._lastActive=null;var e=this.tooltip;e&&(e.hide(),t.onHide&&t.onHide({tooltip:e}),this.chart.get("canvas").draw())},e._handleEvent=function(t,e,n){var i=this.canvas;u([].concat(t),(function(t){"bind"===n?i.on(t,e):i.off(t,e)}))},e.bindEvents=function(){var t=this._tooltipCfg,e=t.triggerOn,n=t.triggerOff,i=t.alwaysShow;e&&this._handleEvent(e,this.handleShowEvent,"bind"),i||this._handleEvent(n,this.handleHideEvent,"bind")},e.unBindEvents=function(){var t=this._tooltipCfg,e=t.triggerOn,n=t.triggerOff,i=t.alwaysShow;e&&this._handleEvent(e,this.handleShowEvent,"unBind"),i||this._handleEvent(n,this.handleHideEvent,"unBind")},t}();function Nr(t){var e=new Fr({chart:t});t.set("tooltipController",e),t.tooltip=function(t,n){return c(t)&&(n=t,t=!0),e.enable=t,n&&(e.cfg=n),this}}function zr(t){var e=t.get("tooltipController");e.render(),t.showTooltip=function(t){return e.showTooltip(t),this},t.hideTooltip=function(){return e.hideTooltip(),this}}function Br(t){t.get("tooltipController").clear()}var Lr={init:Nr,afterGeomDraw:zr,clearInner:Br},jr=Object.freeze({__proto__:null,init:Nr,afterGeomDraw:zr,clearInner:Br,default:Lr});mt.guide=I({line:{style:{stroke:"#a3a3a3",lineWidth:1},top:!0},text:{style:{fill:"#787878",textAlign:"center",textBaseline:"middle"},offsetX:0,offsetY:0,top:!0},rect:{style:{fill:"#fafafa"},top:!1},arc:{style:{stroke:"#a3a3a3"},top:!0},html:{offsetX:0,offsetY:0,alignX:"center",alignY:"middle"},tag:{top:!0,offsetX:0,offsetY:0,side:4,background:{padding:5,radius:2,fill:"#1890FF"},textStyle:{fontSize:12,fill:"#fff",textAlign:"center",textBaseline:"middle"}},point:{top:!0,offsetX:0,offsetY:0,style:{fill:"#fff",r:3,lineWidth:2,stroke:"#1890ff"}}},mt.guide||{});var Rr=function(){function t(t){this.guides=[],this.xScale=null,this.yScales=null,this.guideShapes=[],T(this,t)}var e=t.prototype;return e._toString=function(t){return s(t)&&(t=t(this.xScale,this.yScales)),t.toString()},e._getId=function(t,e){var n=e.id;if(!n){var i=e.type;n="arc"===i||"line"===i||"rect"===i?this._toString(e.start)+"-"+this._toString(e.end):this._toString(e.position)}return n},e.paint=function(t){var e=this,n=e.chart,i=e.guides,r=e.xScale,a=e.yScales,s=[];u(i,(function(i,o){var l;i.xScale=r,i.yScales=a,"regionFilter"===i.type?i.chart=n:l=i.top?e.frontPlot:e.backPlot,i.coord=t,i.container=l,i.canvas=n.get("canvas");var c=i.render(t,l);if(c){var u=e._getId(c,i);[].concat(c).forEach((function(t){t._id=t.get("className")+"-"+u,t.set("index",o),s.push(t)}))}})),e.guideShapes=s},e.clear=function(){return this.reset(),this.guides=[],this},e.reset=function(){u(this.guides,(function(t){t.remove()}))},e._createGuide=function(t,e){var n=S(t),i=new mr[n](I({},mt.guide[t],e));return this.guides.push(i),i},e.line=function(t){return void 0===t&&(t={}),this._createGuide("line",t)},e.text=function(t){return void 0===t&&(t={}),this._createGuide("text",t)},e.arc=function(t){return void 0===t&&(t={}),this._createGuide("arc",t)},e.html=function(t){return void 0===t&&(t={}),this._createGuide("html",t)},e.rect=function(t){return void 0===t&&(t={}),this._createGuide("rect",t)},e.tag=function(t){return void 0===t&&(t={}),this._createGuide("tag",t)},e.point=function(t){return void 0===t&&(t={}),this._createGuide("point",t)},e.regionFilter=function(t){return void 0===t&&(t={}),this._createGuide("regionFilter",t)},t}();function Xr(t){var e=new Rr({frontPlot:t.get("frontPlot").addGroup({zIndex:20,className:"guideContainer"}),backPlot:t.get("backPlot").addGroup({className:"guideContainer"})});t.set("guideController",e),t.guide=function(){return e}}function Gr(t){var e=t.get("guideController");if(e.guides.length){var n=t.getXScale(),i=t.getYScales(),r=t.get("coord");e.xScale=n,e.yScales=i,e.chart=t,e.paint(r)}}function Hr(t){t.get("guideController").clear()}function Wr(t){t.get("guideController").reset()}var Vr={init:Xr,afterGeomDraw:Gr,clear:Hr,repaint:Wr},$r=Object.freeze({__proto__:null,init:Xr,afterGeomDraw:Gr,clear:Hr,repaint:Wr,default:Vr}),qr={itemMarginBottom:12,itemGap:10,showTitle:!1,titleStyle:{fontSize:12,fill:"#808080",textAlign:"start",textBaseline:"top"},nameStyle:{fill:"#808080",fontSize:12,textAlign:"start",textBaseline:"middle"},valueStyle:{fill:"#000000",fontSize:12,textAlign:"start",textBaseline:"middle"},unCheckStyle:{fill:"#bfbfbf"},itemWidth:"auto",wordSpace:6,selectedMode:"multiple"};mt.legend=I({common:qr,right:T({position:"right",layout:"vertical"},qr),left:T({position:"left",layout:"vertical"},qr),top:T({position:"top",layout:"horizontal"},qr),bottom:T({position:"bottom",layout:"horizontal"},qr)},mt.legend||{});var Ur=function(){function t(t){var e=this;yt(this,"handleEvent",(function(t){var n=e,i=n.chart,r=lt(t,i),a=function(t,e){var i=null;return u(n.legends,(function(n){u(n,(function(n){var r=n.itemsGroup,a=n.legendHitBoxes,s=r.get("children");if(s.length){var o=n.x,l=n.y;u(a,(function(r,a){if(t>=r.x+o&&t<=r.x+r.width+o&&e>=r.y+l&&e<=r.height+r.y+l)return i={clickedItem:s[a],clickedLegend:n},!1}))}}))})),i}(r.x,r.y);if(a&&!1!==a.clickedLegend.clickable){var s=a.clickedItem,o=a.clickedLegend;if(o.onClick)t.clickedItem=s,o.onClick(t);else if(!o.custom){var l=s.get("checked"),c=s.get("dataValue"),h=o.filteredVals,f=o.field;"single"===o.selectedMode?i.filter(f,(function(t){return t===c})):(l?h.push(c):G(h,c),i.filter(f,(function(t){return-1===h.indexOf(t)}))),i.repaint()}}})),this.legendCfg={},this.enable=!0,this.position="top",T(this,t);var n=this.chart;this.canvasDom=n.get("canvas").get("el"),this.clear()}var e=t.prototype;return e.addLegend=function(t,e,n){var i=this.legendCfg,r=t.field,a=i[r];if(!1===a)return null;if(a&&a.custom)this.addCustomLegend(r);else{var s=i.position||this.position;a&&a.position&&(s=a.position),t.isCategory&&this._addCategoryLegend(t,e,s,n)}},e.addCustomLegend=function(t){var e=this.legendCfg;t&&e[t]&&(e=e[t]);var n=e.position||this.position,i=this.legends;i[n]=i[n]||[];var r=e.items;if(!r)return null;var a=this.container;u(r,(function(t){d(t.marker)?t.marker.radius=t.marker.radius||3:t.marker={symbol:t.marker||"circle",fill:t.fill,radius:3},t.checked=!!o(t.checked)||t.checked,t.name=t.name||t.value}));var s=new Pr(I({},mt.legend[n],e,{maxLength:this._getMaxLength(n),items:r,parent:a}));i[n].push(s)},e.clear=function(){u(this.legends,(function(t){u(t,(function(t){t.clear()}))})),this.legends={},this.unBindEvents()},e._isFiltered=function(t,e,n){var i=!1;return u(e,(function(e){if(i=i||t.getText(e)===t.getText(n))return!1})),i},e._getMaxLength=function(t){var e=this.chart,n=ut(e.get("appendPadding"));return"right"===t||"left"===t?e.get("height")-(n[0]+n[2]):e.get("width")-(n[1]+n[3])},e._addCategoryLegend=function(t,e,n,i){var r=this,a=r.legendCfg,s=r.legends,o=r.container,l=r.chart,c=t.field;s[n]=s[n]||[];var h="circle";a[c]&&a[c].marker?h=a[c].marker:a.marker&&(h=a.marker),u(e,(function(e){d(h)?T(e.marker,h):e.marker.symbol=h,i&&(e.checked=!r._isFiltered(t,i,e.dataValue))})),l.get("legendItems")[c]=e;var f=I({},mt.legend[n],a[c]||a,{maxLength:r._getMaxLength(n),items:e,field:c,filteredVals:i,parent:o});f.showTitle&&I(f,{title:t.alias||t.field});var p=new Pr(f);return s[n].push(p),p},e._alignLegend=function(t,e,n){var i=this.plotRange,r=i.tl,a=i.bl,s=this.chart,o=t.offsetX||0,l=t.offsetY||0,c=s.get("width"),u=s.get("height"),h=ut(s.get("appendPadding")),f=t.getHeight(),d=t.getWidth(),p=0,g=0;if("left"===n||"right"===n){var v=t.verticalAlign||"middle",m=Math.abs(r.y-a.y);p="left"===n?h[3]:c-d-h[1],g=(m-f)/2+r.y,"top"===v?g=r.y:"bottom"===v&&(g=a.y-f),e&&(g=e.get("y")-f-12)}else{var y=t.align||"left";if(p=h[3],"center"===y?p=c/2-d/2:"right"===y&&(p=c-(d+h[1])),g="top"===n?h[0]+Math.abs(t.container.getBBox().minY):u-f,e){var x=e.getWidth();p=e.x+x+12}}"bottom"===n&&l>0&&(l=0),"right"===n&&o>0&&(o=0),t.moveTo(p+o,g+l)},e.alignLegends=function(){var t=this;return u(t.legends,(function(e,n){u(e,(function(i,r){var a=e[r-1];t._alignLegend(i,a,n)}))})),t},e.bindEvents=function(){var t=this.legendCfg.triggerOn||"touchstart";rt(this.canvasDom,t,this.handleEvent)},e.unBindEvents=function(){var t=this.legendCfg.triggerOn||"touchstart";at(this.canvasDom,t,this.handleEvent)},t}();function Jr(t){var e=new Ur({container:t.get("backPlot").addGroup(),plotRange:t.get("plotRange"),chart:t});t.set("legendController",e),t.legend=function(t,n){var i=e.legendCfg;return e.enable=!0,C(t)?(e.enable=t,i=n||{}):c(t)?i=t:i[t]=n,e.legendCfg=i,this}}function Zr(t){var e=t.get("legendController");if(!e.enable)return null;var n=e.legendCfg,i=e.container;if(n&&n.custom)e.addCustomLegend();else{var r=t.getLegendItems(),a=t.get("scales"),s=t.get("filters");u(r,(function(t,n){var i,r=a[n],o=r.values;i=s&&s[n]?o.filter((function(t){return!s[n](t)})):[],e.addLegend(r,t,i)}))}n&&!1!==n.clickable&&e.bindEvents();var o=e.legends,l={top:0,right:0,bottom:0,left:0};u(o,(function(e,n){var i=0;u(e,(function(t){var e=t.getWidth(),r=t.getHeight();"top"===n||"bottom"===n?(i=Math.max(i,r),t.offsetY>0&&(i+=t.offsetY)):(i=Math.max(i,e),t.offsetX>0&&(i+=t.offsetX))})),l[n]=i+function(t,e){var n=0;switch(e=ut(e),t){case"top":n=e[0];break;case"right":n=e[1];break;case"bottom":n=e[2];break;case"left":n=e[3]}return n}(n,t.get("appendPadding"))})),t.set("legendRange",l),Object.keys(o).length?i.set("ariaLabel",vt.legend.prefix):i.set("ariaLabel",null)}function Qr(t){t.get("legendController").alignLegends()}function Kr(t){t.get("legendController").clear(),t.set("legendRange",null)}var ta={init:Jr,beforeGeomDraw:Zr,afterGeomDraw:Qr,clearInner:Kr},ea=Object.freeze({__proto__:null,init:Jr,beforeGeomDraw:Zr,afterGeomDraw:Qr,clearInner:Kr,default:ta}),na="object"==typeof performance&&performance.now?performance:Date,ia=function(){function t(){this.anims=[],this.time=null,this.playing=!1,this.canvas=[]}var e=t.prototype;return e.play=function(){var t=this;t.time=na.now(),t.playing=!0,Pi((function e(){t.playing&&(Pi(e),t.update())}))},e.stop=function(){this.playing=!1,this.time=null,this.canvas=[]},e.pushAnim=function(t){this.playing||this.play();var e=t.delay,n=t.duration,i=this.time+e,r=i+n;t.startTime=i,t.endTime=r,this.anims.push(t)},e.update=function(){var t=na.now();if(this.canvas=[],this.anims.length){for(var e=0;e=n.startTime&&!n.hasStarted&&(n.hasStarted=!0,n.onStart&&n.onStart());var l=(t-n.startTime)/o;if(l=Math.max(0,Math.min(l,1)),l=n.easing(l),n.onFrame)n.onFrame(l);else for(var c in s){var u=(0,s[c])(l),h=void 0;if("points"===c){h=[];for(var f=Math.max(r.points.length,a.points.length),d=0;d=n.endTime&&!n.hasEnded&&(n.hasEnded=!0,n.onEnd&&n.onEnd()),1===l&&(this.anims.splice(e,1),e--)}}}this.canvas.map((function(t){return t.draw(),t})),this.time=na.now()}else this.stop()},t}();function ra(t){return t}function aa(t){return 1-sa(1-t)}function sa(t){return(t/=1)<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}var oa=Object.freeze({__proto__:null,linear:ra,quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},elasticIn:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4/(2*Math.PI)*Math.asin(1/n),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4))},elasticOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4/(2*Math.PI)*Math.asin(1/n),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/.4)+1)},elasticInOut:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=i/(2*Math.PI)*Math.asin(1/n),(t*=2)<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:aa,bounceOut:sa,bounceInOut:function(t){return t<.5?.5*aa(2*t):.5*sa(2*t-1)+.5}});function la(t){for(var e=[],n=0,i=t.length;nl.x?i.x:l.x,s=l.y+h/2):"xy"===r&&(n.isPolar?(a=n.center.x,s=n.center.y):(a=(l.x+c.x)/2,s=(l.y+c.y)/2));var d=pa(f,[a,s],r);f.isClip=!0,f.endState={matrix:d},f.set("canvas",t.get("canvas")),t.attr("clip",f),ga(f,f.endState,e,(function(){t.attr("clip",null),f.remove(!0)}))}function xa(t,e,n){for(var i=t.get("children"),r=0,a=i.length;r-1&&(t="guide-tag"),c(n)?n[t]:!1!==n&&null}function Oa(){(Ca=new ia).play()}function Ea(t){if(!1!==t.get("animate")){var e=t.get("isUpdate"),n=t.get("canvas"),i=t.get("coord"),r=t.get("geoms"),a=n.get("caches")||[];0===a.length&&(e=!1);var l=Aa(r,t,i),c=t.get("axisController"),h=c.frontPlot,f=c.backPlot,d=h.get("children").concat(f.get("children")),p=[];t.get("guideController")&&(p=t.get("guideController").guideShapes);var g,v,m=[];d.concat(p).forEach((function(e){var n=Ya(e.get("className"),t);e.set("coord",i),e.set("animateCfg",n),m.push(e),l.push(e)})),n.set("caches",function(t){for(var e={},n=0,i=t.length;n1?[1-a,1]:[o,l],this.updateRange(e)}},e.updateRange=function(t){var e=this.values,n=t[0],i=t[1];n=Math.max(0,n),i=Math.min(1,i),this.range=[n,i];var r=e.length,a=n*r,s=i*r,o=e.slice(a,s);this.repaint(o)},e.repaint=function(t){var e=this.chart,n=this.getPinchScale(),i=n.values,r=n.ticks;(function(t,e){if(t.length!==e.length)return!1;var n=t.length-1;return t[0]===e[0]&&t[n]===e[n]})(i,t)||(this.updateScale(n,{ticks:r,values:t}),this.updateFollowScale(n,t),e.repaint())},e.updateFollowScale=function(t,e){var n=this.chart,i=this.getFollowScale(),r=t.field,a=t.type,s=i.field,o=[],l={};e.forEach((function(t){l[t]=!0})),n.get("data").forEach((function(t){if("timeCat"===a){var e=ft(t[r]);l[e]&&o.push(t[s])}}));var c=H(o),u=c.min,h=c.max;this.updateScale(i,{min:u,max:h,nice:!0})},e.updateScale=function(t,e){t&&t.change(e)},e.updateTicks=function(){var t=this.chart,e=this.values,n=this.getPinchScale(),i=n.values,r=n.tickCount,a=Math.round(r*e.length/i.length),s=Kt("cat")({tickCount:a,values:e});this.updateScale(n,{ticks:s,values:i}),t.repaint()},e.destroy=function(){var t=this.chart;t.off("afterinit",this._afterinit),t.off("afterdatachange",this._afterdatachange)},t}(),ja=function(){var t=e.prototype;function e(t,e){var n=this;yt(this,"type",""),yt(this,"startEvent","touchstart"),yt(this,"processEvent","touchmove"),yt(this,"endEvent","touchend"),yt(this,"resetEvent",null),yt(this,"context",null),yt(this,"_start",(function(t){n.preStart&&n.preStart(t),n.start(t),n.onStart&&n.onStart(t)})),yt(this,"_process",(function(t){n.preProcess&&n.preProcess(t),n.process(t),n.onProcess&&n.onProcess(t)})),yt(this,"_end",(function(t){n.preEnd&&n.preEnd(t),n.end(t),n.onEnd&&n.onEnd(t)})),yt(this,"_reset",(function(t){n.preReset&&n.preReset(t),n.reset(t),n.onReset&&n.onReset(t)})),T(this,this.getDefaultCfg(),t),this.context=this.getInteractionContext(e),this.chart=e;var i=this.range;i&&(this.context.range=i),this._bindEvents(e)}return t.getDefaultCfg=function(){return{}},t.getInteractionContext=function(t){var e=t.get("interactionContext");return e||(e=new La(t),t.set("interactionContext",e),e)},t._bindEvents=function(t){var e=this.startEvent,n=this.processEvent,i=this.endEvent,r=this.resetEvent,a=t.get("canvas");a.on(e,this._start),a.on(n,this._process),a.on(i,this._end),a.on(r,this._reset)},t._clearEvents=function(){var t=this.chart,e=this.startEvent,n=this.processEvent,i=this.endEvent,r=this.resetEvent,a=t.get("canvas");a.off(e,this._start),a.off(n,this._process),a.off(i,this._end),a.off(r,this._start)},t.start=function(){},t.process=function(){},t.end=function(){},t.reset=function(){},t.destroy=function(){this.context.destroy(),this._clearEvents()},e}(),Ra=function(t){function e(){return t.apply(this,arguments)||this}_t(e,t);var n=e.prototype;return n.getDefaultCfg=function(){return{type:"pan",startEvent:"panstart",processEvent:"pan",endEvent:"panend"}},n.start=function(){this.context.start()},n.process=function(t){var e=t.direction,n=t.deltaX;if("up"!==e&&"down"!==e){t.preventDefault&&t.preventDefault();var i=this.context,r=i.chart.get("coord"),a=r.start,s=n/(r.end.x-a.x);i.doMove(s)}},e}(ja),Xa=function(t){_t(n,t);var e=n.prototype;function n(e,n){var i;return T(bt(i=t.call(this,e,n)||this).context,e),i}return e.getDefaultCfg=function(){return{type:"pinch",startEvent:"pinchstart",processEvent:"pinch",endEvent:"pinchend"}},e.start=function(){this.context.start()},e.process=function(t){t.preventDefault&&t.preventDefault();var e=t.zoom,n=t.center,i=this.context,r=i.chart.get("coord"),a=r.start,s=r.end,o=s.x-a.x,l=Math.abs(n.x-a.x)/o,c=Math.abs(s.x-n.x)/o;i.doZoom(l,c,e)},e.end=function(){this.context.updateTicks()},n}(ja);zi.registerInteraction("pan",Ra),zi.registerInteraction("pinch",Xa);var Ga={Marker:Qn.Marker,Tooltip:Tr};zi.plugins.register([jr,ea,$r,za]);var Ha={Component:Ga,Global:mt,Chart:zi,Shape:Xt,G:Yi,Util:dt,Helper:Fi,track:Bi,Animate:da};e.Animate=da,e.Chart=zi,e.Component=Ga,e.G=Yi,e.Global=mt,e.Helper=Fi,e.Shape=Xt,e.Util=dt,e.default=Ha,e.track=Bi,Object.defineProperty(e,"__esModule",{value:!0})}))}).call(this,n("c8ba"))},f052:function(t,e,n){"use strict";n.r(e);var i=n("2ec7"),r=n("4fb4");for(var a in r)"default"!==a&&function(t){n.d(e,t,(function(){return r[t]}))}(a);n("93f3");var s,o=n("f0c5"),l=Object(o["a"])(r["default"],i["b"],i["c"],!1,null,"32d2e1d6",null,!1,i["a"],s);e["default"]=l.exports},f1a7:function(t,e,n){"use strict";n.r(e);var i=n("6876"),r=n("5f33");for(var a in r)"default"!==a&&function(t){n.d(e,t,(function(){return r[t]}))}(a);n("99ac");var s,o=n("f0c5"),l=Object(o["a"])(r["default"],i["b"],i["c"],!1,null,"218f84fe",null,!1,i["a"],s);e["default"]=l.exports},f8cb:function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,".l-f2[data-v-32d2e1d6]{width:100%;height:100%;position:relative}.l-f2__mask[data-v-32d2e1d6]{position:absolute;left:0;right:0;bottom:0;top:0;background-color:#fff;z-index:1}.l-f2__canvas[data-v-32d2e1d6]{width:100%;height:100%}",""]),t.exports=e},fa4b:function(t,e,n){t.exports=n.p+"static/img/chain-back-00.8e82e1c1.png"},fe87:function(t,e,n){var i=n("f8cb");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=n("4f06").default;r("6ddd28b6",i,!0,{sourceMap:!1,shadowMode:!1})}}]); \ No newline at end of file diff --git a/unpackage/dist/build/h5/static/js/pages-login-agreement.8b61c2fc.js b/unpackage/dist/build/h5/static/js/pages-login-agreement.8b61c2fc.js new file mode 100644 index 0000000..b437981 --- /dev/null +++ b/unpackage/dist/build/h5/static/js/pages-login-agreement.8b61c2fc.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-login-agreement"],{"0b5d":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,"@-webkit-keyframes _show-data-v-c95c97b2{0%{opacity:0}100%{opacity:1}}@keyframes _show-data-v-c95c97b2{0%{opacity:0}100%{opacity:1}}\n\n\n\n",""]),t.exports=e},"1dab":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.secretService=e.getSms=e.smsAuth=void 0;var n=i("89d9"),r=function(t){return(0,n.request)({url:"user/auth/sms",method:"POST",data:t})};e.smsAuth=r;var a=function(t){return(0,n.request)({url:"user/auth/verify",method:"POST",data:t})};e.getSms=a;var o=function(t){return(0,n.request)({url:"articles/agreement/"+t})};e.secretService=o},"1e32":function(t,e,i){"use strict";i.r(e);var n=i("65b7"),r=i("5b9c");for(var a in r)"default"!==a&&function(t){i.d(e,t,(function(){return r[t]}))}(a);i("f0cb");var o,s=i("f0c5"),l=Object(s["a"])(r["default"],n["b"],n["c"],!1,null,"c95c97b2",null,!1,n["a"],o);e["default"]=l.exports},3088:function(t,e,i){var n=i("d725");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var r=i("4f06").default;r("3dcc25c2",n,!0,{sourceMap:!1,shadowMode:!1})},"3b27":function(t,e,i){"use strict";i("ac1f"),i("5319"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i("1dab"),r={data:function(){return{clauseData:"",loaded:!1}},onLoad:function(t){"service"===t.name?uni.setNavigationBarTitle({title:"用户服务协议"}):uni.setNavigationBarTitle({title:"用户隐私协议"}),this.clauseInfo(t.name)},methods:{clauseInfo:function(t){var e=this;(0,n.secretService)(t).then((function(t){e.clauseData=t.content.replace(/\=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:a}}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,s=!0,l=!1;return{s:function(){i=t[Symbol.iterator]()},n:function(){var t=i.next();return s=t.done,t},e:function(t){l=!0,o=t},f:function(){try{s||null==i["return"]||i["return"]()}finally{if(l)throw o}}}}},d725:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/**\n * Web唐明明\n * 匆匆数载恍如梦,岁月迢迢华发增。\n * 碌碌无为枉半生,一朝惊醒万事空。\n */.ios-bottom[data-v-0277fb71]{padding-bottom:env(safe-area-inset-bottom);padding-bottom:constant(safe-area-inset-bottom)}.ios-left[data-v-0277fb71]{padding-left:env(safe-area-inset-left);padding-left:constant(safe-area-inset-left)}.ios-right[data-v-0277fb71]{padding-right:env(safe-area-inset-right);padding-right:constant(safe-area-inset-right)}.ios-top[data-v-0277fb71]{padding-top:0}.vertical[data-v-0277fb71]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-pack:center}.nowrap[data-v-0277fb71]{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ellipsis[data-v-0277fb71]{max-width:100%;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ellipsis-3[data-v-0277fb71]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3}.ellipsis-4[data-v-0277fb71]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4}.ellipsis-5[data-v-0277fb71]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:5}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */uni-page-body[data-v-0277fb71]{background-color:#fff}.clauseCont[data-v-0277fb71]{padding:%?30?%;width:100%;box-sizing:border-box}body.?%PAGE?%[data-v-0277fb71]{background-color:#fff}',""]),t.exports=e},e09e:function(t,e,i){"use strict";var n=i("4ea4");i("99af"),i("caad"),i("c975"),i("acd8"),i("e25e"),i("ac1f"),i("2532"),i("466d"),i("5319"),i("841c"),i("1276"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,a=n(i("b85c")),o=uni.getSystemInfoSync(),s=o.windowWidth,l=(o.platform,i("83cf")),c={name:"parser",data:function(){return{uid:this._uid,showAm:"",nodes:[]}},props:{html:String,autopause:{type:Boolean,default:!0},autoscroll:Boolean,autosetTitle:{type:Boolean,default:!0},domain:String,lazyLoad:Boolean,selectable:Boolean,tagStyle:Object,showWithAnimation:Boolean,useAnchor:Boolean},watch:{html:function(t){this.setContent(t)}},created:function(){this.imgList=[],this.imgList.each=function(t){for(var e=0,i=this.length;e.5?i.toUpperCase():i}return n+=e.substr(r),this[t]=n}if(this[t]=e,e.includes("data:image")){var a=e.match(/data:image\/(\S+?);(\S+?),(.+)/);if(!a)return}}}},mounted:function(){var t=this;this.document=document.getElementById("rtf"+this._uid),r&&(this.search=function(e){return r(t,e)}),this.html&&this.setContent(this.html)},beforeDestroy:function(){this._observer&&this._observer.disconnect(),this.imgList.each((function(t){})),clearInterval(this._timer)},methods:{setContent:function(t,e){var i=this;if(t){var n=document.createElement("div");e?this.rtf?this.rtf.appendChild(n):this.rtf=n:(this.rtf&&this.rtf.parentNode.removeChild(this.rtf),this.rtf=n),n.innerHTML=this._handleHtml(t,e);for(var r,o=this.rtf.getElementsByTagName("style"),c=0;r=o[c++];)r.innerHTML=r.innerHTML.replace(/body/g,"#rtf"+this._uid),r.setAttribute("scoped","true");!this._observer&&this.lazyLoad&&IntersectionObserver&&(this._observer=new IntersectionObserver((function(t){for(var e,n=0;e=t[n++];)e.isIntersecting&&(e.target.src=e.target.getAttribute("data-src"),e.target.removeAttribute("data-src"),i._observer.unobserve(e.target))}),{rootMargin:"500px 0px 500px 0px"}));var u=this,d=this.rtf.getElementsByTagName("title");d.length&&this.autosetTitle&&uni.setNavigationBarTitle({title:d[0].innerText});var f=function(t){var e=t.getAttribute("src");i.domain&&e&&("/"==e[0]?"/"==e[1]?t.src=(i.domain.includes("://")?i.domain.split("://")[0]:"")+":"+e:t.src=i.domain+e:e.includes("://")||0==e.indexOf("data:")||(t.src=i.domain+"/"+e))};this.imgList.length=0;for(var h,p=this.rtf.getElementsByTagName("img"),v=0,b=0;h=p[v];v++)parseInt(h.style.width||h.getAttribute("width"))>s&&(h.style.height="auto"),f(h),h.hasAttribute("ignore")||"A"==h.parentElement.nodeName||(h.i=b++,u.imgList.push(h.getAttribute("original-src")||h.src||h.getAttribute("data-src")),h.onclick=function(t){t.stopPropagation();var e=!0;this.ignore=function(){return e=!1},u.$emit("imgtap",this),e&&uni.previewImage({current:this.i,urls:u.imgList})}),h.onerror=function(){l.errorImg&&(u.imgList[this.i]=this.src=l.errorImg),u.$emit("error",{source:"img",target:this})},u.lazyLoad&&this._observer&&h.src&&0!=h.i&&(h.setAttribute("data-src",h.src),h.removeAttribute("src"),this._observer.observe(h));var m,g=this.rtf.getElementsByTagName("a"),y=(0,a.default)(g);try{for(y.s();!(m=y.n()).done;){var w=m.value;w.onclick=function(t){t.stopPropagation();var e=!0,i=this.getAttribute("href");if(u.$emit("linkpress",{href:i,ignore:function(){return e=!1}}),e&&i)if("#"==i[0])u.useAnchor&&u.navigateTo({id:i.substr(1)});else{if(0==i.indexOf("http")||0==i.indexOf("//"))return!0;uni.navigateTo({url:i})}return!1}}}catch(N){y.e(N)}finally{y.f()}var x=this.rtf.getElementsByTagName("video");u.videoContexts=x;for(var _,k=0;_=x[k++];)f(_),_.style.maxWidth="100%",_.onerror=function(){u.$emit("error",{source:"video",target:this})},_.onplay=function(){if(u.autopause)for(var t,e=0;t=u.videoContexts[e++];)t!=this&&t.pause()};var T,A,C=this.rtf.getElementsByTagName("audio"),S=(0,a.default)(C);try{for(S.s();!(T=S.n()).done;){var B=T.value;f(B),B.onerror=function(){u.$emit("error",{source:"audio",target:this})}}}catch(N){S.e(N)}finally{S.f()}if(this.autoscroll){var I,O=this.rtf.getElementsByTagName("table"),L=(0,a.default)(O);try{for(L.s();!(I=L.n()).done;){var E=I.value,M=document.createElement("div");M.style.overflow="scroll",E.parentNode.replaceChild(M,E),M.appendChild(E)}}catch(N){L.e(N)}finally{L.f()}}e||this.document.appendChild(this.rtf),this.$nextTick((function(){i.nodes=[1],i.$emit("load")})),setTimeout((function(){return i.showAm=""}),500),clearInterval(this._timer),this._timer=setInterval((function(){i.rect=i.rtf.getBoundingClientRect(),i.rect.height==A&&(i.$emit("ready",i.rect),clearInterval(i._timer)),A=i.rect.height}),350),this.showWithAnimation&&!e&&(this.showAm="animation:_show .5s")}else this.rtf&&!e&&this.rtf.parentNode.removeChild(this.rtf)},getText:function(){arguments.length>0&&void 0!==arguments[0]||this.nodes;var t="";return t=this.rtf.innerText,t},in:function(t){t.page&&t.selector&&t.scrollTop&&(this._in=t)},navigateTo:function(t){var e=this;if(!this.useAnchor)return t.fail&&t.fail("Anchor is disabled");var i=" ",n=uni.createSelectorQuery().in(this._in?this._in.page:this).select((this._in?this._in.selector:"#_top")+(t.id?"".concat(i,"#").concat(t.id,",").concat(this._in?this._in.selector:"#_top").concat(i,".").concat(t.id):"")).boundingClientRect();this._in?n.select(this._in.selector).scrollOffset().select(this._in.selector).boundingClientRect():n.selectViewport().scrollOffset(),n.exec((function(i){if(!i[0])return t.fail&&t.fail("Label not found");var n=i[1].scrollTop+i[0].top-(i[2]?i[2].top:0)+(t.offset||0);e._in?e._in.page[e._in.scrollTop]=n:uni.pageScrollTo({scrollTop:n,duration:300}),t.success&&t.success()}))},getVideoContext:function(t){if(!t)return this.videoContexts;for(var e=this.videoContexts.length;e--;)if(this.videoContexts[e].id==t)return this.videoContexts[e]},_handleHtml:function(t,e){if(!e){var i="",t=i+t}return t.includes("rpx")&&(t=t.replace(/[0-9.]+\s*rpx/g,(function(t){return parseFloat(t)*s/750+"px"}))),t}}};e.default=c},e1f5:function(t,e,i){"use strict";i.r(e);var n=i("3b27"),r=i.n(n);for(var a in n)"default"!==a&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=r.a},f0cb:function(t,e,i){"use strict";var n=i("b0c8"),r=i.n(n);r.a}}]); \ No newline at end of file diff --git a/unpackage/dist/build/h5/static/js/pages-login-guide.5c006db5.js b/unpackage/dist/build/h5/static/js/pages-login-guide.5c006db5.js new file mode 100644 index 0000000..ccbef39 --- /dev/null +++ b/unpackage/dist/build/h5/static/js/pages-login-guide.5c006db5.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-login-guide"],{"2e32":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/**\n * Web唐明明\n * 匆匆数载恍如梦,岁月迢迢华发增。\n * 碌碌无为枉半生,一朝惊醒万事空。\n */.ios-bottom[data-v-678c8f52]{padding-bottom:env(safe-area-inset-bottom);padding-bottom:constant(safe-area-inset-bottom)}.ios-left[data-v-678c8f52]{padding-left:env(safe-area-inset-left);padding-left:constant(safe-area-inset-left)}.ios-right[data-v-678c8f52]{padding-right:env(safe-area-inset-right);padding-right:constant(safe-area-inset-right)}.ios-top[data-v-678c8f52]{padding-top:0}.vertical[data-v-678c8f52]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-pack:center}.nowrap[data-v-678c8f52]{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ellipsis[data-v-678c8f52]{max-width:100%;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ellipsis-3[data-v-678c8f52]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3}.ellipsis-4[data-v-678c8f52]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4}.ellipsis-5[data-v-678c8f52]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:5}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.content[data-v-678c8f52]{height:100vh;width:100vw;padding:%?90?%;box-sizing:border-box;background:#fff;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;box-sizing:border-box}.content .login-top[data-v-678c8f52]{height:46vh;width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:end;-webkit-align-items:flex-end;align-items:flex-end;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;box-sizing:border-box;position:relative;padding-bottom:%?160?%}.content .login-top .top-bg[data-v-678c8f52]{position:absolute;bottom:%?30?%;z-index:2;width:%?740?%;margin-left:%?40?%}.content .login-top .top-logo-content[data-v-678c8f52]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;box-sizing:border-box;color:#7f56a4;font-size:%?34?%}.content .login-top .top-logo-content .top-logo[data-v-678c8f52]{margin-bottom:%?20?%;width:%?200?%;height:%?200?%}.content .btn[data-v-678c8f52]{background-image:-webkit-linear-gradient(top,#bf52eb,#8f32dd);background-image:linear-gradient(180deg,#bf52eb,#8f32dd);color:#fff;border-radius:0;margin-top:%?30?%;font-size:%?38?%;line-height:%?90?%;height:%?90?%;width:%?500?%;border-radius:%?10?%;margin:%?50?% 0}.content .btn[data-v-678c8f52]::after{border:none}.content .btn[disabled][data-v-678c8f52]{background:rgba(139,100,253,.6)}.content .bottom[data-v-678c8f52]{height:30vh;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;box-sizing:border-box;color:#542083;font-size:%?54?%}.content .bottom .bottom-2[data-v-678c8f52]{font-size:%?38?%;margin-top:%?20?%}',""]),t.exports=e},4987:function(t,e,i){"use strict";var n=i("faf9"),o=i.n(n);o.a},"7c40":function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){return n}));var o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"content"},[i("v-uni-view",{staticClass:"login-top"},[i("v-uni-view",{staticClass:"top-logo-content"},[i("v-uni-image",{staticClass:"top-logo",attrs:{fit:"contain",src:"/static/imgs/top_logo.png"}}),t._v("链商星球(中国)")],1),i("v-uni-image",{staticClass:"top-bg",attrs:{fit:"contain",mode:"widthFix",src:"/static/imgs/top_bg.png"}})],1),i("v-uni-button",{staticClass:"btn",attrs:{type:"default"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.login.apply(void 0,arguments)}}},[t._v("登录/注册")]),i("v-uni-view",{staticClass:"bottom"},[i("v-uni-view",[t._v("企业链")]),i("v-uni-view",{staticClass:"bottom-2"},[t._v("从星煌开始")])],1)],1)},a=[]},d4f6:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{}},methods:{login:function(){this.$Router.push({name:"Login"})}}};e.default=n},e7c7:function(t,e,i){"use strict";i.r(e);var n=i("d4f6"),o=i.n(n);for(var a in n)"default"!==a&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=o.a},fa9a:function(t,e,i){"use strict";i.r(e);var n=i("7c40"),o=i("e7c7");for(var a in o)"default"!==a&&function(t){i.d(e,t,(function(){return o[t]}))}(a);i("4987");var r,c=i("f0c5"),l=Object(c["a"])(o["default"],n["b"],n["c"],!1,null,"678c8f52",null,!1,n["a"],r);e["default"]=l.exports},faf9:function(t,e,i){var n=i("2e32");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=i("4f06").default;o("700a3a5e",n,!0,{sourceMap:!1,shadowMode:!1})}}]); \ No newline at end of file diff --git a/unpackage/dist/build/h5/static/js/pages-login-login.5b525290.js b/unpackage/dist/build/h5/static/js/pages-login-login.5b525290.js deleted file mode 100644 index 03a22e4..0000000 --- a/unpackage/dist/build/h5/static/js/pages-login-login.5b525290.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-login-login"],{"1dab":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getSms=e.smsAuth=void 0;var i=n("89d9"),o=function(t){return(0,i.request)({url:"user/auth/sms",method:"POST",data:t})};e.smsAuth=o;var a=function(t){return(0,i.request)({url:"user/auth/verify",method:"POST",data:t})};e.getSms=a},4049:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n("1dab"),o={data:function(){return{phone:"18245180131",code:"",smsTime:60,getSms:!1}},methods:{login:function(){var t=this;(0,i.smsAuth)({mobileNo:this.phone,code:this.code}).then((function(e){t.$store.commit("setToken",e.token_type+" "+e.access_token),t.$Router.back()})).catch((function(t){uni.showToast({title:t.message,icon:"none"})}))},getPhoneCode:function(){var t=this;(0,i.getSms)({mobileNo:this.phone}).then((function(e){uni.showToast({title:e,icon:"none"}),t.getSms=!0,setInterval((function(){t.smsTime<=1&&(t.getSms=!1,t.smsTime=60,clearInterval("outTime")),t.smsTime-=1}),1e3)})).catch((function(t){uni.showToast({title:t.message,icon:"none"})}))},onShowToast:function(){uni.showToast({title:"微信登录暂未开放,敬请期待",icon:"none"})}}};e.default=o},"559c":function(t,e,n){"use strict";var i;n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return i}));var o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"content"},[i("v-uni-view",{staticClass:"login-top"},[i("v-uni-view",{staticClass:"top-logo-content"},[i("v-uni-image",{staticClass:"top-logo",attrs:{fit:"contain",src:"/static/imgs/top_logo.png"}}),t._v("链商星球(中国)")],1),i("v-uni-image",{staticClass:"top-bg",attrs:{fit:"contain",mode:"widthFix",src:"/static/imgs/top_bg.png"}})],1),i("v-uni-view",{staticClass:"inputs phone"},[i("v-uni-label",{staticClass:"label"},[t._v("+86")]),i("v-uni-input",{attrs:{type:"number",placeholder:"输入您的手机号码",maxlength:"11"},model:{value:t.phone,callback:function(e){t.phone=e},expression:"phone"}})],1),i("v-uni-view",{staticClass:"inputs sms"},[i("v-uni-input",{attrs:{type:"number",placeholder:"输入短信验证码",maxlength:"6"},model:{value:t.code,callback:function(e){t.code=e},expression:"code"}}),i("v-uni-button",{staticClass:"sms-btn",attrs:{type:"default",size:"mini",disabled:""==t.phone||t.getSms},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.getPhoneCode.apply(void 0,arguments)}}},[t._v(t._s(t.getSms?"重新发送"+t.smsTime+"s":"发送验证码"))])],1),i("v-uni-button",{staticClass:"btn",attrs:{type:"default",disabled:""==t.phone||""==t.code},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.login.apply(void 0,arguments)}}},[t._v("登录")]),i("v-uni-view",{staticClass:"quick"},[i("v-uni-view",{staticClass:"quick-title"},[t._v("快捷登录")]),i("v-uni-view",{staticClass:"quick-box"},[i("v-uni-image",{staticClass:"quick-icon",attrs:{src:n("9039"),mode:"widthFix"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onShowToast.apply(void 0,arguments)}}})],1)],1),i("v-uni-view",{staticClass:"agreement"},[t._v("未注册的手机号验证后将自动创建账号,登录即表示同意接收"),i("v-uni-navigator",{attrs:{url:""}},[t._v("用户隐私规格")]),t._v("和"),i("v-uni-navigator",{attrs:{url:""}},[t._v("用户服务协议")])],1)],1)},a=[]},9039:function(t,e,n){t.exports=n.p+"static/img/wechat.27a44584.png"},9212:function(t,e,n){"use strict";n.r(e);var i=n("4049"),o=n.n(i);for(var a in i)"default"!==a&&function(t){n.d(e,t,(function(){return i[t]}))}(a);e["default"]=o.a},"99c3":function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/**\n * Web唐明明\n * 匆匆数载恍如梦,岁月迢迢华发增。\n * 碌碌无为枉半生,一朝惊醒万事空。\n */.ios-bottom[data-v-01b1a600]{padding-bottom:env(safe-area-inset-bottom);padding-bottom:constant(safe-area-inset-bottom)}.ios-left[data-v-01b1a600]{padding-left:env(safe-area-inset-left);padding-left:constant(safe-area-inset-left)}.ios-right[data-v-01b1a600]{padding-right:env(safe-area-inset-right);padding-right:constant(safe-area-inset-right)}.ios-top[data-v-01b1a600]{padding-top:0}.vertical[data-v-01b1a600]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-pack:center}.nowrap[data-v-01b1a600]{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ellipsis[data-v-01b1a600]{max-width:100%;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ellipsis-3[data-v-01b1a600]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3}.ellipsis-4[data-v-01b1a600]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4}.ellipsis-5[data-v-01b1a600]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:5}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.content[data-v-01b1a600]{height:100vh;width:100vw;padding:%?90?%;box-sizing:border-box;background:#fff}.content .login-top[data-v-01b1a600]{height:36vh;width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:end;-webkit-align-items:flex-end;align-items:flex-end;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;box-sizing:border-box;position:relative;padding-bottom:%?160?%}.content .login-top .top-bg[data-v-01b1a600]{position:absolute;bottom:%?30?%;z-index:2;width:%?740?%;margin-left:%?40?%}.content .login-top .top-logo-content[data-v-01b1a600]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;box-sizing:border-box;color:#7f56a4;font-size:%?32?%}.content .login-top .top-logo-content .top-logo[data-v-01b1a600]{margin-bottom:%?20?%;width:%?146?%;height:%?146?%}.content .inputs[data-v-01b1a600]{background:rgba(139,100,253,.05);border:solid %?1?% #ddd;position:relative;margin-top:%?30?%;height:%?80?%;line-height:%?80?%}.content .inputs uni-input[data-v-01b1a600]{width:100%;height:%?80?%;line-height:%?80?%;padding:0 %?30?%;border:none;box-sizing:border-box;font-size:%?30?%}.content .inputs.phone[data-v-01b1a600]{padding-left:%?120?%}.content .inputs.phone .label[data-v-01b1a600]{position:absolute;left:0;top:0;width:%?120?%;text-align:center;border-right:solid %?1?% #ddd;font-size:%?30?%}.content .inputs.sms[data-v-01b1a600]{padding-right:%?200?%}.content .inputs.sms .sms-btn[size="mini"][data-v-01b1a600]{width:%?200?%;height:%?77?%;line-height:%?77?%;position:absolute;top:0;right:0;padding:0;margin:0;border-radius:0;border-left:solid %?1?% #ddd;color:#8b64fd;font-size:%?30?%}.content .inputs.sms .sms-btn[size="mini"][data-v-01b1a600]::after{border:none}.content .inputs.sms .sms-btn[size="mini"][disabled][data-v-01b1a600]{color:rgba(139,100,253,.6);background:#eff4f2}.content .title[data-v-01b1a600]{text-align:center;font-size:%?38?%;font-weight:700;color:#333;margin-bottom:%?100?%}.content .btn[data-v-01b1a600]{background:#8b64fd;color:#fff;border-radius:0;margin-top:%?30?%;font-size:%?32?%;line-height:%?90?%;height:%?90?%;font-weight:700}.content .btn[data-v-01b1a600]::after{border:none}.content .btn[disabled][data-v-01b1a600]{background:rgba(139,100,253,.6)}.content .quick[data-v-01b1a600]{padding-top:%?90?%;text-align:center}.content .quick .quick-title[data-v-01b1a600]{text-align:center;color:#555;font-size:%?26?%;padding-bottom:%?30?%}.content .quick .quick-box[data-v-01b1a600]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.content .quick .quick-box .quick-icon[data-v-01b1a600]{width:%?78?%}.content .agreement[data-v-01b1a600]{padding-top:%?60?%;font-size:%?26?%;color:#555}.content .agreement uni-navigator[data-v-01b1a600]{color:#8b64fd;display:inline-block;padding:0 %?10?%}',""]),t.exports=e},a7d2:function(t,e,n){"use strict";n.r(e);var i=n("559c"),o=n("9212");for(var a in o)"default"!==a&&function(t){n.d(e,t,(function(){return o[t]}))}(a);n("c433");var s,c=n("f0c5"),l=Object(c["a"])(o["default"],i["b"],i["c"],!1,null,"01b1a600",null,!1,i["a"],s);e["default"]=l.exports},c433:function(t,e,n){"use strict";var i=n("e363"),o=n.n(i);o.a},e363:function(t,e,n){var i=n("99c3");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=n("4f06").default;o("3f346468",i,!0,{sourceMap:!1,shadowMode:!1})}}]); \ No newline at end of file diff --git a/unpackage/dist/build/h5/static/js/pages-login-login.6792b460.js b/unpackage/dist/build/h5/static/js/pages-login-login.6792b460.js new file mode 100644 index 0000000..caa71fc --- /dev/null +++ b/unpackage/dist/build/h5/static/js/pages-login-login.6792b460.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-login-login"],{"1dab":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.secretService=e.getSms=e.smsAuth=void 0;var i=n("89d9"),o=function(t){return(0,i.request)({url:"user/auth/sms",method:"POST",data:t})};e.smsAuth=o;var a=function(t){return(0,i.request)({url:"user/auth/verify",method:"POST",data:t})};e.getSms=a;var s=function(t){return(0,i.request)({url:"articles/agreement/"+t})};e.secretService=s},"306e":function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/**\n * Web唐明明\n * 匆匆数载恍如梦,岁月迢迢华发增。\n * 碌碌无为枉半生,一朝惊醒万事空。\n */.ios-bottom[data-v-1da8685f]{padding-bottom:env(safe-area-inset-bottom);padding-bottom:constant(safe-area-inset-bottom)}.ios-left[data-v-1da8685f]{padding-left:env(safe-area-inset-left);padding-left:constant(safe-area-inset-left)}.ios-right[data-v-1da8685f]{padding-right:env(safe-area-inset-right);padding-right:constant(safe-area-inset-right)}.ios-top[data-v-1da8685f]{padding-top:0}.vertical[data-v-1da8685f]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-pack:center}.nowrap[data-v-1da8685f]{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ellipsis[data-v-1da8685f]{max-width:100%;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ellipsis-3[data-v-1da8685f]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3}.ellipsis-4[data-v-1da8685f]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4}.ellipsis-5[data-v-1da8685f]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:5}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.content[data-v-1da8685f]{height:100vh;width:100vw;padding:%?90?%;box-sizing:border-box;background:#fff}.content .login-top[data-v-1da8685f]{height:36vh;width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:end;-webkit-align-items:flex-end;align-items:flex-end;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;box-sizing:border-box;position:relative;padding-bottom:%?160?%}.content .login-top .top-bg[data-v-1da8685f]{position:absolute;bottom:%?30?%;z-index:2;width:%?740?%;margin-left:%?40?%}.content .login-top .top-logo-content[data-v-1da8685f]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;box-sizing:border-box;color:#7f56a4;font-size:%?32?%}.content .login-top .top-logo-content .top-logo[data-v-1da8685f]{margin-bottom:%?20?%;width:%?146?%;height:%?146?%}.content .inputs[data-v-1da8685f]{background:rgba(139,100,253,.05);border:solid %?1?% #ddd;position:relative;margin-top:%?30?%;height:%?80?%;line-height:%?80?%}.content .inputs uni-input[data-v-1da8685f]{width:100%;height:%?80?%;line-height:%?80?%;padding:0 %?30?%;border:none;box-sizing:border-box;font-size:%?30?%}.content .inputs.phone[data-v-1da8685f]{padding-left:%?120?%}.content .inputs.phone .label[data-v-1da8685f]{position:absolute;left:0;top:0;width:%?120?%;text-align:center;border-right:solid %?1?% #ddd;font-size:%?30?%}.content .inputs.sms[data-v-1da8685f]{padding-right:%?200?%}.content .inputs.sms .sms-btn[size="mini"][data-v-1da8685f]{width:%?200?%;height:%?77?%;line-height:%?77?%;position:absolute;top:0;right:0;padding:0;margin:0;border-radius:0;border-left:solid %?1?% #ddd;color:#8b64fd;font-size:%?30?%}.content .inputs.sms .sms-btn[size="mini"][data-v-1da8685f]::after{border:none}.content .inputs.sms .sms-btn[size="mini"][disabled][data-v-1da8685f]{color:rgba(139,100,253,.6);background:#eff4f2}.content .title[data-v-1da8685f]{text-align:center;font-size:%?38?%;font-weight:700;color:#333;margin-bottom:%?100?%}.content .btn[data-v-1da8685f]{background-image:-webkit-linear-gradient(top,#bf52eb,#8f32dd);background-image:linear-gradient(180deg,#bf52eb,#8f32dd);color:#fff;border-radius:0;margin-top:%?30?%;font-size:%?32?%;line-height:%?90?%;height:%?90?%;font-weight:700}.content .btn[data-v-1da8685f]::after{border:none}.content .btn[disabled][data-v-1da8685f]{background:rgba(143,50,221,.6)}.content .quick[data-v-1da8685f]{padding-top:%?90?%;text-align:center}.content .quick .quick-title[data-v-1da8685f]{text-align:center;color:#555;font-size:%?26?%;padding-bottom:%?30?%}.content .quick .quick-box[data-v-1da8685f]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.content .quick .quick-box .quick-icon[data-v-1da8685f]{width:%?78?%}.content .agreement[data-v-1da8685f]{padding-top:%?60?%;font-size:%?26?%;color:#555}.content .agreement uni-view[data-v-1da8685f]{color:#8b64fd;display:inline-block;padding:0 %?10?%}',""]),t.exports=e},4049:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n("1dab"),o={data:function(){return{phone:"18245180131",code:"",smsTime:60,getSms:!1}},methods:{login:function(){var t=this;(0,i.smsAuth)({mobileNo:this.phone,code:this.code}).then((function(e){t.$store.commit("setToken",e.token_type+" "+e.access_token),t.$Router.back()})).catch((function(t){uni.showToast({title:t.message,icon:"none"})}))},getPhoneCode:function(){var t=this;(0,i.getSms)({mobileNo:this.phone}).then((function(e){uni.showToast({title:e,icon:"none"}),t.getSms=!0,setInterval((function(){t.smsTime<=1&&(t.getSms=!1,t.smsTime=60,clearInterval("outTime")),t.smsTime-=1}),1e3)})).catch((function(t){uni.showToast({title:t.message,icon:"none"})}))},onShowToast:function(){uni.showToast({title:"微信登录暂未开放,敬请期待",icon:"none"})}}};e.default=o},"8db3":function(t,e,n){"use strict";var i=n("bde4"),o=n.n(i);o.a},9039:function(t,e,n){t.exports=n.p+"static/img/wechat.27a44584.png"},9212:function(t,e,n){"use strict";n.r(e);var i=n("4049"),o=n.n(i);for(var a in i)"default"!==a&&function(t){n.d(e,t,(function(){return i[t]}))}(a);e["default"]=o.a},a7d2:function(t,e,n){"use strict";n.r(e);var i=n("e444"),o=n("9212");for(var a in o)"default"!==a&&function(t){n.d(e,t,(function(){return o[t]}))}(a);n("8db3");var s,d=n("f0c5"),r=Object(d["a"])(o["default"],i["b"],i["c"],!1,null,"1da8685f",null,!1,i["a"],s);e["default"]=r.exports},bde4:function(t,e,n){var i=n("306e");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=n("4f06").default;o("d4627e38",i,!0,{sourceMap:!1,shadowMode:!1})},e444:function(t,e,n){"use strict";var i;n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return i}));var o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"content"},[i("v-uni-view",{staticClass:"login-top"},[i("v-uni-view",{staticClass:"top-logo-content"},[i("v-uni-image",{staticClass:"top-logo",attrs:{fit:"contain",src:"/static/imgs/top_logo.png"}}),t._v("链商星球(中国)")],1),i("v-uni-image",{staticClass:"top-bg",attrs:{fit:"contain",mode:"widthFix",src:"/static/imgs/top_bg.png"}})],1),i("v-uni-view",{staticClass:"inputs phone"},[i("v-uni-label",{staticClass:"label"},[t._v("+86")]),i("v-uni-input",{attrs:{type:"number",placeholder:"输入您的手机号码",maxlength:"11"},model:{value:t.phone,callback:function(e){t.phone=e},expression:"phone"}})],1),i("v-uni-view",{staticClass:"inputs sms"},[i("v-uni-input",{attrs:{type:"number",placeholder:"输入短信验证码",maxlength:"6"},model:{value:t.code,callback:function(e){t.code=e},expression:"code"}}),i("v-uni-button",{staticClass:"sms-btn",attrs:{type:"default",size:"mini",disabled:""==t.phone||t.getSms},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.getPhoneCode.apply(void 0,arguments)}}},[t._v(t._s(t.getSms?"重新发送"+t.smsTime+"s":"发送验证码"))])],1),i("v-uni-button",{staticClass:"btn",attrs:{type:"default",disabled:""==t.phone||""==t.code},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.login.apply(void 0,arguments)}}},[t._v("登录")]),i("v-uni-view",{staticClass:"quick"},[i("v-uni-view",{staticClass:"quick-title"},[t._v("快捷登录")]),i("v-uni-view",{staticClass:"quick-box"},[i("v-uni-image",{staticClass:"quick-icon",attrs:{src:n("9039"),mode:"widthFix"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onShowToast.apply(void 0,arguments)}}})],1)],1),i("v-uni-view",{staticClass:"agreement"},[t._v("未注册的手机号验证后将自动创建账号,登录即表示同意接收"),i("v-uni-view",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$Router.push({name:"agreement",params:{name:"secret"}})}}},[t._v("用户隐私协议")]),t._v("和"),i("v-uni-view",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$Router.push({name:"agreement",params:{name:"service"}})}}},[t._v("用户服务协议")])],1)],1)},a=[]}}]); \ No newline at end of file diff --git a/unpackage/dist/build/h5/static/js/pages-setting-setting.11437a93.js b/unpackage/dist/build/h5/static/js/pages-setting-setting.11437a93.js deleted file mode 100644 index 3722df5..0000000 --- a/unpackage/dist/build/h5/static/js/pages-setting-setting.11437a93.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-setting-setting"],{"013a":function(t,e,i){"use strict";var n=i("82ac"),a=i.n(n);a.a},"3a4e":function(t,e,i){"use strict";i("d81d"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i("da85"),a=i("ef1b"),o={name:"Setting",data:function(){return{canLogin:!0,nickname:"",avatar:{path:"",showPath:""},is_bind:!0,certification:{},companyCode:{}}},onShow:function(){var t=this;wx.login({success:function(e){t.loginCode=e.code}}),this.getUserInfo()},onPullDownRefresh:function(){this.getUserInfo()},methods:{certificationClick:function(t){console.log(t),t.is_true?uni.showModal({title:"认证信息",content:"真实姓名:<"+t.message.name+">,身份证号:"+t.message.idcard,showCancel:!1}):uni.navigateTo({url:"/pages/certification/personal"})},company:function(t){console.log(t,"是否企业认证"),-1===t?uni.navigateTo({url:"/pages/company/approve"}):2===t?uni.navigateTo({url:"/pages/company/approve?form_type=put"}):0===t?this.$refs.uToast.show({title:"审核中",type:"primary",duration:3e3}):1===t&&this.$refs.uToast.show({title:"认证通过!",type:"primary",duration:3e3})},getUserInfo:function(){var t=this;(0,n.getUserSettingInfo)().then((function(e){t.avatar.showPath=e.avatar,t.nickname=e.nickname,t.is_bind=e.is_bind,t.certification=e.certification,uni.stopPullDownRefresh()})).catch((function(e){t.$refs.uToast.show({title:e.message,type:"primary",duration:3e3})})),(0,n.companyStatus)().then((function(e){console.log(e),t.companyCode=e})).catch((function(e){t.$refs.uToast.show({title:e.message,type:"primary",duration:3e3})}))},getUser:function(){var t=this;uni.getUserProfile({desc:"获取你的昵称、头像、地区及性别",success:function(e){"getUserProfile:ok"==e.errMsg?(t.userInfo=e.userInfo,wx.checkSession({success:function(i){t.userLogin(e)},fail:function(e){uni.login({success:function(e){t.loginCode=e.code,t.userLogin()}})}})):uni.showToast({duration:1500,title:"绑定手机号失败了",icon:"none"})},fail:function(){uni.showToast({duration:1500,title:"您拒绝了请求",icon:"none"})}})},userLogin:function(t){var e=this;uni.login({success:function(i){var a={iv:t.iv,encryptedData:t.encryptedData,code:i.code};uni.showLoading({title:"绑定中"}),(0,n.wechatbind)(a).then((function(t){setTimeout((function(t){uni.hideLoading()}),1e3),e.$refs.uToast.show({title:"绑定成功",type:"primary",duration:3e3}),setTimeout((function(t){e.getUserInfo()}),3e3)})).catch((function(t){e.$refs.uToast.show({title:t.message,type:"primary",duration:3e3}),uni.hideLoading()}))}})},loginOut:function(){this.$store.commit("setToken",""),uni.reLaunch({url:"/pages/login/login"})},updImgs:function(t){var e=this;uni.chooseImage({success:function(t){var i=t.tempFiles.map((function(t,e){return{name:"uploads"+e,uri:t.path}}));(0,a.uploads)(i).then((function(t){e.avatar.path=t.path[0],e.avatar.showPath=t.url[0],e.resetUserInfo("avatar",t.url[0])})).catch((function(t){uni.showToast({title:t.message,icon:"none"})}))}})},blur:function(t){var e=t.detail.value;e!==this.nickname&&this.resetUserInfo("nickname",e)},resetUserInfo:function(t,e){var i=this,a={key:t,value:e};(0,n.resetUserInfo)(a).then((function(t){console.log(t,"res..."),uni.showToast({title:t,icon:"none"}),setTimeout((function(t){i.getUserInfo()}),2e3)})).catch((function(t){uni.showToast({title:t.message,icon:"none"})}))}}};e.default=o},"5a60":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/**\n * Web唐明明\n * 匆匆数载恍如梦,岁月迢迢华发增。\n * 碌碌无为枉半生,一朝惊醒万事空。\n */.ios-bottom[data-v-6e33a412]{padding-bottom:env(safe-area-inset-bottom);padding-bottom:constant(safe-area-inset-bottom)}.ios-left[data-v-6e33a412]{padding-left:env(safe-area-inset-left);padding-left:constant(safe-area-inset-left)}.ios-right[data-v-6e33a412]{padding-right:env(safe-area-inset-right);padding-right:constant(safe-area-inset-right)}.ios-top[data-v-6e33a412]{padding-top:0}.vertical[data-v-6e33a412]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-pack:center}.nowrap[data-v-6e33a412]{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ellipsis[data-v-6e33a412]{max-width:100%;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ellipsis-3[data-v-6e33a412]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3}.ellipsis-4[data-v-6e33a412]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4}.ellipsis-5[data-v-6e33a412]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:5}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.Setting[data-v-6e33a412]{width:100vw;min-height:100vh;position:relative;background-color:#fff}.Setting .edition[data-v-6e33a412]{color:#cacaca;text-align:center;padding:%?20?% %?30?%}.Setting .list[data-v-6e33a412]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;box-sizing:border-box;position:relative;top:%?-10?%;border-radius:%?20?%;margin:0 %?40?%;padding:%?30?% 0;width:calc(100% - %?80?%)}.Setting .list uni-button[data-v-6e33a412]::after{border:none;background-color:none}.Setting .list uni-button[data-v-6e33a412]{position:relative;display:block;margin-left:auto;margin-right:auto;padding-left:0;padding-right:0;box-sizing:border-box;font-size:%?28.8?%;text-align:center;text-decoration:none;line-height:1;border-radius:5px;-webkit-tap-highlight-color:transparent;overflow:hidden;color:#333;background-color:#fff}.Setting .list .list-item[data-v-6e33a412]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;padding:%?40?% 0;border-bottom:solid %?1?% #f7f7f7;box-sizing:border-box}.Setting .list .list-item .avatar[data-v-6e33a412]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;box-sizing:border-box}.Setting .list .list-item .avatar uni-image[data-v-6e33a412]{width:%?100?%;height:%?100?%;border-radius:50%;margin-right:%?20?%}.Setting .list .list-item .input[data-v-6e33a412]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;box-sizing:border-box;text-align:right;-webkit-box-flex:1;-webkit-flex:1;flex:1}.Setting .list .list-item .input uni-input[data-v-6e33a412]{padding-right:%?20?%;width:100%;font-size:%?30?%}.Setting .list .list-item .list-item-left[data-v-6e33a412]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;box-sizing:border-box}.Setting .list .list-item .list-item-left uni-image[data-v-6e33a412]{width:%?44?%;height:%?44?%}.Setting .list .list-item .list-item-left span[data-v-6e33a412]{margin-left:%?30?%}.Setting .mine-banner[data-v-6e33a412]{position:relative;width:calc(100% - %?80?%);top:%?-20?%;margin:0 %?40?%;box-sizing:border-box;margin-top:%?60?%}.loginOut[data-v-6e33a412]{margin:%?30?% %?50?%;background-color:#fff;box-shadow:0 0 %?20?% %?4?% rgba(139,100,253,.1);text-align:center;padding:%?20?%;border-radius:%?10?%;color:#353535}',""]),t.exports=e},"5e37":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={uIcon:i("08da").default,uToast:i("4d12").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"Setting"},[i("v-uni-view",{staticClass:"list"},[i("v-uni-view",{staticClass:"list-item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.updImgs.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"list-item-left"},[i("v-uni-image",{attrs:{src:"/static/imgs/user-avatar.png",mode:"widthFix"}}),i("span",[t._v("修改头像")])],1),i("v-uni-view",{staticClass:"avatar"},[i("v-uni-image",{attrs:{src:t.avatar.showPath?t.avatar.showPath:"/static/imgs/no-avatar.png",mode:"aspectFill"}}),i("u-icon",{attrs:{name:"arrow-right",color:"#f1f1f1",size:"28"}})],1)],1),i("v-uni-view",{staticClass:"list-item"},[i("v-uni-view",{staticClass:"list-item-left"},[i("v-uni-image",{attrs:{src:"/static/imgs/mine-self-name.png",mode:"widthFix"}}),i("span",[t._v("修改昵称")])],1),i("v-uni-view",{staticClass:"input"},[i("v-uni-input",{attrs:{type:"text",value:t.nickname,placeholder:"请输入用户的昵称",maxlength:"12"},on:{blur:function(e){arguments[0]=e=t.$handleEvent(e),t.blur.apply(void 0,arguments)}}}),i("u-icon",{attrs:{name:"arrow-right",color:"#f1f1f1",size:"28"}})],1)],1),t._e(),i("v-uni-view",{staticClass:"list-item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.certificationClick(t.certification)}}},[i("v-uni-view",{staticClass:"list-item-left"},[i("v-uni-image",{attrs:{src:"/static/imgs/self-icon.png",mode:"widthFix"}}),i("span",[t._v("个人认证")])],1),i("v-uni-view",{staticClass:"input"},[i("v-uni-input",{attrs:{type:"text",value:t.certification.is_true?"已认证":"",placeholder:t.certification.is_true?"":"未认证",disabled:"true",maxlength:"12"}}),i("u-icon",{attrs:{name:"arrow-right",color:"#f1f1f1",size:"28"}})],1)],1),i("v-uni-view",{staticClass:"list-item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.company(t.companyCode.code)}}},[i("v-uni-view",{staticClass:"list-item-left"},[i("v-uni-image",{attrs:{src:"/static/imgs/company-icon.png",mode:"widthFix"}}),i("span",[t._v("企业认证")])],1),i("v-uni-view",{staticClass:"input"},[i("v-uni-input",{attrs:{type:"text",value:1===t.companyCode.code?"已认证":"",placeholder:1!==t.companyCode.code?t.companyCode.message:"",disabled:"true",maxlength:"12"}}),i("u-icon",{attrs:{name:"arrow-right",color:"#f1f1f1",size:"28"}})],1)],1),i("v-uni-view",{staticClass:"list-item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$router.push({name:"aboutUs"})}}},[i("v-uni-view",{staticClass:"list-item-left"},[i("v-uni-image",{attrs:{src:"/static/imgs/mine-about.png",mode:"widthFix"}}),i("span",[t._v("关于链商星球")])],1),i("u-icon",{attrs:{name:"arrow-right",color:"#f1f1f1",size:"28"}})],1),i("v-uni-view",{staticClass:"list-item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.loginOut.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"list-item-left"},[i("v-uni-image",{attrs:{src:"/static/imgs/reset-info.png",mode:"widthFix"}}),i("span",[t._v("切换账户")])],1),i("u-icon",{attrs:{name:"arrow-right",color:"#f1f1f1",size:"28"}})],1)],1),i("v-uni-view",{staticClass:"edition"},[t._v("链商星球 beta 1.0.0")]),i("u-toast",{ref:"uToast"})],1)},o=[]},"6b754":function(t,e,i){"use strict";i.r(e);var n=i("5e37"),a=i("d465");for(var o in a)"default"!==o&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("013a");var s,r=i("f0c5"),l=Object(r["a"])(a["default"],n["b"],n["c"],!1,null,"6e33a412",null,!1,n["a"],s);e["default"]=l.exports},"82ac":function(t,e,i){var n=i("5a60");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("4a3c399e",n,!0,{sourceMap:!1,shadowMode:!1})},d465:function(t,e,i){"use strict";i.r(e);var n=i("3a4e"),a=i.n(n);for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},da85:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.companyStatus=e.aboutUs=e.getUserSettingInfo=e.resetUserInfo=e.agreementLogin=e.agreementSecret=e.getOpenid=e.wechatbind=e.login=void 0;var n=i("89d9"),a=function(t){return(0,n.request)({url:"user/socialite/login/wechat/mini",method:"POST",data:t})};e.login=a;var o=function(t){return(0,n.request)({url:"user/socialite/wechatbind",method:"PUT",data:t})};e.wechatbind=o;var s=function(t){return(0,n.request)({url:"user/setting/"+t.key,method:"PUT",data:{value:t.value}})};e.resetUserInfo=s;var r=function(t){return(0,n.request)({url:"user/socialite/login/wechat/openid",method:"GET",data:{code:t}})};e.getOpenid=r;var l=function(t){return(0,n.request)({url:"articles/agreement/secret"})};e.agreementSecret=l;var c=function(t){return(0,n.request)({url:"articles/agreement/login"})};e.agreementLogin=c;var u=function(){return(0,n.request)({url:"user/setting"})};e.getUserSettingInfo=u;var d=function(){return(0,n.request)({url:"articles/about"})};e.aboutUs=d;var f=function(){return(0,n.request)({url:"companies/applies/query"})};e.companyStatus=f},ef1b:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.uploads=void 0;var n=i("89d9"),a=function(t){return(0,n.uploading)(t)};e.uploads=a}}]); \ No newline at end of file diff --git a/unpackage/dist/build/h5/static/js/pages-setting-setting.4c88b376.js b/unpackage/dist/build/h5/static/js/pages-setting-setting.4c88b376.js new file mode 100644 index 0000000..a683f8f --- /dev/null +++ b/unpackage/dist/build/h5/static/js/pages-setting-setting.4c88b376.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-setting-setting"],{"375f":function(t,e,i){"use strict";var n=i("f176"),a=i.n(n);a.a},"3a4e":function(t,e,i){"use strict";i("d81d"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i("da85"),a=i("ef1b"),o={name:"Setting",data:function(){return{canLogin:!0,nickname:"",avatar:{path:"",showPath:""},is_bind:!0,certification:{},companyCode:{}}},onShow:function(){var t=this;wx.login({success:function(e){t.loginCode=e.code}}),this.getUserInfo()},onPullDownRefresh:function(){this.getUserInfo()},methods:{certificationClick:function(t){console.log(t),t.is_true?uni.showModal({title:"认证信息",content:"真实姓名:<"+t.message.name+">,身份证号:"+t.message.idcard,showCancel:!1}):this.$Router.push({name:"Personal"})},company:function(t){console.log(t,"是否企业认证"),-1===t?this.$Router.push({name:"companyApprove"}):2===t?this.$Router.push({name:"companyApprove",params:{form_type:"put"}}):0===t?this.$refs.uToast.show({title:"审核中",type:"primary",duration:3e3}):1===t&&this.$refs.uToast.show({title:"认证通过!",type:"primary",duration:3e3})},getUserInfo:function(){var t=this;(0,n.getUserSettingInfo)().then((function(e){t.avatar.showPath=e.avatar,t.nickname=e.nickname,t.is_bind=e.is_bind,t.certification=e.certification,uni.stopPullDownRefresh()})).catch((function(e){t.$refs.uToast.show({title:e.message,type:"primary",duration:3e3})})),(0,n.companyStatus)().then((function(e){console.log(e),t.companyCode=e})).catch((function(e){t.$refs.uToast.show({title:e.message,type:"primary",duration:3e3})}))},getUser:function(){var t=this;uni.getUserProfile({desc:"获取你的昵称、头像、地区及性别",success:function(e){"getUserProfile:ok"==e.errMsg?(t.userInfo=e.userInfo,wx.checkSession({success:function(i){t.userLogin(e)},fail:function(e){uni.login({success:function(e){t.loginCode=e.code,t.userLogin()}})}})):uni.showToast({duration:1500,title:"绑定手机号失败了",icon:"none"})},fail:function(){uni.showToast({duration:1500,title:"您拒绝了请求",icon:"none"})}})},userLogin:function(t){var e=this;uni.login({success:function(i){var a={iv:t.iv,encryptedData:t.encryptedData,code:i.code};uni.showLoading({title:"绑定中"}),(0,n.wechatbind)(a).then((function(t){setTimeout((function(t){uni.hideLoading()}),1e3),e.$refs.uToast.show({title:"绑定成功",type:"primary",duration:3e3}),setTimeout((function(t){e.getUserInfo()}),3e3)})).catch((function(t){e.$refs.uToast.show({title:t.message,type:"primary",duration:3e3}),uni.hideLoading()}))}})},loginOut:function(){this.$store.commit("setToken",""),this.$Router.push({name:"Login"})},updImgs:function(t){var e=this;uni.chooseImage({success:function(t){var i=t.tempFiles.map((function(t,e){return{name:"uploads"+e,uri:t.path}}));(0,a.uploads)(i).then((function(t){e.avatar.path=t.path[0],e.avatar.showPath=t.url[0],e.resetUserInfo("avatar",t.url[0])})).catch((function(t){uni.showToast({title:t.message,icon:"none"})}))}})},blur:function(t){var e=t.detail.value;e!==this.nickname&&this.resetUserInfo("nickname",e)},resetUserInfo:function(t,e){var i=this,a={key:t,value:e};(0,n.resetUserInfo)(a).then((function(t){console.log(t,"res..."),uni.showToast({title:t,icon:"none"}),setTimeout((function(t){i.getUserInfo()}),2e3)})).catch((function(t){uni.showToast({title:t.message,icon:"none"})}))}}};e.default=o},"6b754":function(t,e,i){"use strict";i.r(e);var n=i("cba3"),a=i("d465");for(var o in a)"default"!==o&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("375f");var s,r=i("f0c5"),l=Object(r["a"])(a["default"],n["b"],n["c"],!1,null,"216471e0",null,!1,n["a"],s);e["default"]=l.exports},7670:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/**\n * Web唐明明\n * 匆匆数载恍如梦,岁月迢迢华发增。\n * 碌碌无为枉半生,一朝惊醒万事空。\n */.ios-bottom[data-v-216471e0]{padding-bottom:env(safe-area-inset-bottom);padding-bottom:constant(safe-area-inset-bottom)}.ios-left[data-v-216471e0]{padding-left:env(safe-area-inset-left);padding-left:constant(safe-area-inset-left)}.ios-right[data-v-216471e0]{padding-right:env(safe-area-inset-right);padding-right:constant(safe-area-inset-right)}.ios-top[data-v-216471e0]{padding-top:0}.vertical[data-v-216471e0]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-pack:center}.nowrap[data-v-216471e0]{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ellipsis[data-v-216471e0]{max-width:100%;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ellipsis-3[data-v-216471e0]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3}.ellipsis-4[data-v-216471e0]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4}.ellipsis-5[data-v-216471e0]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:5}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.Setting[data-v-216471e0]{width:100vw;min-height:100vh;position:relative;background-color:#fff}.Setting .edition[data-v-216471e0]{color:#cacaca;text-align:center;padding:%?20?% %?30?%}.Setting .list[data-v-216471e0]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;box-sizing:border-box;position:relative;top:%?-10?%;border-radius:%?20?%;margin:0 %?40?%;padding:%?30?% 0;width:calc(100% - %?80?%)}.Setting .list uni-button[data-v-216471e0]::after{border:none;background-color:none}.Setting .list uni-button[data-v-216471e0]{position:relative;display:block;margin-left:auto;margin-right:auto;padding-left:0;padding-right:0;box-sizing:border-box;font-size:%?28.8?%;text-align:center;text-decoration:none;line-height:1;border-radius:5px;-webkit-tap-highlight-color:transparent;overflow:hidden;color:#333;background-color:#fff}.Setting .list .list-item[data-v-216471e0]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;padding:%?40?% 0;border-bottom:solid %?1?% #f7f7f7;box-sizing:border-box}.Setting .list .list-item .avatar[data-v-216471e0]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;box-sizing:border-box}.Setting .list .list-item .avatar uni-image[data-v-216471e0]{width:%?100?%;height:%?100?%;border-radius:50%;margin-right:%?20?%}.Setting .list .list-item .input[data-v-216471e0]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;box-sizing:border-box;text-align:right;-webkit-box-flex:1;-webkit-flex:1;flex:1}.Setting .list .list-item .input uni-input[data-v-216471e0]{padding-right:%?20?%;width:100%;font-size:%?30?%}.Setting .list .list-item .list-item-left[data-v-216471e0]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;box-sizing:border-box}.Setting .list .list-item .list-item-left uni-image[data-v-216471e0]{width:%?44?%;height:%?44?%}.Setting .list .list-item .list-item-left span[data-v-216471e0]{margin-left:%?30?%}.Setting .mine-banner[data-v-216471e0]{position:relative;width:calc(100% - %?80?%);top:%?-20?%;margin:0 %?40?%;box-sizing:border-box;margin-top:%?60?%}.loginOut[data-v-216471e0]{margin:%?30?% %?50?%;background-color:#fff;box-shadow:0 0 %?20?% %?4?% rgba(139,100,253,.1);text-align:center;padding:%?20?%;border-radius:%?10?%;color:#353535}',""]),t.exports=e},cba3:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={uIcon:i("08da").default,uToast:i("4d12").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"Setting"},[i("v-uni-view",{staticClass:"list"},[i("v-uni-view",{staticClass:"list-item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.updImgs.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"list-item-left"},[i("v-uni-image",{attrs:{src:"/static/imgs/user-avatar.png",mode:"widthFix"}}),i("span",[t._v("修改头像")])],1),i("v-uni-view",{staticClass:"avatar"},[i("v-uni-image",{attrs:{src:t.avatar.showPath?t.avatar.showPath:"/static/imgs/no-avatar.png",mode:"aspectFill"}}),i("u-icon",{attrs:{name:"arrow-right",color:"#f1f1f1",size:"28"}})],1)],1),i("v-uni-view",{staticClass:"list-item"},[i("v-uni-view",{staticClass:"list-item-left"},[i("v-uni-image",{attrs:{src:"/static/imgs/mine-self-name.png",mode:"widthFix"}}),i("span",[t._v("修改昵称")])],1),i("v-uni-view",{staticClass:"input"},[i("v-uni-input",{attrs:{type:"text",value:t.nickname,placeholder:"请输入用户的昵称",maxlength:"12"},on:{blur:function(e){arguments[0]=e=t.$handleEvent(e),t.blur.apply(void 0,arguments)}}}),i("u-icon",{attrs:{name:"arrow-right",color:"#f1f1f1",size:"28"}})],1)],1),t._e(),i("v-uni-view",{staticClass:"list-item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.certificationClick(t.certification)}}},[i("v-uni-view",{staticClass:"list-item-left"},[i("v-uni-image",{attrs:{src:"/static/imgs/self-icon.png",mode:"widthFix"}}),i("span",[t._v("个人认证")])],1),i("v-uni-view",{staticClass:"input"},[i("v-uni-input",{attrs:{type:"text",value:t.certification.is_true?"已认证":"",placeholder:t.certification.is_true?"":"未认证",disabled:"true",maxlength:"12"}}),i("u-icon",{attrs:{name:"arrow-right",color:"#f1f1f1",size:"28"}})],1)],1),i("v-uni-view",{staticClass:"list-item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.company(t.companyCode.code)}}},[i("v-uni-view",{staticClass:"list-item-left"},[i("v-uni-image",{attrs:{src:"/static/imgs/company-icon.png",mode:"widthFix"}}),i("span",[t._v("企业认证")])],1),i("v-uni-view",{staticClass:"input"},[i("v-uni-input",{attrs:{type:"text",value:1===t.companyCode.code?"已认证":"",placeholder:1!==t.companyCode.code?t.companyCode.message:"",disabled:"true",maxlength:"12"}}),i("u-icon",{attrs:{name:"arrow-right",color:"#f1f1f1",size:"28"}})],1)],1),i("v-uni-view",{staticClass:"list-item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$router.push({name:"aboutUs"})}}},[i("v-uni-view",{staticClass:"list-item-left"},[i("v-uni-image",{attrs:{src:"/static/imgs/mine-about.png",mode:"widthFix"}}),i("span",[t._v("关于链商星球")])],1),i("u-icon",{attrs:{name:"arrow-right",color:"#f1f1f1",size:"28"}})],1),i("v-uni-view",{staticClass:"list-item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.loginOut.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"list-item-left"},[i("v-uni-image",{attrs:{src:"/static/imgs/reset-info.png",mode:"widthFix"}}),i("span",[t._v("切换账户")])],1),i("u-icon",{attrs:{name:"arrow-right",color:"#f1f1f1",size:"28"}})],1)],1),i("v-uni-view",{staticClass:"edition"},[t._v("链商星球 beta 1.0.0")]),i("u-toast",{ref:"uToast"})],1)},o=[]},d465:function(t,e,i){"use strict";i.r(e);var n=i("3a4e"),a=i.n(n);for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},da85:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.companyStatus=e.aboutUs=e.getUserSettingInfo=e.resetUserInfo=e.agreementLogin=e.agreementSecret=e.getOpenid=e.wechatbind=e.login=void 0;var n=i("89d9"),a=function(t){return(0,n.request)({url:"user/socialite/login/wechat/mini",method:"POST",data:t})};e.login=a;var o=function(t){return(0,n.request)({url:"user/socialite/wechatbind",method:"PUT",data:t})};e.wechatbind=o;var s=function(t){return(0,n.request)({url:"user/setting/"+t.key,method:"PUT",data:{value:t.value}})};e.resetUserInfo=s;var r=function(t){return(0,n.request)({url:"user/socialite/login/wechat/openid",method:"GET",data:{code:t}})};e.getOpenid=r;var l=function(t){return(0,n.request)({url:"articles/agreement/secret"})};e.agreementSecret=l;var c=function(t){return(0,n.request)({url:"articles/agreement/login"})};e.agreementLogin=c;var u=function(){return(0,n.request)({url:"user/setting"})};e.getUserSettingInfo=u;var d=function(){return(0,n.request)({url:"articles/about"})};e.aboutUs=d;var f=function(){return(0,n.request)({url:"companies/applies/query"})};e.companyStatus=f},ef1b:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.uploads=void 0;var n=i("89d9"),a=function(t){return(0,n.uploading)(t)};e.uploads=a},f176:function(t,e,i){var n=i("7670");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("d9949c60",n,!0,{sourceMap:!1,shadowMode:!1})}}]); \ No newline at end of file diff --git a/unpackage/dist/build/h5/static/js/pages-user-code.bb9c8994.js b/unpackage/dist/build/h5/static/js/pages-user-code.bb9c8994.js deleted file mode 100644 index c10016f..0000000 --- a/unpackage/dist/build/h5/static/js/pages-user-code.bb9c8994.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-user-code"],{"0cc7":function(e,t,a){"use strict";a.r(t);var o=a("7e33"),i=a.n(o);for(var n in o)"default"!==n&&function(e){a.d(t,e,(function(){return o[e]}))}(n);t["default"]=i.a},"3be4":function(e,t,a){"use strict";var o=a("b201"),i=a.n(o);i.a},"530e":function(e,t,a){var o=a("24fb");t=o(!1),t.push([e.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/**\n * Web唐明明\n * 匆匆数载恍如梦,岁月迢迢华发增。\n * 碌碌无为枉半生,一朝惊醒万事空。\n */.ios-bottom[data-v-0d4d4c54]{padding-bottom:env(safe-area-inset-bottom);padding-bottom:constant(safe-area-inset-bottom)}.ios-left[data-v-0d4d4c54]{padding-left:env(safe-area-inset-left);padding-left:constant(safe-area-inset-left)}.ios-right[data-v-0d4d4c54]{padding-right:env(safe-area-inset-right);padding-right:constant(safe-area-inset-right)}.ios-top[data-v-0d4d4c54]{padding-top:0}.vertical[data-v-0d4d4c54]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-pack:center}.nowrap[data-v-0d4d4c54]{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ellipsis[data-v-0d4d4c54]{max-width:100%;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ellipsis-3[data-v-0d4d4c54]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3}.ellipsis-4[data-v-0d4d4c54]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4}.ellipsis-5[data-v-0d4d4c54]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:5}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.codeImg[data-v-0d4d4c54]{width:100%;height:100%}.codeContent[data-v-0d4d4c54]{position:absolute;left:0;top:0;width:100%;padding:%?120?% %?80?% %?40?%;box-sizing:border-box;text-align:center}.codeContent .titleImg[data-v-0d4d4c54]{max-width:100%}.codeContent .codeBack[data-v-0d4d4c54]{background-color:#fff;border-radius:6px;position:relative;margin:%?60?% 0 %?75?%;overflow:hidden}.codeContent .codeBack[data-v-0d4d4c54]::after, .codeContent .codeBack[data-v-0d4d4c54]::before{position:absolute;background-color:#8c62fe;content:"";top:278px;width:%?40?%;height:%?40?%;border-radius:50%}.codeContent .codeBack[data-v-0d4d4c54]::after{left:%?-20?%}.codeContent .codeBack[data-v-0d4d4c54]::before{right:%?-20?%}.codeContent .codeBack .codeBack-img[data-v-0d4d4c54]{position:absolute;width:100%;height:100%;left:0;top:0}.codeContent .codeBack .codeBack-top[data-v-0d4d4c54]{width:100%;padding:%?30?%;height:150px;box-sizing:border-box;position:relative}.codeContent .codeBack .codeBack-top .codeBack-title[data-v-0d4d4c54]{color:#7c52fc}.codeContent .codeBack .codeBack-top .codeBack-number[data-v-0d4d4c54]{font-size:%?40?%;color:#7c52fc;text-transform:uppercase;font-weight:700;margin:%?20?% 0 %?30?%}.codeContent .codeBack .codeBack-top .codeBack-copy[data-v-0d4d4c54]{font-size:%?30?%;display:inline-block;background:-webkit-linear-gradient(left,#f9c869,#eca824);background:linear-gradient(90deg,#f9c869,#eca824);color:#fff;padding:%?15?% %?60?%;border-radius:6px;margin-bottom:%?60?%}.codeContent .codeBack .codeBack-top .codeBack-tips .codeBack-tips-text[data-v-0d4d4c54]{color:#7c52fc;font-weight:700}.codeContent .codeBack .codeBack-top .codeBack-tips .codeBack-tips-label[data-v-0d4d4c54]{margin-top:%?30?%;border-radius:6px;display:inline-block;background-color:#fbeec9;font-size:%?26?%;padding:0 %?42?%;height:%?56?%;line-height:%?56?%;color:#9f7d42}.codeContent .codeBack .codeBack-avatar[data-v-0d4d4c54]{margin-top:%?60?%;font-size:%?32?%;font-weight:600}.codeContent .codeBack .codeBack-avatar uni-image[data-v-0d4d4c54]{width:%?140?%;height:%?140?%;border-radius:50%;margin-bottom:%?30?%}.codeContent .codeBack .codeBack-yard[data-v-0d4d4c54]{padding:%?30?% %?60?% %?60?%;text-align:center;position:relative;font-size:%?30?%}.codeContent .codeBack .codeBack-yard[data-v-0d4d4c54]::after{position:absolute;content:"";left:%?50?%;top:0;width:calc(100% - %?100?%);border-top:#cccbd0 %?2?% dashed}.codeContent .codeBack .codeBack-yard .codeBack-yard-img[data-v-0d4d4c54]{max-width:75%;border:%?4?% solid #f3f3f3;margin:%?20?% 0 %?40?%}.codeContent .codeBack .codeBack-yard .codeBack-yard-name[data-v-0d4d4c54]{color:#a0a1a3;margin-bottom:%?20?%}.codeContent .codeBack .codeBack-yard .codeBack-yard-tips[data-v-0d4d4c54]{color:#7c52fc}.codeContent .codeRule[data-v-0d4d4c54]{background-color:#fff;border-radius:%?20?%;padding:%?40?%}.codeContent .codeRule .codeRule-title[data-v-0d4d4c54]{font-size:20;color:#7c52fc;font-weight:700;margin-bottom:%?40?%}.codeContent .codeRule .codeRule-list[data-v-0d4d4c54]{text-align:left;font-size:%?28?%;line-height:%?38?%}.codeContent .codeRule .codeRule-list uni-text[data-v-0d4d4c54]{display:block;margin-bottom:%?25?%;color:#7c52fc}.codeShare[data-v-0d4d4c54]{position:fixed;left:0;bottom:0;z-index:9;background-color:#fff;box-sizing:border-box;height:%?200?%;width:100%;display:-webkit-box;display:-webkit-flex;display:flex;justify-items:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.codeShare .codeShare-label[data-v-0d4d4c54]{width:50%;text-align:center;font-size:12px;color:#555}.codeShare .codeShare-label uni-image[data-v-0d4d4c54]{width:30px;height:30px;display:-webkit-box;display:-webkit-flex;display:flex;margin:0 auto %?20?%}',""]),e.exports=t},"6ba4":function(e,t,a){var o=a("24fb");t=o(!1),t.push([e.i,"uni-page-body[data-v-0d4d4c54]{background-image:-webkit-linear-gradient(bottom,#7c52fc,#976dff);background-image:linear-gradient(0deg,#7c52fc,#976dff)}body.?%PAGE?%[data-v-0d4d4c54]{background-image:-webkit-linear-gradient(bottom,#7c52fc,#976dff);background-image:linear-gradient(0deg,#7c52fc,#976dff)}",""]),e.exports=t},"791f":function(e,t,a){"use strict";var o;a.d(t,"b",(function(){return i})),a.d(t,"c",(function(){return n})),a.d(t,"a",(function(){return o}));var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("v-uni-view",[a("v-uni-view",{staticClass:"codeContent"},[a("v-uni-view",{staticClass:"codeBack"},[a("v-uni-image",{staticClass:"codeBack-img",attrs:{src:"/static/user/user-codeIcon.png",mode:"widthFix"}}),e.inviteData.user_info?a("v-uni-view",{staticClass:"codeBack-avatar"},[a("v-uni-image",{attrs:{src:e.inviteData.user_info.avatar?e.inviteData.user_info.avatar:"/static/user/user-portrait.png",mode:"aspectFill"}}),a("v-uni-view",{},[e._v(e._s(e.inviteData.user_info.nickname))])],1):e._e(),a("v-uni-view",{staticClass:"codeBack-top"},[a("v-uni-view",{staticClass:"codeBack-title"},[e._v("您的邀请码")]),a("v-uni-view",{staticClass:"codeBack-number"},[e._v(e._s(e.inviteData.invite))]),a("v-uni-view",{staticClass:"codeBack-copy",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.copyCenter(e.inviteData.invite)}}},[e._v("复制")])],1),a("v-uni-view",{staticClass:"codeBack-yard"},[a("v-uni-image",{staticClass:"codeBack-yard-img",attrs:{src:e.inviteData.code,mode:"widthFix"}}),a("v-uni-view",{staticClass:"codeBack-yard-name"},[e._v("扫码识别链商星球")]),a("v-uni-view",{staticClass:"codeBack-yard-tips"},[e._v("加入链商星球享受能量球权益")])],1)],1)],1)],1)},n=[]},"7e33":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a("fbc5"),i={data:function(){return{inviteData:{}}},onLoad:function(){this.inviteInfo()},methods:{inviteInfo:function(){var e=this;(0,o.userInvite)().then((function(t){e.inviteData=t})).catch((function(e){uni.showToast({icon:"none",title:e.message})}))},copyCenter:function(e){console.log("ddd");var t=e;uni.vibrateShort({success:function(){uni.setClipboardData({data:t,success:function(e){uni.showToast({title:"复制成功",icon:"none",duration:3e3})}})}})},friend:function(e){uni.share({provider:"weixin",title:"我正在使用ocChain",scene:e,href:"https://live.funnyzhibo.com/blockdownload",imageUrl:"https://live.funnyzhibo.com/oc-chain.png",summary:"邀请您一起加入,邀请码"+this.inviteData.invite,complete:function(e){console.log(e)}})}}};t.default=i},b201:function(e,t,a){var o=a("530e");"string"===typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);var i=a("4f06").default;i("6eea7894",o,!0,{sourceMap:!1,shadowMode:!1})},b8ed:function(e,t,a){"use strict";var o=a("c14e"),i=a.n(o);i.a},c14e:function(e,t,a){var o=a("6ba4");"string"===typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);var i=a("4f06").default;i("c0381bd6",o,!0,{sourceMap:!1,shadowMode:!1})},f21c:function(e,t,a){"use strict";a.r(t);var o=a("791f"),i=a("0cc7");for(var n in i)"default"!==n&&function(e){a.d(t,e,(function(){return i[e]}))}(n);a("b8ed"),a("3be4");var c,d=a("f0c5"),r=Object(d["a"])(i["default"],o["b"],o["c"],!1,null,"0d4d4c54",null,!1,o["a"],c);t["default"]=r.exports},fbc5:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.userPartne=t.userInvite=t.userClause=t.userHelp=t.userCustomer=t.userNotice=t.userIndex=void 0;var o=a("89d9"),i=function(){return(0,o.request)({url:"user/web"})};t.userIndex=i;var n=function(){return(0,o.request)({url:"articles/notice"})};t.userNotice=n;var c=function(){return(0,o.request)({url:"user/services"})};t.userCustomer=c;var d=function(){return(0,o.request)({url:"articles/helps"})};t.userHelp=d;var r=function(){return(0,o.request)({url:"articles/service"})};t.userClause=r;var s=function(){return(0,o.request)({url:"user/invite"})};t.userInvite=s;var l=function(e){return(0,o.request)({url:"user/relations",data:e})};t.userPartne=l}}]); \ No newline at end of file diff --git a/unpackage/dist/build/h5/static/js/pages-user-code.d56fa47d.js b/unpackage/dist/build/h5/static/js/pages-user-code.d56fa47d.js new file mode 100644 index 0000000..b365c85 --- /dev/null +++ b/unpackage/dist/build/h5/static/js/pages-user-code.d56fa47d.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-user-code"],{"0cc7":function(e,t,a){"use strict";a.r(t);var o=a("7e33"),i=a.n(o);for(var n in o)"default"!==n&&function(e){a.d(t,e,(function(){return o[e]}))}(n);t["default"]=i.a},"1afe":function(e,t,a){"use strict";var o=a("62bf"),i=a.n(o);i.a},"62bf":function(e,t,a){var o=a("d3e6");"string"===typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);var i=a("4f06").default;i("8a17a4b6",o,!0,{sourceMap:!1,shadowMode:!1})},"7e33":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a("fbc5"),i={data:function(){return{inviteData:{}}},onLoad:function(){this.inviteInfo()},methods:{inviteInfo:function(){var e=this;(0,o.userInvite)().then((function(t){e.inviteData=t})).catch((function(e){uni.showToast({icon:"none",title:e.message})}))},copyCenter:function(e){console.log("ddd");var t=e;uni.vibrateShort({success:function(){uni.setClipboardData({data:t,success:function(e){uni.showToast({title:"复制成功",icon:"none",duration:3e3})}})}})},friend:function(e){uni.share({provider:"weixin",title:"我正在使用ocChain",scene:e,href:"https://live.funnyzhibo.com/blockdownload",imageUrl:"https://live.funnyzhibo.com/oc-chain.png",summary:"邀请您一起加入,邀请码"+this.inviteData.invite,complete:function(e){console.log(e)}})}}};t.default=i},c17c:function(e,t,a){"use strict";var o;a.d(t,"b",(function(){return i})),a.d(t,"c",(function(){return n})),a.d(t,"a",(function(){return o}));var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("v-uni-view",{staticClass:"background"},[a("v-uni-view",{staticClass:"codeContent"},[a("v-uni-view",{staticClass:"codeBack"},[a("v-uni-image",{staticClass:"codeBack-img",attrs:{src:"/static/user/user-codeIcon.png",mode:"widthFix"}}),e.inviteData.user_info?a("v-uni-view",{staticClass:"codeBack-avatar"},[a("v-uni-image",{attrs:{src:e.inviteData.user_info.avatar?e.inviteData.user_info.avatar:"/static/user/user-portrait.png",mode:"aspectFill"}}),a("v-uni-view",{},[e._v(e._s(e.inviteData.user_info.nickname))])],1):e._e(),a("v-uni-view",{staticClass:"codeBack-top"},[a("v-uni-view",{staticClass:"codeBack-title"},[e._v("您的邀请码")]),a("v-uni-view",{staticClass:"codeBack-number"},[e._v(e._s(e.inviteData.invite))]),a("v-uni-view",{staticClass:"codeBack-copy",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.copyCenter(e.inviteData.invite)}}},[e._v("复制")])],1),a("v-uni-view",{staticClass:"codeBack-yard"},[a("v-uni-image",{staticClass:"codeBack-yard-img",attrs:{src:e.inviteData.code,mode:"widthFix"}}),a("v-uni-view",{staticClass:"codeBack-yard-name"},[e._v("扫码识别链商星球")]),a("v-uni-view",{staticClass:"codeBack-yard-tips"},[e._v("加入链商星球享受能量球权益")])],1)],1)],1)],1)},n=[]},d3e6:function(e,t,a){var o=a("24fb");t=o(!1),t.push([e.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/**\n * Web唐明明\n * 匆匆数载恍如梦,岁月迢迢华发增。\n * 碌碌无为枉半生,一朝惊醒万事空。\n */.ios-bottom[data-v-36077441]{padding-bottom:env(safe-area-inset-bottom);padding-bottom:constant(safe-area-inset-bottom)}.ios-left[data-v-36077441]{padding-left:env(safe-area-inset-left);padding-left:constant(safe-area-inset-left)}.ios-right[data-v-36077441]{padding-right:env(safe-area-inset-right);padding-right:constant(safe-area-inset-right)}.ios-top[data-v-36077441]{padding-top:0}.vertical[data-v-36077441]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-pack:center}.nowrap[data-v-36077441]{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ellipsis[data-v-36077441]{max-width:100%;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ellipsis-3[data-v-36077441]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3}.ellipsis-4[data-v-36077441]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4}.ellipsis-5[data-v-36077441]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:5}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.background[data-v-36077441]{min-height:100vh;background:-webkit-linear-gradient(bottom,#7c52fc,#976dff);background:linear-gradient(0deg,#7c52fc,#976dff)}.codeImg[data-v-36077441]{width:100%;height:100%}.codeContent[data-v-36077441]{width:100%;padding:%?120?% %?80?% %?40?%;box-sizing:border-box;text-align:center}.codeContent .titleImg[data-v-36077441]{max-width:100%}.codeContent .codeBack[data-v-36077441]{background-color:#fff;border-radius:6px;position:relative;margin:%?60?% 0 %?75?%;overflow:hidden}.codeContent .codeBack[data-v-36077441]::after, .codeContent .codeBack[data-v-36077441]::before{position:absolute;background-color:#8c62fe;content:"";top:278px;width:%?40?%;height:%?40?%;border-radius:50%}.codeContent .codeBack[data-v-36077441]::after{left:%?-20?%}.codeContent .codeBack[data-v-36077441]::before{right:%?-20?%}.codeContent .codeBack .codeBack-img[data-v-36077441]{position:absolute;width:100%;height:100%;left:0;top:0}.codeContent .codeBack .codeBack-top[data-v-36077441]{width:100%;padding:%?30?%;height:150px;box-sizing:border-box;position:relative}.codeContent .codeBack .codeBack-top .codeBack-title[data-v-36077441]{color:#7c52fc}.codeContent .codeBack .codeBack-top .codeBack-number[data-v-36077441]{font-size:%?40?%;color:#7c52fc;text-transform:uppercase;font-weight:700;margin:%?20?% 0 %?30?%}.codeContent .codeBack .codeBack-top .codeBack-copy[data-v-36077441]{font-size:%?30?%;display:inline-block;background:-webkit-linear-gradient(left,#f9c869,#eca824);background:linear-gradient(90deg,#f9c869,#eca824);color:#fff;padding:%?15?% %?60?%;border-radius:6px;margin-bottom:%?60?%}.codeContent .codeBack .codeBack-top .codeBack-tips .codeBack-tips-text[data-v-36077441]{color:#7c52fc;font-weight:700}.codeContent .codeBack .codeBack-top .codeBack-tips .codeBack-tips-label[data-v-36077441]{margin-top:%?30?%;border-radius:6px;display:inline-block;background-color:#fbeec9;font-size:%?26?%;padding:0 %?42?%;height:%?56?%;line-height:%?56?%;color:#9f7d42}.codeContent .codeBack .codeBack-avatar[data-v-36077441]{margin-top:%?60?%;font-size:%?32?%;font-weight:600}.codeContent .codeBack .codeBack-avatar uni-image[data-v-36077441]{width:%?140?%;height:%?140?%;border-radius:50%;margin-bottom:%?30?%}.codeContent .codeBack .codeBack-yard[data-v-36077441]{padding:%?30?% %?60?% %?60?%;text-align:center;position:relative;font-size:%?30?%}.codeContent .codeBack .codeBack-yard[data-v-36077441]::after{position:absolute;content:"";left:%?50?%;top:0;width:calc(100% - %?100?%);border-top:#cccbd0 %?2?% dashed}.codeContent .codeBack .codeBack-yard .codeBack-yard-img[data-v-36077441]{max-width:75%;border:%?4?% solid #f3f3f3;margin:%?20?% 0 %?40?%}.codeContent .codeBack .codeBack-yard .codeBack-yard-name[data-v-36077441]{color:#a0a1a3;margin-bottom:%?20?%}.codeContent .codeBack .codeBack-yard .codeBack-yard-tips[data-v-36077441]{color:#7c52fc}.codeContent .codeRule[data-v-36077441]{background-color:#fff;border-radius:%?20?%;padding:%?40?%}.codeContent .codeRule .codeRule-title[data-v-36077441]{font-size:20;color:#7c52fc;font-weight:700;margin-bottom:%?40?%}.codeContent .codeRule .codeRule-list[data-v-36077441]{text-align:left;font-size:%?28?%;line-height:%?38?%}.codeContent .codeRule .codeRule-list uni-text[data-v-36077441]{display:block;margin-bottom:%?25?%;color:#7c52fc}.codeShare[data-v-36077441]{position:fixed;left:0;bottom:0;z-index:9;background-color:#fff;box-sizing:border-box;height:%?200?%;width:100%;display:-webkit-box;display:-webkit-flex;display:flex;justify-items:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.codeShare .codeShare-label[data-v-36077441]{width:50%;text-align:center;font-size:12px;color:#555}.codeShare .codeShare-label uni-image[data-v-36077441]{width:30px;height:30px;display:-webkit-box;display:-webkit-flex;display:flex;margin:0 auto %?20?%}',""]),e.exports=t},f21c:function(e,t,a){"use strict";a.r(t);var o=a("c17c"),i=a("0cc7");for(var n in i)"default"!==n&&function(e){a.d(t,e,(function(){return i[e]}))}(n);a("1afe");var c,d=a("f0c5"),r=Object(d["a"])(i["default"],o["b"],o["c"],!1,null,"36077441",null,!1,o["a"],c);t["default"]=r.exports},fbc5:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.userPartne=t.userInvite=t.userClause=t.userHelp=t.userCustomer=t.userNotice=t.userIndex=void 0;var o=a("89d9"),i=function(){return(0,o.request)({url:"user/web"})};t.userIndex=i;var n=function(){return(0,o.request)({url:"articles/notice"})};t.userNotice=n;var c=function(){return(0,o.request)({url:"user/services"})};t.userCustomer=c;var d=function(){return(0,o.request)({url:"articles/helps"})};t.userHelp=d;var r=function(){return(0,o.request)({url:"articles/service"})};t.userClause=r;var s=function(){return(0,o.request)({url:"user/invite"})};t.userInvite=s;var l=function(e){return(0,o.request)({url:"user/relations",data:e})};t.userPartne=l}}]); \ No newline at end of file diff --git a/unpackage/dist/build/h5/static/js/pages-user-index.11b49e2a.js b/unpackage/dist/build/h5/static/js/pages-user-index.11b49e2a.js new file mode 100644 index 0000000..3df228f --- /dev/null +++ b/unpackage/dist/build/h5/static/js/pages-user-index.11b49e2a.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-user-index"],{"0799":function(e,t,i){"use strict";var s=i("e348"),a=i.n(s);a.a},"0851":function(e,t,i){"use strict";var s;i.d(t,"b",(function(){return a})),i.d(t,"c",(function(){return n})),i.d(t,"a",(function(){return s}));var a=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-uni-view",[e.customer.customerShow?i("v-uni-view",{staticClass:"customerBack"}):e._e(),e.customer.customerShow?i("v-uni-view",{staticClass:"customerCont"},[i("v-uni-image",{staticClass:"customerCont-code",attrs:{src:e.customer.customerCode,mode:"aspectFill"}}),i("v-uni-view",{staticClass:"customerCont-text"},[e._v("扫描上方微信二维码,添加您的专属VIP客服")]),i("v-uni-image",{staticClass:"customerClose",attrs:{src:"/static/user/user-customer-close.png",mode:"aspectFill"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.custEject.apply(void 0,arguments)}}})],1):e._e(),e.newState?i("v-uni-view",{staticClass:"newBack"}):e._e(),e.newState?i("v-uni-view",{staticClass:"newCont"},[i("v-uni-view",{staticClass:"newCont-title"},[e._v(e._s(e.newList[e.newPopIndex].title))]),i("v-uni-view",{staticClass:"newCont-text"},[i("v-uni-rich-text",{attrs:{nodes:e.newList[e.newPopIndex].content}})],1),e.newnextShow?e._e():i("v-uni-view",{staticClass:"newCont-btn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.newNext()}}},[e._v("下一条")]),i("v-uni-image",{staticClass:"newCont-close",attrs:{src:"/static/user/order-cancelPay.png",mode:"aspectFill"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.newEject()}}})],1):e._e(),i("v-uni-view",{staticClass:"fileTool",class:{bigTool:e.scroll>200}},[i("v-uni-view",{staticClass:"user-portrait"},[i("v-uni-image",{staticClass:"user-portrait-head",attrs:{src:e.userData.avatar?e.userData.avatar:"/static/user/user-portrait.png",mode:"aspectFill"}})],1),i("v-uni-view",{staticClass:"user-tool"},[i("v-uni-view",{staticClass:"user-tool-name"},[e._v(e._s(e.userData.nickname))]),i("v-uni-image",{staticClass:"user-tool-icon",attrs:{src:"/static/user/user-top-00.png",mode:"aspectFill"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.$Router.push({name:"setting"})}}}),i("v-uni-image",{staticClass:"user-tool-icon",attrs:{src:"/static/user/user-top-01.png",mode:"aspectFill"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.$Router.push({name:"news"})}}})],1)],1),i("v-uni-view",{staticClass:"user-top",class:[e.scroll>0?"bigTop":"refurnTop"]},[i("v-uni-view",{staticClass:"user-tool"},[i("v-uni-image",{staticClass:"user-tool-icon",attrs:{src:"/static/user/user-top-00.png",mode:"aspectFill"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.$Router.push({name:"setting"})}}}),i("v-uni-image",{staticClass:"user-tool-icon",attrs:{src:"/static/user/user-top-01.png",mode:"aspectFill"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.$Router.push({name:"news"})}}})],1),i("v-uni-view",{staticClass:"user-info"},[i("v-uni-view",{staticClass:"user-portrait"},[i("v-uni-image",{staticClass:"user-portrait-head",attrs:{src:e.userData.avatar?e.userData.avatar:"/static/user/user-portrait.png",mode:"aspectFill"}})],1),i("v-uni-view",{staticClass:"user-head"},[i("v-uni-view",{staticClass:"user-name"},[e._v(e._s(e.userData.nickname)),e.userData.identity?i("v-uni-image",{staticClass:"user-name-identity",attrs:{src:e.userData.identity.cover}}):e._e()],1),i("v-uni-view",{staticClass:"user-status"},[e._v("邀请码:"+e._s(e.userData.invite)),i("v-uni-view",{staticClass:"user-status-copy",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.copyCenter(e.userData.invite)}}},[i("v-uni-text",[e._v("复制")])],1)],1)],1)],1),i("v-uni-view",{staticClass:"userVip",class:{animated:e.animatedShow}},[i("v-uni-view",{staticClass:"userVip-top"},[e.userIdentity.right?i("v-uni-view",{staticClass:"userVip-top-name"},[e._v("开通"+e._s(e.userIdentity.right.name)+"。")]):e._e(),e.userIdentity.is_top?i("v-uni-view",{staticClass:"userVip-top-btn"},[e._v("终身有效")]):i("v-uni-view",{staticClass:"userVip-top-btn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.$Router.push({name:"vipIndex"})}}},[e._v("去开通"),i("v-uni-image",{staticClass:"userVip-top-arrow",attrs:{src:"/static/user/userVip_arrow.png"}})],1)],1),i("v-uni-view",{staticClass:"userVip-rights"},[i("v-uni-view",{staticClass:"userVip-rightst-title"},[i("v-uni-view",{staticClass:"userVip-rightst-title-name"},[e._v("查看会员专属权益")]),i("v-uni-view",{staticClass:"userVip-rightst-more",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.$Router.push({name:"vipIndex"})}}},[e._v("全部更多"),i("v-uni-image",{staticClass:"userVip-rightst-more-img",attrs:{src:"/static/user/userVip_more_arrow.png"}})],1)],1),e.userIdentity.right?i("v-uni-view",{staticClass:"userVip-rightst-list"},[e._l(e.userIdentity.right.rights,(function(t,s){return i("v-uni-view",{key:s,staticClass:"userVip-rightst-label"},[s<=3?[i("v-uni-image",{staticClass:"userVip-rightst-img",attrs:{src:t.cover}}),i("v-uni-view",{staticClass:"nowrap userVip-rightst-name"},[e._v(e._s(t.name))])]:e._e()],2)})),i("v-uni-view",{staticClass:"userVip-rightst-label"},[i("v-uni-image",{staticClass:"userVip-rightst-img",attrs:{src:"/static/user/userRightst_icon_more.png"}}),i("v-uni-view",{staticClass:"nowrap userVip-rightst-name"},[e._v("敬请期待")])],1)],2):e._e()],1)],1)],1),i("v-uni-view",{staticClass:"slide",class:{bigSlide:e.classStyle},on:{touchmove:function(t){arguments[0]=t=e.$handleEvent(t),e.move.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"userNew"},[i("v-uni-image",{staticClass:"userNew-icon",attrs:{src:"/static/user/userNew_icon.png"}}),i("v-uni-swiper",{staticClass:"userNew-banner",attrs:{"disable-touch":!0,circular:!0,autoplay:!0,interval:"3000",vertical:!0}},e._l(e.newList,(function(t,s){return i("v-uni-swiper-item",{key:s,staticClass:"ellipsis",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.newEject(s)}}},[e._v(e._s(t.title))])})),1)],1),i("v-uni-view",{staticClass:"userAssets"},[i("v-uni-view",{staticClass:"userAssets-top"},[i("v-uni-view",{staticClass:"withdraw-name"},[e._v("当前能量球价值"),i("v-uni-view",{staticClass:"withdraw-number"},[e._v("¥"+e._s(e.userData.account.stone_value||0))])],1),i("v-uni-view",{staticClass:"withdraw-btn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.$Router.push({name:"Extract"})}}},[e._v("去提现")])],1),i("v-uni-view",{staticClass:"userAssets-show"},[i("v-uni-view",{staticClass:"assets-title"},[e._v("我的资产")]),e.userData.account?i("v-uni-view",{staticClass:"assets-list"},[i("v-uni-view",{staticClass:"assets-label",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.$Router.push({name:"walletProperty"})}}},[i("v-uni-view",{staticClass:"assets-label-name"},[e._v("能量球钱包"),i("v-uni-image",{staticClass:"assets-label-icon",attrs:{src:"/static/user/userAssets_tips.png"},on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.showHelp("wallet")}}})],1),i("v-uni-view",{staticClass:"assets-label-number"},[e._v(e._s(e.userData.account.stone||0))])],1),i("v-uni-view",{staticClass:"assets-label",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.$Router.push({name:"Fragment"})}}},[i("v-uni-view",{staticClass:"assets-label-name"},[e._v("能量碎片"),i("v-uni-image",{staticClass:"assets-label-icon",attrs:{src:"/static/user/userAssets_tips.png"},on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.showHelp("chip")}}})],1),i("v-uni-view",{staticClass:"assets-label-number"},[e._v(e._s(e.userData.account.score||0))])],1)],1):e._e()],1)],1),i("v-uni-view",{staticClass:"userPartner"},[i("v-uni-view",{staticClass:"partner-title"},[e._v("我的伙伴")]),e.userData.relation_count?i("v-uni-view",{staticClass:"partner-list"},[i("v-uni-view",{staticClass:"partner-label",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.$Router.push({name:"userPartner",params:{larer:""}})}}},[i("v-uni-view",{staticClass:"partner-label-name"},[e._v("伙伴总数")]),i("v-uni-view",{staticClass:"partner-label-number"},[e._v(e._s(e.userData.relation_count.all||0))])],1),i("v-uni-view",{staticClass:"partner-label",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.$Router.push({name:"userPartner",params:{larer:1}})}}},[i("v-uni-view",{staticClass:"partner-label-name"},[e._v("直接伙伴")]),i("v-uni-view",{staticClass:"partner-label-number"},[e._v(e._s(e.userData.relation_count.one||0))])],1),i("v-uni-view",{staticClass:"partner-label",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.$Router.push({name:"userPartner",params:{larer:2}})}}},[i("v-uni-view",{staticClass:"partner-label-name"},[e._v("间接伙伴")]),i("v-uni-view",{staticClass:"partner-label-number"},[e._v(e._s(e.userData.relation_count.two||0))])],1)],1):e._e()],1),e.userData.is_company?i("v-uni-view",{staticClass:"userPartner"},[i("v-uni-view",{staticClass:"partner-title"},[e._v("企业工具")]),i("v-uni-view",{staticClass:"tool-list"},[i("v-uni-view",{staticClass:"tool-label",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.$Router.push({name:"goodsManagement"})}}},[i("v-uni-image",{staticClass:"tool-label-img",attrs:{src:"/static/user/userTool-00.png",mode:""}}),i("v-uni-view",{staticClass:"tool-label-name"},[e._v("商品权证")])],1),i("v-uni-view",{staticClass:"tool-label",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.$Router.push({name:"couponsManagement"})}}},[i("v-uni-image",{staticClass:"tool-label-img",attrs:{src:"/static/user/userTool-01.png",mode:""}}),i("v-uni-view",{staticClass:"tool-label-name"},[e._v("优惠券管理")])],1),i("v-uni-view",{staticClass:"tool-label",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.$Router.push({name:"instrumentSpread"})}}},[i("v-uni-image",{staticClass:"tool-label-img",attrs:{src:"/static/user/userTool-02.png",mode:""}}),i("v-uni-view",{staticClass:"tool-label-name"},[e._v("营销推广码")])],1),i("v-uni-view",{staticClass:"tool-label",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.$Router.push({name:"instrumentBasics"})}}},[i("v-uni-image",{staticClass:"tool-label-img",attrs:{src:"/static/user/userTool-03.png",mode:""}}),i("v-uni-view",{staticClass:"tool-label-name"},[e._v("基础信息")])],1),i("v-uni-view",{staticClass:"tool-label",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.$Router.push({name:"shopLists"})}}},[i("v-uni-image",{staticClass:"tool-label-img",attrs:{src:"/static/user/userTool-04.png",mode:""}}),i("v-uni-view",{staticClass:"tool-label-name"},[e._v("部门门店")])],1),i("v-uni-view",{staticClass:"tool-label",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.$Router.push({name:"employeesList"})}}},[i("v-uni-image",{staticClass:"tool-label-img",attrs:{src:"/static/user/userTool-05.png",mode:""}}),i("v-uni-view",{staticClass:"tool-label-name"},[e._v("员工管理")])],1)],1)],1):e._e(),i("v-uni-view",{staticClass:"userPartner"},[i("v-uni-view",{staticClass:"partner-title"},[e._v("我的服务")]),i("v-uni-view",{staticClass:"tool-list"},[i("v-uni-view",{staticClass:"tool-label",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.custEject.apply(void 0,arguments)}}},[i("v-uni-image",{staticClass:"tool-label-img",attrs:{src:"/static/user/userServe-00.png",mode:""}}),i("v-uni-view",{staticClass:"tool-label-name"},[e._v("专属客服")])],1),i("v-uni-view",{staticClass:"tool-label",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.$Router.push({name:"userCode"})}}},[i("v-uni-image",{staticClass:"tool-label-img",attrs:{src:"/static/user/userServe-01.png",mode:""}}),i("v-uni-view",{staticClass:"tool-label-name"},[e._v("邀请好友")])],1),i("v-uni-view",{staticClass:"tool-label",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.$Router.push({name:"userHelp"})}}},[i("v-uni-image",{staticClass:"tool-label-img",attrs:{src:"/static/user/userServe-02.png",mode:""}}),i("v-uni-view",{staticClass:"tool-label-name"},[e._v("帮助中心")])],1),i("v-uni-view",{staticClass:"tool-label",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.$Router.push({name:"userClause"})}}},[i("v-uni-image",{staticClass:"tool-label-img",attrs:{src:"/static/user/userServe-03.png",mode:""}}),i("v-uni-view",{staticClass:"tool-label-name"},[e._v("服务条款")])],1)],1)],1)],1)],1)},n=[]},"0aac":function(e,t,i){"use strict";i.r(t);var s=i("0851"),a=i("69b2");for(var n in a)"default"!==n&&function(e){i.d(t,e,(function(){return a[e]}))}(n);i("0799");var r,o=i("f0c5"),l=Object(o["a"])(a["default"],s["b"],s["c"],!1,null,"8fc1995e",null,!1,s["a"],r);t["default"]=l.exports},"69b2":function(e,t,i){"use strict";i.r(t);var s=i("80b6"),a=i.n(s);for(var n in s)"default"!==n&&function(e){i.d(t,e,(function(){return s[e]}))}(n);t["default"]=a.a},"80b6":function(e,t,i){"use strict";var s=i("4ea4");i("a4d3"),i("e01a"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=s(i("5530")),n=i("fbc5"),r={data:function(){return{scroll:0,userData:"",userIdentity:"",helpDoc:"",classStyle:!1,animatedShow:!1,newList:[],newState:!1,newnextShow:!1,newPopIndex:"",customer:{customerShow:!1,customerCode:""}}},onShow:function(){this.scroll=0,this.animatedShow=!0,this.userInfo(),this.customerInfo(),this.newInfo()},onHide:function(){this.animatedShow=!1},methods:{userInfo:function(){var e=this;(0,n.userIndex)().then((function(t){t.account=(0,a.default)({stone:t.stone,stone_value:t.stone_value},t.account),e.userData=t,e.helpDoc=t.help_doc,e.userIdentity=t.identityShow})).catch((function(e){uni.showToast({title:e.message,icon:"none"})}))},newInfo:function(){var e=this;(0,n.userNotice)().then((function(t){e.newList=t})).catch((function(e){uni.showToast({title:e.message,icon:"none"})}))},customerInfo:function(){var e=this;(0,n.userCustomer)().then((function(t){e.customer.customerCode=t.code})).catch((function(e){uni.showToast({title:e.message,icon:"none"})}))},onPageScroll:function(e){e.scrollTop>0&&(this.classStyle=!1),this.scroll=e.scrollTop},move:function(){this.classStyle=!0},custEject:function(){this.customer.customerShow=!this.customer.customerShow},copyCenter:function(e){var t=e;uni.vibrateShort({success:function(){uni.setClipboardData({data:t,success:function(e){uni.showToast({title:"复制成功",icon:"none",duration:3e3})}})}})},showHelp:function(e){var t="能量球",i=this.helpDoc.energy_ball.description;"chip"==e&&(t="能量碎片"),"chip"==e&&(i=this.helpDoc.energy_shard.description),uni.showModal({title:t,content:i,showCancel:!1})},newEject:function(e){this.newPopIndex=e,this.newState=!this.newState,e===this.newList.length-1?this.newnextShow=!0:this.newnextShow=!1},newNext:function(){this.newPopIndex=this.newPopIndex+1,this.newPopIndex===this.newList.length-1?this.newnextShow=!0:this.newnextShow=!1}}};t.default=r},c98f:function(e,t,i){var s=i("24fb");t=s(!1),t.push([e.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/**\n * Web唐明明\n * 匆匆数载恍如梦,岁月迢迢华发增。\n * 碌碌无为枉半生,一朝惊醒万事空。\n */.ios-bottom[data-v-8fc1995e]{padding-bottom:env(safe-area-inset-bottom);padding-bottom:constant(safe-area-inset-bottom)}.ios-left[data-v-8fc1995e]{padding-left:env(safe-area-inset-left);padding-left:constant(safe-area-inset-left)}.ios-right[data-v-8fc1995e]{padding-right:env(safe-area-inset-right);padding-right:constant(safe-area-inset-right)}.ios-top[data-v-8fc1995e]{padding-top:0}.vertical[data-v-8fc1995e]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-pack:center}.nowrap[data-v-8fc1995e]{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ellipsis[data-v-8fc1995e]{max-width:100%;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ellipsis-3[data-v-8fc1995e]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3}.ellipsis-4[data-v-8fc1995e]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4}.ellipsis-5[data-v-8fc1995e]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:5}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.customerBack[data-v-8fc1995e]{position:fixed;width:100%;height:100vh;left:0;top:0;z-index:1001;background:rgba(0,0,0,.5)}.customerCont[data-v-8fc1995e]{position:fixed;padding:%?30?% 0;box-sizing:border-box;background-color:#fff;border-radius:%?20?%;left:21%;right:21%;top:30%;z-index:1002;font-size:12px;text-align:center;color:#555}.customerCont.active[data-v-8fc1995e]{opacity:0}.customerCont .customerCont-code[data-v-8fc1995e]{margin:%?30?% 0 %?30?%;width:%?300?%;height:%?300?%}.customerCont .customerCont-text[data-v-8fc1995e]{width:80%;margin:0 auto}.customerCont .customerClose[data-v-8fc1995e]{width:26px;height:26px;position:absolute;top:110%;left:45%;z-index:1002}.btns[data-v-8fc1995e]{padding:%?30?% 0}.btns .item[data-v-8fc1995e]{background:#fff;margin:%?30?%;border-radius:%?10?%;line-height:%?90?%;text-align:center;font-weight:700}.newBack[data-v-8fc1995e]{position:fixed;width:100%;height:100vh;left:0;top:0;z-index:1001;background:rgba(0,0,0,.5)}.newCont[data-v-8fc1995e]{position:fixed;background-color:#fff;border-radius:%?20?%;left:%?60?%;right:%?60?%;top:30%;z-index:1002;font-size:12px;text-align:center;color:#555}.newCont .newCont-title[data-v-8fc1995e]{padding:%?80?% %?40?% 0;box-sizing:border-box;font-size:%?30?%;margin-bottom:%?30?%;font-weight:600}.newCont .newCont-text[data-v-8fc1995e]{padding:0 %?40?%;box-sizing:border-box;line-height:%?48?%;text-align:justify;height:%?260?%;overflow:hidden;overflow-y:scroll}.newCont .newCont-btn[data-v-8fc1995e]{color:#7e54fe;margin-top:%?30?%;font-size:%?30?%;line-height:%?90?%;border-top:%?2?% solid #eaeaea}.newCont .newCont-close[data-v-8fc1995e]{position:absolute;top:%?20?%;right:%?20?%;width:%?34?%;height:%?34?%}.fileTool[data-v-8fc1995e]{position:fixed;width:100%;left:0;height:0;top:0;background-image:-webkit-linear-gradient(right,#7c52fc,#976dff);background-image:linear-gradient(270deg,#7c52fc,#976dff);-webkit-transition:.5s;transition:.5s;opacity:0;text-align:right;padding-top:0;display:-webkit-box;display:-webkit-flex;display:flex}.fileTool.bigTool[data-v-8fc1995e]{z-index:999;height:%?80?%;opacity:1}.fileTool .user-tool[data-v-8fc1995e]{display:-webkit-box;display:-webkit-flex;display:flex;width:calc(100% - %?100?%)}.fileTool .user-tool .user-tool-name[data-v-8fc1995e]{-webkit-box-flex:1;-webkit-flex:1;flex:1;line-height:%?80?%;text-align:left;color:#fff;font-size:%?28?%}.fileTool .user-tool .user-tool-icon[data-v-8fc1995e]{padding-right:%?30?%;margin-top:%?20?%;width:20px;height:20px}.fileTool .user-portrait[data-v-8fc1995e]{width:%?64?%;height:%?64?%;-webkit-box-flex:1;-webkit-flex:1;flex:1;margin-left:%?30?%;border-radius:50%;position:relative}.fileTool .user-portrait .user-portrait-head[data-v-8fc1995e]{border-radius:50%;position:absolute;left:0;top:%?15?%;width:%?54?%;height:%?54?%}.fileTool .user-portrait .user-portrait-tips[data-v-8fc1995e]{position:absolute;width:100%;height:100%;z-index:1;left:0;top:0}.user-top[data-v-8fc1995e]{background-image:-webkit-linear-gradient(left,#7c52fc,#976dff);background-image:linear-gradient(90deg,#7c52fc,#976dff);position:fixed;width:100%;height:%?420?%;overflow:hidden;-webkit-transition:.5s;transition:.5s}.user-top.bigTop[data-v-8fc1995e]{height:%?420?%}.user-top.refurnTop[data-v-8fc1995e]{height:%?660?%}.user-top .user-tool[data-v-8fc1995e]{text-align:right;position:absolute;padding-top:0;top:%?20?%;margin-bottom:%?20?%;height:%?50?%;height:calc(%?50?% - 0px);right:%?40?%;z-index:1}.user-top .user-tool .user-tool-icon[data-v-8fc1995e]{padding-left:%?30?%;width:20px;height:20px}.user-top .user-back[data-v-8fc1995e]{position:absolute;width:100%;height:100%;left:0;top:0}.user-top .user-info[data-v-8fc1995e]{position:relative;width:100%;height:%?140?%;box-sizing:border-box;padding-left:%?30?%;padding-right:%?30?%;color:#fff;margin-top:%?100?%}.user-top .user-info .user-portrait[data-v-8fc1995e]{width:%?130?%;height:%?130?%;border-radius:50%;position:relative}.user-top .user-info .user-portrait .user-portrait-head[data-v-8fc1995e]{border-radius:50%;border:%?4?% solid #bfaaff;position:absolute;left:%?8?%;top:%?14?%;width:calc(100% - %?16?%);height:calc(100% - %?14?%)}.user-top .user-info .user-portrait .user-portrait-tips[data-v-8fc1995e]{position:absolute;width:100%;height:100%;z-index:1}.user-top .user-info .user-portrait .user-portrait-name[data-v-8fc1995e]{position:absolute;z-index:2;position:absolute;left:50%;bottom:%?-20?%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);background:-webkit-linear-gradient(left,#211d1e,#4b403c);background:linear-gradient(90deg,#211d1e,#4b403c);color:#fff;font-size:12px;border-radius:%?20?%;height:%?30?%;line-height:%?30?%;width:%?64?%;text-align:center}.user-top .user-info .user-portrait .user-portrait-name uni-text[data-v-8fc1995e]{display:block;-webkit-transform:scale(.8);transform:scale(.8);font-weight:700;background-image:-webkit-linear-gradient(top,#dfd6cf,#f7ceba);background-image:linear-gradient(180deg,#dfd6cf,#f7ceba);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.user-top .user-info .user-head[data-v-8fc1995e]{position:absolute;left:0;top:0;width:100%;padding:0 0 0 calc(60px + (%?60?% + %?10?%));box-sizing:border-box}.user-top .user-info .user-head .user-name[data-v-8fc1995e]{display:-webkit-box;display:-webkit-flex;display:flex;margin:%?30?% 0 %?5?%;font-size:%?36?%}.user-top .user-info .user-head .user-name .user-name-identity[data-v-8fc1995e]{width:%?100?%;height:%?36?%;margin:%?4?% 0 0 %?10?%}.user-top .user-info .user-head .user-status[data-v-8fc1995e]{opacity:.7;font-size:%?26?%;display:-webkit-box;display:-webkit-flex;display:flex;line-height:%?46?%}.user-top .user-info .user-head .user-status .user-status-copy[data-v-8fc1995e]{font-size:%?32?%!important;border:%?1?% solid #fff;border-radius:%?60?%;line-height:%?44?%;height:%?46?%;-webkit-transform:scale(.6);transform:scale(.6);padding:0 %?35?%}.user-top .userVip[data-v-8fc1995e]{background-image:-webkit-linear-gradient(left,#4721bd,#885efe,#5d39b9);background-image:linear-gradient(90deg,#4721bd,#885efe,#5d39b9);margin:%?40?% %?40?% 0;height:100%;border-radius:%?30?% %?30?% 0 0;border:%?3?% solid #b197ff;color:#f6e9fa;padding:%?30?%;box-sizing:border-box}.user-top .userVip .userVip-top[data-v-8fc1995e]{display:-webkit-box;display:-webkit-flex;display:flex}.user-top .userVip .userVip-top .userVip-top-name[data-v-8fc1995e]{font-size:%?30?%;-webkit-box-flex:1;-webkit-flex:1;flex:1;line-height:%?48?%}.user-top .userVip .userVip-top .userVip-top-btn[data-v-8fc1995e]{font-size:%?26?%;background-color:#977ae8;border-radius:%?40?%;padding:0 %?20?% 0 %?25?%;height:%?48?%;line-height:%?48?%;display:-webkit-box;display:-webkit-flex;display:flex}.user-top .userVip .userVip-top .userVip-top-btn .userVip-top-arrow[data-v-8fc1995e]{width:%?20?%;height:%?20?%;margin:%?14?% 0 0 %?10?%}.user-top .userVip .userVip-tips[data-v-8fc1995e]{margin-top:%?40?%;font-size:%?28?%}.user-top .userVip .userVip-tips .userVip-tips-title[data-v-8fc1995e]{margin-bottom:%?20?%;font-weight:600}.user-top .userVip .userVip-tips .userVip-tips-text[data-v-8fc1995e]{line-height:%?48?%}.user-top .userVip .userVip-rights[data-v-8fc1995e]{margin-top:%?40?%;border-radius:%?10?%;padding:%?20?% 0;box-sizing:border-box;background-image:-webkit-linear-gradient(top,#dbceff,#bb9fff);background-image:linear-gradient(180deg,#dbceff,#bb9fff);color:#5723af}.user-top .userVip .userVip-rights .userVip-rightst-title[data-v-8fc1995e]{padding:0 %?20?%;box-sizing:border-box;font-size:%?30?%;display:-webkit-box;display:-webkit-flex;display:flex}.user-top .userVip .userVip-rights .userVip-rightst-title .userVip-rightst-title-name[data-v-8fc1995e]{font-weight:600;-webkit-box-flex:1;-webkit-flex:1;flex:1}.user-top .userVip .userVip-rights .userVip-rightst-title .userVip-rightst-more[data-v-8fc1995e]{font-size:%?28?%;display:-webkit-box;display:-webkit-flex;display:flex}.user-top .userVip .userVip-rights .userVip-rightst-title .userVip-rightst-more .userVip-rightst-more-img[data-v-8fc1995e]{width:%?40?%;height:%?40?%}.user-top .userVip .userVip-rights .userVip-rightst-list[data-v-8fc1995e]{margin-top:%?30?%;display:-webkit-box;display:-webkit-flex;display:flex}.user-top .userVip .userVip-rights .userVip-rightst-list .userVip-rightst-label[data-v-8fc1995e]{display:inline-block;width:25%;text-align:center;font-size:%?26?%}.user-top .userVip .userVip-rights .userVip-rightst-list .userVip-rightst-label .userVip-rightst-img[data-v-8fc1995e]{width:%?90?%;height:%?90?%;margin-bottom:%?10?%}.userNew[data-v-8fc1995e]{background-color:#fff;margin-bottom:%?30?%;height:%?90?%;overflow:hidden;border-radius:%?15?%;padding:0 %?30?%;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:flex}.userNew .userNew-banner[data-v-8fc1995e]{width:calc(100% - %?70?%);height:%?90?%;line-height:%?90?%;font-size:%?28?%;color:#5e5e5e}.userNew .userNew-icon[data-v-8fc1995e]{width:%?46?%;height:%?46?%;margin:%?22?% %?20?% 0 0}.userAssets[data-v-8fc1995e]{margin-bottom:%?30?%;background-color:#fff;overflow:hidden;border-radius:%?15?%}.userAssets .userAssets-top[data-v-8fc1995e]{background-color:#fff3dc;color:#654c2d;font-size:%?28?%;padding:%?20?%;box-sizing:border-box;height:%?94?%;position:relative}.userAssets .userAssets-top .withdraw-name[data-v-8fc1995e]{display:-webkit-box;display:-webkit-flex;display:flex;width:calc(100% - %?160?%);line-height:%?54?%}.userAssets .userAssets-top .withdraw-name .withdraw-number[data-v-8fc1995e]{font-size:%?32?%;font-weight:600;padding-left:%?10?%}.userAssets .userAssets-top .withdraw-btn[data-v-8fc1995e]{position:absolute;right:%?20?%;top:%?20?%;background-image:-webkit-linear-gradient(left,#f9c869,#eca824);background-image:linear-gradient(90deg,#f9c869,#eca824);color:#f7eedc;width:%?140?%;text-align:center;line-height:%?54?%;border-radius:%?80?%;font-size:%?26?%}.userAssets .userAssets-show[data-v-8fc1995e]{padding:%?30?%;box-sizing:border-box}.userAssets .userAssets-show .assets-title[data-v-8fc1995e]{position:relative;padding-bottom:%?30?%;margin-bottom:%?40?%;font-weight:600;font-size:%?32?%}.userAssets .userAssets-show .assets-title[data-v-8fc1995e]::after{position:absolute;content:"";left:0;bottom:0;width:100%;height:%?2?%;background-color:#f2f2f2}.userAssets .userAssets-show .assets-list[data-v-8fc1995e]{display:-webkit-box;display:-webkit-flex;display:flex}.userAssets .userAssets-show .assets-list .assets-label[data-v-8fc1995e]{-webkit-box-flex:2;-webkit-flex:2;flex:2;text-align:center}.userAssets .userAssets-show .assets-list .assets-label .assets-label-name[data-v-8fc1995e]{color:#9c9c9c;font-size:%?28?%;position:relative}.userAssets .userAssets-show .assets-list .assets-label .assets-label-name .assets-label-icon[data-v-8fc1995e]{position:absolute;width:%?26?%;height:%?26?%;margin-left:%?6?%}.userAssets .userAssets-show .assets-list .assets-label .assets-label-number[data-v-8fc1995e]{font-size:%?32?%;color:#ee4c47;font-weight:600;margin-top:%?10?%}.userPartner[data-v-8fc1995e]{margin-bottom:%?30?%;background-color:#fff;overflow:hidden;padding:%?30?% 0;box-sizing:border-box;border-radius:%?15?%}.userPartner .partner-title[data-v-8fc1995e]{font-size:%?32?%;position:relative;padding:0 %?30?% %?30?%;margin-bottom:%?30?%;font-weight:600}.userPartner .partner-title[data-v-8fc1995e]::after{position:absolute;content:"";left:0;bottom:0;width:100%;height:%?2?%;background-color:#f2f2f2}.userPartner .partner-list[data-v-8fc1995e]{display:-webkit-box;display:-webkit-flex;display:flex;margin-top:%?40?%}.userPartner .partner-list .partner-label[data-v-8fc1995e]{-webkit-box-flex:2;-webkit-flex:2;flex:2;text-align:center}.userPartner .partner-list .partner-label .partner-label-name[data-v-8fc1995e]{color:#9c9c9c;font-size:%?28?%}.userPartner .partner-list .partner-label .partner-label-number[data-v-8fc1995e]{font-size:%?32?%;font-weight:600;margin-top:%?10?%}.userPartner .partner-title[data-v-8fc1995e]{margin-bottom:0}.userPartner .tool-list .tool-label[data-v-8fc1995e]{display:inline-block;width:25%;text-align:center;font-size:%?28?%;margin:%?40?% 0 %?20?%}.userPartner .tool-list .tool-label .tool-label-img[data-v-8fc1995e]{width:%?44?%;height:%?44?%;margin-bottom:%?10?%}.userPartner .tool-list .tool-label .tool-label-name[data-v-8fc1995e]{color:#5e5e5e}.slide[data-v-8fc1995e]{position:absolute;padding:%?30?% %?30?% %?120?%;box-sizing:border-box;width:100%;z-index:99;left:0;top:200px;background-color:#f8f8f8;-webkit-transition:.5s;transition:.5s}.slide.bigSlide[data-v-8fc1995e]{top:%?660?%}.slide .list[data-v-8fc1995e]{margin:%?40?%;padding:0 %?40?%;border-radius:%?12?%;background-color:#fff}.slide .list .title[data-v-8fc1995e]{padding-top:%?40?%;font-weight:700;font-size:%?32?%}.slide .list .label[data-v-8fc1995e]{height:%?70?%;line-height:%?70?%;padding:%?30?% 0;border-bottom:%?1?% solid #f4f4f4;font-size:%?30?%;display:-webkit-box;display:-webkit-flex;display:flex}.slide .list .label[data-v-8fc1995e]:last-child{border:none}.slide .list .label .label-name[data-v-8fc1995e]{-webkit-box-flex:1;-webkit-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:flex}.slide .list .label .label-icon[data-v-8fc1995e]{width:16px;height:16px;margin:%?16?% %?30?% 0 0}.slide .list .label .label-code[data-v-8fc1995e]{-webkit-box-flex:1;-webkit-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:flex}.slide .list .label .label-code .code[data-v-8fc1995e]{line-height:%?40?%}.slide .list .label .label-code .code uni-text[data-v-8fc1995e]{text-transform:uppercase;display:block;color:#999;font-size:12px}.slide .list .label .label-number[data-v-8fc1995e]{font-size:14px;display:-webkit-box;display:-webkit-flex;display:flex;line-height:%?70?%;color:#009360}.slide .list .label .label-number uni-text[data-v-8fc1995e]{padding:0 %?25?%;height:%?30?%;line-height:%?30?%;margin-top:%?18?%;font-size:12px;border-radius:%?40?%;border:%?2?% solid #009360;display:inline-block}.slide .list .label .label-number .label-more[data-v-8fc1995e]{width:2px;height:2px;margin:%?24?% 0 0 %?25?%}.bigSize[data-v-8fc1995e]{-webkit-animation:big-data-v-8fc1995e .5s 1 alternate linear forwards;animation:big-data-v-8fc1995e .5s 1 alternate linear forwards}.refurnSize[data-v-8fc1995e]{-webkit-transform:scale(1.5);transform:scale(1.5);-webkit-animation:refurn-data-v-8fc1995e .5s 1 alternate linear forwards;animation:refurn-data-v-8fc1995e .5s 1 alternate linear forwards}@-webkit-keyframes big-data-v-8fc1995e{100%{top:%?10?%;-webkit-transform:scale(1.5);transform:scale(1.5)}}@keyframes big-data-v-8fc1995e{100%{top:%?10?%;-webkit-transform:scale(1.5);transform:scale(1.5)}}@-webkit-keyframes refurn-data-v-8fc1995e{100%{top:0;-webkit-transform:scale(1);transform:scale(1)}}@keyframes refurn-data-v-8fc1995e{100%{top:0;-webkit-transform:scale(1);transform:scale(1)}}.animated[data-v-8fc1995e]{-webkit-animation-duration:1s;animation-duration:1s;\n /*动画时间*/-webkit-animation-fill-mode:both;animation-fill-mode:both;\n /*播放后的状态*/-webkit-animation-name:container-data-v-8fc1995e;animation-name:container-data-v-8fc1995e\n /*动画的名称*/}@-webkit-keyframes container-data-v-8fc1995e{0%,\n 100%,\n 20%,\n 50%,\n 80%{-webkit-transition-timing-function:cubic-bezier(.215,.61,.355,1);transition-timing-function:cubic-bezier(.215,.61,.355,1);\n /*贝塞尔曲线 : X1 Y1 X2 Y2*/-webkit-transform:translateZ(0);transform:translateZ(0)\n /*设置只在Z轴上移动*/}40%,\n 43%{-webkit-transition-timing-function:cubic-bezier(.755,.5,.855,.06);transition-timing-function:cubic-bezier(.755,.5,.855,.06);-webkit-transform:translate3d(0,%?-30?%,0);transform:translate3d(0,%?-30?%,0)}70%{-webkit-transition-timing-function:cubic-bezier(.755,.05,.855,.06);transition-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,%?-15?%,0);transform:translate3d(0,%?-15?%,0)}90%{-webkit-transform:translate3d(0,%?-4?%,0);transform:translate3d(0,%?-4?%,0)}}@keyframes container-data-v-8fc1995e{0%,\n 100%,\n 20%,\n 50%,\n 80%{-webkit-transition-timing-function:cubic-bezier(.215,.61,.355,1);transition-timing-function:cubic-bezier(.215,.61,.355,1);\n /*贝塞尔曲线 : X1 Y1 X2 Y2*/-webkit-transform:translateZ(0);transform:translateZ(0)\n /*设置只在Z轴上移动*/}40%,\n 43%{-webkit-transition-timing-function:cubic-bezier(.755,.5,.855,.06);transition-timing-function:cubic-bezier(.755,.5,.855,.06);-webkit-transform:translate3d(0,%?-30?%,0);transform:translate3d(0,%?-30?%,0)}70%{-webkit-transition-timing-function:cubic-bezier(.755,.05,.855,.06);transition-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,%?-15?%,0);transform:translate3d(0,%?-15?%,0)}90%{-webkit-transform:translate3d(0,%?-4?%,0);transform:translate3d(0,%?-4?%,0)}}',""]),e.exports=t},e348:function(e,t,i){var s=i("c98f");"string"===typeof s&&(s=[[e.i,s,""]]),s.locals&&(e.exports=s.locals);var a=i("4f06").default;a("3bbf87d2",s,!0,{sourceMap:!1,shadowMode:!1})},fbc5:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.userPartne=t.userInvite=t.userClause=t.userHelp=t.userCustomer=t.userNotice=t.userIndex=void 0;var s=i("89d9"),a=function(){return(0,s.request)({url:"user/web"})};t.userIndex=a;var n=function(){return(0,s.request)({url:"articles/notice"})};t.userNotice=n;var r=function(){return(0,s.request)({url:"user/services"})};t.userCustomer=r;var o=function(){return(0,s.request)({url:"articles/helps"})};t.userHelp=o;var l=function(){return(0,s.request)({url:"articles/service"})};t.userClause=l;var c=function(){return(0,s.request)({url:"user/invite"})};t.userInvite=c;var u=function(e){return(0,s.request)({url:"user/relations",data:e})};t.userPartne=u}}]); \ No newline at end of file diff --git a/unpackage/dist/build/h5/static/js/pages-user-index.aa7b9028.js b/unpackage/dist/build/h5/static/js/pages-user-index.aa7b9028.js deleted file mode 100644 index 189d3ea..0000000 --- a/unpackage/dist/build/h5/static/js/pages-user-index.aa7b9028.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-user-index"],{"0aac":function(t,e,i){"use strict";i.r(e);var s=i("814f"),a=i("69b2");for(var n in a)"default"!==n&&function(t){i.d(e,t,(function(){return a[t]}))}(n);i("b104");var r,o=i("f0c5"),l=Object(o["a"])(a["default"],s["b"],s["c"],!1,null,"b4dff85c",null,!1,s["a"],r);e["default"]=l.exports},"58fc":function(t,e,i){var s=i("a5af");"string"===typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);var a=i("4f06").default;a("4db69422",s,!0,{sourceMap:!1,shadowMode:!1})},"69b2":function(t,e,i){"use strict";i.r(e);var s=i("80b6"),a=i.n(s);for(var n in s)"default"!==n&&function(t){i.d(e,t,(function(){return s[t]}))}(n);e["default"]=a.a},"80b6":function(t,e,i){"use strict";i("a4d3"),i("e01a"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var s=i("fbc5"),a={data:function(){return{scroll:0,userData:"",userIdentity:"",helpDoc:"",classStyle:!1,animatedShow:!1,newList:[],newState:!1,newnextShow:!1,newPopIndex:"",customer:{customerShow:!1,customerCode:""}}},onShow:function(){this.scroll=0,this.animatedShow=!0,this.userInfo(),this.customerInfo(),this.newInfo()},onHide:function(){this.animatedShow=!1},methods:{userInfo:function(){var t=this;(0,s.userIndex)().then((function(e){t.userData=e,t.helpDoc=e.help_doc,t.userIdentity=e.identityShow})).catch((function(t){uni.showToast({title:t.message,icon:"none"})}))},newInfo:function(){var t=this;(0,s.userNotice)().then((function(e){t.newList=e})).catch((function(t){uni.showToast({title:t.message,icon:"none"})}))},customerInfo:function(){var t=this;(0,s.userCustomer)().then((function(e){t.customer.customerCode=e.code})).catch((function(t){uni.showToast({title:t.message,icon:"none"})}))},onPageScroll:function(t){t.scrollTop>0&&(this.classStyle=!1),this.scroll=t.scrollTop},move:function(){this.classStyle=!0},custEject:function(){this.customer.customerShow=!this.customer.customerShow},copyCenter:function(t){var e=t;uni.vibrateShort({success:function(){uni.setClipboardData({data:e,success:function(t){uni.showToast({title:"复制成功",icon:"none",duration:3e3})}})}})},showHelp:function(t){var e="能量球",i=this.helpDoc.energy_ball.description;"chip"==t&&(e="能量碎片"),"chip"==t&&(i=this.helpDoc.energy_shard.description),uni.showModal({title:e,content:i,showCancel:!1})},newEject:function(t){this.newPopIndex=t,this.newState=!this.newState,t===this.newList.length-1?this.newnextShow=!0:this.newnextShow=!1},newNext:function(){this.newPopIndex=this.newPopIndex+1,this.newPopIndex===this.newList.length-1?this.newnextShow=!0:this.newnextShow=!1}}};e.default=a},"814f":function(t,e,i){"use strict";var s;i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){return s}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[t.customer.customerShow?i("v-uni-view",{staticClass:"customerBack"}):t._e(),t.customer.customerShow?i("v-uni-view",{staticClass:"customerCont"},[i("v-uni-image",{staticClass:"customerCont-code",attrs:{src:t.customer.customerCode,mode:"aspectFill"}}),i("v-uni-view",{staticClass:"customerCont-text"},[t._v("扫描上方微信二维码,添加您的专属VIP客服")]),i("v-uni-image",{staticClass:"customerClose",attrs:{src:"/static/user/user-customer-close.png",mode:"aspectFill"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.custEject.apply(void 0,arguments)}}})],1):t._e(),t.newState?i("v-uni-view",{staticClass:"newBack"}):t._e(),t.newState?i("v-uni-view",{staticClass:"newCont"},[i("v-uni-view",{staticClass:"newCont-title"},[t._v(t._s(t.newList[t.newPopIndex].title))]),i("v-uni-view",{staticClass:"newCont-text"},[i("v-uni-rich-text",{attrs:{nodes:t.newList[t.newPopIndex].content}})],1),t.newnextShow?t._e():i("v-uni-view",{staticClass:"newCont-btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.newNext()}}},[t._v("下一条")]),i("v-uni-image",{staticClass:"newCont-close",attrs:{src:"/static/user/order-cancelPay.png",mode:"aspectFill"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.newEject()}}})],1):t._e(),i("v-uni-view",{staticClass:"fileTool",class:{bigTool:t.scroll>200}},[i("v-uni-view",{staticClass:"user-portrait"},[i("v-uni-image",{staticClass:"user-portrait-head",attrs:{src:t.userData.avatar?t.userData.avatar:"/static/user/user-portrait.png",mode:"aspectFill"}})],1),i("v-uni-view",{staticClass:"user-tool"},[i("v-uni-view",{staticClass:"user-tool-name"},[t._v(t._s(t.userData.nickname))]),i("v-uni-image",{staticClass:"user-tool-icon",attrs:{src:"/static/user/user-top-00.png",mode:"aspectFill"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$Router.push({name:"setting"})}}}),i("v-uni-image",{staticClass:"user-tool-icon",attrs:{src:"/static/user/user-top-01.png",mode:"aspectFill"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$Router.push({name:"news"})}}})],1)],1),i("v-uni-view",{staticClass:"user-top",class:[t.scroll>0?"bigTop":"refurnTop"]},[i("v-uni-view",{staticClass:"user-tool"},[i("v-uni-image",{staticClass:"user-tool-icon",attrs:{src:"/static/user/user-top-00.png",mode:"aspectFill"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$Router.push({name:"setting"})}}}),i("v-uni-image",{staticClass:"user-tool-icon",attrs:{src:"/static/user/user-top-01.png",mode:"aspectFill"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$Router.push({name:"news"})}}})],1),i("v-uni-view",{staticClass:"user-info"},[i("v-uni-view",{staticClass:"user-portrait"},[i("v-uni-image",{staticClass:"user-portrait-head",attrs:{src:t.userData.avatar?t.userData.avatar:"/static/user/user-portrait.png",mode:"aspectFill"}})],1),i("v-uni-view",{staticClass:"user-head"},[i("v-uni-view",{staticClass:"user-name"},[t._v(t._s(t.userData.nickname)),t.userData.identity?i("v-uni-image",{staticClass:"user-name-identity",attrs:{src:t.userData.identity.cover}}):t._e()],1),i("v-uni-view",{staticClass:"user-status"},[t._v("邀请码:"+t._s(t.userData.invite)),i("v-uni-view",{staticClass:"user-status-copy",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.copyCenter(t.userData.invite)}}},[i("v-uni-text",[t._v("复制")])],1)],1)],1)],1),i("v-uni-view",{staticClass:"userVip",class:{animated:t.animatedShow}},[i("v-uni-view",{staticClass:"userVip-top"},[t.userIdentity.right?i("v-uni-view",{staticClass:"userVip-top-name"},[t._v("开通"+t._s(t.userIdentity.right.name)+"。")]):t._e(),t.userIdentity.is_top?i("v-uni-view",{staticClass:"userVip-top-btn"},[t._v("终身有效")]):i("v-uni-view",{staticClass:"userVip-top-btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$Router.push({name:"vipIndex"})}}},[t._v("去开通"),i("v-uni-image",{staticClass:"userVip-top-arrow",attrs:{src:"/static/user/userVip_arrow.png"}})],1)],1),i("v-uni-view",{staticClass:"userVip-rights"},[i("v-uni-view",{staticClass:"userVip-rightst-title"},[i("v-uni-view",{staticClass:"userVip-rightst-title-name"},[t._v("查看会员专属权益")]),i("v-uni-view",{staticClass:"userVip-rightst-more",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$Router.push({name:"vipIndex"})}}},[t._v("全部更多"),i("v-uni-image",{staticClass:"userVip-rightst-more-img",attrs:{src:"/static/user/userVip_more_arrow.png"}})],1)],1),t.userIdentity.right?i("v-uni-view",{staticClass:"userVip-rightst-list"},[t._l(t.userIdentity.right.rights,(function(e,s){return i("v-uni-view",{key:s,staticClass:"userVip-rightst-label"},[s<=3?[i("v-uni-image",{staticClass:"userVip-rightst-img",attrs:{src:e.cover}}),i("v-uni-view",{staticClass:"nowrap userVip-rightst-name"},[t._v(t._s(e.name))])]:t._e()],2)})),i("v-uni-view",{staticClass:"userVip-rightst-label"},[i("v-uni-image",{staticClass:"userVip-rightst-img",attrs:{src:"/static/user/userRightst_icon_more.png"}}),i("v-uni-view",{staticClass:"nowrap userVip-rightst-name"},[t._v("敬请期待")])],1)],2):t._e()],1)],1)],1),i("v-uni-view",{staticClass:"slide",class:{bigSlide:t.classStyle},on:{touchmove:function(e){arguments[0]=e=t.$handleEvent(e),t.move.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"userNew"},[i("v-uni-image",{staticClass:"userNew-icon",attrs:{src:"/static/user/userNew_icon.png"}}),i("v-uni-swiper",{staticClass:"userNew-banner",attrs:{"disable-touch":!0,circular:!0,autoplay:!0,interval:"3000",vertical:!0}},t._l(t.newList,(function(e,s){return i("v-uni-swiper-item",{key:s,staticClass:"ellipsis",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.newEject(s)}}},[t._v(t._s(e.title))])})),1)],1),i("v-uni-view",{staticClass:"userAssets"},[i("v-uni-view",{staticClass:"userAssets-top"},[i("v-uni-view",{staticClass:"withdraw-name"},[t._v("当前能量球价值"),i("v-uni-view",{staticClass:"withdraw-number"},[t._v("¥0.00")])],1),i("v-uni-view",{staticClass:"withdraw-btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$Router.push({name:"Extract"})}}},[t._v("去提现")])],1),i("v-uni-view",{staticClass:"userAssets-show"},[i("v-uni-view",{staticClass:"assets-title"},[t._v("我的资产")]),t.userData.account?i("v-uni-view",{staticClass:"assets-list"},[i("v-uni-view",{staticClass:"assets-label",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$Router.push({name:"walletProperty"})}}},[i("v-uni-view",{staticClass:"assets-label-name"},[t._v("能量球钱包"),i("v-uni-image",{staticClass:"assets-label-icon",attrs:{src:"/static/user/userAssets_tips.png"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.showHelp("wallet")}}})],1),i("v-uni-view",{staticClass:"assets-label-number"},[t._v(t._s(t.userData.account.coins||0))])],1),i("v-uni-view",{staticClass:"assets-label",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$Router.push({name:"Fragment"})}}},[i("v-uni-view",{staticClass:"assets-label-name"},[t._v("能量碎片"),i("v-uni-image",{staticClass:"assets-label-icon",attrs:{src:"/static/user/userAssets_tips.png"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.showHelp("chip")}}})],1),i("v-uni-view",{staticClass:"assets-label-number"},[t._v(t._s(t.userData.account.score||0))])],1)],1):t._e()],1)],1),i("v-uni-view",{staticClass:"userPartner"},[i("v-uni-view",{staticClass:"partner-title"},[t._v("我的伙伴")]),t.userData.relation_count?i("v-uni-view",{staticClass:"partner-list"},[i("v-uni-view",{staticClass:"partner-label",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$Router.push({name:"userPartner",params:{larer:""}})}}},[i("v-uni-view",{staticClass:"partner-label-name"},[t._v("伙伴总数")]),i("v-uni-view",{staticClass:"partner-label-number"},[t._v(t._s(t.userData.relation_count.all||0))])],1),i("v-uni-view",{staticClass:"partner-label",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$Router.push({name:"userPartner",params:{larer:1}})}}},[i("v-uni-view",{staticClass:"partner-label-name"},[t._v("直接伙伴")]),i("v-uni-view",{staticClass:"partner-label-number"},[t._v(t._s(t.userData.relation_count.one||0))])],1),i("v-uni-view",{staticClass:"partner-label",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$Router.push({name:"userPartner",params:{larer:2}})}}},[i("v-uni-view",{staticClass:"partner-label-name"},[t._v("间接伙伴")]),i("v-uni-view",{staticClass:"partner-label-number"},[t._v(t._s(t.userData.relation_count.two||0))])],1)],1):t._e()],1),t.userData.is_company?i("v-uni-view",{staticClass:"userPartner"},[i("v-uni-view",{staticClass:"partner-title"},[t._v("企业工具")]),i("v-uni-view",{staticClass:"tool-list"},[i("v-uni-view",{staticClass:"tool-label",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$Router.push({name:"goodsManagement"})}}},[i("v-uni-image",{staticClass:"tool-label-img",attrs:{src:"/static/user/userTool-00.png",mode:""}}),i("v-uni-view",{staticClass:"tool-label-name"},[t._v("商品权证")])],1),i("v-uni-view",{staticClass:"tool-label",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$Router.push({name:"couponsManagement"})}}},[i("v-uni-image",{staticClass:"tool-label-img",attrs:{src:"/static/user/userTool-01.png",mode:""}}),i("v-uni-view",{staticClass:"tool-label-name"},[t._v("优惠券管理")])],1),i("v-uni-view",{staticClass:"tool-label",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$Router.push({name:"instrumentSpread"})}}},[i("v-uni-image",{staticClass:"tool-label-img",attrs:{src:"/static/user/userTool-02.png",mode:""}}),i("v-uni-view",{staticClass:"tool-label-name"},[t._v("营销推广码")])],1),i("v-uni-view",{staticClass:"tool-label",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$Router.push({name:"instrumentBasics"})}}},[i("v-uni-image",{staticClass:"tool-label-img",attrs:{src:"/static/user/userTool-03.png",mode:""}}),i("v-uni-view",{staticClass:"tool-label-name"},[t._v("基础信息")])],1),i("v-uni-view",{staticClass:"tool-label",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$Router.push({name:"shopLists"})}}},[i("v-uni-image",{staticClass:"tool-label-img",attrs:{src:"/static/user/userTool-04.png",mode:""}}),i("v-uni-view",{staticClass:"tool-label-name"},[t._v("部门门店")])],1),i("v-uni-view",{staticClass:"tool-label",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$Router.push({name:"employeesList"})}}},[i("v-uni-image",{staticClass:"tool-label-img",attrs:{src:"/static/user/userTool-05.png",mode:""}}),i("v-uni-view",{staticClass:"tool-label-name"},[t._v("员工管理")])],1)],1)],1):t._e(),i("v-uni-view",{staticClass:"userPartner"},[i("v-uni-view",{staticClass:"partner-title"},[t._v("我的服务")]),i("v-uni-view",{staticClass:"tool-list"},[i("v-uni-view",{staticClass:"tool-label",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.custEject.apply(void 0,arguments)}}},[i("v-uni-image",{staticClass:"tool-label-img",attrs:{src:"/static/user/userServe-00.png",mode:""}}),i("v-uni-view",{staticClass:"tool-label-name"},[t._v("专属客服")])],1),i("v-uni-view",{staticClass:"tool-label",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$Router.push({name:"userCode"})}}},[i("v-uni-image",{staticClass:"tool-label-img",attrs:{src:"/static/user/userServe-01.png",mode:""}}),i("v-uni-view",{staticClass:"tool-label-name"},[t._v("邀请好友")])],1),i("v-uni-view",{staticClass:"tool-label",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$Router.push({name:"userHelp"})}}},[i("v-uni-image",{staticClass:"tool-label-img",attrs:{src:"/static/user/userServe-02.png",mode:""}}),i("v-uni-view",{staticClass:"tool-label-name"},[t._v("帮助中心")])],1),i("v-uni-view",{staticClass:"tool-label",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$Router.push({name:"userClause"})}}},[i("v-uni-image",{staticClass:"tool-label-img",attrs:{src:"/static/user/userServe-03.png",mode:""}}),i("v-uni-view",{staticClass:"tool-label-name"},[t._v("服务条款")])],1)],1)],1)],1)],1)},n=[]},a5af:function(t,e,i){var s=i("24fb");e=s(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/**\n * Web唐明明\n * 匆匆数载恍如梦,岁月迢迢华发增。\n * 碌碌无为枉半生,一朝惊醒万事空。\n */.ios-bottom[data-v-b4dff85c]{padding-bottom:env(safe-area-inset-bottom);padding-bottom:constant(safe-area-inset-bottom)}.ios-left[data-v-b4dff85c]{padding-left:env(safe-area-inset-left);padding-left:constant(safe-area-inset-left)}.ios-right[data-v-b4dff85c]{padding-right:env(safe-area-inset-right);padding-right:constant(safe-area-inset-right)}.ios-top[data-v-b4dff85c]{padding-top:0}.vertical[data-v-b4dff85c]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-pack:center}.nowrap[data-v-b4dff85c]{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ellipsis[data-v-b4dff85c]{max-width:100%;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ellipsis-3[data-v-b4dff85c]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3}.ellipsis-4[data-v-b4dff85c]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4}.ellipsis-5[data-v-b4dff85c]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:5}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.customerBack[data-v-b4dff85c]{position:fixed;width:100%;height:100vh;left:0;top:0;z-index:1001;background:rgba(0,0,0,.5)}.customerCont[data-v-b4dff85c]{position:fixed;padding:%?30?% 0;box-sizing:border-box;background-color:#fff;border-radius:%?20?%;left:21%;right:21%;top:30%;z-index:1002;font-size:12px;text-align:center;color:#555}.customerCont.active[data-v-b4dff85c]{opacity:0}.customerCont .customerCont-code[data-v-b4dff85c]{margin:%?30?% 0 %?30?%;width:%?300?%;height:%?300?%}.customerCont .customerCont-text[data-v-b4dff85c]{width:80%;margin:0 auto}.customerCont .customerClose[data-v-b4dff85c]{width:26px;height:26px;position:absolute;top:110%;left:45%;z-index:1002}.btns[data-v-b4dff85c]{padding:%?30?% 0}.btns .item[data-v-b4dff85c]{background:#fff;margin:%?30?%;border-radius:%?10?%;line-height:%?90?%;text-align:center;font-weight:700}.newBack[data-v-b4dff85c]{position:fixed;width:100%;height:100vh;left:0;top:0;z-index:1001;background:rgba(0,0,0,.5)}.newCont[data-v-b4dff85c]{position:fixed;background-color:#fff;border-radius:%?20?%;left:%?60?%;right:%?60?%;top:30%;z-index:1002;font-size:12px;text-align:center;color:#555}.newCont .newCont-title[data-v-b4dff85c]{padding:%?80?% %?40?% 0;box-sizing:border-box;font-size:%?30?%;margin-bottom:%?30?%;font-weight:600}.newCont .newCont-text[data-v-b4dff85c]{padding:0 %?40?%;box-sizing:border-box;line-height:%?48?%;text-align:justify;height:%?260?%;overflow:hidden;overflow-y:scroll}.newCont .newCont-btn[data-v-b4dff85c]{color:#7e54fe;margin-top:%?30?%;font-size:%?30?%;line-height:%?90?%;border-top:%?2?% solid #eaeaea}.newCont .newCont-close[data-v-b4dff85c]{position:absolute;top:%?20?%;right:%?20?%;width:%?34?%;height:%?34?%}.fileTool[data-v-b4dff85c]{position:fixed;width:100%;left:0;height:0;top:0;background-image:-webkit-linear-gradient(right,#7c52fc,#976dff);background-image:linear-gradient(270deg,#7c52fc,#976dff);-webkit-transition:.5s;transition:.5s;opacity:0;text-align:right;padding-top:0;display:-webkit-box;display:-webkit-flex;display:flex}.fileTool.bigTool[data-v-b4dff85c]{z-index:999;height:%?80?%;opacity:1}.fileTool .user-tool[data-v-b4dff85c]{display:-webkit-box;display:-webkit-flex;display:flex;width:calc(100% - %?100?%)}.fileTool .user-tool .user-tool-name[data-v-b4dff85c]{-webkit-box-flex:1;-webkit-flex:1;flex:1;line-height:%?80?%;text-align:left;color:#fff;font-size:%?28?%}.fileTool .user-tool .user-tool-icon[data-v-b4dff85c]{padding-right:%?30?%;margin-top:%?20?%;width:20px;height:20px}.fileTool .user-portrait[data-v-b4dff85c]{width:%?64?%;height:%?64?%;-webkit-box-flex:1;-webkit-flex:1;flex:1;margin-left:%?30?%;border-radius:50%;position:relative}.fileTool .user-portrait .user-portrait-head[data-v-b4dff85c]{border-radius:50%;position:absolute;left:0;top:%?15?%;width:%?54?%;height:%?54?%}.fileTool .user-portrait .user-portrait-tips[data-v-b4dff85c]{position:absolute;width:100%;height:100%;z-index:1;left:0;top:0}.user-top[data-v-b4dff85c]{background-image:-webkit-linear-gradient(left,#7c52fc,#976dff);background-image:linear-gradient(90deg,#7c52fc,#976dff);position:fixed;width:100%;height:%?420?%;overflow:hidden;-webkit-transition:.5s;transition:.5s}.user-top.bigTop[data-v-b4dff85c]{height:%?420?%}.user-top.refurnTop[data-v-b4dff85c]{height:%?660?%}.user-top .user-tool[data-v-b4dff85c]{text-align:right;position:absolute;padding-top:0;top:%?20?%;margin-bottom:%?20?%;height:%?50?%;height:calc(%?50?% - 0px);right:%?40?%;z-index:1}.user-top .user-tool .user-tool-icon[data-v-b4dff85c]{padding-left:%?30?%;width:20px;height:20px}.user-top .user-back[data-v-b4dff85c]{position:absolute;width:100%;height:100%;left:0;top:0}.user-top .user-info[data-v-b4dff85c]{position:relative;width:100%;height:%?140?%;box-sizing:border-box;padding-left:%?30?%;padding-right:%?30?%;color:#fff;margin-top:%?100?%}.user-top .user-info .user-portrait[data-v-b4dff85c]{width:%?130?%;height:%?130?%;border-radius:50%;position:relative}.user-top .user-info .user-portrait .user-portrait-head[data-v-b4dff85c]{border-radius:50%;border:%?4?% solid #bfaaff;position:absolute;left:%?8?%;top:%?14?%;width:calc(100% - %?16?%);height:calc(100% - %?14?%)}.user-top .user-info .user-portrait .user-portrait-tips[data-v-b4dff85c]{position:absolute;width:100%;height:100%;z-index:1}.user-top .user-info .user-portrait .user-portrait-name[data-v-b4dff85c]{position:absolute;z-index:2;position:absolute;left:50%;bottom:%?-20?%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);background:-webkit-linear-gradient(left,#211d1e,#4b403c);background:linear-gradient(90deg,#211d1e,#4b403c);color:#fff;font-size:12px;border-radius:%?20?%;height:%?30?%;line-height:%?30?%;width:%?64?%;text-align:center}.user-top .user-info .user-portrait .user-portrait-name uni-text[data-v-b4dff85c]{display:block;-webkit-transform:scale(.8);transform:scale(.8);font-weight:700;background-image:-webkit-linear-gradient(top,#dfd6cf,#f7ceba);background-image:linear-gradient(180deg,#dfd6cf,#f7ceba);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.user-top .user-info .user-head[data-v-b4dff85c]{position:absolute;left:0;top:0;width:100%;padding:0 0 0 calc(60px + (%?60?% + %?10?%));box-sizing:border-box}.user-top .user-info .user-head .user-name[data-v-b4dff85c]{display:-webkit-box;display:-webkit-flex;display:flex;margin:%?30?% 0 %?5?%;font-size:%?36?%}.user-top .user-info .user-head .user-name .user-name-identity[data-v-b4dff85c]{width:%?100?%;height:%?36?%;margin:%?4?% 0 0 %?10?%}.user-top .user-info .user-head .user-status[data-v-b4dff85c]{opacity:.7;font-size:%?26?%;display:-webkit-box;display:-webkit-flex;display:flex;line-height:%?46?%}.user-top .user-info .user-head .user-status .user-status-copy[data-v-b4dff85c]{font-size:%?32?%!important;border:%?1?% solid #fff;border-radius:%?60?%;line-height:%?44?%;height:%?46?%;-webkit-transform:scale(.6);transform:scale(.6);padding:0 %?35?%}.user-top .userVip[data-v-b4dff85c]{background-image:-webkit-linear-gradient(left,#4721bd,#885efe,#5d39b9);background-image:linear-gradient(90deg,#4721bd,#885efe,#5d39b9);margin:%?40?% %?40?% 0;height:100%;border-radius:%?30?% %?30?% 0 0;border:%?3?% solid #b197ff;color:#f6e9fa;padding:%?30?%;box-sizing:border-box}.user-top .userVip .userVip-top[data-v-b4dff85c]{display:-webkit-box;display:-webkit-flex;display:flex}.user-top .userVip .userVip-top .userVip-top-name[data-v-b4dff85c]{font-size:%?30?%;-webkit-box-flex:1;-webkit-flex:1;flex:1;line-height:%?48?%}.user-top .userVip .userVip-top .userVip-top-btn[data-v-b4dff85c]{font-size:%?26?%;background-color:#977ae8;border-radius:%?40?%;padding:0 %?20?% 0 %?25?%;height:%?48?%;line-height:%?48?%;display:-webkit-box;display:-webkit-flex;display:flex}.user-top .userVip .userVip-top .userVip-top-btn .userVip-top-arrow[data-v-b4dff85c]{width:%?20?%;height:%?20?%;margin:%?14?% 0 0 %?10?%}.user-top .userVip .userVip-tips[data-v-b4dff85c]{margin-top:%?40?%;font-size:%?28?%}.user-top .userVip .userVip-tips .userVip-tips-title[data-v-b4dff85c]{margin-bottom:%?20?%;font-weight:600}.user-top .userVip .userVip-tips .userVip-tips-text[data-v-b4dff85c]{line-height:%?48?%}.user-top .userVip .userVip-rights[data-v-b4dff85c]{margin-top:%?40?%;border-radius:%?10?%;padding:%?20?% 0;box-sizing:border-box;background-image:-webkit-linear-gradient(top,#dbceff,#bb9fff);background-image:linear-gradient(180deg,#dbceff,#bb9fff);color:#5723af}.user-top .userVip .userVip-rights .userVip-rightst-title[data-v-b4dff85c]{padding:0 %?20?%;box-sizing:border-box;font-size:%?30?%;display:-webkit-box;display:-webkit-flex;display:flex}.user-top .userVip .userVip-rights .userVip-rightst-title .userVip-rightst-title-name[data-v-b4dff85c]{font-weight:600;-webkit-box-flex:1;-webkit-flex:1;flex:1}.user-top .userVip .userVip-rights .userVip-rightst-title .userVip-rightst-more[data-v-b4dff85c]{font-size:%?28?%;display:-webkit-box;display:-webkit-flex;display:flex}.user-top .userVip .userVip-rights .userVip-rightst-title .userVip-rightst-more .userVip-rightst-more-img[data-v-b4dff85c]{width:%?40?%;height:%?40?%}.user-top .userVip .userVip-rights .userVip-rightst-list[data-v-b4dff85c]{margin-top:%?30?%;display:-webkit-box;display:-webkit-flex;display:flex}.user-top .userVip .userVip-rights .userVip-rightst-list .userVip-rightst-label[data-v-b4dff85c]{display:inline-block;width:25%;text-align:center;font-size:%?26?%}.user-top .userVip .userVip-rights .userVip-rightst-list .userVip-rightst-label .userVip-rightst-img[data-v-b4dff85c]{width:%?90?%;height:%?90?%;margin-bottom:%?10?%}.userNew[data-v-b4dff85c]{background-color:#fff;margin-bottom:%?30?%;height:%?90?%;overflow:hidden;border-radius:%?15?%;padding:0 %?30?%;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:flex}.userNew .userNew-banner[data-v-b4dff85c]{width:calc(100% - %?70?%);height:%?90?%;line-height:%?90?%;font-size:%?28?%;color:#5e5e5e}.userNew .userNew-icon[data-v-b4dff85c]{width:%?46?%;height:%?46?%;margin:%?22?% %?20?% 0 0}.userAssets[data-v-b4dff85c]{margin-bottom:%?30?%;background-color:#fff;overflow:hidden;border-radius:%?15?%}.userAssets .userAssets-top[data-v-b4dff85c]{background-color:#fff3dc;color:#654c2d;font-size:%?28?%;padding:%?20?%;box-sizing:border-box;height:%?94?%;position:relative}.userAssets .userAssets-top .withdraw-name[data-v-b4dff85c]{display:-webkit-box;display:-webkit-flex;display:flex;width:calc(100% - %?160?%);line-height:%?54?%}.userAssets .userAssets-top .withdraw-name .withdraw-number[data-v-b4dff85c]{font-size:%?32?%;font-weight:600;padding-left:%?10?%}.userAssets .userAssets-top .withdraw-btn[data-v-b4dff85c]{position:absolute;right:%?20?%;top:%?20?%;background-image:-webkit-linear-gradient(left,#f9c869,#eca824);background-image:linear-gradient(90deg,#f9c869,#eca824);color:#f7eedc;width:%?140?%;text-align:center;line-height:%?54?%;border-radius:%?80?%;font-size:%?26?%}.userAssets .userAssets-show[data-v-b4dff85c]{padding:%?30?%;box-sizing:border-box}.userAssets .userAssets-show .assets-title[data-v-b4dff85c]{position:relative;padding-bottom:%?30?%;margin-bottom:%?40?%;font-weight:600;font-size:%?32?%}.userAssets .userAssets-show .assets-title[data-v-b4dff85c]::after{position:absolute;content:"";left:0;bottom:0;width:100%;height:%?2?%;background-color:#f2f2f2}.userAssets .userAssets-show .assets-list[data-v-b4dff85c]{display:-webkit-box;display:-webkit-flex;display:flex}.userAssets .userAssets-show .assets-list .assets-label[data-v-b4dff85c]{-webkit-box-flex:2;-webkit-flex:2;flex:2;text-align:center}.userAssets .userAssets-show .assets-list .assets-label .assets-label-name[data-v-b4dff85c]{color:#9c9c9c;font-size:%?28?%;position:relative}.userAssets .userAssets-show .assets-list .assets-label .assets-label-name .assets-label-icon[data-v-b4dff85c]{position:absolute;width:%?26?%;height:%?26?%;margin-left:%?6?%}.userAssets .userAssets-show .assets-list .assets-label .assets-label-number[data-v-b4dff85c]{font-size:%?32?%;color:#ee4c47;font-weight:600;margin-top:%?10?%}.userPartner[data-v-b4dff85c]{margin-bottom:%?30?%;background-color:#fff;overflow:hidden;padding:%?30?% 0;box-sizing:border-box;border-radius:%?15?%}.userPartner .partner-title[data-v-b4dff85c]{font-size:%?32?%;position:relative;padding:0 %?30?% %?30?%;margin-bottom:%?30?%;font-weight:600}.userPartner .partner-title[data-v-b4dff85c]::after{position:absolute;content:"";left:0;bottom:0;width:100%;height:%?2?%;background-color:#f2f2f2}.userPartner .partner-list[data-v-b4dff85c]{display:-webkit-box;display:-webkit-flex;display:flex;margin-top:%?40?%}.userPartner .partner-list .partner-label[data-v-b4dff85c]{-webkit-box-flex:2;-webkit-flex:2;flex:2;text-align:center}.userPartner .partner-list .partner-label .partner-label-name[data-v-b4dff85c]{color:#9c9c9c;font-size:%?28?%}.userPartner .partner-list .partner-label .partner-label-number[data-v-b4dff85c]{font-size:%?32?%;font-weight:600;margin-top:%?10?%}.userPartner .partner-title[data-v-b4dff85c]{margin-bottom:0}.userPartner .tool-list .tool-label[data-v-b4dff85c]{display:inline-block;width:25%;text-align:center;font-size:%?28?%;margin:%?40?% 0 %?20?%}.userPartner .tool-list .tool-label .tool-label-img[data-v-b4dff85c]{width:%?44?%;height:%?44?%;margin-bottom:%?10?%}.userPartner .tool-list .tool-label .tool-label-name[data-v-b4dff85c]{color:#5e5e5e}.slide[data-v-b4dff85c]{position:absolute;padding:%?30?% %?30?% %?120?%;box-sizing:border-box;width:100%;z-index:99;left:0;top:196px;background-color:#f8f8f8;-webkit-transition:.5s;transition:.5s}.slide.bigSlide[data-v-b4dff85c]{top:%?660?%}.slide .list[data-v-b4dff85c]{margin:%?40?%;padding:0 %?40?%;border-radius:%?12?%;background-color:#fff}.slide .list .title[data-v-b4dff85c]{padding-top:%?40?%;font-weight:700;font-size:%?32?%}.slide .list .label[data-v-b4dff85c]{height:%?70?%;line-height:%?70?%;padding:%?30?% 0;border-bottom:%?1?% solid #f4f4f4;font-size:%?30?%;display:-webkit-box;display:-webkit-flex;display:flex}.slide .list .label[data-v-b4dff85c]:last-child{border:none}.slide .list .label .label-name[data-v-b4dff85c]{-webkit-box-flex:1;-webkit-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:flex}.slide .list .label .label-icon[data-v-b4dff85c]{width:16px;height:16px;margin:%?16?% %?30?% 0 0}.slide .list .label .label-code[data-v-b4dff85c]{-webkit-box-flex:1;-webkit-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:flex}.slide .list .label .label-code .code[data-v-b4dff85c]{line-height:%?40?%}.slide .list .label .label-code .code uni-text[data-v-b4dff85c]{text-transform:uppercase;display:block;color:#999;font-size:12px}.slide .list .label .label-number[data-v-b4dff85c]{font-size:14px;display:-webkit-box;display:-webkit-flex;display:flex;line-height:%?70?%;color:#009360}.slide .list .label .label-number uni-text[data-v-b4dff85c]{padding:0 %?25?%;height:%?30?%;line-height:%?30?%;margin-top:%?18?%;font-size:12px;border-radius:%?40?%;border:%?2?% solid #009360;display:inline-block}.slide .list .label .label-number .label-more[data-v-b4dff85c]{width:2px;height:2px;margin:%?24?% 0 0 %?25?%}.bigSize[data-v-b4dff85c]{-webkit-animation:big-data-v-b4dff85c .5s 1 alternate linear forwards;animation:big-data-v-b4dff85c .5s 1 alternate linear forwards}.refurnSize[data-v-b4dff85c]{-webkit-transform:scale(1.5);transform:scale(1.5);-webkit-animation:refurn-data-v-b4dff85c .5s 1 alternate linear forwards;animation:refurn-data-v-b4dff85c .5s 1 alternate linear forwards}@-webkit-keyframes big-data-v-b4dff85c{100%{top:%?10?%;-webkit-transform:scale(1.5);transform:scale(1.5)}}@keyframes big-data-v-b4dff85c{100%{top:%?10?%;-webkit-transform:scale(1.5);transform:scale(1.5)}}@-webkit-keyframes refurn-data-v-b4dff85c{100%{top:0;-webkit-transform:scale(1);transform:scale(1)}}@keyframes refurn-data-v-b4dff85c{100%{top:0;-webkit-transform:scale(1);transform:scale(1)}}.animated[data-v-b4dff85c]{-webkit-animation-duration:1s;animation-duration:1s;\n /*动画时间*/-webkit-animation-fill-mode:both;animation-fill-mode:both;\n /*播放后的状态*/-webkit-animation-name:container-data-v-b4dff85c;animation-name:container-data-v-b4dff85c\n /*动画的名称*/}@-webkit-keyframes container-data-v-b4dff85c{0%,\n 100%,\n 20%,\n 50%,\n 80%{-webkit-transition-timing-function:cubic-bezier(.215,.61,.355,1);transition-timing-function:cubic-bezier(.215,.61,.355,1);\n /*贝塞尔曲线 : X1 Y1 X2 Y2*/-webkit-transform:translateZ(0);transform:translateZ(0)\n /*设置只在Z轴上移动*/}40%,\n 43%{-webkit-transition-timing-function:cubic-bezier(.755,.5,.855,.06);transition-timing-function:cubic-bezier(.755,.5,.855,.06);-webkit-transform:translate3d(0,%?-30?%,0);transform:translate3d(0,%?-30?%,0)}70%{-webkit-transition-timing-function:cubic-bezier(.755,.05,.855,.06);transition-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,%?-15?%,0);transform:translate3d(0,%?-15?%,0)}90%{-webkit-transform:translate3d(0,%?-4?%,0);transform:translate3d(0,%?-4?%,0)}}@keyframes container-data-v-b4dff85c{0%,\n 100%,\n 20%,\n 50%,\n 80%{-webkit-transition-timing-function:cubic-bezier(.215,.61,.355,1);transition-timing-function:cubic-bezier(.215,.61,.355,1);\n /*贝塞尔曲线 : X1 Y1 X2 Y2*/-webkit-transform:translateZ(0);transform:translateZ(0)\n /*设置只在Z轴上移动*/}40%,\n 43%{-webkit-transition-timing-function:cubic-bezier(.755,.5,.855,.06);transition-timing-function:cubic-bezier(.755,.5,.855,.06);-webkit-transform:translate3d(0,%?-30?%,0);transform:translate3d(0,%?-30?%,0)}70%{-webkit-transition-timing-function:cubic-bezier(.755,.05,.855,.06);transition-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,%?-15?%,0);transform:translate3d(0,%?-15?%,0)}90%{-webkit-transform:translate3d(0,%?-4?%,0);transform:translate3d(0,%?-4?%,0)}}',""]),t.exports=e},b104:function(t,e,i){"use strict";var s=i("58fc"),a=i.n(s);a.a},fbc5:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.userPartne=e.userInvite=e.userClause=e.userHelp=e.userCustomer=e.userNotice=e.userIndex=void 0;var s=i("89d9"),a=function(){return(0,s.request)({url:"user/web"})};e.userIndex=a;var n=function(){return(0,s.request)({url:"articles/notice"})};e.userNotice=n;var r=function(){return(0,s.request)({url:"user/services"})};e.userCustomer=r;var o=function(){return(0,s.request)({url:"articles/helps"})};e.userHelp=o;var l=function(){return(0,s.request)({url:"articles/service"})};e.userClause=l;var c=function(){return(0,s.request)({url:"user/invite"})};e.userInvite=c;var u=function(t){return(0,s.request)({url:"user/relations",data:t})};e.userPartne=u}}]); \ No newline at end of file diff --git a/unpackage/dist/build/h5/static/js/pages-verification-index.0b9da5e7.js b/unpackage/dist/build/h5/static/js/pages-verification-index.0b9da5e7.js new file mode 100644 index 0000000..a8973c1 --- /dev/null +++ b/unpackage/dist/build/h5/static/js/pages-verification-index.0b9da5e7.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-verification-index"],{"02b4":function(e,t,i){"use strict";i.r(t);var o=i("0951"),n=i("651b");for(var a in n)"default"!==a&&function(e){i.d(t,e,(function(){return n[e]}))}(a);i("3745");var s,r=i("f0c5"),c=Object(r["a"])(n["default"],o["b"],o["c"],!1,null,"1238e038",null,!1,o["a"],s);t["default"]=c.exports},"0951":function(e,t,i){"use strict";i.d(t,"b",(function(){return n})),i.d(t,"c",(function(){return a})),i.d(t,"a",(function(){return o}));var o={uToast:i("4d12").default},n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-uni-view",{staticClass:"Verification"},[i("v-uni-image",{staticClass:"top-img",attrs:{src:"/static/images/hexiao_bg.png",mode:"widthFix"}}),i("v-uni-view",{staticClass:"txt"},[i("v-uni-view",{staticClass:"title"},[e._v("扫描券码和权证 一键核销")]),i("v-uni-view",{staticClass:"des"},[e._v("降低核销门槛"),i("span",{staticClass:"dian"},[e._v("·")]),e._v("低成本留存优质客户")])],1),i("v-uni-view",{staticClass:"btn"},[i("v-uni-view",{staticClass:"goods",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.scanCode("goods","get")}}},[e._v("权证核销")]),i("v-uni-view",{staticClass:"coupons",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.scanCode("coupons","get")}}},[e._v("优惠券核销")])],1),i("v-uni-view",{staticClass:"history",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.goHistory.apply(void 0,arguments)}}},[e._v("核销记录")]),i("u-toast",{ref:"uToast"}),e.showCode?i("v-uni-view",{staticClass:"showCode "},[i("v-uni-view",{staticClass:"showCodeBg",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.showCode=!1}}}),i("v-uni-view",{class:["showCodeContent",e.showCode?"showCodeContentSelect":"showCodeContentSelectNo"]},[i("v-uni-view",{staticClass:"showCodeTitle"},[e._v(e._s("goods"===e.scanType?"确认核销该权证":"确认核销该优惠券"))]),"goods"===e.scanType?i("v-uni-view",{staticClass:"goodsInfo"},[i("v-uni-image",{staticClass:"left",attrs:{src:e.info.goods.cover,mode:"widthFix"}}),i("v-uni-view",{staticClass:"right"},[i("v-uni-view",{staticClass:"title ellipsis-2"},[e._v(e._s(e.info.goods.goods_name))]),i("v-uni-view",{staticClass:"number"},[e._v("核销数量: X "+e._s(e.info.qty))])],1)],1):i("v-uni-view",{staticClass:"goodsInfo"},[i("v-uni-view",{staticClass:"right"},[i("v-uni-view",{staticClass:"title ellipsis-2"},[e._v("优惠券名称:‘ "+e._s(e.info.coupon.title)+" ’")]),i("v-uni-view",{staticClass:"number"},[e._v("优惠券类型:"+e._s(e.info.coupon.type.text)),i("span",{staticStyle:{"padding-left":"20rpx"}},[e._v("数量:1")])]),i("v-uni-view",{staticClass:"number"},[e._v("备注:"+e._s(e.info.coupon.remark))])],1)],1),i("v-uni-view",{staticClass:"sureVer",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.scanInfo(e.code,"post")}}},[e._v("确认核销")]),i("v-uni-view",{staticClass:"showCodeDes"},[e._v("请谨慎核销,操作成功后无法撤回")])],1)],1):e._e()],1)},a=[]},"1f88":function(e,t,i){var o=i("bbf1");"string"===typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);var n=i("4f06").default;n("665e3c9d",o,!0,{sourceMap:!1,shadowMode:!1})},3745:function(e,t,i){"use strict";var o=i("1f88"),n=i.n(o);n.a},"651b":function(e,t,i){"use strict";i.r(t);var o=i("e56f"),n=i.n(o);for(var a in o)"default"!==a&&function(e){i.d(t,e,(function(){return o[e]}))}(a);t["default"]=n.a},"77ed":function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scanList=t.scanInfo=void 0;var o=i("89d9"),n=function(e,t,i){return(0,o.request)({url:e,method:i,data:t})};t.scanInfo=n;var a=function(e,t){return(0,o.request)({url:e,method:"GET",data:t})};t.scanList=a},bbf1:function(e,t,i){var o=i("24fb");t=o(!1),t.push([e.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/**\n * Web唐明明\n * 匆匆数载恍如梦,岁月迢迢华发增。\n * 碌碌无为枉半生,一朝惊醒万事空。\n */.ios-bottom[data-v-1238e038]{padding-bottom:env(safe-area-inset-bottom);padding-bottom:constant(safe-area-inset-bottom)}.ios-left[data-v-1238e038]{padding-left:env(safe-area-inset-left);padding-left:constant(safe-area-inset-left)}.ios-right[data-v-1238e038]{padding-right:env(safe-area-inset-right);padding-right:constant(safe-area-inset-right)}.ios-top[data-v-1238e038]{padding-top:0}.vertical[data-v-1238e038]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-pack:center}.nowrap[data-v-1238e038]{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ellipsis[data-v-1238e038]{max-width:100%;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ellipsis-3[data-v-1238e038]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3}.ellipsis-4[data-v-1238e038]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4}.ellipsis-5[data-v-1238e038]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:5}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.Verification[data-v-1238e038]{width:100%;min-height:100vh;background-color:#fff;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;box-sizing:border-box}.Verification .top-img[data-v-1238e038]{margin-top:%?100?%}.Verification .txt[data-v-1238e038]{padding-top:%?120?%;width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;box-sizing:border-box}.Verification .txt .title[data-v-1238e038]{font-size:%?42?%;font-weight:500}.Verification .txt .des[data-v-1238e038]{font-size:%?34?%;color:rgba(37,90,124,.4);padding-top:%?20?%;font-weight:700}.Verification .txt .des .dian[data-v-1238e038]{color:#039bfe;padding:0 %?10?%}.Verification .btn[data-v-1238e038]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;box-sizing:border-box;margin-top:%?140?%}.Verification .btn .goods[data-v-1238e038],\n.Verification .btn .coupons[data-v-1238e038]{width:%?310?%;height:%?90?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;box-sizing:border-box;border-radius:%?8?%;border:solid %?1?% #039bfe;color:#039bfe;font-size:%?34?%;font-weight:700}.Verification .btn .coupons[data-v-1238e038]{background-color:#039bfe;color:#fff;margin-left:%?30?%}.Verification .history[data-v-1238e038]{text-align:center;padding:%?30?%;width:100%;color:#cacaca}.showCode[data-v-1238e038]{width:100%;height:100vh;position:fixed;top:0;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;box-sizing:border-box;z-index:1}.showCode .showCodeBg[data-v-1238e038]{background-color:rgba(0,0,0,.3);width:100%;height:100%;position:absolute;top:0;left:0;z-index:2}.showCode .showCodeContentSelect[data-v-1238e038]{-webkit-animation:sk-foldCubeAngle-data-v-1238e038 .6s linear both;animation:sk-foldCubeAngle-data-v-1238e038 .6s linear both}.showCode .showCodeContentSelectNo[data-v-1238e038]{-webkit-animation:sk-foldCubeAngleNo-data-v-1238e038 .6s linear both;animation:sk-foldCubeAngleNo-data-v-1238e038 .6s linear both}.showCode .showCodeContent[data-v-1238e038]{padding:%?50?% %?30?% %?30?% %?30?%;width:%?640?%;min-height:%?500?%;background-color:#fff;border-radius:%?20?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;box-sizing:border-box;padding:%?30?%;position:relative;z-index:199}.showCode .showCodeContent uni-image[data-v-1238e038]{width:60%}.showCode .showCodeContent .showCodeTitle[data-v-1238e038]{font-weight:700;padding-bottom:%?20?%;font-size:%?40?%;margin-bottom:%?20?%;margin-top:%?30?%}.showCode .showCodeContent .goodsInfo[data-v-1238e038]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;box-sizing:border-box;margin:%?30?%}.showCode .showCodeContent .goodsInfo .left[data-v-1238e038]{width:%?200?%;height:%?200?%;margin-right:%?20?%;border-radius:%?2?%}.showCode .showCodeContent .goodsInfo .right[data-v-1238e038]{-webkit-box-flex:1;-webkit-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;box-sizing:border-box}.showCode .showCodeContent .goodsInfo .right .title[data-v-1238e038]{font-size:%?30?%;font-weight:700}.showCode .showCodeContent .goodsInfo .right .number[data-v-1238e038]{padding-top:%?10?%;color:#999}.showCode .showCodeContent .sureVer[data-v-1238e038]{background-color:#039bfe;width:%?500?%;height:%?90?%;border-radius:%?8?%;color:#fff;margin:%?30?% 0;font-size:%?40?%;font-weight:700;text-align:center;line-height:%?90?%}.showCode .showCodeContent .showCodeDes[data-v-1238e038]{padding:%?20?% 0 %?20?% 0;color:grey;font-size:%?24?%}@-webkit-keyframes sk-foldCubeAngle-data-v-1238e038{0%{-webkit-transform:perspective(140px) rotateX(-180deg);transform:perspective(140px) rotateX(-180deg);opacity:0}100%{-webkit-transform:perspective(140px) rotateX(0deg);transform:perspective(140px) rotateX(0deg);opacity:1}}@keyframes sk-foldCubeAngle-data-v-1238e038{0%{-webkit-transform:perspective(140px) rotateX(-180deg);transform:perspective(140px) rotateX(-180deg);opacity:0}100%{-webkit-transform:perspective(140px) rotateX(0deg);transform:perspective(140px) rotateX(0deg);opacity:1}}@-webkit-keyframes sk-foldCubeAngleNo-data-v-1238e038{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}25%{-webkit-transform:scale(0);transform:scale(0);opacity:0}}@keyframes sk-foldCubeAngleNo-data-v-1238e038{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}25%{-webkit-transform:scale(0);transform:scale(0);opacity:0}}@-webkit-keyframes turn-data-v-1238e038{0%{-webkit-transform:rotate(0deg);opacity:1}25%{-webkit-transform:rotate(90deg);opacity:.9}50%{-webkit-transform:rotate(180deg);opacity:.8}75%{-webkit-transform:rotate(270deg);opacity:.9}100%{-webkit-transform:rotate(1turn);opacity:1}}@keyframes turn-data-v-1238e038{0%{-webkit-transform:rotate(0deg);opacity:1}25%{-webkit-transform:rotate(90deg);opacity:.9}50%{-webkit-transform:rotate(180deg);opacity:.8}75%{-webkit-transform:rotate(270deg);opacity:.9}100%{-webkit-transform:rotate(1turn);opacity:1}}',""]),e.exports=t},e56f:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i("77ed"),n={data:function(){return{scanType:"goods",showCode:!1,info:"",code:""}},onLoad:function(){uni.hideLoading()},methods:{scanCode:function(e){var t=this;console.log(e),this.scanType=e,uni.scanCode({success:function(e){console.log("条码类型:"+e.scanType),console.log("条码内容:"+e.result),t.code=e.result,t.scanInfo(e.result,"get")}})},scanInfo:function(e,t){var i=this;console.log(e,this.scanType);var n="",a={code:e};"goods"===this.scanType?(console.log("权证核销"),n="manages/warrants/verification"):(console.log("优惠券核销!"),n="coupons/verify/coupon"),(0,o.scanInfo)(n,a,t).then((function(e){"goods"===i.scanType?(uni.hideLoading(),"post"===t?(i.showCode=!1,i.$refs.uToast.show({title:"权证核销成功",type:"error",icon:!1,duration:3e3})):(i.showCode=!0,i.info=e)):(console.log("优惠券核销 有商品跳转优惠券详情页面,没有商品直接弹出核销页面!"),console.log(e,"res"),"post"===t?(i.showCode=!1,i.$refs.uToast.show({title:"优惠券核销成功",type:"error",icon:!1,duration:3e3})):e.goods.length>0?uni.showModal({title:"温馨提示",content:"该优惠券下绑定了商品,是否勾选相应商品",success:function(t){t.confirm?uni.navigateTo({url:"/pages/property/coupon/canUseList?code="+i.code}):(i.showCode=!0,i.info=e.info)}}):(i.showCode=!0,i.info=e.info))})).catch((function(e){i.$refs.uToast.show({title:e.message,type:"error",icon:!1,duration:3e3}),i.showCode=!1}))},goHistory:function(){this.$Router.push({name:"verificationHistory"})}}};t.default=n}}]); \ No newline at end of file diff --git a/unpackage/dist/build/h5/static/js/pages-verification-index.d6d0395c.js b/unpackage/dist/build/h5/static/js/pages-verification-index.d6d0395c.js deleted file mode 100644 index 0fe1b17..0000000 --- a/unpackage/dist/build/h5/static/js/pages-verification-index.d6d0395c.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-verification-index"],{"02b4":function(t,e,i){"use strict";i.r(e);var o=i("eae5"),a=i("651b");for(var n in a)"default"!==n&&function(t){i.d(e,t,(function(){return a[t]}))}(n);i("445d");var s,r=i("f0c5"),c=Object(r["a"])(a["default"],o["b"],o["c"],!1,null,"06a1133a",null,!1,o["a"],s);e["default"]=c.exports},"445d":function(t,e,i){"use strict";var o=i("9e31"),a=i.n(o);a.a},"651b":function(t,e,i){"use strict";i.r(e);var o=i("e56f"),a=i.n(o);for(var n in o)"default"!==n&&function(t){i.d(e,t,(function(){return o[t]}))}(n);e["default"]=a.a},"77ed":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.scanList=e.scanInfo=void 0;var o=i("89d9"),a=function(t,e,i){return(0,o.request)({url:t,method:i,data:e})};e.scanInfo=a;var n=function(t,e){return(0,o.request)({url:t,method:"GET",data:e})};e.scanList=n},"9e31":function(t,e,i){var o=i("bb41");"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var a=i("4f06").default;a("0bd8324d",o,!0,{sourceMap:!1,shadowMode:!1})},bb41:function(t,e,i){var o=i("24fb");e=o(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/**\n * Web唐明明\n * 匆匆数载恍如梦,岁月迢迢华发增。\n * 碌碌无为枉半生,一朝惊醒万事空。\n */.ios-bottom[data-v-06a1133a]{padding-bottom:env(safe-area-inset-bottom);padding-bottom:constant(safe-area-inset-bottom)}.ios-left[data-v-06a1133a]{padding-left:env(safe-area-inset-left);padding-left:constant(safe-area-inset-left)}.ios-right[data-v-06a1133a]{padding-right:env(safe-area-inset-right);padding-right:constant(safe-area-inset-right)}.ios-top[data-v-06a1133a]{padding-top:0}.vertical[data-v-06a1133a]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-pack:center}.nowrap[data-v-06a1133a]{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ellipsis[data-v-06a1133a]{max-width:100%;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ellipsis-3[data-v-06a1133a]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3}.ellipsis-4[data-v-06a1133a]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4}.ellipsis-5[data-v-06a1133a]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:5}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.Verification[data-v-06a1133a]{width:100%;min-height:100vh;background-color:#fff;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;box-sizing:border-box}.Verification .top-img[data-v-06a1133a]{margin-top:%?100?%}.Verification .txt[data-v-06a1133a]{padding-top:%?120?%;width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;box-sizing:border-box}.Verification .txt .title[data-v-06a1133a]{font-size:%?42?%;font-weight:500}.Verification .txt .des[data-v-06a1133a]{font-size:%?34?%;color:rgba(37,90,124,.4);padding-top:%?20?%;font-weight:700}.Verification .txt .des .dian[data-v-06a1133a]{color:#039bfe;padding:0 %?10?%}.Verification .btn[data-v-06a1133a]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;box-sizing:border-box;margin-top:%?140?%}.Verification .btn .goods[data-v-06a1133a],\n.Verification .btn .coupons[data-v-06a1133a]{width:%?310?%;height:%?90?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;box-sizing:border-box;border-radius:%?8?%;border:solid %?1?% #039bfe;color:#039bfe;font-size:%?34?%;font-weight:700}.Verification .btn .coupons[data-v-06a1133a]{background-color:#039bfe;color:#fff;margin-left:%?30?%}.Verification .history[data-v-06a1133a]{text-align:center;padding:%?30?%;width:100%;color:#cacaca}.showCode[data-v-06a1133a]{width:100%;height:100vh;position:fixed;top:0;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;box-sizing:border-box;z-index:1}.showCode .showCodeBg[data-v-06a1133a]{background-color:rgba(0,0,0,.3);width:100%;height:100%;position:absolute;top:0;left:0;z-index:2}.showCode .showCodeContentSelect[data-v-06a1133a]{-webkit-animation:sk-foldCubeAngle-data-v-06a1133a .6s linear both;animation:sk-foldCubeAngle-data-v-06a1133a .6s linear both}.showCode .showCodeContentSelectNo[data-v-06a1133a]{-webkit-animation:sk-foldCubeAngleNo-data-v-06a1133a .6s linear both;animation:sk-foldCubeAngleNo-data-v-06a1133a .6s linear both}.showCode .showCodeContent[data-v-06a1133a]{padding:%?50?% %?30?% %?30?% %?30?%;width:%?640?%;min-height:%?500?%;background-color:#fff;border-radius:%?20?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;box-sizing:border-box;padding:%?30?%;position:relative;z-index:199}.showCode .showCodeContent uni-image[data-v-06a1133a]{width:60%}.showCode .showCodeContent .showCodeTitle[data-v-06a1133a]{font-weight:700;padding-bottom:%?20?%;font-size:%?40?%;margin-bottom:%?20?%;margin-top:%?30?%}.showCode .showCodeContent .goodsInfo[data-v-06a1133a]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;box-sizing:border-box;margin:%?30?%}.showCode .showCodeContent .goodsInfo .left[data-v-06a1133a]{width:%?200?%;height:%?200?%;margin-right:%?20?%;border-radius:%?2?%}.showCode .showCodeContent .goodsInfo .right[data-v-06a1133a]{-webkit-box-flex:1;-webkit-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;box-sizing:border-box}.showCode .showCodeContent .goodsInfo .right .title[data-v-06a1133a]{font-size:%?30?%;font-weight:700}.showCode .showCodeContent .goodsInfo .right .number[data-v-06a1133a]{padding-top:%?10?%;color:#999}.showCode .showCodeContent .sureVer[data-v-06a1133a]{background-color:#039bfe;width:%?500?%;height:%?90?%;border-radius:%?8?%;color:#fff;margin:%?30?% 0;font-size:%?40?%;font-weight:700;text-align:center;line-height:%?90?%}.showCode .showCodeContent .showCodeDes[data-v-06a1133a]{padding:%?20?% 0 %?20?% 0;color:grey;font-size:%?24?%}@-webkit-keyframes sk-foldCubeAngle-data-v-06a1133a{0%{-webkit-transform:perspective(140px) rotateX(-180deg);transform:perspective(140px) rotateX(-180deg);opacity:0}100%{-webkit-transform:perspective(140px) rotateX(0deg);transform:perspective(140px) rotateX(0deg);opacity:1}}@keyframes sk-foldCubeAngle-data-v-06a1133a{0%{-webkit-transform:perspective(140px) rotateX(-180deg);transform:perspective(140px) rotateX(-180deg);opacity:0}100%{-webkit-transform:perspective(140px) rotateX(0deg);transform:perspective(140px) rotateX(0deg);opacity:1}}@-webkit-keyframes sk-foldCubeAngleNo-data-v-06a1133a{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}25%{-webkit-transform:scale(0);transform:scale(0);opacity:0}}@keyframes sk-foldCubeAngleNo-data-v-06a1133a{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}25%{-webkit-transform:scale(0);transform:scale(0);opacity:0}}@-webkit-keyframes turn-data-v-06a1133a{0%{-webkit-transform:rotate(0deg);opacity:1}25%{-webkit-transform:rotate(90deg);opacity:.9}50%{-webkit-transform:rotate(180deg);opacity:.8}75%{-webkit-transform:rotate(270deg);opacity:.9}100%{-webkit-transform:rotate(1turn);opacity:1}}@keyframes turn-data-v-06a1133a{0%{-webkit-transform:rotate(0deg);opacity:1}25%{-webkit-transform:rotate(90deg);opacity:.9}50%{-webkit-transform:rotate(180deg);opacity:.8}75%{-webkit-transform:rotate(270deg);opacity:.9}100%{-webkit-transform:rotate(1turn);opacity:1}}',""]),t.exports=e},e56f:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i("77ed"),a={data:function(){return{scanType:"goods",showCode:!1,info:"",code:""}},onLoad:function(){uni.hideLoading()},methods:{scanCode:function(t){var e=this;console.log(t),this.scanType=t,uni.scanCode({success:function(t){console.log("条码类型:"+t.scanType),console.log("条码内容:"+t.result),e.code=t.result,e.scanInfo(t.result,"get")}})},scanInfo:function(t,e){var i=this;console.log(t,this.scanType);var a="",n={code:t};"goods"===this.scanType?(console.log("权证核销"),a="manages/warrants/verification"):(console.log("优惠券核销!"),a="coupons/verify/coupon"),(0,o.scanInfo)(a,n,e).then((function(t){"goods"===i.scanType?(uni.hideLoading(),"post"===e?(i.showCode=!1,i.$refs.uToast.show({title:"权证核销成功",type:"error",icon:!1,duration:3e3})):(i.showCode=!0,i.info=t)):(console.log("优惠券核销 有商品跳转优惠券详情页面,没有商品直接弹出核销页面!"),console.log(t,"res"),"post"===e?(i.showCode=!1,i.$refs.uToast.show({title:"优惠券核销成功",type:"error",icon:!1,duration:3e3})):t.goods.length>0?uni.showModal({title:"温馨提示",content:"该优惠券下绑定了商品,是否勾选相应商品",success:function(e){e.confirm?uni.navigateTo({url:"/pages/property/coupon/canUseList?code="+i.code}):(i.showCode=!0,i.info=t.info)}}):(i.showCode=!0,i.info=t.info))})).catch((function(t){i.$refs.uToast.show({title:t.message,type:"error",icon:!1,duration:3e3}),i.showCode=!1}))},goHistory:function(){uni.navigateTo({url:"/pages/verification/history"})}}};e.default=a},eae5:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){return o}));var o={uToast:i("4d12").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"Verification"},[i("v-uni-image",{staticClass:"top-img",attrs:{src:"/static/images/hexiao_bg.png",mode:"widthFix"}}),i("v-uni-view",{staticClass:"txt"},[i("v-uni-view",{staticClass:"title"},[t._v("扫描券码和权证 一键核销")]),i("v-uni-view",{staticClass:"des"},[t._v("降低核销门槛"),i("span",{staticClass:"dian"},[t._v("·")]),t._v("低成本留存优质客户")])],1),i("v-uni-view",{staticClass:"btn"},[i("v-uni-view",{staticClass:"goods",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.scanCode("goods","get")}}},[t._v("权证核销")]),i("v-uni-view",{staticClass:"coupons",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.scanCode("coupons","get")}}},[t._v("优惠券核销")])],1),i("v-uni-view",{staticClass:"history",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goHistory.apply(void 0,arguments)}}},[t._v("核销记录")]),i("u-toast",{ref:"uToast"}),t.showCode?i("v-uni-view",{staticClass:"showCode "},[i("v-uni-view",{staticClass:"showCodeBg",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showCode=!1}}}),i("v-uni-view",{class:["showCodeContent",t.showCode?"showCodeContentSelect":"showCodeContentSelectNo"]},[i("v-uni-view",{staticClass:"showCodeTitle"},[t._v(t._s("goods"===t.scanType?"确认核销该权证":"确认核销该优惠券"))]),"goods"===t.scanType?i("v-uni-view",{staticClass:"goodsInfo"},[i("v-uni-image",{staticClass:"left",attrs:{src:t.info.goods.cover,mode:"widthFix"}}),i("v-uni-view",{staticClass:"right"},[i("v-uni-view",{staticClass:"title ellipsis-2"},[t._v(t._s(t.info.goods.goods_name))]),i("v-uni-view",{staticClass:"number"},[t._v("核销数量: X "+t._s(t.info.qty))])],1)],1):i("v-uni-view",{staticClass:"goodsInfo"},[i("v-uni-view",{staticClass:"right"},[i("v-uni-view",{staticClass:"title ellipsis-2"},[t._v("优惠券名称:‘ "+t._s(t.info.coupon.title)+" ’")]),i("v-uni-view",{staticClass:"number"},[t._v("优惠券类型:"+t._s(t.info.coupon.type.text)),i("span",{staticStyle:{"padding-left":"20rpx"}},[t._v("数量:1")])]),i("v-uni-view",{staticClass:"number"},[t._v("备注:"+t._s(t.info.coupon.remark))])],1)],1),i("v-uni-view",{staticClass:"sureVer",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.scanInfo(t.code,"post")}}},[t._v("确认核销")]),i("v-uni-view",{staticClass:"showCodeDes"},[t._v("请谨慎核销,操作成功后无法撤回")])],1)],1):t._e()],1)},n=[]}}]); \ No newline at end of file diff --git a/unpackage/dist/build/h5/static/js/pages-vip-agree.39a7fdda.js b/unpackage/dist/build/h5/static/js/pages-vip-agree.39a7fdda.js deleted file mode 100644 index 547f526..0000000 --- a/unpackage/dist/build/h5/static/js/pages-vip-agree.39a7fdda.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-vip-agree"],{"16da":function(e,t,n){var i=n("321d");"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var a=n("4f06").default;a("7f5caa6b",i,!0,{sourceMap:!1,shadowMode:!1})},"321d":function(e,t,n){var i=n("24fb");t=i(!1),t.push([e.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/**\n * Web唐明明\n * 匆匆数载恍如梦,岁月迢迢华发增。\n * 碌碌无为枉半生,一朝惊醒万事空。\n */.ios-bottom[data-v-6223ccc6]{padding-bottom:env(safe-area-inset-bottom);padding-bottom:constant(safe-area-inset-bottom)}.ios-left[data-v-6223ccc6]{padding-left:env(safe-area-inset-left);padding-left:constant(safe-area-inset-left)}.ios-right[data-v-6223ccc6]{padding-right:env(safe-area-inset-right);padding-right:constant(safe-area-inset-right)}.ios-top[data-v-6223ccc6]{padding-top:0}.vertical[data-v-6223ccc6]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-pack:center}.nowrap[data-v-6223ccc6]{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ellipsis[data-v-6223ccc6]{max-width:100%;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ellipsis-3[data-v-6223ccc6]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3}.ellipsis-4[data-v-6223ccc6]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4}.ellipsis-5[data-v-6223ccc6]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:5}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.contentTitle[data-v-6223ccc6]{padding:%?30?%;box-sizing:border-box}',""]),e.exports=t},ac4d:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n("ad98"),a={data:function(){return{content:""}},created:function(){var e=this;(0,i.userAgree)().then((function(t){e.content=t.content})).catch((function(e){uni.showToast({title:e.message,icon:"none"})}))},methods:{}};t.default=a},ad2b:function(e,t,n){"use strict";var i=n("16da"),a=n.n(i);a.a},ad98:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.vipVoucher=t.userAgree=t.vipCont=t.vipWechatPay=t.vipOrder=t.identities=void 0;var i=n("89d9"),a=function(){return(0,i.request)({url:"user/identities"})};t.identities=a;var r=function(e,t){return(0,i.request)({url:"user/identities/create/"+e,method:"POST",data:t})};t.vipOrder=r;var o=function(e){return(0,i.request)({url:"user/identities/pay/"+e+"/wechat"})};t.vipWechatPay=o;var c=function(e,t){return(0,i.request)({url:"user/identities/create/"+e,data:t})};t.vipCont=c;var s=function(){return(0,i.request)({url:"articles/agreement/openvip"})};t.userAgree=s;var d=function(e){return(0,i.request)({url:"user/voucher/store",method:"POST",data:e})};t.vipVoucher=d},b0f3:function(e,t,n){"use strict";n.r(t);var i=n("ac4d"),a=n.n(i);for(var r in i)"default"!==r&&function(e){n.d(t,e,(function(){return i[e]}))}(r);t["default"]=a.a},da57:function(e,t,n){"use strict";var i;n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return i}));var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",[n("v-uni-view",{staticClass:"contentTitle"},[n("v-uni-rich-text",{attrs:{nodes:e.content}})],1)],1)},r=[]},e3df:function(e,t,n){"use strict";n.r(t);var i=n("da57"),a=n("b0f3");for(var r in a)"default"!==r&&function(e){n.d(t,e,(function(){return a[e]}))}(r);n("ad2b");var o,c=n("f0c5"),s=Object(c["a"])(a["default"],i["b"],i["c"],!1,null,"6223ccc6",null,!1,i["a"],o);t["default"]=s.exports}}]); \ No newline at end of file diff --git a/unpackage/dist/build/h5/static/js/pages-vip-agree.876574c1.js b/unpackage/dist/build/h5/static/js/pages-vip-agree.876574c1.js new file mode 100644 index 0000000..b5e9e1e --- /dev/null +++ b/unpackage/dist/build/h5/static/js/pages-vip-agree.876574c1.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-vip-agree"],{"11a3":function(e,t,n){var i=n("24fb");t=i(!1),t.push([e.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/**\n * Web唐明明\n * 匆匆数载恍如梦,岁月迢迢华发增。\n * 碌碌无为枉半生,一朝惊醒万事空。\n */.ios-bottom[data-v-043753a7]{padding-bottom:env(safe-area-inset-bottom);padding-bottom:constant(safe-area-inset-bottom)}.ios-left[data-v-043753a7]{padding-left:env(safe-area-inset-left);padding-left:constant(safe-area-inset-left)}.ios-right[data-v-043753a7]{padding-right:env(safe-area-inset-right);padding-right:constant(safe-area-inset-right)}.ios-top[data-v-043753a7]{padding-top:0}.vertical[data-v-043753a7]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-pack:center}.nowrap[data-v-043753a7]{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ellipsis[data-v-043753a7]{max-width:100%;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ellipsis-3[data-v-043753a7]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3}.ellipsis-4[data-v-043753a7]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4}.ellipsis-5[data-v-043753a7]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:5}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.contentTitle[data-v-043753a7]{padding:%?30?%;box-sizing:border-box}',""]),e.exports=t},"40e7":function(e,t,n){"use strict";var i;n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return i}));var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",[n("v-uni-view",{staticClass:"contentTitle"},[n("v-uni-rich-text",{attrs:{nodes:e.content}})],1)],1)},r=[]},"6d78":function(e,t,n){"use strict";var i=n("8258"),a=n.n(i);a.a},8258:function(e,t,n){var i=n("11a3");"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var a=n("4f06").default;a("11ecefd7",i,!0,{sourceMap:!1,shadowMode:!1})},ac4d:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n("ad98"),a={data:function(){return{content:""}},created:function(){var e=this,t="";"vipAgree"==this.$Route.query.type&&(t="articles/agreement/openvip"),"loginPrivacy"==this.$Route.query.type&&(t="articles/agreement/secret"),"loginService"==this.$Route.query.type&&(t="articles/agreement/service"),(0,i.userAgree)(t).then((function(t){e.content=t.content})).catch((function(e){uni.showToast({title:e.message,icon:"none"})}))},methods:{}};t.default=a},ad98:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.userAgree=t.vipVoucher=t.vipCont=t.vipWechatPay=t.vipOrder=t.identities=void 0;var i=n("89d9"),a=function(){return(0,i.request)({url:"user/identities"})};t.identities=a;var r=function(e,t){return(0,i.request)({url:"user/identities/create/"+e,method:"POST",data:t})};t.vipOrder=r;var o=function(e){return(0,i.request)({url:"user/identities/pay/"+e+"/wechat"})};t.vipWechatPay=o;var s=function(e,t){return(0,i.request)({url:"user/identities/create/"+e,data:t})};t.vipCont=s;var u=function(e){return(0,i.request)({url:"user/voucher/store",method:"POST",data:e})};t.vipVoucher=u;var d=function(e){return(0,i.request)({url:e})};t.userAgree=d},b0f3:function(e,t,n){"use strict";n.r(t);var i=n("ac4d"),a=n.n(i);for(var r in i)"default"!==r&&function(e){n.d(t,e,(function(){return i[e]}))}(r);t["default"]=a.a},e3df:function(e,t,n){"use strict";n.r(t);var i=n("40e7"),a=n("b0f3");for(var r in a)"default"!==r&&function(e){n.d(t,e,(function(){return a[e]}))}(r);n("6d78");var o,s=n("f0c5"),u=Object(s["a"])(a["default"],i["b"],i["c"],!1,null,"043753a7",null,!1,i["a"],o);t["default"]=u.exports}}]); \ No newline at end of file diff --git a/unpackage/dist/build/h5/static/js/pages-vip-vip.1b43a31b.js b/unpackage/dist/build/h5/static/js/pages-vip-vip.1b43a31b.js deleted file mode 100644 index 4f788ed..0000000 --- a/unpackage/dist/build/h5/static/js/pages-vip-vip.1b43a31b.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-vip-vip"],{"1de5":function(i,e,t){"use strict";i.exports=function(i,e){return e||(e={}),i=i&&i.__esModule?i.default:i,"string"!==typeof i?i:(/^['"].*['"]$/.test(i)&&(i=i.slice(1,-1)),e.hash&&(i+=e.hash),/["'() \t\n]/.test(i)||e.needQuotes?'"'.concat(i.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):i)}},"1f56":function(i,e){i.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFYAAABACAYAAACA2YBxAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFIGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDUgNzkuMTYzNDk5LCAyMDE4LzA4LzEzLTE2OjQwOjIyICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOSAoTWFjaW50b3NoKSIgeG1wOkNyZWF0ZURhdGU9IjIwMjEtMDgtMTdUMTQ6MzU6NTkrMDg6MDAiIHhtcDpNb2RpZnlEYXRlPSIyMDIxLTA4LTE3VDE0OjM3OjI3KzA4OjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDIxLTA4LTE3VDE0OjM3OjI3KzA4OjAwIiBkYzpmb3JtYXQ9ImltYWdlL3BuZyIgcGhvdG9zaG9wOkNvbG9yTW9kZT0iMyIgcGhvdG9zaG9wOklDQ1Byb2ZpbGU9InNSR0IgSUVDNjE5NjYtMi4xIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjkyNDc5YjhhLWI3MzMtNDIwZC05Nzk2LTc1OTRiMGI5MjE4ZSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo5MjQ3OWI4YS1iNzMzLTQyMGQtOTc5Ni03NTk0YjBiOTIxOGUiIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo5MjQ3OWI4YS1iNzMzLTQyMGQtOTc5Ni03NTk0YjBiOTIxOGUiPiA8eG1wTU06SGlzdG9yeT4gPHJkZjpTZXE+IDxyZGY6bGkgc3RFdnQ6YWN0aW9uPSJjcmVhdGVkIiBzdEV2dDppbnN0YW5jZUlEPSJ4bXAuaWlkOjkyNDc5YjhhLWI3MzMtNDIwZC05Nzk2LTc1OTRiMGI5MjE4ZSIgc3RFdnQ6d2hlbj0iMjAyMS0wOC0xN1QxNDozNTo1OSswODowMCIgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTkgKE1hY2ludG9zaCkiLz4gPC9yZGY6U2VxPiA8L3htcE1NOkhpc3Rvcnk+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+R12RPQAAATVJREFUeNrt2j1KxFAUgNGsxw1MYeMC3IE2Ym1rq4XNLMF9WAyiTKe2YiH5Q3QH4gLiHZhCQhgMLwTxncBHqqQ43OQ9SIqu6wpNHwSwYAUWLFiBBQtWYMGCFViwYAUWLFj9MdjfHnVdH0er6LaqqpNixJEd7AjUo6jrdQo2ETYm9KYP2zTNPdj0iX0ZmNgWbDrs48DEPoMFCxYsWLBg/xNs27aHsU+9Dqz1jj4Htltfu66Jey6jRZawMXX7A2BTd5AdbFmWlzPArrOD3TyuM8CucoRdzAC7l+XitXkHbhecqUGfsl28bLfAggULFixYsKO/eb0ObKfewabD3g3APoBNhI3H/qwPG9jnYBNht+/ZiwB+i/NHnK/8sOEXI4EFC1ZgwYKFABaswIIFK7BgwQosWLD60TfPCgRwwCmAawAAAABJRU5ErkJggg=="},"3efb":function(i,e,t){"use strict";var a=t("8a0d"),n=t.n(a);n.a},"57dc":function(i,e,t){i.exports=t.p+"static/fonts/uni.75745d34.ttf"},"57ee":function(i,e,t){"use strict";var a=t("77a5"),n=t.n(a);n.a},"5f33":function(i,e,t){"use strict";t.r(e);var a=t("caa6"),n=t.n(a);for(var o in a)"default"!==o&&function(i){t.d(e,i,(function(){return a[i]}))}(o);e["default"]=n.a},6876:function(i,e,t){"use strict";var a;t.d(e,"b",(function(){return n})),t.d(e,"c",(function(){return o})),t.d(e,"a",(function(){return a}));var n=function(){var i=this,e=i.$createElement,t=i._self._c||e;return t("v-uni-text",{staticClass:"uni-icons",class:[i.fontFamily,i.fontFamily?i.type:""],style:{color:i.color,"font-size":i.size+"px"},on:{click:function(e){arguments[0]=e=i.$handleEvent(e),i._onClick.apply(void 0,arguments)}}},[i._v(i._s(i.fontFamily?"":i.icons[i.type]))])},o=[]},"77a5":function(i,e,t){var a=t("8b7a");"string"===typeof a&&(a=[[i.i,a,""]]),a.locals&&(i.exports=a.locals);var n=t("4f06").default;n("86a80eae",a,!0,{sourceMap:!1,shadowMode:!1})},8960:function(i,e,t){"use strict";t.r(e);var a=t("8bcd"),n=t.n(a);for(var o in a)"default"!==o&&function(i){t.d(e,i,(function(){return a[i]}))}(o);e["default"]=n.a},"89ef":function(i,e,t){var a=t("24fb"),n=t("1de5"),o=t("57dc");e=a(!1);var s=n(o);e.push([i.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/**\n * Web唐明明\n * 匆匆数载恍如梦,岁月迢迢华发增。\n * 碌碌无为枉半生,一朝惊醒万事空。\n */.ios-bottom[data-v-218f84fe]{padding-bottom:env(safe-area-inset-bottom);padding-bottom:constant(safe-area-inset-bottom)}.ios-left[data-v-218f84fe]{padding-left:env(safe-area-inset-left);padding-left:constant(safe-area-inset-left)}.ios-right[data-v-218f84fe]{padding-right:env(safe-area-inset-right);padding-right:constant(safe-area-inset-right)}.ios-top[data-v-218f84fe]{padding-top:0}.vertical[data-v-218f84fe]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-pack:center}.nowrap[data-v-218f84fe]{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ellipsis[data-v-218f84fe]{max-width:100%;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ellipsis-3[data-v-218f84fe]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3}.ellipsis-4[data-v-218f84fe]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4}.ellipsis-5[data-v-218f84fe]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:5}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */@font-face{font-family:uniicons;src:url('+s+') format("truetype")}.uni-icons[data-v-218f84fe]{font-family:uniicons;text-decoration:none;text-align:center}',""]),i.exports=e},"8a0d":function(i,e,t){var a=t("9e46");"string"===typeof a&&(a=[[i.i,a,""]]),a.locals&&(i.exports=a.locals);var n=t("4f06").default;n("74ce1d2c",a,!0,{sourceMap:!1,shadowMode:!1})},"8b7a":function(i,e,t){var a=t("24fb");e=a(!1),e.push([i.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/**\n * Web唐明明\n * 匆匆数载恍如梦,岁月迢迢华发增。\n * 碌碌无为枉半生,一朝惊醒万事空。\n */.ios-bottom[data-v-6f1f999a]{padding-bottom:env(safe-area-inset-bottom);padding-bottom:constant(safe-area-inset-bottom)}.ios-left[data-v-6f1f999a]{padding-left:env(safe-area-inset-left);padding-left:constant(safe-area-inset-left)}.ios-right[data-v-6f1f999a]{padding-right:env(safe-area-inset-right);padding-right:constant(safe-area-inset-right)}.ios-top[data-v-6f1f999a]{padding-top:0}.vertical[data-v-6f1f999a]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-pack:center}.nowrap[data-v-6f1f999a]{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ellipsis[data-v-6f1f999a]{max-width:100%;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ellipsis-3[data-v-6f1f999a]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3}.ellipsis-4[data-v-6f1f999a]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4}.ellipsis-5[data-v-6f1f999a]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:5}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.canBack[data-v-6f1f999a]{position:fixed;width:100vw;height:100vh;background-color:rgba(0,0,0,.5);left:0;top:0;z-index:99}.canPop[data-v-6f1f999a]{position:absolute;background-color:#fff;left:%?100?%;right:%?100?%;top:30%;z-index:101;padding:%?30?%;box-sizing:border-box;border-radius:%?10?%;text-align:center}.canPop .canPop-tips[data-v-6f1f999a]{position:absolute;right:%?20?%;top:%?32?%;width:%?32?%;height:%?32?%;z-index:1002}.canPop .canPop-cont[data-v-6f1f999a]{font-size:%?32?%;font-weight:600}.canPop .canPop-cover[data-v-6f1f999a]{margin:%?60?% auto %?40?%;width:%?240?%;height:%?240?%;border:%?2?% solid #f3f3f3}.canPop .canPop-btn[data-v-6f1f999a]{text-align:center;background:#8b64fd;border-radius:0;height:%?90?%;line-height:%?90?%;font-size:%?32?%;color:#fff}.canPop .canPop-btn[data-v-6f1f999a]::after{border:none}.vip-container[data-v-6f1f999a]{width:%?750?%;height:%?340?%;margin-top:%?30?%}.swiper-item[data-v-6f1f999a]{width:%?640?%;height:%?340?%;display:-webkit-box;display:-webkit-flex;display:flex}.vip-item[data-v-6f1f999a]{width:%?640?%;height:%?340?%;border-radius:%?20?%;position:relative}.vip-item .vip-back[data-v-6f1f999a]{position:absolute;left:0;top:0;width:100%;height:100%}.vip-item .vip-cont[data-v-6f1f999a]{position:absolute;left:0;top:0;width:100%;height:100%;z-index:9;padding:%?45?% %?70?%;box-sizing:border-box}.vip-item .vip-cont .vip-name[data-v-6f1f999a]{display:-webkit-box;display:-webkit-flex;display:flex;font-size:%?46?%;color:#fff;font-weight:600}.vip-item .vip-cont .vip-name .vip-name-img[data-v-6f1f999a]{width:%?36?%;height:%?36?%;margin:%?12?% %?20?%}.vip-item .vip-cont .vip-number[data-v-6f1f999a]{margin:%?10?% 0 %?40?%;color:#fff;font-size:%?32?%;opacity:.8}.vip-item .vip-cont .vip-tips[data-v-6f1f999a]{font-size:%?30?%;background-color:#e8ebf6;display:inline-block;border-radius:%?80?%;height:%?60?%;line-height:%?60?%;padding:0 %?30?%}.vip-item .vip-cont .vip-tips .vip-tips-text[data-v-6f1f999a]{font-weight:700;-webkit-background-clip:text;background-clip:text;color:transparent}.vip-item .vip-cont .vip-tips .vip-tips-color-00[data-v-6f1f999a]{background-image:-webkit-linear-gradient(top,#6189f0,#b6b9c1);background-image:linear-gradient(180deg,#6189f0,#b6b9c1)}.vip-item .vip-cont .vip-tips .vip-tips-color-01[data-v-6f1f999a]{background-image:-webkit-linear-gradient(bottom,#ffd459,#ff6c52);background-image:linear-gradient(0deg,#ffd459,#ff6c52)}.vip-item .vip-cont .vip-tips .vip-tips-color-02[data-v-6f1f999a]{background-image:-webkit-linear-gradient(bottom,#e0c9fe,#892edb);background-image:linear-gradient(0deg,#e0c9fe,#892edb)}.vip-item .vip-cont .vip-tips .vip-tips-color-03[data-v-6f1f999a]{background-image:-webkit-linear-gradient(bottom,#f6b237,#f035e3);background-image:linear-gradient(0deg,#f6b237,#f035e3)}.vip-item .vip-cont .vip-tips .vip-tips-color-04[data-v-6f1f999a]{background-image:-webkit-linear-gradient(bottom,#c455ec,#5f76e9);background-image:linear-gradient(0deg,#c455ec,#5f76e9)}.privilege[data-v-6f1f999a]{padding:%?20?% %?30?% %?80?%;box-sizing:border-box}.privilege .privilege-list[data-v-6f1f999a]{margin-bottom:%?50?%;display:-webkit-box;display:-webkit-flex;display:flex}.privilege .privilege-list .privilege-img[data-v-6f1f999a]{width:%?74?%;height:%?74?%}.privilege .privilege-list .privilege-text[data-v-6f1f999a]{width:calc(100% - %?74?%);padding-left:%?40?%;font-size:%?32?%;color:#999;line-height:%?52?%}.privilege .privilege-list .privilege-text .privilege-name[data-v-6f1f999a]{font-size:%?40?%;color:#000;margin:%?10?% 0 %?20?%}.privilege .privilege-list .privilege-text .privilege-label.active[data-v-6f1f999a]{color:#f6b338}.privilege .privilege-list .privilege-text .privilege-right[data-v-6f1f999a]{color:#7877eb}.agree[data-v-6f1f999a]{margin:%?30?% 0;text-align:center}.agree .agree-tips[data-v-6f1f999a]{background-color:#999;display:inline-block;padding:%?14?% %?30?%;color:#fff;border-radius:%?60?%}.agree-btn[data-v-6f1f999a]{display:-webkit-box;display:-webkit-flex;display:flex;font-size:%?30?%;text-align:left;color:#999;padding:%?30?%}.notice[data-v-6f1f999a]{font-size:%?28?%;color:#555;padding:%?30?% %?60?% %?60?%}.notice .title[data-v-6f1f999a]{padding-bottom:%?15?%;font-weight:700}.notice .item[data-v-6f1f999a]{padding-bottom:%?15?%;line-height:%?40?%;text-align:justify}.footer[data-v-6f1f999a]{padding:0 %?30?%;box-sizing:border-box;text-align:center}.footer .footer-btn[data-v-6f1f999a]{width:74%}.privilege[data-v-6f1f999a]{padding:%?30?%}.privilege .title[data-v-6f1f999a]{font-weight:700;color:#322711;font-size:%?32?%;text-align:center;line-height:%?90?%}.privilege .privilege-box[data-v-6f1f999a]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;padding:%?30?% 0}.privilege .privilege-box .item[data-v-6f1f999a]{width:25%;padding:%?15?%;box-sizing:border-box;text-align:center}.privilege .privilege-box .item .icon[data-v-6f1f999a]{width:%?78?%;height:%?78?%;background:#bd995d;border-radius:50%;vertical-align:top}.privilege .privilege-box .item .text[data-v-6f1f999a]{font-size:%?26?%;color:#201212;line-height:%?60?%}.cards[data-v-6f1f999a]{position:relative;background:#1f1b1c}.cards .card[data-v-6f1f999a]{position:relative;margin:0 %?30?%;background:-webkit-linear-gradient(left,#3b3d4a,#231d1f);background:linear-gradient(90deg,#3b3d4a,#231d1f);padding:%?15?%;border-radius:%?10?%;z-index:2}.cards .card .card-content[data-v-6f1f999a]{position:relative;border:solid %?1?% hsla(0,0%,100%,.4);border-radius:%?10?%;padding:%?30?% %?180?% %?60?% %?148?%;min-height:%?98?%}.cards .card .card-content .cover[data-v-6f1f999a]{position:absolute;left:%?30?%;top:%?30?%;width:%?98?%;height:%?98?%;border-radius:50%}.cards .card .card-content .user[data-v-6f1f999a]{color:hsla(0,0%,100%,.7);line-height:%?58?%;font-size:%?30?%}.cards .card .card-content .sub-time[data-v-6f1f999a]{line-height:%?40?%;color:#e6ce9e;font-size:%?26?%}.cards .card .card-content .btn[data-v-6f1f999a]{position:absolute;color:#261f0f;background:#e6ce9e;width:%?160?%;border-radius:%?30?%;font-size:%?28?%;right:%?30?%;top:%?50?%;line-height:%?58?%;text-align:center}.cards .cards-angle[data-v-6f1f999a]{position:absolute;left:0;bottom:0;width:100%;z-index:3}.cards[data-v-6f1f999a]::after{content:" ";height:%?70?%;background:#b29671;position:absolute;width:100%;bottom:0;border-radius:%?10?%;z-index:0}.tabs[data-v-6f1f999a]{background:#1f1b1c;color:#fff;padding:0 0 %?30?% 0;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;font-size:%?30?%}.tabs .item[data-v-6f1f999a]{margin:0 %?30?%;line-height:%?70?%;height:%?70?%;color:hsla(0,0%,100%,.6)}.tabs .item.show[data-v-6f1f999a]{position:relative;font-weight:700;font-size:%?32?%;color:#fff}.tabs .item.show[data-v-6f1f999a]::after{position:absolute;bottom:0;left:20%;width:60%;height:%?6?%;border-radius:%?3?%;content:" ";background:#fff}',""]),i.exports=e},"8bcd":function(i,e,t){"use strict";var a=t("4ea4");t("d81d"),t("ac1f"),t("5319"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=a(t("b85c")),o=t("ad98"),s=t("ef1b"),r={data:function(){return{loding:!0,tabsIndex:0,user:{},identitie:[],rights:[],description:"",identityTime:"",sumNumber:1,total:"",selected:!1,canBtn:"",canForm:!1,canFromImg:{showpath:"",path:""},openCondition:{}}},created:function(){this.idenInfo()},methods:{idenInfo:function(){var i=this;(0,o.identities)().then((function(e){e.identities.map((function(i){i.obj_condition=new Object;var e,t=(0,n.default)(i.get_condition);try{for(t.s();!(e=t.n()).done;){var a=e.value;i.obj_condition[a.name]={message:a.message,finish:a.finish}}}catch(o){t.e(o)}finally{t.f()}return i})),i.identitie=e.identities,i.openCondition=e.identities[i.tabsIndex].obj_condition,i.rights=e.identities[i.tabsIndex].rights,i.total=e.identities[i.tabsIndex].price,i.canBtn=e.identities[i.tabsIndex].can,i.loding=!1})).catch((function(i){uni.showToast({title:i.message,icon:"none"})}))},swiperChange:function(i){this.tabsIndex=i.detail.current,this.idenInfo()},openOrder:function(){var i=this.canBtn,e=this.identitie[this.tabsIndex].identity_id;0!=this.selected?i.on_line?i.buy?(console.log("开通vip提交"),this.vipSubmitr(e)):uni.showToast({title:i.message,icon:"none"}):i.buy?this.canClick():uni.showToast({title:i.message,icon:"none"}):uni.showToast({title:"请勾选用户协议",icon:"none"})},vipSubmitr:function(i){var e=this;(0,o.vipOrder)(i,{year:1}).then((function(i){if(i.test)uni.showModal({title:"开通提示",content:"会员开通成功,是否继续完成企业认证",showCancel:!0,cancelText:"稍后认证",confirmText:"立即认证",success:function(i){i.confirm?e.$Router.replace({name:"Approve"}):e.$Router.back()},fail:function(i){}});else{e.wechatPay(i.id)}})).catch((function(i){uni.showToast({title:i.message,icon:"none"})}))},wechatPay:function(i){(0,o.vipWechatPay)(i).then((function(i){var e=JSON.parse(i.wechat);i.identity;uni.requestPayment({provider:"wxpay",orderInfo:e,success:function(i){console.log(i)},fail:function(i){console.log(i)}})})).catch((function(i){uni.showToast({title:i.message,icon:"none"})}))},agreeChange:function(){this.selected=!this.selected},showRemark:function(i,e){uni.showModal({title:i,content:e,showCancel:!1})},updImg:function(){var i=this;uni.chooseImage({count:1,success:function(e){(0,s.uploads)([{uri:e.tempFilePaths[0]}]).then((function(e){i.canFromImg={showpath:e.url[0],path:e.path[0]}})).catch((function(i){uni.showToast({title:i.message,icon:"none"})}))}})},canClick:function(){this.canForm=!this.canForm},canSubmit:function(){var i=this,e=this.canFromImg.path,t=this.identitie[this.tabsIndex].identity_id;(0,o.vipVoucher)({cover:e,identity_id:t}).then((function(e){i.$Router.push({name:"Examine"})})).catch((function(i){uni.showToast({title:i.message,icon:"none"})}))}}};e.default=r},"99ac":function(i,e,t){"use strict";var a=t("a9a0"),n=t.n(a);n.a},"9d20":function(i,e,t){"use strict";t.r(e);var a=t("f395"),n=t("8960");for(var o in n)"default"!==o&&function(i){t.d(e,i,(function(){return n[i]}))}(o);t("3efb"),t("57ee");var s,r=t("f0c5"),l=Object(r["a"])(n["default"],a["b"],a["c"],!1,null,"6f1f999a",null,!1,a["a"],s);e["default"]=l.exports},"9e46":function(i,e,t){var a=t("24fb");e=a(!1),e.push([i.i,"uni-page-body[data-v-6f1f999a]{background-color:#fff}body.?%PAGE?%[data-v-6f1f999a]{background-color:#fff}",""]),i.exports=e},a9a0:function(i,e,t){var a=t("89ef");"string"===typeof a&&(a=[[i.i,a,""]]),a.locals&&(i.exports=a.locals);var n=t("4f06").default;n("2acee188",a,!0,{sourceMap:!1,shadowMode:!1})},ad98:function(i,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.vipVoucher=e.userAgree=e.vipCont=e.vipWechatPay=e.vipOrder=e.identities=void 0;var a=t("89d9"),n=function(){return(0,a.request)({url:"user/identities"})};e.identities=n;var o=function(i,e){return(0,a.request)({url:"user/identities/create/"+i,method:"POST",data:e})};e.vipOrder=o;var s=function(i){return(0,a.request)({url:"user/identities/pay/"+i+"/wechat"})};e.vipWechatPay=s;var r=function(i,e){return(0,a.request)({url:"user/identities/create/"+i,data:e})};e.vipCont=r;var l=function(){return(0,a.request)({url:"articles/agreement/openvip"})};e.userAgree=l;var d=function(i){return(0,a.request)({url:"user/voucher/store",method:"POST",data:i})};e.vipVoucher=d},b85c:function(i,e,t){"use strict";t("a4d3"),t("e01a"),t("d28b"),t("d3b7"),t("3ca3"),t("ddb0"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var a=n(t("06c5"));function n(i){return i&&i.__esModule?i:{default:i}}function o(i,e){var t;if("undefined"===typeof Symbol||null==i[Symbol.iterator]){if(Array.isArray(i)||(t=(0,a.default)(i))||e&&i&&"number"===typeof i.length){t&&(i=t);var n=0,o=function(){};return{s:o,n:function(){return n>=i.length?{done:!0}:{done:!1,value:i[n++]}},e:function(i){throw i},f:o}}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 s,r=!0,l=!1;return{s:function(){t=i[Symbol.iterator]()},n:function(){var i=t.next();return r=i.done,i},e:function(i){l=!0,s=i},f:function(){try{r||null==t["return"]||t["return"]()}finally{if(l)throw s}}}}},caa6:function(i,e,t){"use strict";var a=t("4ea4");t("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=a(t("e437")),o={name:"UniIcons",emits:["click"],props:{type:{type:String,default:""},color:{type:String,default:"#333333"},size:{type:[Number,String],default:16},fontFamily:{type:String,default:""}},data:function(){return{icons:n.default}},methods:{_onClick:function(){this.$emit("click")}}};e.default=o},e437:function(i,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={pulldown:"",refreshempty:"",back:"",forward:"",more:"","more-filled":"",scan:"",qq:"",weibo:"",weixin:"",pengyouquan:"",loop:"",refresh:"","refresh-filled":"",arrowthindown:"",arrowthinleft:"",arrowthinright:"",arrowthinup:"","undo-filled":"",undo:"",redo:"","redo-filled":"",bars:"",chatboxes:"",camera:"","chatboxes-filled":"","camera-filled":"","cart-filled":"",cart:"","checkbox-filled":"",checkbox:"",arrowleft:"",arrowdown:"",arrowright:"","smallcircle-filled":"",arrowup:"",circle:"","eye-filled":"","eye-slash-filled":"","eye-slash":"",eye:"","flag-filled":"",flag:"","gear-filled":"",reload:"",gear:"","hand-thumbsdown-filled":"","hand-thumbsdown":"","hand-thumbsup-filled":"","heart-filled":"","hand-thumbsup":"",heart:"",home:"",info:"","home-filled":"","info-filled":"","circle-filled":"","chat-filled":"",chat:"","mail-open-filled":"","email-filled":"","mail-open":"",email:"",checkmarkempty:"",list:"","locked-filled":"",locked:"","map-filled":"","map-pin":"","map-pin-ellipse":"",map:"","minus-filled":"","mic-filled":"",minus:"",micoff:"",mic:"",clear:"",smallcircle:"",close:"",closeempty:"",paperclip:"",paperplane:"","paperplane-filled":"","person-filled":"","contact-filled":"",person:"",contact:"","images-filled":"",phone:"",images:"",image:"","image-filled":"","location-filled":"",location:"","plus-filled":"",plus:"",plusempty:"","help-filled":"",help:"","navigate-filled":"",navigate:"","mic-slash-filled":"",search:"",settings:"",sound:"","sound-filled":"","spinner-cycle":"","download-filled":"","personadd-filled":"","videocam-filled":"",personadd:"",upload:"","upload-filled":"",starhalf:"","star-filled":"",star:"",trash:"","phone-filled":"",compose:"",videocam:"","trash-filled":"",download:"","chatbubble-filled":"",chatbubble:"","cloud-download":"","cloud-upload-filled":"","cloud-upload":"","cloud-download-filled":"",headphones:"",shop:""};e.default=a},ef1b:function(i,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.uploads=void 0;var a=t("89d9"),n=function(i){return(0,a.uploading)(i)};e.uploads=n},f1a7:function(i,e,t){"use strict";t.r(e);var a=t("6876"),n=t("5f33");for(var o in n)"default"!==o&&function(i){t.d(e,i,(function(){return n[i]}))}(o);t("99ac");var s,r=t("f0c5"),l=Object(r["a"])(n["default"],a["b"],a["c"],!1,null,"218f84fe",null,!1,a["a"],s);e["default"]=l.exports},f395:function(i,e,t){"use strict";t.d(e,"b",(function(){return n})),t.d(e,"c",(function(){return o})),t.d(e,"a",(function(){return a}));var a={uniIcons:t("f1a7").default},n=function(){var i=this,e=i.$createElement,a=i._self._c||e;return i.loding?i._e():a("v-uni-view",{staticClass:"content"},[i.canForm?a("v-uni-view",{staticClass:"canBack"}):i._e(),i.canForm?a("v-uni-view",{staticClass:"canPop"},[a("v-uni-image",{staticClass:"canPop-tips",attrs:{src:"/static/user/order-cancelPay.png",mode:"widthFix"},on:{click:function(e){arguments[0]=e=i.$handleEvent(e),i.canClick.apply(void 0,arguments)}}}),a("v-uni-view",{staticClass:"canPop-cont"},[i._v("上传打款凭证")]),a("v-uni-image",{staticClass:"canPop-cover",attrs:{src:i.canFromImg.showpath||t("1f56"),mode:"aspectFill"},on:{click:function(e){arguments[0]=e=i.$handleEvent(e),i.updImg()}}}),a("v-uni-view",{staticClass:"canPop-btn",on:{click:function(e){arguments[0]=e=i.$handleEvent(e),i.canSubmit.apply(void 0,arguments)}}},[i._v("提交")])],1):i._e(),a("v-uni-swiper",{staticClass:"vip-container",attrs:{"previous-margin":"55rpx","next-margin":"55rpx",circular:!0},on:{change:function(e){arguments[0]=e=i.$handleEvent(e),i.swiperChange.apply(void 0,arguments)}}},i._l(i.identitie,(function(e,n){return a("v-uni-swiper-item",{key:n,staticClass:"swiper-item"},[a("v-uni-view",{staticClass:"vip-item",class:i.tabsIndex==n?"color-item-img":""},[a("v-uni-image",{staticClass:"vip-back",attrs:{src:e.card_cover,mode:"scaleToFill"}}),a("v-uni-view",{staticClass:"vip-cont"},[a("v-uni-view",{staticClass:"vip-name"},[i._v(i._s(e.name)),a("v-uni-image",{staticClass:"vip-name-img",attrs:{src:t("faba"),mode:"widthFix"},on:{click:function(t){arguments[0]=t=i.$handleEvent(t),i.showRemark(e.name,e.node_definition)}}})],1),e.count?a("v-uni-view",{staticClass:"vip-number"},[i._v(i._s(e.count.stock>0?"剩余名额:"+e.count.residue:"不限名数"))]):i._e(),a("v-uni-view",{staticClass:"vip-tips"},[2==e.identity_id?a("v-uni-view",{staticClass:"vip-tips-text vip-tips-color-01"},[i._v(i._s(e.title))]):3==e.identity_id?a("v-uni-view",{staticClass:"vip-tips-text vip-tips-color-02"},[i._v(i._s(e.title))]):4==e.identity_id?a("v-uni-view",{staticClass:"vip-tips-text vip-tips-color-03"},[i._v(i._s(e.title))]):5==e.identity_id?a("v-uni-view",{staticClass:"vip-tips-text vip-tips-color-04"},[i._v(i._s(e.title))]):i._e()],1)],1)],1)],1)})),1),a("v-uni-view",{staticClass:"privilege"},[a("v-uni-view",{staticClass:"privilege-list"},[a("v-uni-image",{staticClass:"privilege-img",attrs:{src:"/static/user/vip_privilege_00.png",mode:""}}),a("v-uni-view",{staticClass:"privilege-text"},[a("v-uni-view",{staticClass:"privilege-name"},[i._v("节点定义")]),i._v(i._s(i.identitie[i.tabsIndex].node_definition))],1)],1),a("v-uni-view",{staticClass:"privilege-list"},[a("v-uni-image",{staticClass:"privilege-img",attrs:{src:"/static/user/vip_privilege_01.png",mode:""}}),a("v-uni-view",{staticClass:"privilege-text"},[a("v-uni-view",{staticClass:"privilege-name"},[i._v("升级条件")]),i.openCondition.energy_shard?[a("v-uni-view",{staticClass:"privilege-label",class:{active:i.openCondition.energy_shard.finish}},[i._v(i._s(i.openCondition.energy_shard.message)),i.openCondition.energy_shard.finish?a("uni-icons",{attrs:{type:"checkmarkempty",size:"17",color:"#f6b338"}}):i._e()],1),i.openCondition.energy_shard.finish?a("v-uni-view",{staticClass:"privilege-label"},[i._v(i._s(i.openCondition.service_charge.message))]):a("v-uni-view",{staticClass:"privilege-label",class:{active:i.openCondition.price.finish}},[i._v(i._s(i.openCondition.price.message))])]:[a("v-uni-view",{staticClass:"privilege-label",class:{active:i.openCondition.price.finish}},[i._v(i._s(i.openCondition.price.message))])]],2)],1),a("v-uni-view",{staticClass:"privilege-list"},[a("v-uni-image",{staticClass:"privilege-img",attrs:{src:"/static/user/vip_privilege_02.png",mode:""}}),a("v-uni-view",{staticClass:"privilege-text"},[a("v-uni-view",{staticClass:"privilege-name"},[i._v("节点权益")]),i._l(i.identitie[i.tabsIndex].rights,(function(e,t){return a("v-uni-view",{key:t,staticClass:"privilege-label privilege-right"},[i._v("&"+i._s(e.remark))])}))],2)],1)],1),a("v-uni-view",{staticClass:"agree"},[a("v-uni-view",{staticClass:"agree-tips",on:{click:function(e){arguments[0]=e=i.$handleEvent(e),i.$Router.push({name:"vipAgree"})}}},[i._v("请仔细阅读并确认服务协议")])],1),a("v-uni-view",{staticClass:"agree-btn",on:{click:function(e){arguments[0]=e=i.$handleEvent(e),i.agreeChange.apply(void 0,arguments)}}},[a("v-uni-radio",{staticStyle:{transform:"scale(.7)"},attrs:{checked:i.selected,color:"#7c52fc"}}),i._v("会员服务协议")],1),a("v-uni-view",{staticClass:"footer"},[a("v-uni-image",{staticClass:"footer-btn",attrs:{src:i.identitie[i.tabsIndex].button_cover,mode:"widthFix"},on:{click:function(e){arguments[0]=e=i.$handleEvent(e),i.openOrder.apply(void 0,arguments)}}})],1)],1)},o=[]},faba:function(i,e){i.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3xpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDplMzMzY2YyZC1lODI0LTQwN2YtOGFmNC0xZWY4NzUyMWYxMDgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MTI5RTdEMEUxREQwMTFFQ0JGNDZDMDc1RDY4NUI5RTYiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MTI5RTdEMEQxREQwMTFFQ0JGNDZDMDc1RDY4NUI5RTYiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDozN0M5ODkzMEM0MURFQzExQUNGOENFQzRCRjMxMDVFQiIgc3RSZWY6ZG9jdW1lbnRJRD0iYWRvYmU6ZG9jaWQ6cGhvdG9zaG9wOmU1MWY2YmI5LTNjOTUtZWY0MS05N2IwLTYyNWRhNzY5YTBkZCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pvx/ZKoAAAKcSURBVHjapJfPS1RRFMfnTaNWk+b0U2OwREFJZpKQ2ohStHARLUYCQdfRplX/h6v+AcFfCwN3GpSiFSqIRLWIKWiUIsoarUaZftj0PXAuXC7z7q/3hQ+8efPuuef+OOeeG1QqlZijjoMz4BhIgjgogT3wDXx1MZaw/I46yYCL4Dw4HPLdASiAPHgBfpkMBxYz0AP6QIPjTJXBM8bLAZreHGiLRdMn8DBsacIcSIMRzVT7aBq8sXGgCdy1NFoE+7xHmsme4fsJ8FbnAI34PqjRGPkM1sB7sCO9p6hoB/0gpWn/QF4O1YE74Jym8QJYNm1sMMzOVNMPMCqHl7zbdZ0/seicRCMaB9sh/1M03VDzAHk9YFjrp8q7Xh4lDeILeK4sCTk8FGKvl8OzLGag25CU1pTfOR7FBdDCs3cPNErfbIJ/GptX5CXoNkxrXskP2ZBs2aEkogONTeozoFGf4FHolJV2bqth/YVShmiiftPkwFmL+L1mmRfeSc8tFt+fThhi1lZ/wSRvVqE+i3bJBCeQKNoCMxzfQv08xSYdIQf+ROicsuGY8u6Sw5IdSnAh4aPfnNtlXQa3XGxQ6Pz0dOAlr71Qm2PnpFJckzJNKij5f9DDRjHO8f3Bo/GechIedWxPx/iWSL+vuAhx0U1Qyxmw7DGA11QzilS84WHgJIfeNj+7akU+DSkUFx3ChzQPVvm5nWuAwGH0O2o9sAS+OziwqqRg23CmA2q2WkES40LCVp3S8ynKapbtpuTwrVaUdoHbFoborH/MCem6ZRQ8EmtvKssznnHt1LnpYpJmJ6Kelvu85nmfq5moFa96dk73wzndHTGwvB2nuO7r4A2n0y6Pdp2L1ciXU1k1vDSUeOpBnXQylvh6/tElM/4XYABThKOotU3i5QAAAABJRU5ErkJggg=="}}]); \ No newline at end of file diff --git a/unpackage/dist/build/h5/static/js/pages-vip-vip.8716e2b5.js b/unpackage/dist/build/h5/static/js/pages-vip-vip.8716e2b5.js new file mode 100644 index 0000000..cf0c0a1 --- /dev/null +++ b/unpackage/dist/build/h5/static/js/pages-vip-vip.8716e2b5.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-vip-vip"],{"0d60":function(e,i,t){var n=t("c536");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var a=t("4f06").default;a("05bac56a",n,!0,{sourceMap:!1,shadowMode:!1})},"1de5":function(e,i,t){"use strict";e.exports=function(e,i){return i||(i={}),e=e&&e.__esModule?e.default:e,"string"!==typeof e?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),i.hash&&(e+=i.hash),/["'() \t\n]/.test(e)||i.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e)}},"1f56":function(e,i){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFYAAABACAYAAACA2YBxAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFIGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDUgNzkuMTYzNDk5LCAyMDE4LzA4LzEzLTE2OjQwOjIyICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOSAoTWFjaW50b3NoKSIgeG1wOkNyZWF0ZURhdGU9IjIwMjEtMDgtMTdUMTQ6MzU6NTkrMDg6MDAiIHhtcDpNb2RpZnlEYXRlPSIyMDIxLTA4LTE3VDE0OjM3OjI3KzA4OjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDIxLTA4LTE3VDE0OjM3OjI3KzA4OjAwIiBkYzpmb3JtYXQ9ImltYWdlL3BuZyIgcGhvdG9zaG9wOkNvbG9yTW9kZT0iMyIgcGhvdG9zaG9wOklDQ1Byb2ZpbGU9InNSR0IgSUVDNjE5NjYtMi4xIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjkyNDc5YjhhLWI3MzMtNDIwZC05Nzk2LTc1OTRiMGI5MjE4ZSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo5MjQ3OWI4YS1iNzMzLTQyMGQtOTc5Ni03NTk0YjBiOTIxOGUiIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo5MjQ3OWI4YS1iNzMzLTQyMGQtOTc5Ni03NTk0YjBiOTIxOGUiPiA8eG1wTU06SGlzdG9yeT4gPHJkZjpTZXE+IDxyZGY6bGkgc3RFdnQ6YWN0aW9uPSJjcmVhdGVkIiBzdEV2dDppbnN0YW5jZUlEPSJ4bXAuaWlkOjkyNDc5YjhhLWI3MzMtNDIwZC05Nzk2LTc1OTRiMGI5MjE4ZSIgc3RFdnQ6d2hlbj0iMjAyMS0wOC0xN1QxNDozNTo1OSswODowMCIgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTkgKE1hY2ludG9zaCkiLz4gPC9yZGY6U2VxPiA8L3htcE1NOkhpc3Rvcnk+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+R12RPQAAATVJREFUeNrt2j1KxFAUgNGsxw1MYeMC3IE2Ym1rq4XNLMF9WAyiTKe2YiH5Q3QH4gLiHZhCQhgMLwTxncBHqqQ43OQ9SIqu6wpNHwSwYAUWLFiBBQtWYMGCFViwYAUWLFj9MdjfHnVdH0er6LaqqpNixJEd7AjUo6jrdQo2ETYm9KYP2zTNPdj0iX0ZmNgWbDrs48DEPoMFCxYsWLBg/xNs27aHsU+9Dqz1jj4Htltfu66Jey6jRZawMXX7A2BTd5AdbFmWlzPArrOD3TyuM8CucoRdzAC7l+XitXkHbhecqUGfsl28bLfAggULFixYsKO/eb0ObKfewabD3g3APoBNhI3H/qwPG9jnYBNht+/ZiwB+i/NHnK/8sOEXI4EFC1ZgwYKFABaswIIFK7BgwQosWLD60TfPCgRwwCmAawAAAABJRU5ErkJggg=="},"57dc":function(e,i,t){e.exports=t.p+"static/fonts/uni.75745d34.ttf"},"59af":function(e,i,t){var n=t("24fb");i=n(!1),i.push([e.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/**\n * Web唐明明\n * 匆匆数载恍如梦,岁月迢迢华发增。\n * 碌碌无为枉半生,一朝惊醒万事空。\n */.ios-bottom[data-v-2b03f06e]{padding-bottom:env(safe-area-inset-bottom);padding-bottom:constant(safe-area-inset-bottom)}.ios-left[data-v-2b03f06e]{padding-left:env(safe-area-inset-left);padding-left:constant(safe-area-inset-left)}.ios-right[data-v-2b03f06e]{padding-right:env(safe-area-inset-right);padding-right:constant(safe-area-inset-right)}.ios-top[data-v-2b03f06e]{padding-top:0}.vertical[data-v-2b03f06e]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-pack:center}.nowrap[data-v-2b03f06e]{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ellipsis[data-v-2b03f06e]{max-width:100%;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ellipsis-3[data-v-2b03f06e]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3}.ellipsis-4[data-v-2b03f06e]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4}.ellipsis-5[data-v-2b03f06e]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:5}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.canBack[data-v-2b03f06e]{position:fixed;width:100vw;height:100vh;background-color:rgba(0,0,0,.5);left:0;top:0;z-index:99}.canPop[data-v-2b03f06e]{position:absolute;background-color:#fff;left:%?100?%;right:%?100?%;top:30%;z-index:101;padding:%?30?%;box-sizing:border-box;border-radius:%?10?%;text-align:center}.canPop .canPop-tips[data-v-2b03f06e]{position:absolute;right:%?20?%;top:%?32?%;width:%?32?%;height:%?32?%;z-index:1002}.canPop .canPop-cont[data-v-2b03f06e]{font-size:%?32?%;font-weight:600}.canPop .canPop-cover[data-v-2b03f06e]{margin:%?60?% auto %?40?%;width:%?240?%;height:%?240?%;border:%?2?% solid #f3f3f3}.canPop .canPop-btn[data-v-2b03f06e]{text-align:center;background:#8b64fd;border-radius:0;height:%?90?%;line-height:%?90?%;font-size:%?32?%;color:#fff}.canPop .canPop-btn[data-v-2b03f06e]::after{border:none}.vip-container[data-v-2b03f06e]{width:%?750?%;height:%?340?%;margin-top:%?30?%}.swiper-item[data-v-2b03f06e]{width:%?640?%;height:%?340?%;display:-webkit-box;display:-webkit-flex;display:flex}.vip-item[data-v-2b03f06e]{width:%?640?%;height:%?340?%;border-radius:%?20?%;position:relative}.vip-item .vip-back[data-v-2b03f06e]{position:absolute;left:0;top:0;width:100%;height:100%}.vip-item .vip-cont[data-v-2b03f06e]{position:absolute;left:0;top:0;width:100%;height:100%;z-index:9;padding:%?45?% %?70?%;box-sizing:border-box}.vip-item .vip-cont .vip-name[data-v-2b03f06e]{display:-webkit-box;display:-webkit-flex;display:flex;font-size:%?46?%;color:#fff;font-weight:600}.vip-item .vip-cont .vip-name .vip-name-img[data-v-2b03f06e]{width:%?36?%;height:%?36?%;margin:%?12?% %?20?%}.vip-item .vip-cont .vip-number[data-v-2b03f06e]{margin:%?10?% 0 %?40?%;color:#fff;font-size:%?32?%;opacity:.8}.vip-item .vip-cont .vip-tips[data-v-2b03f06e]{font-size:%?30?%;background-color:#e8ebf6;display:inline-block;border-radius:%?80?%;height:%?60?%;line-height:%?60?%;padding:0 %?30?%}.vip-item .vip-cont .vip-tips .vip-tips-text[data-v-2b03f06e]{font-weight:700;-webkit-background-clip:text;background-clip:text;color:transparent}.vip-item .vip-cont .vip-tips .vip-tips-color-00[data-v-2b03f06e]{background-image:-webkit-linear-gradient(top,#6189f0,#b6b9c1);background-image:linear-gradient(180deg,#6189f0,#b6b9c1)}.vip-item .vip-cont .vip-tips .vip-tips-color-01[data-v-2b03f06e]{background-image:-webkit-linear-gradient(bottom,#ffd459,#ff6c52);background-image:linear-gradient(0deg,#ffd459,#ff6c52)}.vip-item .vip-cont .vip-tips .vip-tips-color-02[data-v-2b03f06e]{background-image:-webkit-linear-gradient(bottom,#e0c9fe,#892edb);background-image:linear-gradient(0deg,#e0c9fe,#892edb)}.vip-item .vip-cont .vip-tips .vip-tips-color-03[data-v-2b03f06e]{background-image:-webkit-linear-gradient(bottom,#f6b237,#f035e3);background-image:linear-gradient(0deg,#f6b237,#f035e3)}.vip-item .vip-cont .vip-tips .vip-tips-color-04[data-v-2b03f06e]{background-image:-webkit-linear-gradient(bottom,#c455ec,#5f76e9);background-image:linear-gradient(0deg,#c455ec,#5f76e9)}.privilege[data-v-2b03f06e]{padding:%?20?% %?30?% %?80?%;box-sizing:border-box}.privilege .privilege-list[data-v-2b03f06e]{margin-bottom:%?50?%;display:-webkit-box;display:-webkit-flex;display:flex}.privilege .privilege-list .privilege-img[data-v-2b03f06e]{width:%?74?%;height:%?74?%}.privilege .privilege-list .privilege-text[data-v-2b03f06e]{width:calc(100% - %?74?%);padding-left:%?40?%;font-size:%?32?%;color:#999;line-height:%?52?%}.privilege .privilege-list .privilege-text .privilege-name[data-v-2b03f06e]{font-size:%?40?%;color:#000;margin:%?10?% 0 %?20?%}.privilege .privilege-list .privilege-text .privilege-label.active[data-v-2b03f06e]{color:#f6b338}.privilege .privilege-list .privilege-text .privilege-right[data-v-2b03f06e]{color:#7877eb}.agree[data-v-2b03f06e]{margin:%?30?% 0;text-align:center}.agree .agree-tips[data-v-2b03f06e]{background-color:#999;display:inline-block;padding:%?14?% %?30?%;color:#fff;border-radius:%?60?%}.agree-btn[data-v-2b03f06e]{display:-webkit-box;display:-webkit-flex;display:flex;font-size:%?30?%;text-align:left;color:#999;padding:%?30?%}.notice[data-v-2b03f06e]{font-size:%?28?%;color:#555;padding:%?30?% %?60?% %?60?%}.notice .title[data-v-2b03f06e]{padding-bottom:%?15?%;font-weight:700}.notice .item[data-v-2b03f06e]{padding-bottom:%?15?%;line-height:%?40?%;text-align:justify}.footer[data-v-2b03f06e]{padding:0 %?30?%;box-sizing:border-box;text-align:center}.footer .footer-btn[data-v-2b03f06e]{width:74%}.privilege[data-v-2b03f06e]{padding:%?30?%}.privilege .title[data-v-2b03f06e]{font-weight:700;color:#322711;font-size:%?32?%;text-align:center;line-height:%?90?%}.privilege .privilege-box[data-v-2b03f06e]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;padding:%?30?% 0}.privilege .privilege-box .item[data-v-2b03f06e]{width:25%;padding:%?15?%;box-sizing:border-box;text-align:center}.privilege .privilege-box .item .icon[data-v-2b03f06e]{width:%?78?%;height:%?78?%;background:#bd995d;border-radius:50%;vertical-align:top}.privilege .privilege-box .item .text[data-v-2b03f06e]{font-size:%?26?%;color:#201212;line-height:%?60?%}.cards[data-v-2b03f06e]{position:relative;background:#1f1b1c}.cards .card[data-v-2b03f06e]{position:relative;margin:0 %?30?%;background:-webkit-linear-gradient(left,#3b3d4a,#231d1f);background:linear-gradient(90deg,#3b3d4a,#231d1f);padding:%?15?%;border-radius:%?10?%;z-index:2}.cards .card .card-content[data-v-2b03f06e]{position:relative;border:solid %?1?% hsla(0,0%,100%,.4);border-radius:%?10?%;padding:%?30?% %?180?% %?60?% %?148?%;min-height:%?98?%}.cards .card .card-content .cover[data-v-2b03f06e]{position:absolute;left:%?30?%;top:%?30?%;width:%?98?%;height:%?98?%;border-radius:50%}.cards .card .card-content .user[data-v-2b03f06e]{color:hsla(0,0%,100%,.7);line-height:%?58?%;font-size:%?30?%}.cards .card .card-content .sub-time[data-v-2b03f06e]{line-height:%?40?%;color:#e6ce9e;font-size:%?26?%}.cards .card .card-content .btn[data-v-2b03f06e]{position:absolute;color:#261f0f;background:#e6ce9e;width:%?160?%;border-radius:%?30?%;font-size:%?28?%;right:%?30?%;top:%?50?%;line-height:%?58?%;text-align:center}.cards .cards-angle[data-v-2b03f06e]{position:absolute;left:0;bottom:0;width:100%;z-index:3}.cards[data-v-2b03f06e]::after{content:" ";height:%?70?%;background:#b29671;position:absolute;width:100%;bottom:0;border-radius:%?10?%;z-index:0}.tabs[data-v-2b03f06e]{background:#1f1b1c;color:#fff;padding:0 0 %?30?% 0;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;font-size:%?30?%}.tabs .item[data-v-2b03f06e]{margin:0 %?30?%;line-height:%?70?%;height:%?70?%;color:hsla(0,0%,100%,.6)}.tabs .item.show[data-v-2b03f06e]{position:relative;font-weight:700;font-size:%?32?%;color:#fff}.tabs .item.show[data-v-2b03f06e]::after{position:absolute;bottom:0;left:20%;width:60%;height:%?6?%;border-radius:%?3?%;content:" ";background:#fff}',""]),e.exports=i},"5f33":function(e,i,t){"use strict";t.r(i);var n=t("caa6"),a=t.n(n);for(var o in n)"default"!==o&&function(e){t.d(i,e,(function(){return n[e]}))}(o);i["default"]=a.a},"60a1":function(e,i,t){"use strict";var n=t("dfb1"),a=t.n(n);a.a},6876:function(e,i,t){"use strict";var n;t.d(i,"b",(function(){return a})),t.d(i,"c",(function(){return o})),t.d(i,"a",(function(){return n}));var a=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("v-uni-text",{staticClass:"uni-icons",class:[e.fontFamily,e.fontFamily?e.type:""],style:{color:e.color,"font-size":e.size+"px"},on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e._onClick.apply(void 0,arguments)}}},[e._v(e._s(e.fontFamily?"":e.icons[e.type]))])},o=[]},8960:function(e,i,t){"use strict";t.r(i);var n=t("8bcd"),a=t.n(n);for(var o in n)"default"!==o&&function(e){t.d(i,e,(function(){return n[e]}))}(o);i["default"]=a.a},"89ef":function(e,i,t){var n=t("24fb"),a=t("1de5"),o=t("57dc");i=n(!1);var s=a(o);i.push([e.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/**\n * Web唐明明\n * 匆匆数载恍如梦,岁月迢迢华发增。\n * 碌碌无为枉半生,一朝惊醒万事空。\n */.ios-bottom[data-v-218f84fe]{padding-bottom:env(safe-area-inset-bottom);padding-bottom:constant(safe-area-inset-bottom)}.ios-left[data-v-218f84fe]{padding-left:env(safe-area-inset-left);padding-left:constant(safe-area-inset-left)}.ios-right[data-v-218f84fe]{padding-right:env(safe-area-inset-right);padding-right:constant(safe-area-inset-right)}.ios-top[data-v-218f84fe]{padding-top:0}.vertical[data-v-218f84fe]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-pack:center}.nowrap[data-v-218f84fe]{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ellipsis[data-v-218f84fe]{max-width:100%;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ellipsis-3[data-v-218f84fe]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3}.ellipsis-4[data-v-218f84fe]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4}.ellipsis-5[data-v-218f84fe]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:5}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */@font-face{font-family:uniicons;src:url('+s+') format("truetype")}.uni-icons[data-v-218f84fe]{font-family:uniicons;text-decoration:none;text-align:center}',""]),e.exports=i},"8bcd":function(e,i,t){"use strict";var n=t("4ea4");t("d81d"),t("ac1f"),t("5319"),Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var a=n(t("b85c")),o=t("ad98"),s=t("ef1b"),r={data:function(){return{loding:!0,tabsIndex:0,user:{},identitie:[],rights:[],description:"",identityTime:"",sumNumber:1,total:"",selected:!1,canBtn:"",canForm:!1,canFromImg:{showpath:"",path:""},openCondition:{}}},created:function(){this.idenInfo()},methods:{idenInfo:function(){var e=this;(0,o.identities)().then((function(i){i.identities.map((function(e){e.obj_condition=new Object;var i,t=(0,a.default)(e.get_condition);try{for(t.s();!(i=t.n()).done;){var n=i.value;e.obj_condition[n.name]={message:n.message,finish:n.finish}}}catch(o){t.e(o)}finally{t.f()}return e})),e.identitie=i.identities,e.openCondition=i.identities[e.tabsIndex].obj_condition,e.rights=i.identities[e.tabsIndex].rights,e.total=i.identities[e.tabsIndex].price,e.canBtn=i.identities[e.tabsIndex].can,e.loding=!1})).catch((function(e){uni.showToast({title:e.message,icon:"none"})}))},swiperChange:function(e){this.tabsIndex=e.detail.current,this.idenInfo()},openOrder:function(){var e=this.canBtn,i=this.identitie[this.tabsIndex].identity_id;0!=this.selected?e.on_line?e.buy?(console.log("开通vip提交"),this.vipSubmitr(i)):uni.showToast({title:e.message,icon:"none"}):e.buy?this.canClick():uni.showToast({title:e.message,icon:"none"}):uni.showToast({title:"请勾选用户协议",icon:"none"})},vipSubmitr:function(e){var i=this;(0,o.vipOrder)(e,{year:1}).then((function(e){if(e.test)uni.showModal({title:"开通提示",content:"会员开通成功,是否继续完成企业认证",showCancel:!0,cancelText:"稍后认证",confirmText:"立即认证",success:function(e){e.confirm?i.$Router.replace({name:"Approve"}):i.$Router.back()},fail:function(e){}});else{i.wechatPay(e.id)}})).catch((function(e){uni.showToast({title:e.message,icon:"none"})}))},wechatPay:function(e){(0,o.vipWechatPay)(e).then((function(e){var i=JSON.parse(e.wechat);e.identity;uni.requestPayment({provider:"wxpay",orderInfo:i,success:function(e){console.log(e)},fail:function(e){console.log(e)}})})).catch((function(e){uni.showToast({title:e.message,icon:"none"})}))},agreeChange:function(){this.selected=!this.selected},showRemark:function(e,i){uni.showModal({title:e,content:i,showCancel:!1})},updImg:function(){var e=this;uni.chooseImage({count:1,success:function(i){(0,s.uploads)([{uri:i.tempFilePaths[0]}]).then((function(i){e.canFromImg={showpath:i.url[0],path:i.path[0]}})).catch((function(e){uni.showToast({title:e.message,icon:"none"})}))}})},canClick:function(){this.canForm=!this.canForm},canSubmit:function(){var e=this,i=this.canFromImg.path,t=this.identitie[this.tabsIndex].identity_id;(0,o.vipVoucher)({cover:i,identity_id:t}).then((function(i){e.$Router.push({name:"Examine"})})).catch((function(e){uni.showToast({title:e.message,icon:"none"})}))}}};i.default=r},"99ac":function(e,i,t){"use strict";var n=t("a9a0"),a=t.n(n);a.a},"9d20":function(e,i,t){"use strict";t.r(i);var n=t("d761"),a=t("8960");for(var o in a)"default"!==o&&function(e){t.d(i,e,(function(){return a[e]}))}(o);t("d542"),t("60a1");var s,r=t("f0c5"),l=Object(r["a"])(a["default"],n["b"],n["c"],!1,null,"2b03f06e",null,!1,n["a"],s);i["default"]=l.exports},a9a0:function(e,i,t){var n=t("89ef");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var a=t("4f06").default;a("2acee188",n,!0,{sourceMap:!1,shadowMode:!1})},ad98:function(e,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.userAgree=i.vipVoucher=i.vipCont=i.vipWechatPay=i.vipOrder=i.identities=void 0;var n=t("89d9"),a=function(){return(0,n.request)({url:"user/identities"})};i.identities=a;var o=function(e,i){return(0,n.request)({url:"user/identities/create/"+e,method:"POST",data:i})};i.vipOrder=o;var s=function(e){return(0,n.request)({url:"user/identities/pay/"+e+"/wechat"})};i.vipWechatPay=s;var r=function(e,i){return(0,n.request)({url:"user/identities/create/"+e,data:i})};i.vipCont=r;var l=function(e){return(0,n.request)({url:"user/voucher/store",method:"POST",data:e})};i.vipVoucher=l;var d=function(e){return(0,n.request)({url:e})};i.userAgree=d},b85c:function(e,i,t){"use strict";t("a4d3"),t("e01a"),t("d28b"),t("d3b7"),t("3ca3"),t("ddb0"),Object.defineProperty(i,"__esModule",{value:!0}),i.default=o;var n=a(t("06c5"));function a(e){return e&&e.__esModule?e:{default:e}}function o(e,i){var t;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(t=(0,n.default)(e))||i&&e&&"number"===typeof e.length){t&&(e=t);var a=0,o=function(){};return{s:o,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:o}}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 s,r=!0,l=!1;return{s:function(){t=e[Symbol.iterator]()},n:function(){var e=t.next();return r=e.done,e},e:function(e){l=!0,s=e},f:function(){try{r||null==t["return"]||t["return"]()}finally{if(l)throw s}}}}},c536:function(e,i,t){var n=t("24fb");i=n(!1),i.push([e.i,"uni-page-body[data-v-2b03f06e]{background-color:#fff}body.?%PAGE?%[data-v-2b03f06e]{background-color:#fff}",""]),e.exports=i},caa6:function(e,i,t){"use strict";var n=t("4ea4");t("a9e3"),Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var a=n(t("e437")),o={name:"UniIcons",emits:["click"],props:{type:{type:String,default:""},color:{type:String,default:"#333333"},size:{type:[Number,String],default:16},fontFamily:{type:String,default:""}},data:function(){return{icons:a.default}},methods:{_onClick:function(){this.$emit("click")}}};i.default=o},d542:function(e,i,t){"use strict";var n=t("0d60"),a=t.n(n);a.a},d761:function(e,i,t){"use strict";t.d(i,"b",(function(){return a})),t.d(i,"c",(function(){return o})),t.d(i,"a",(function(){return n}));var n={uniIcons:t("f1a7").default},a=function(){var e=this,i=e.$createElement,n=e._self._c||i;return e.loding?e._e():n("v-uni-view",{staticClass:"content"},[e.canForm?n("v-uni-view",{staticClass:"canBack"}):e._e(),e.canForm?n("v-uni-view",{staticClass:"canPop"},[n("v-uni-image",{staticClass:"canPop-tips",attrs:{src:"/static/user/order-cancelPay.png",mode:"widthFix"},on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.canClick.apply(void 0,arguments)}}}),n("v-uni-view",{staticClass:"canPop-cont"},[e._v("上传打款凭证")]),n("v-uni-image",{staticClass:"canPop-cover",attrs:{src:e.canFromImg.showpath||t("1f56"),mode:"aspectFill"},on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.updImg()}}}),n("v-uni-view",{staticClass:"canPop-btn",on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.canSubmit.apply(void 0,arguments)}}},[e._v("提交")])],1):e._e(),n("v-uni-swiper",{staticClass:"vip-container",attrs:{"previous-margin":"55rpx","next-margin":"55rpx",circular:!0},on:{change:function(i){arguments[0]=i=e.$handleEvent(i),e.swiperChange.apply(void 0,arguments)}}},e._l(e.identitie,(function(i,a){return n("v-uni-swiper-item",{key:a,staticClass:"swiper-item"},[n("v-uni-view",{staticClass:"vip-item",class:e.tabsIndex==a?"color-item-img":""},[n("v-uni-image",{staticClass:"vip-back",attrs:{src:i.card_cover,mode:"scaleToFill"}}),n("v-uni-view",{staticClass:"vip-cont"},[n("v-uni-view",{staticClass:"vip-name"},[e._v(e._s(i.name)),n("v-uni-image",{staticClass:"vip-name-img",attrs:{src:t("faba"),mode:"widthFix"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.showRemark(i.name,i.node_definition)}}})],1),i.count?n("v-uni-view",{staticClass:"vip-number"},[e._v(e._s(i.count.stock>0?"剩余名额:"+i.count.residue:"不限名数"))]):e._e(),n("v-uni-view",{staticClass:"vip-tips"},[2==i.identity_id?n("v-uni-view",{staticClass:"vip-tips-text vip-tips-color-01"},[e._v(e._s(i.title))]):3==i.identity_id?n("v-uni-view",{staticClass:"vip-tips-text vip-tips-color-02"},[e._v(e._s(i.title))]):4==i.identity_id?n("v-uni-view",{staticClass:"vip-tips-text vip-tips-color-03"},[e._v(e._s(i.title))]):5==i.identity_id?n("v-uni-view",{staticClass:"vip-tips-text vip-tips-color-04"},[e._v(e._s(i.title))]):e._e()],1)],1)],1)],1)})),1),n("v-uni-view",{staticClass:"privilege"},[n("v-uni-view",{staticClass:"privilege-list"},[n("v-uni-image",{staticClass:"privilege-img",attrs:{src:"/static/user/vip_privilege_00.png",mode:""}}),n("v-uni-view",{staticClass:"privilege-text"},[n("v-uni-view",{staticClass:"privilege-name"},[e._v("节点定义")]),e._v(e._s(e.identitie[e.tabsIndex].node_definition))],1)],1),n("v-uni-view",{staticClass:"privilege-list"},[n("v-uni-image",{staticClass:"privilege-img",attrs:{src:"/static/user/vip_privilege_01.png",mode:""}}),n("v-uni-view",{staticClass:"privilege-text"},[n("v-uni-view",{staticClass:"privilege-name"},[e._v("升级条件")]),e.openCondition.energy_shard?[n("v-uni-view",{staticClass:"privilege-label",class:{active:e.openCondition.energy_shard.finish}},[e._v(e._s(e.openCondition.energy_shard.message)),e.openCondition.energy_shard.finish?n("uni-icons",{attrs:{type:"checkmarkempty",size:"17",color:"#f6b338"}}):e._e()],1),e.openCondition.energy_shard.finish?n("v-uni-view",{staticClass:"privilege-label"},[e._v(e._s(e.openCondition.service_charge.message))]):n("v-uni-view",{staticClass:"privilege-label",class:{active:e.openCondition.price.finish}},[e._v(e._s(e.openCondition.price.message))])]:[n("v-uni-view",{staticClass:"privilege-label",class:{active:e.openCondition.price.finish}},[e._v(e._s(e.openCondition.price.message))])]],2)],1),n("v-uni-view",{staticClass:"privilege-list"},[n("v-uni-image",{staticClass:"privilege-img",attrs:{src:"/static/user/vip_privilege_02.png",mode:""}}),n("v-uni-view",{staticClass:"privilege-text"},[n("v-uni-view",{staticClass:"privilege-name"},[e._v("节点权益")]),e._l(e.identitie[e.tabsIndex].rights,(function(i,t){return n("v-uni-view",{key:t,staticClass:"privilege-label privilege-right"},[e._v("&"+e._s(i.remark))])}))],2)],1)],1),n("v-uni-view",{staticClass:"agree"},[n("v-uni-view",{staticClass:"agree-tips",on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.$Router.push({name:"vipAgree",params:{type:"vipAgree"}})}}},[e._v("请仔细阅读并确认服务协议")])],1),n("v-uni-view",{staticClass:"agree-btn",on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.agreeChange.apply(void 0,arguments)}}},[n("v-uni-radio",{staticStyle:{transform:"scale(.7)"},attrs:{checked:e.selected,color:"#7c52fc"}}),e._v("会员服务协议")],1),n("v-uni-view",{staticClass:"footer"},[n("v-uni-image",{staticClass:"footer-btn",attrs:{src:e.identitie[e.tabsIndex].button_cover,mode:"widthFix"},on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.openOrder.apply(void 0,arguments)}}})],1)],1)},o=[]},dfb1:function(e,i,t){var n=t("59af");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var a=t("4f06").default;a("7657c8e8",n,!0,{sourceMap:!1,shadowMode:!1})},e437:function(e,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var n={pulldown:"",refreshempty:"",back:"",forward:"",more:"","more-filled":"",scan:"",qq:"",weibo:"",weixin:"",pengyouquan:"",loop:"",refresh:"","refresh-filled":"",arrowthindown:"",arrowthinleft:"",arrowthinright:"",arrowthinup:"","undo-filled":"",undo:"",redo:"","redo-filled":"",bars:"",chatboxes:"",camera:"","chatboxes-filled":"","camera-filled":"","cart-filled":"",cart:"","checkbox-filled":"",checkbox:"",arrowleft:"",arrowdown:"",arrowright:"","smallcircle-filled":"",arrowup:"",circle:"","eye-filled":"","eye-slash-filled":"","eye-slash":"",eye:"","flag-filled":"",flag:"","gear-filled":"",reload:"",gear:"","hand-thumbsdown-filled":"","hand-thumbsdown":"","hand-thumbsup-filled":"","heart-filled":"","hand-thumbsup":"",heart:"",home:"",info:"","home-filled":"","info-filled":"","circle-filled":"","chat-filled":"",chat:"","mail-open-filled":"","email-filled":"","mail-open":"",email:"",checkmarkempty:"",list:"","locked-filled":"",locked:"","map-filled":"","map-pin":"","map-pin-ellipse":"",map:"","minus-filled":"","mic-filled":"",minus:"",micoff:"",mic:"",clear:"",smallcircle:"",close:"",closeempty:"",paperclip:"",paperplane:"","paperplane-filled":"","person-filled":"","contact-filled":"",person:"",contact:"","images-filled":"",phone:"",images:"",image:"","image-filled":"","location-filled":"",location:"","plus-filled":"",plus:"",plusempty:"","help-filled":"",help:"","navigate-filled":"",navigate:"","mic-slash-filled":"",search:"",settings:"",sound:"","sound-filled":"","spinner-cycle":"","download-filled":"","personadd-filled":"","videocam-filled":"",personadd:"",upload:"","upload-filled":"",starhalf:"","star-filled":"",star:"",trash:"","phone-filled":"",compose:"",videocam:"","trash-filled":"",download:"","chatbubble-filled":"",chatbubble:"","cloud-download":"","cloud-upload-filled":"","cloud-upload":"","cloud-download-filled":"",headphones:"",shop:""};i.default=n},ef1b:function(e,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.uploads=void 0;var n=t("89d9"),a=function(e){return(0,n.uploading)(e)};i.uploads=a},f1a7:function(e,i,t){"use strict";t.r(i);var n=t("6876"),a=t("5f33");for(var o in a)"default"!==o&&function(e){t.d(i,e,(function(){return a[e]}))}(o);t("99ac");var s,r=t("f0c5"),l=Object(r["a"])(a["default"],n["b"],n["c"],!1,null,"218f84fe",null,!1,n["a"],s);i["default"]=l.exports},faba:function(e,i){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3xpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDplMzMzY2YyZC1lODI0LTQwN2YtOGFmNC0xZWY4NzUyMWYxMDgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MTI5RTdEMEUxREQwMTFFQ0JGNDZDMDc1RDY4NUI5RTYiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MTI5RTdEMEQxREQwMTFFQ0JGNDZDMDc1RDY4NUI5RTYiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDozN0M5ODkzMEM0MURFQzExQUNGOENFQzRCRjMxMDVFQiIgc3RSZWY6ZG9jdW1lbnRJRD0iYWRvYmU6ZG9jaWQ6cGhvdG9zaG9wOmU1MWY2YmI5LTNjOTUtZWY0MS05N2IwLTYyNWRhNzY5YTBkZCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pvx/ZKoAAAKcSURBVHjapJfPS1RRFMfnTaNWk+b0U2OwREFJZpKQ2ohStHARLUYCQdfRplX/h6v+AcFfCwN3GpSiFSqIRLWIKWiUIsoarUaZftj0PXAuXC7z7q/3hQ+8efPuuef+OOeeG1QqlZijjoMz4BhIgjgogT3wDXx1MZaw/I46yYCL4Dw4HPLdASiAPHgBfpkMBxYz0AP6QIPjTJXBM8bLAZreHGiLRdMn8DBsacIcSIMRzVT7aBq8sXGgCdy1NFoE+7xHmsme4fsJ8FbnAI34PqjRGPkM1sB7sCO9p6hoB/0gpWn/QF4O1YE74Jym8QJYNm1sMMzOVNMPMCqHl7zbdZ0/seicRCMaB9sh/1M03VDzAHk9YFjrp8q7Xh4lDeILeK4sCTk8FGKvl8OzLGag25CU1pTfOR7FBdDCs3cPNErfbIJ/GptX5CXoNkxrXskP2ZBs2aEkogONTeozoFGf4FHolJV2bqth/YVShmiiftPkwFmL+L1mmRfeSc8tFt+fThhi1lZ/wSRvVqE+i3bJBCeQKNoCMxzfQv08xSYdIQf+ROicsuGY8u6Sw5IdSnAh4aPfnNtlXQa3XGxQ6Pz0dOAlr71Qm2PnpFJckzJNKij5f9DDRjHO8f3Bo/GechIedWxPx/iWSL+vuAhx0U1Qyxmw7DGA11QzilS84WHgJIfeNj+7akU+DSkUFx3ChzQPVvm5nWuAwGH0O2o9sAS+OziwqqRg23CmA2q2WkES40LCVp3S8ynKapbtpuTwrVaUdoHbFoborH/MCem6ZRQ8EmtvKssznnHt1LnpYpJmJ6Kelvu85nmfq5moFa96dk73wzndHTGwvB2nuO7r4A2n0y6Pdp2L1ciXU1k1vDSUeOpBnXQylvh6/tElM/4XYABThKOotU3i5QAAAABJRU5ErkJggg=="}}]); \ No newline at end of file diff --git a/unpackage/dist/build/h5/static/js/pages-wallet-bankList.75ffe2ae.js b/unpackage/dist/build/h5/static/js/pages-wallet-bankList.75ffe2ae.js deleted file mode 100644 index a6b0663..0000000 --- a/unpackage/dist/build/h5/static/js/pages-wallet-bankList.75ffe2ae.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-wallet-bankList"],{"246a":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={uIcon:i("08da").default,uToast:i("4d12").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"selectCard"},[t._l(t.lists,(function(e,n){return t.lists.length>0?i("v-uni-view",{key:n,staticClass:"bankInfo",on:{longpress:function(i){arguments[0]=i=t.$handleEvent(i),t.delBank(e.bank_account_id,n)}}},[i("v-uni-image",{staticClass:"bankLogin",attrs:{src:e.bank.cover,mode:"widthFix"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.selectBank(e)}}}),i("v-uni-view",{staticClass:"right",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.selectBank(e)}}},[i("v-uni-view",{staticClass:"left"},[i("v-uni-view",{staticClass:"title"},[t._v(t._s(e.bank.name)),i("v-uni-view",{staticClass:"tags"},[t._v("快捷支付")])],1),i("v-uni-view",{staticClass:"des"},[t._v("储值卡")]),i("v-uni-view",{staticClass:"no"},[t._v(t._s(e.no))])],1)],1),i("u-icon",{attrs:{name:"edit-pen-fill",color:"rgba(255,255,255,0.6)",size:"50"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.editBank(e.bank_account_id)}}})],1):t._e()})),0===t.lists.length?i("no-list",{attrs:{name:"no-shop",txt:"没有任何提现银行 ~ "}}):t._e(),i("u-toast",{ref:"uToast"})],2)},o=[]},"483a":function(t,e,i){var n=i("c7ac");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("6d5b81ad",n,!0,{sourceMap:!1,shadowMode:!1})},"49cc":function(t,e,i){"use strict";var n=i("483a"),a=i.n(n);a.a},9236:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.userAccoutScores=e.withdrawsIndexLists=e.withdrawsIndex=e.withdrawsIndexCreate=e.withdrawsAccountsDelete=e.withdrawsAccountsEdits=e.accountsCreateEdit=e.withdrawsAccountsList=e.withdrawsAccounts=e.accountsCreate=void 0;var n=i("89d9"),a=function(){return(0,n.request)({url:"withdraws/accounts/create"})};e.accountsCreate=a;var o=function(t){return(0,n.request)({url:"withdraws/accounts",method:"POST",data:t})};e.withdrawsAccounts=o;var s=function(t){return(0,n.request)({url:"withdraws/accounts",method:"get",data:t})};e.withdrawsAccountsList=s;var r=function(t){return(0,n.request)({url:"withdraws/accounts/"+t+"/edit"})};e.accountsCreateEdit=r;var d=function(t){return(0,n.request)({url:"withdraws/accounts/"+t.bank_account_id,method:"PUT",data:t})};e.withdrawsAccountsEdits=d;var c=function(t){return(0,n.request)({url:"withdraws/accounts/"+t,method:"DELETE"})};e.withdrawsAccountsDelete=c;var l=function(){return(0,n.request)({url:"withdraws/index/create"})};e.withdrawsIndexCreate=l;var u=function(t){return(0,n.request)({url:"withdraws/index",method:"POST",data:t})};e.withdrawsIndex=u;var f=function(t){return(0,n.request)({url:"withdraws/index",method:"get",data:t})};e.withdrawsIndexLists=f;var w=function(t){return(0,n.request)({url:"user/account/scores",method:"get",data:t})};e.userAccoutScores=w},"9b33":function(t,e,i){"use strict";i.r(e);var n=i("b5fc"),a=i.n(n);for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},b2b0:function(t,e,i){"use strict";i.r(e);var n=i("246a"),a=i("9b33");for(var o in a)"default"!==o&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("49cc");var s,r=i("f0c5"),d=Object(r["a"])(a["default"],n["b"],n["c"],!1,null,"987d6d88",null,!1,n["a"],s);e["default"]=d.exports},b5fc:function(t,e,i){"use strict";i("99af"),i("a434"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i("9236"),a={data:function(){return{lists:[],page:1,has_more:!0}},onLoad:function(){this.withdrawsAccountsList()},onShow:function(){uni.getStorageSync("refresh")&&(this.lists=[],this.page=1,this.has_more=!0,this.withdrawsAccountsList())},onReachBottom:function(){this.has_more?(this.page=this.page+1,this.withdrawsAccountsList()):this.$refs.uToast.show({title:"哎呦,没有更多了~",type:"primary",duration:3e3})},methods:{withdrawsAccountsList:function(){var t=this,e={page:this.page};(0,n.withdrawsAccountsList)(e).then((function(e){console.log(e),t.lists=t.lists.concat(e.data),t.has_more=e.page.has_more,uni.setStorageSync("refresh",!1)})).catch((function(e){t.$refs.uToast.show({title:e.message,type:"primary",duration:3e3})}))},editBank:function(t){uni.navigateTo({url:"/pages/wallet/addBank?id="+t})},delBank:function(t,e){var i=this;uni.showModal({title:"温馨提示",content:"是否确认删除该银行",cancelColor:"#cacaca",cancelText:"我再想想",confirmColor:"#7C52FC",confirmText:"确认删除",success:function(a){var o=this;a.confirm&&(0,n.withdrawsAccountsDelete)(t).then((function(t){console.log(t),i.lists.splice(e,1),0===i.lists.length&&(uni.navigateBack({}),uni.setStorageSync("refresh",!0))})).catch((function(t){o.$refs.uToast.show({title:t.message,type:"primary",duration:3e3})}))}})},selectBank:function(t){var e={name:t.bank.name+"-"+t.no.substring(t.no.length-4),bank_account_id:t.bank_account_id},i=getCurrentPages(),n=i[i.length-2];console.log(e),n._data.bankInfo=e,uni.navigateBack()}}};e.default=a},c7ac:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/**\n * Web唐明明\n * 匆匆数载恍如梦,岁月迢迢华发增。\n * 碌碌无为枉半生,一朝惊醒万事空。\n */.ios-bottom[data-v-987d6d88]{padding-bottom:env(safe-area-inset-bottom);padding-bottom:constant(safe-area-inset-bottom)}.ios-left[data-v-987d6d88]{padding-left:env(safe-area-inset-left);padding-left:constant(safe-area-inset-left)}.ios-right[data-v-987d6d88]{padding-right:env(safe-area-inset-right);padding-right:constant(safe-area-inset-right)}.ios-top[data-v-987d6d88]{padding-top:0}.vertical[data-v-987d6d88]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-pack:center}.nowrap[data-v-987d6d88]{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ellipsis[data-v-987d6d88]{max-width:100%;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ellipsis-3[data-v-987d6d88]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3}.ellipsis-4[data-v-987d6d88]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4}.ellipsis-5[data-v-987d6d88]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:5}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.selectCard[data-v-987d6d88]{width:100%;min-height:100vh;padding-top:%?30?%;background-color:#fff;padding-bottom:%?80?%}.selectCard .bankInfo[data-v-987d6d88]{width:calc(100% - %?60?%);background-image:-webkit-linear-gradient(left,#7c52fc,#976dff);background-image:linear-gradient(90deg,#7c52fc,#976dff);box-shadow:0 %?10?% %?20?% %?0?% rgba(151,109,255,.6);margin:%?20?% %?30?% 0 %?30?%;border-radius:%?20?%;box-sizing:border-box;position:relative;padding:%?40?% %?30?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;z-index:1}.selectCard .bankInfo .bankLogin[data-v-987d6d88]{width:%?70?%;height:%?70?%;opacity:.9}.selectCard .bankInfo .right[data-v-987d6d88]{-webkit-box-flex:1;-webkit-flex:1;flex:1;margin-left:%?20?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;box-sizing:border-box;color:hsla(0,0%,100%,.9);position:relative;z-index:1}.selectCard .bankInfo .right .u-icon[data-v-987d6d88]{position:absolute;background-color:pink;z-index:100;right:0}.selectCard .bankInfo .right .left[data-v-987d6d88]{-webkit-box-flex:1;-webkit-flex:1;flex:1}.selectCard .bankInfo .right .left .title[data-v-987d6d88]{font-size:%?38?%;font-weight:700;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start}.selectCard .bankInfo .right .left .title .tags[data-v-987d6d88]{color:#8b64fd;font-size:%?24?%;margin-left:%?20?%;padding:%?4?% %?14?%;position:relative;display:inline-block;color:#7c52fc}.selectCard .bankInfo .right .left .title .tags[data-v-987d6d88]::before{background:hsla(0,0%,100%,.8);z-index:-1;position:absolute;content:"";top:0;left:0;right:0;bottom:0;-webkit-transform:skewX(-10deg);transform:skewX(-10deg)}.selectCard .bankInfo .right .left .des[data-v-987d6d88]{font-size:%?28?%;margin-top:%?14?%}.selectCard .bankInfo .right .left .no[data-v-987d6d88]{font-size:%?36?%;font-weight:700;margin-top:%?20?%}',""]),t.exports=e}}]); \ No newline at end of file diff --git a/unpackage/dist/build/h5/static/js/pages-wallet-bankList.a195e244.js b/unpackage/dist/build/h5/static/js/pages-wallet-bankList.a195e244.js new file mode 100644 index 0000000..6fd471b --- /dev/null +++ b/unpackage/dist/build/h5/static/js/pages-wallet-bankList.a195e244.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-wallet-bankList"],{"59b1":function(t,e,i){"use strict";var n=i("c9e1"),a=i.n(n);a.a},"7a9c":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={uIcon:i("08da").default,uToast:i("4d12").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"selectCard"},[t._l(t.lists,(function(e,n){return t.lists.length>0?i("v-uni-view",{key:n,staticClass:"bankInfo",on:{longpress:function(i){arguments[0]=i=t.$handleEvent(i),t.delBank(e.bank_account_id,n)}}},[i("v-uni-image",{staticClass:"bankLogin",attrs:{src:e.bank.cover,mode:"widthFix"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.selectBank(e)}}}),i("v-uni-view",{staticClass:"right",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.selectBank(e)}}},[i("v-uni-view",{staticClass:"left"},[i("v-uni-view",{staticClass:"title"},[t._v(t._s(e.bank.name)),i("v-uni-view",{staticClass:"tags"},[t._v("快捷支付")])],1),i("v-uni-view",{staticClass:"des"},[t._v("储值卡")]),i("v-uni-view",{staticClass:"no"},[t._v(t._s(e.no))])],1)],1),i("u-icon",{attrs:{name:"edit-pen-fill",color:"rgba(255,255,255,0.6)",size:"50"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.editBank(e.bank_account_id)}}})],1):t._e()})),0===t.lists.length?i("no-list",{attrs:{name:"no-shop",txt:"没有任何提现银行 ~ "}}):t._e(),i("u-toast",{ref:"uToast"})],2)},o=[]},9236:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.userAccoutScores=e.withdrawsIndexLists=e.withdrawsIndex=e.withdrawsIndexCreate=e.withdrawsAccountsDelete=e.withdrawsAccountsEdits=e.accountsCreateEdit=e.withdrawsAccountsList=e.withdrawsAccounts=e.accountsCreate=void 0;var n=i("89d9"),a=function(){return(0,n.request)({url:"withdraws/accounts/create"})};e.accountsCreate=a;var o=function(t){return(0,n.request)({url:"withdraws/accounts",method:"POST",data:t})};e.withdrawsAccounts=o;var s=function(t){return(0,n.request)({url:"withdraws/accounts",method:"get",data:t})};e.withdrawsAccountsList=s;var r=function(t){return(0,n.request)({url:"withdraws/accounts/"+t+"/edit"})};e.accountsCreateEdit=r;var c=function(t){return(0,n.request)({url:"withdraws/accounts/"+t.bank_account_id,method:"PUT",data:t})};e.withdrawsAccountsEdits=c;var d=function(t){return(0,n.request)({url:"withdraws/accounts/"+t,method:"DELETE"})};e.withdrawsAccountsDelete=d;var l=function(){return(0,n.request)({url:"withdraws/index/create"})};e.withdrawsIndexCreate=l;var f=function(t){return(0,n.request)({url:"withdraws/index",method:"POST",data:t})};e.withdrawsIndex=f;var u=function(t){return(0,n.request)({url:"withdraws/index",method:"get",data:t})};e.withdrawsIndexLists=u;var w=function(t){return(0,n.request)({url:"user/account/scores",method:"get",data:t})};e.userAccoutScores=w},"9b33":function(t,e,i){"use strict";i.r(e);var n=i("b5fc"),a=i.n(n);for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},b2b0:function(t,e,i){"use strict";i.r(e);var n=i("7a9c"),a=i("9b33");for(var o in a)"default"!==o&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("59b1");var s,r=i("f0c5"),c=Object(r["a"])(a["default"],n["b"],n["c"],!1,null,"06d33f6c",null,!1,n["a"],s);e["default"]=c.exports},b5fc:function(t,e,i){"use strict";i("99af"),i("a434"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i("9236"),a={data:function(){return{lists:[],page:1,has_more:!0}},onLoad:function(){this.withdrawsAccountsList()},onShow:function(){uni.getStorageSync("refresh")&&(this.lists=[],this.page=1,this.has_more=!0,this.withdrawsAccountsList())},onReachBottom:function(){this.has_more?(this.page=this.page+1,this.withdrawsAccountsList()):this.$refs.uToast.show({title:"哎呦,没有更多了~",type:"primary",duration:3e3})},methods:{withdrawsAccountsList:function(){var t=this,e={page:this.page};(0,n.withdrawsAccountsList)(e).then((function(e){console.log(e),t.lists=t.lists.concat(e.data),t.has_more=e.page.has_more,uni.setStorageSync("refresh",!1)})).catch((function(e){t.$refs.uToast.show({title:e.message,type:"primary",duration:3e3})}))},editBank:function(t){this.$Router.push({name:"addBank",params:{id:t}})},delBank:function(t,e){var i=this;uni.showModal({title:"温馨提示",content:"是否确认删除该银行",cancelColor:"#cacaca",cancelText:"我再想想",confirmColor:"#7C52FC",confirmText:"确认删除",success:function(a){var o=this;a.confirm&&(0,n.withdrawsAccountsDelete)(t).then((function(t){console.log(t),i.lists.splice(e,1),0===i.lists.length&&(uni.navigateBack({}),uni.setStorageSync("refresh",!0))})).catch((function(t){o.$refs.uToast.show({title:t.message,type:"primary",duration:3e3})}))}})},selectBank:function(t){var e={name:t.bank.name+"-"+t.no.substring(t.no.length-4),bank_account_id:t.bank_account_id},i=getCurrentPages(),n=i[i.length-2];console.log(e),n._data.bankInfo=e,uni.navigateBack()}}};e.default=a},c9e1:function(t,e,i){var n=i("db98");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("cc677330",n,!0,{sourceMap:!1,shadowMode:!1})},db98:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/**\n * Web唐明明\n * 匆匆数载恍如梦,岁月迢迢华发增。\n * 碌碌无为枉半生,一朝惊醒万事空。\n */.ios-bottom[data-v-06d33f6c]{padding-bottom:env(safe-area-inset-bottom);padding-bottom:constant(safe-area-inset-bottom)}.ios-left[data-v-06d33f6c]{padding-left:env(safe-area-inset-left);padding-left:constant(safe-area-inset-left)}.ios-right[data-v-06d33f6c]{padding-right:env(safe-area-inset-right);padding-right:constant(safe-area-inset-right)}.ios-top[data-v-06d33f6c]{padding-top:0}.vertical[data-v-06d33f6c]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-pack:center}.nowrap[data-v-06d33f6c]{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ellipsis[data-v-06d33f6c]{max-width:100%;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ellipsis-3[data-v-06d33f6c]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3}.ellipsis-4[data-v-06d33f6c]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4}.ellipsis-5[data-v-06d33f6c]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:5}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.selectCard[data-v-06d33f6c]{width:100%;min-height:100vh;padding-top:%?30?%;background-color:#fff;padding-bottom:%?80?%}.selectCard .bankInfo[data-v-06d33f6c]{width:calc(100% - %?60?%);background-image:-webkit-linear-gradient(left,#7c52fc,#976dff);background-image:linear-gradient(90deg,#7c52fc,#976dff);box-shadow:0 %?10?% %?20?% %?0?% rgba(151,109,255,.6);margin:%?20?% %?30?% 0 %?30?%;border-radius:%?20?%;box-sizing:border-box;position:relative;padding:%?40?% %?30?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;z-index:1}.selectCard .bankInfo .bankLogin[data-v-06d33f6c]{width:%?70?%;height:%?70?%;opacity:.9}.selectCard .bankInfo .right[data-v-06d33f6c]{-webkit-box-flex:1;-webkit-flex:1;flex:1;margin-left:%?20?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;box-sizing:border-box;color:hsla(0,0%,100%,.9);position:relative;z-index:1}.selectCard .bankInfo .right .u-icon[data-v-06d33f6c]{position:absolute;background-color:pink;z-index:100;right:0}.selectCard .bankInfo .right .left[data-v-06d33f6c]{-webkit-box-flex:1;-webkit-flex:1;flex:1}.selectCard .bankInfo .right .left .title[data-v-06d33f6c]{font-size:%?38?%;font-weight:700;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start}.selectCard .bankInfo .right .left .title .tags[data-v-06d33f6c]{color:#8b64fd;font-size:%?24?%;margin-left:%?20?%;padding:%?4?% %?14?%;position:relative;display:inline-block;color:#7c52fc}.selectCard .bankInfo .right .left .title .tags[data-v-06d33f6c]::before{background:hsla(0,0%,100%,.8);z-index:-1;position:absolute;content:"";top:0;left:0;right:0;bottom:0;-webkit-transform:skewX(-10deg);transform:skewX(-10deg)}.selectCard .bankInfo .right .left .des[data-v-06d33f6c]{font-size:%?28?%;margin-top:%?14?%}.selectCard .bankInfo .right .left .no[data-v-06d33f6c]{font-size:%?36?%;font-weight:700;margin-top:%?20?%}',""]),t.exports=e}}]); \ No newline at end of file diff --git a/unpackage/dist/build/h5/static/js/pages-wallet-extract.2c8a5193.js b/unpackage/dist/build/h5/static/js/pages-wallet-extract.2c8a5193.js new file mode 100644 index 0000000..33fd7c6 --- /dev/null +++ b/unpackage/dist/build/h5/static/js/pages-wallet-extract.2c8a5193.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-wallet-extract"],{"1de5":function(t,e,i){"use strict";t.exports=function(t,e){return e||(e={}),t=t&&t.__esModule?t.default:t,"string"!==typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t)}},"27a7":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={uniIcons:i("f1a7").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"WithdrawingCoin "},[i("v-uni-view",{staticClass:"propery"},[i("v-uni-image",{staticClass:"record-bg",attrs:{src:"/static/imgs/account-bg.png",mode:"aspectFill"}}),i("v-uni-view",{staticClass:"propery-content"},[i("v-uni-view",{staticClass:"currency"},[t._v("能量球钱包"),i("span",[t._v("(≈ "+t._s(t.cost||"0.00")+" CNY)")])]),i("v-uni-view",{staticClass:"balance"},[t._v(t._s(t.balance||"0.00"))]),i("v-uni-view",{staticClass:"frozen",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.withdrawDetail.apply(void 0,arguments)}}},[t._v("提现记录")])],1)],1),i("v-uni-view",{staticClass:"item-name"},[t._v("提现至银行卡"),i("v-uni-view",{staticClass:"right"},[0===t.bank_accounts?i("v-uni-view",{staticClass:"cardName",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.addBanks.apply(void 0,arguments)}}},[t._v("添加银行卡")]):t._e(),t.bank_accounts>0?i("v-uni-view",{staticClass:"cardName",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.bankLists.apply(void 0,arguments)}}},[t._v(t._s(t.bankInfo.name?t.bankInfo.name:"选择银行卡"))]):t._e(),i("uni-icons",{attrs:{type:"arrowright",size:"12",color:"#fff"}})],1)],1),i("v-uni-view",{staticClass:"withdrawing-content"},[i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticStyle:{flex:"1"}},[i("v-uni-input",{staticClass:"input_num",attrs:{type:"number","placeholder-style":"color:#999;font-weight:normal; font-size:34rpx;",placeholder:"提现数量"},on:{input:function(e){arguments[0]=e=t.$handleEvent(e),t.inputNum.apply(void 0,arguments)}},model:{value:t.withdraw_input,callback:function(e){t.withdraw_input=e},expression:"withdraw_input"}})],1),i("v-uni-view",{staticClass:"all",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.all.apply(void 0,arguments)}}},[t._v("全部提现")])],1)],1),t.total?i("v-uni-view",{staticClass:"total"},[t._v("≈ ¥"+t._s(t.total.toFixed(2)))]):t._e(),i("v-uni-view",{staticClass:"btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.actions.apply(void 0,arguments)}}},[t._v("提现至银行卡")]),i("v-uni-view",{staticClass:"des"},[t._v("预计5- 10个工作日到账 手续费: "+t._s(t.tax)+"%")])],1)},o=[]},3048:function(t,e,i){"use strict";i("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i("9236"),a={data:function(){return{balance:0,tax:0,cost:1,total:0,card:"",withdraw_input:"",bank_accounts:0,bankInfo:{}}},onLoad:function(){this.getInfo()},onShow:function(){uni.getStorageSync("refresh")&&(this.bankInfo={},this.getInfo())},methods:{getInfo:function(){var t=this;(0,n.withdrawsIndexCreate)().then((function(e){t.balance=e.balance,t.tax=e.tax,t.cost=e.cost,t.bank_accounts=e.bank_accounts.length,uni.setStorageSync("refresh",!1)})).catch((function(t){uni.showToast({title:t.message,icon:"none"})}))},inputNum:function(t){var e=Number(t.detail.value);e<=this.balance?this.total=Number(t.detail.value)*this.cost:(uni.showToast({title:"最大值能超过"+this.balance,icon:"none",duration:2e3}),this.withdraw_input="",this.total=0)},all:function(){this.balance>0?(this.withdraw_input=this.balance,this.total=this.balance*this.cost):uni.showToast({title:"啥也没有,我也做不到~",icon:"none",duration:2e3})},actions:function(){var t=this,e={bank_account_id:this.bankInfo.bank_account_id,amount:Number(this.withdraw_input)};void 0!==e.bank_account_id&&null!==e.bank_account_id&&""!==e.bank_account_id?0!==e.amount?uni.showModal({title:"温馨提示",content:"您是否确认提现,将会扣除"+this.tax+"%手续费",confirmColor:"#7c52fc",cancelColor:"#cacaca",cancelText:"我再想想",confirmText:"确认提现",success:function(i){i.confirm&&(uni.showLoading({title:"提交中"}),(0,n.withdrawsIndex)(e).then((function(e){uni.showToast({title:e,icon:"none",duration:3e3}),t.withdraw_input="",t.total="",setTimeout((function(e){t.getInfo(),uni.hideLoading()}),3e3)})).catch((function(t){uni.showToast({title:t.message,icon:"none"})})))}}):uni.showToast({title:"请输入能量球数量",icon:"none"}):uni.showToast({title:this.bank_accounts>0?"请选择银行卡":"请添加银行卡",icon:"none"})},addBanks:function(){this.$Router.push({name:"addBank"})},bankLists:function(){this.$Router.push({name:"bankList"})},withdrawDetail:function(){this.$Router.push({name:"withdrawList"})}}};e.default=a},"57dc":function(t,e,i){t.exports=i.p+"static/fonts/uni.75745d34.ttf"},"5cf9":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/**\n * Web唐明明\n * 匆匆数载恍如梦,岁月迢迢华发增。\n * 碌碌无为枉半生,一朝惊醒万事空。\n */.ios-bottom[data-v-7444efd6]{padding-bottom:env(safe-area-inset-bottom);padding-bottom:constant(safe-area-inset-bottom)}.ios-left[data-v-7444efd6]{padding-left:env(safe-area-inset-left);padding-left:constant(safe-area-inset-left)}.ios-right[data-v-7444efd6]{padding-right:env(safe-area-inset-right);padding-right:constant(safe-area-inset-right)}.ios-top[data-v-7444efd6]{padding-top:0}.vertical[data-v-7444efd6]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-pack:center}.nowrap[data-v-7444efd6]{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ellipsis[data-v-7444efd6]{max-width:100%;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ellipsis-3[data-v-7444efd6]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3}.ellipsis-4[data-v-7444efd6]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4}.ellipsis-5[data-v-7444efd6]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:5}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */uni-page-body[data-v-7444efd6]{width:100%;min-height:100vh;background-color:#f7f7f7}.receiptCode[data-v-7444efd6]{color:grey;text-align:left;font-size:%?28?%}.WithdrawingCoin[data-v-7444efd6]{background-color:#f7f7f7;width:100%;min-height:100vh;padding-bottom:%?100?%}.WithdrawingCoin .propery[data-v-7444efd6]{position:relative;padding-top:0;background-image:-webkit-linear-gradient(left,#7c52fc,#976dff);background-image:linear-gradient(90deg,#7c52fc,#976dff);position:relative;overflow:hidden}.WithdrawingCoin .propery .record-bg[data-v-7444efd6]{position:absolute;width:120%;height:%?300?%;bottom:%?-50?%;right:%?-20?%;z-index:1;opacity:.5;-webkit-transform:rotate(-7deg);transform:rotate(-7deg)}.WithdrawingCoin .propery .propery-content[data-v-7444efd6]{position:relative;z-index:1;padding:%?90?% %?42?%;text-align:center}.WithdrawingCoin .propery .propery-content .currency[data-v-7444efd6]{font-size:%?28?%;color:hsla(0,0%,100%,.8)}.WithdrawingCoin .propery .propery-content .balance[data-v-7444efd6]{font-size:%?80?%;padding:%?30?% 0;color:#fff}.WithdrawingCoin .propery .propery-content .frozen[data-v-7444efd6]{background:rgba(0,0,0,.1);color:hsla(0,0%,100%,.7);display:inline-block;font-size:%?24?%;padding:%?6?% %?30?%;border-radius:%?10?%;border:solid %?1?% hsla(0,0%,100%,.4)}.all[data-v-7444efd6]{color:#8b64fd;width:%?160?%;text-align:center}.item-name[data-v-7444efd6]{text-align:center;color:#303030;font-weight:700;margin-bottom:%?30?%;font-size:%?30?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;box-sizing:border-box;background-image:-webkit-linear-gradient(left,#aaf,#aaf);background-image:linear-gradient(90deg,#aaf,#aaf);color:#fff;margin:%?30?%;padding:%?30?%}.item-name .right[data-v-7444efd6]{-webkit-box-flex:1;-webkit-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;font-size:%?34?%}.item-name .right .cardName[data-v-7444efd6]{-webkit-box-flex:1;-webkit-flex:1;flex:1}.withdrawing-content[data-v-7444efd6]{background-color:#fff;padding:%?30?% %?30?% %?30?% %?60?%;font-size:%?28?%\n /* 绑定银行卡 */}.withdrawing-content .bank-card[data-v-7444efd6]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;box-sizing:border-box;padding:0 %?45?% 0 %?35?%}.withdrawing-content .item[data-v-7444efd6]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;box-sizing:border-box;padding:%?30?% 0}.withdrawing-content .item span[data-v-7444efd6]:nth-child(1){color:#666;margin-right:%?20?%}.withdrawing-content .item .input_num[data-v-7444efd6]{font-size:%?48?%;color:#3a3a3a;font-weight:bolder;-webkit-box-flex:1;-webkit-flex:1;flex:1}.withdrawing-content .item-total[data-v-7444efd6]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;padding:%?30?% 0 0 0;color:#3a3a3a}.withdrawing-content .item-total .total[data-v-7444efd6]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;box-sizing:border-box}.withdrawing-content .item-total .total .money[data-v-7444efd6]{padding-top:%?15?%}.withdrawing-content .item-total .lists[data-v-7444efd6]{color:#8b64fd}.btn[data-v-7444efd6]{background-image:-webkit-linear-gradient(left,#7c52fc,#976dff);background-image:linear-gradient(90deg,#7c52fc,#976dff);color:#fff;border-radius:%?10?%;text-align:center;padding:%?27?%;margin:%?90?% %?60?% %?30?% %?60?%;font-size:%?32?%;font-weight:700}.des[data-v-7444efd6]{text-align:center;color:#cacaca;font-size:%?26?%}.total[data-v-7444efd6]{color:#8b64fd;margin-top:%?20?%;margin-left:%?50?%;font-size:%?36?%}body.?%PAGE?%[data-v-7444efd6]{background-color:#f7f7f7}',""]),t.exports=e},"5f33":function(t,e,i){"use strict";i.r(e);var n=i("caa6"),a=i.n(n);for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},6876:function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-text",{staticClass:"uni-icons",class:[t.fontFamily,t.fontFamily?t.type:""],style:{color:t.color,"font-size":t.size+"px"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t._onClick.apply(void 0,arguments)}}},[t._v(t._s(t.fontFamily?"":t.icons[t.type]))])},o=[]},"89ef":function(t,e,i){var n=i("24fb"),a=i("1de5"),o=i("57dc");e=n(!1);var r=a(o);e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/**\n * Web唐明明\n * 匆匆数载恍如梦,岁月迢迢华发增。\n * 碌碌无为枉半生,一朝惊醒万事空。\n */.ios-bottom[data-v-218f84fe]{padding-bottom:env(safe-area-inset-bottom);padding-bottom:constant(safe-area-inset-bottom)}.ios-left[data-v-218f84fe]{padding-left:env(safe-area-inset-left);padding-left:constant(safe-area-inset-left)}.ios-right[data-v-218f84fe]{padding-right:env(safe-area-inset-right);padding-right:constant(safe-area-inset-right)}.ios-top[data-v-218f84fe]{padding-top:0}.vertical[data-v-218f84fe]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-pack:center}.nowrap[data-v-218f84fe]{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ellipsis[data-v-218f84fe]{max-width:100%;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ellipsis-3[data-v-218f84fe]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3}.ellipsis-4[data-v-218f84fe]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4}.ellipsis-5[data-v-218f84fe]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:5}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */@font-face{font-family:uniicons;src:url('+r+') format("truetype")}.uni-icons[data-v-218f84fe]{font-family:uniicons;text-decoration:none;text-align:center}',""]),t.exports=e},9075:function(t,e,i){var n=i("5cf9");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("8f732442",n,!0,{sourceMap:!1,shadowMode:!1})},9236:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.userAccoutScores=e.withdrawsIndexLists=e.withdrawsIndex=e.withdrawsIndexCreate=e.withdrawsAccountsDelete=e.withdrawsAccountsEdits=e.accountsCreateEdit=e.withdrawsAccountsList=e.withdrawsAccounts=e.accountsCreate=void 0;var n=i("89d9"),a=function(){return(0,n.request)({url:"withdraws/accounts/create"})};e.accountsCreate=a;var o=function(t){return(0,n.request)({url:"withdraws/accounts",method:"POST",data:t})};e.withdrawsAccounts=o;var r=function(t){return(0,n.request)({url:"withdraws/accounts",method:"get",data:t})};e.withdrawsAccountsList=r;var l=function(t){return(0,n.request)({url:"withdraws/accounts/"+t+"/edit"})};e.accountsCreateEdit=l;var s=function(t){return(0,n.request)({url:"withdraws/accounts/"+t.bank_account_id,method:"PUT",data:t})};e.withdrawsAccountsEdits=s;var d=function(t){return(0,n.request)({url:"withdraws/accounts/"+t,method:"DELETE"})};e.withdrawsAccountsDelete=d;var c=function(){return(0,n.request)({url:"withdraws/index/create"})};e.withdrawsIndexCreate=c;var f=function(t){return(0,n.request)({url:"withdraws/index",method:"POST",data:t})};e.withdrawsIndex=f;var u=function(t){return(0,n.request)({url:"withdraws/index",method:"get",data:t})};e.withdrawsIndexLists=u;var w=function(t){return(0,n.request)({url:"user/account/scores",method:"get",data:t})};e.userAccoutScores=w},"99ac":function(t,e,i){"use strict";var n=i("a9a0"),a=i.n(n);a.a},a9a0:function(t,e,i){var n=i("89ef");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("2acee188",n,!0,{sourceMap:!1,shadowMode:!1})},b935:function(t,e,i){"use strict";var n=i("9075"),a=i.n(n);a.a},caa6:function(t,e,i){"use strict";var n=i("4ea4");i("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("e437")),o={name:"UniIcons",emits:["click"],props:{type:{type:String,default:""},color:{type:String,default:"#333333"},size:{type:[Number,String],default:16},fontFamily:{type:String,default:""}},data:function(){return{icons:a.default}},methods:{_onClick:function(){this.$emit("click")}}};e.default=o},cb12:function(t,e,i){"use strict";i.r(e);var n=i("3048"),a=i.n(n);for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},ccda:function(t,e,i){"use strict";i.r(e);var n=i("27a7"),a=i("cb12");for(var o in a)"default"!==o&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("b935");var r,l=i("f0c5"),s=Object(l["a"])(a["default"],n["b"],n["c"],!1,null,"7444efd6",null,!1,n["a"],r);e["default"]=s.exports},e437:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={pulldown:"",refreshempty:"",back:"",forward:"",more:"","more-filled":"",scan:"",qq:"",weibo:"",weixin:"",pengyouquan:"",loop:"",refresh:"","refresh-filled":"",arrowthindown:"",arrowthinleft:"",arrowthinright:"",arrowthinup:"","undo-filled":"",undo:"",redo:"","redo-filled":"",bars:"",chatboxes:"",camera:"","chatboxes-filled":"","camera-filled":"","cart-filled":"",cart:"","checkbox-filled":"",checkbox:"",arrowleft:"",arrowdown:"",arrowright:"","smallcircle-filled":"",arrowup:"",circle:"","eye-filled":"","eye-slash-filled":"","eye-slash":"",eye:"","flag-filled":"",flag:"","gear-filled":"",reload:"",gear:"","hand-thumbsdown-filled":"","hand-thumbsdown":"","hand-thumbsup-filled":"","heart-filled":"","hand-thumbsup":"",heart:"",home:"",info:"","home-filled":"","info-filled":"","circle-filled":"","chat-filled":"",chat:"","mail-open-filled":"","email-filled":"","mail-open":"",email:"",checkmarkempty:"",list:"","locked-filled":"",locked:"","map-filled":"","map-pin":"","map-pin-ellipse":"",map:"","minus-filled":"","mic-filled":"",minus:"",micoff:"",mic:"",clear:"",smallcircle:"",close:"",closeempty:"",paperclip:"",paperplane:"","paperplane-filled":"","person-filled":"","contact-filled":"",person:"",contact:"","images-filled":"",phone:"",images:"",image:"","image-filled":"","location-filled":"",location:"","plus-filled":"",plus:"",plusempty:"","help-filled":"",help:"","navigate-filled":"",navigate:"","mic-slash-filled":"",search:"",settings:"",sound:"","sound-filled":"","spinner-cycle":"","download-filled":"","personadd-filled":"","videocam-filled":"",personadd:"",upload:"","upload-filled":"",starhalf:"","star-filled":"",star:"",trash:"","phone-filled":"",compose:"",videocam:"","trash-filled":"",download:"","chatbubble-filled":"",chatbubble:"","cloud-download":"","cloud-upload-filled":"","cloud-upload":"","cloud-download-filled":"",headphones:"",shop:""};e.default=n},f1a7:function(t,e,i){"use strict";i.r(e);var n=i("6876"),a=i("5f33");for(var o in a)"default"!==o&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("99ac");var r,l=i("f0c5"),s=Object(l["a"])(a["default"],n["b"],n["c"],!1,null,"218f84fe",null,!1,n["a"],r);e["default"]=s.exports}}]); \ No newline at end of file diff --git a/unpackage/dist/build/h5/static/js/pages-wallet-extract.9c7db047.js b/unpackage/dist/build/h5/static/js/pages-wallet-extract.9c7db047.js deleted file mode 100644 index 6ff6e10..0000000 --- a/unpackage/dist/build/h5/static/js/pages-wallet-extract.9c7db047.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-wallet-extract"],{"1de5":function(t,e,i){"use strict";t.exports=function(t,e){return e||(e={}),t=t&&t.__esModule?t.default:t,"string"!==typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t)}},3048:function(t,e,i){"use strict";i("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i("9236"),n={data:function(){return{balance:0,tax:0,cost:1,total:0,card:"",withdraw_input:"",bank_accounts:0,bankInfo:{}}},onLoad:function(){this.getInfo()},onShow:function(){uni.getStorageSync("refresh")&&(this.bankInfo={},this.getInfo())},methods:{getInfo:function(){var t=this;(0,a.withdrawsIndexCreate)().then((function(e){t.balance=e.balance,t.tax=e.tax,t.cost=e.cost,t.bank_accounts=e.bank_accounts.length,uni.setStorageSync("refresh",!1)})).catch((function(t){uni.showToast({title:t.message,icon:"none"})}))},inputNum:function(t){var e=Number(t.detail.value);e<=this.balance?this.total=Number(t.detail.value)*this.cost:(uni.showToast({title:"最大值能超过"+this.balance,icon:"none",duration:2e3}),this.withdraw_input="",this.total=0)},all:function(){this.balance>0?(this.withdraw_input=this.balance,this.total=this.balance*this.cost):uni.showToast({title:"啥也没有,我也做不到~",icon:"none",duration:2e3})},actions:function(){var t=this,e={bank_account_id:this.bankInfo.bank_account_id,amount:Number(this.withdraw_input)};void 0!==e.bank_account_id&&null!==e.bank_account_id&&""!==e.bank_account_id?0!==e.amount?uni.showModal({title:"温馨提示",content:"您是否确认提现,将会扣除"+this.tax+"%手续费",confirmColor:"#7c52fc",cancelColor:"#cacaca",cancelText:"我再想想",confirmText:"确认提现",success:function(i){i.confirm&&(uni.showLoading({title:"提交中"}),(0,a.withdrawsIndex)(e).then((function(e){uni.showToast({title:e,icon:"none",duration:3e3}),t.withdraw_input="",t.total="",setTimeout((function(e){t.getInfo(),uni.hideLoading()}),3e3)})).catch((function(t){uni.showToast({title:t.message,icon:"none"})})))}}):uni.showToast({title:"请输入能量球数量",icon:"none"}):uni.showToast({title:this.bank_accounts>0?"请选择银行卡":"请添加银行卡",icon:"none"})},addBanks:function(){uni.navigateTo({url:"/pages/wallet/addBank"})},bankLists:function(){uni.navigateTo({url:"/pages/wallet/bankList"})},withdrawDetail:function(){uni.navigateTo({url:"/pages/wallet/withdrawList"})}}};e.default=n},3399:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={uniIcons:i("f1a7").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"WithdrawingCoin "},[i("v-uni-view",{staticClass:"propery"},[i("v-uni-image",{staticClass:"record-bg",attrs:{src:"/static/imgs/account-bg.png",mode:"aspectFill"}}),i("v-uni-view",{staticClass:"propery-content"},[i("v-uni-view",{staticClass:"currency"},[t._v("能量球钱包"),i("span",[t._v("(≈ "+t._s(t.cost||"0.00")+" CNY)")])]),i("v-uni-view",{staticClass:"balance"},[t._v(t._s(t.balance||"0.00"))]),i("v-uni-view",{staticClass:"frozen",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.withdrawDetail.apply(void 0,arguments)}}},[t._v("提现记录")])],1)],1),i("v-uni-view",{staticClass:"item-name"},[t._v("提现至银行卡"),i("v-uni-view",{staticClass:"right"},[0===t.bank_accounts?i("v-uni-view",{staticClass:"cardName",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.addBanks.apply(void 0,arguments)}}},[t._v("添加银行卡")]):t._e(),t.bank_accounts>0?i("v-uni-view",{staticClass:"cardName",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.bankLists.apply(void 0,arguments)}}},[t._v(t._s(t.bankInfo.name?t.bankInfo.name:"选择银行卡"))]):t._e(),i("uni-icons",{attrs:{type:"arrowright",size:"12",color:"#fff"}})],1)],1),i("v-uni-view",{staticClass:"withdrawing-content"},[i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticStyle:{flex:"1"}},[i("v-uni-input",{staticClass:"input_num",attrs:{type:"number","placeholder-style":"color:#999;font-weight:normal; font-size:34rpx;",placeholder:"提现数量"},on:{input:function(e){arguments[0]=e=t.$handleEvent(e),t.inputNum.apply(void 0,arguments)}},model:{value:t.withdraw_input,callback:function(e){t.withdraw_input=e},expression:"withdraw_input"}})],1),i("v-uni-view",{staticClass:"all",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.all.apply(void 0,arguments)}}},[t._v("全部提现")])],1)],1),t.total?i("v-uni-view",{staticClass:"total"},[t._v("≈ ¥"+t._s(t.total.toFixed(2)))]):t._e(),i("v-uni-view",{staticClass:"btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.actions.apply(void 0,arguments)}}},[t._v("提现至银行卡")]),i("v-uni-view",{staticClass:"des"},[t._v("预计5- 10个工作日到账 手续费: "+t._s(t.tax)+"%")])],1)},o=[]},"57dc":function(t,e,i){t.exports=i.p+"static/fonts/uni.75745d34.ttf"},"5f33":function(t,e,i){"use strict";i.r(e);var a=i("caa6"),n=i.n(a);for(var o in a)"default"!==o&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},6876:function(t,e,i){"use strict";var a;i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-text",{staticClass:"uni-icons",class:[t.fontFamily,t.fontFamily?t.type:""],style:{color:t.color,"font-size":t.size+"px"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t._onClick.apply(void 0,arguments)}}},[t._v(t._s(t.fontFamily?"":t.icons[t.type]))])},o=[]},"80d0":function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/**\n * Web唐明明\n * 匆匆数载恍如梦,岁月迢迢华发增。\n * 碌碌无为枉半生,一朝惊醒万事空。\n */.ios-bottom[data-v-6473a2b6]{padding-bottom:env(safe-area-inset-bottom);padding-bottom:constant(safe-area-inset-bottom)}.ios-left[data-v-6473a2b6]{padding-left:env(safe-area-inset-left);padding-left:constant(safe-area-inset-left)}.ios-right[data-v-6473a2b6]{padding-right:env(safe-area-inset-right);padding-right:constant(safe-area-inset-right)}.ios-top[data-v-6473a2b6]{padding-top:0}.vertical[data-v-6473a2b6]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-pack:center}.nowrap[data-v-6473a2b6]{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ellipsis[data-v-6473a2b6]{max-width:100%;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ellipsis-3[data-v-6473a2b6]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3}.ellipsis-4[data-v-6473a2b6]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4}.ellipsis-5[data-v-6473a2b6]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:5}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */uni-page-body[data-v-6473a2b6]{width:100%;min-height:100vh;background-color:#f7f7f7}.receiptCode[data-v-6473a2b6]{color:grey;text-align:left;font-size:%?28?%}.WithdrawingCoin[data-v-6473a2b6]{background-color:#f7f7f7;width:100%;min-height:100vh;padding-bottom:%?100?%}.WithdrawingCoin .propery[data-v-6473a2b6]{position:relative;padding-top:0;background-image:-webkit-linear-gradient(left,#7c52fc,#976dff);background-image:linear-gradient(90deg,#7c52fc,#976dff);position:relative;overflow:hidden}.WithdrawingCoin .propery .record-bg[data-v-6473a2b6]{position:absolute;width:120%;height:%?300?%;bottom:%?-50?%;right:%?-20?%;z-index:1;opacity:.5;-webkit-transform:rotate(-7deg);transform:rotate(-7deg)}.WithdrawingCoin .propery .propery-content[data-v-6473a2b6]{position:relative;z-index:1;padding:%?90?% %?42?%;text-align:center}.WithdrawingCoin .propery .propery-content .currency[data-v-6473a2b6]{font-size:%?28?%;color:hsla(0,0%,100%,.8)}.WithdrawingCoin .propery .propery-content .balance[data-v-6473a2b6]{font-size:%?80?%;padding:%?30?% 0;color:#fff}.WithdrawingCoin .propery .propery-content .frozen[data-v-6473a2b6]{background:rgba(0,0,0,.1);color:hsla(0,0%,100%,.7);display:inline-block;font-size:%?24?%;padding:%?6?% %?30?%;border-radius:%?10?%;border:solid %?1?% hsla(0,0%,100%,.4)}.all[data-v-6473a2b6]{color:#8b64fd;width:%?160?%;text-align:center}.item-name[data-v-6473a2b6]{text-align:center;color:#303030;font-weight:700;margin-bottom:%?30?%;font-size:%?30?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;box-sizing:border-box;background-image:-webkit-linear-gradient(left,#aaf,#aaf);background-image:linear-gradient(90deg,#aaf,#aaf);color:#fff;margin:%?30?%;padding:%?30?%}.item-name .right[data-v-6473a2b6]{-webkit-box-flex:1;-webkit-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;font-size:%?34?%}.item-name .right .cardName[data-v-6473a2b6]{-webkit-box-flex:1;-webkit-flex:1;flex:1}.withdrawing-content[data-v-6473a2b6]{background-color:#fff;padding:%?30?% %?30?% %?30?% %?60?%;font-size:%?28?%\n /* 绑定银行卡 */}.withdrawing-content .bank-card[data-v-6473a2b6]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;box-sizing:border-box;padding:0 %?45?% 0 %?35?%}.withdrawing-content .item[data-v-6473a2b6]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;box-sizing:border-box;padding:%?30?% 0}.withdrawing-content .item span[data-v-6473a2b6]:nth-child(1){color:#666;margin-right:%?20?%}.withdrawing-content .item .input_num[data-v-6473a2b6]{font-size:%?48?%;color:#3a3a3a;font-weight:bolder;-webkit-box-flex:1;-webkit-flex:1;flex:1}.withdrawing-content .item-total[data-v-6473a2b6]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;padding:%?30?% 0 0 0;color:#3a3a3a}.withdrawing-content .item-total .total[data-v-6473a2b6]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;box-sizing:border-box}.withdrawing-content .item-total .total .money[data-v-6473a2b6]{padding-top:%?15?%}.withdrawing-content .item-total .lists[data-v-6473a2b6]{color:#8b64fd}.btn[data-v-6473a2b6]{background-image:-webkit-linear-gradient(left,#7c52fc,#976dff);background-image:linear-gradient(90deg,#7c52fc,#976dff);color:#fff;border-radius:%?10?%;text-align:center;padding:%?27?%;margin:%?90?% %?60?% %?30?% %?60?%;font-size:%?32?%;font-weight:700}.des[data-v-6473a2b6]{text-align:center;color:#cacaca;font-size:%?26?%}.total[data-v-6473a2b6]{color:#8b64fd;margin-top:%?20?%;margin-left:%?50?%;font-size:%?36?%}body.?%PAGE?%[data-v-6473a2b6]{background-color:#f7f7f7}',""]),t.exports=e},"80e1":function(t,e,i){var a=i("80d0");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("1198f0f0",a,!0,{sourceMap:!1,shadowMode:!1})},"89ef":function(t,e,i){var a=i("24fb"),n=i("1de5"),o=i("57dc");e=a(!1);var r=n(o);e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/**\n * Web唐明明\n * 匆匆数载恍如梦,岁月迢迢华发增。\n * 碌碌无为枉半生,一朝惊醒万事空。\n */.ios-bottom[data-v-218f84fe]{padding-bottom:env(safe-area-inset-bottom);padding-bottom:constant(safe-area-inset-bottom)}.ios-left[data-v-218f84fe]{padding-left:env(safe-area-inset-left);padding-left:constant(safe-area-inset-left)}.ios-right[data-v-218f84fe]{padding-right:env(safe-area-inset-right);padding-right:constant(safe-area-inset-right)}.ios-top[data-v-218f84fe]{padding-top:0}.vertical[data-v-218f84fe]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-pack:center}.nowrap[data-v-218f84fe]{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ellipsis[data-v-218f84fe]{max-width:100%;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ellipsis-3[data-v-218f84fe]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3}.ellipsis-4[data-v-218f84fe]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4}.ellipsis-5[data-v-218f84fe]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:5}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */@font-face{font-family:uniicons;src:url('+r+') format("truetype")}.uni-icons[data-v-218f84fe]{font-family:uniicons;text-decoration:none;text-align:center}',""]),t.exports=e},9236:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.userAccoutScores=e.withdrawsIndexLists=e.withdrawsIndex=e.withdrawsIndexCreate=e.withdrawsAccountsDelete=e.withdrawsAccountsEdits=e.accountsCreateEdit=e.withdrawsAccountsList=e.withdrawsAccounts=e.accountsCreate=void 0;var a=i("89d9"),n=function(){return(0,a.request)({url:"withdraws/accounts/create"})};e.accountsCreate=n;var o=function(t){return(0,a.request)({url:"withdraws/accounts",method:"POST",data:t})};e.withdrawsAccounts=o;var r=function(t){return(0,a.request)({url:"withdraws/accounts",method:"get",data:t})};e.withdrawsAccountsList=r;var l=function(t){return(0,a.request)({url:"withdraws/accounts/"+t+"/edit"})};e.accountsCreateEdit=l;var s=function(t){return(0,a.request)({url:"withdraws/accounts/"+t.bank_account_id,method:"PUT",data:t})};e.withdrawsAccountsEdits=s;var c=function(t){return(0,a.request)({url:"withdraws/accounts/"+t,method:"DELETE"})};e.withdrawsAccountsDelete=c;var d=function(){return(0,a.request)({url:"withdraws/index/create"})};e.withdrawsIndexCreate=d;var f=function(t){return(0,a.request)({url:"withdraws/index",method:"POST",data:t})};e.withdrawsIndex=f;var u=function(t){return(0,a.request)({url:"withdraws/index",method:"get",data:t})};e.withdrawsIndexLists=u;var b=function(t){return(0,a.request)({url:"user/account/scores",method:"get",data:t})};e.userAccoutScores=b},"93d6":function(t,e,i){"use strict";var a=i("80e1"),n=i.n(a);n.a},"99ac":function(t,e,i){"use strict";var a=i("a9a0"),n=i.n(a);n.a},a9a0:function(t,e,i){var a=i("89ef");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("2acee188",a,!0,{sourceMap:!1,shadowMode:!1})},caa6:function(t,e,i){"use strict";var a=i("4ea4");i("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=a(i("e437")),o={name:"UniIcons",emits:["click"],props:{type:{type:String,default:""},color:{type:String,default:"#333333"},size:{type:[Number,String],default:16},fontFamily:{type:String,default:""}},data:function(){return{icons:n.default}},methods:{_onClick:function(){this.$emit("click")}}};e.default=o},cb12:function(t,e,i){"use strict";i.r(e);var a=i("3048"),n=i.n(a);for(var o in a)"default"!==o&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},ccda:function(t,e,i){"use strict";i.r(e);var a=i("3399"),n=i("cb12");for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("93d6");var r,l=i("f0c5"),s=Object(l["a"])(n["default"],a["b"],a["c"],!1,null,"6473a2b6",null,!1,a["a"],r);e["default"]=s.exports},e437:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={pulldown:"",refreshempty:"",back:"",forward:"",more:"","more-filled":"",scan:"",qq:"",weibo:"",weixin:"",pengyouquan:"",loop:"",refresh:"","refresh-filled":"",arrowthindown:"",arrowthinleft:"",arrowthinright:"",arrowthinup:"","undo-filled":"",undo:"",redo:"","redo-filled":"",bars:"",chatboxes:"",camera:"","chatboxes-filled":"","camera-filled":"","cart-filled":"",cart:"","checkbox-filled":"",checkbox:"",arrowleft:"",arrowdown:"",arrowright:"","smallcircle-filled":"",arrowup:"",circle:"","eye-filled":"","eye-slash-filled":"","eye-slash":"",eye:"","flag-filled":"",flag:"","gear-filled":"",reload:"",gear:"","hand-thumbsdown-filled":"","hand-thumbsdown":"","hand-thumbsup-filled":"","heart-filled":"","hand-thumbsup":"",heart:"",home:"",info:"","home-filled":"","info-filled":"","circle-filled":"","chat-filled":"",chat:"","mail-open-filled":"","email-filled":"","mail-open":"",email:"",checkmarkempty:"",list:"","locked-filled":"",locked:"","map-filled":"","map-pin":"","map-pin-ellipse":"",map:"","minus-filled":"","mic-filled":"",minus:"",micoff:"",mic:"",clear:"",smallcircle:"",close:"",closeempty:"",paperclip:"",paperplane:"","paperplane-filled":"","person-filled":"","contact-filled":"",person:"",contact:"","images-filled":"",phone:"",images:"",image:"","image-filled":"","location-filled":"",location:"","plus-filled":"",plus:"",plusempty:"","help-filled":"",help:"","navigate-filled":"",navigate:"","mic-slash-filled":"",search:"",settings:"",sound:"","sound-filled":"","spinner-cycle":"","download-filled":"","personadd-filled":"","videocam-filled":"",personadd:"",upload:"","upload-filled":"",starhalf:"","star-filled":"",star:"",trash:"","phone-filled":"",compose:"",videocam:"","trash-filled":"",download:"","chatbubble-filled":"",chatbubble:"","cloud-download":"","cloud-upload-filled":"","cloud-upload":"","cloud-download-filled":"",headphones:"",shop:""};e.default=a},f1a7:function(t,e,i){"use strict";i.r(e);var a=i("6876"),n=i("5f33");for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("99ac");var r,l=i("f0c5"),s=Object(l["a"])(n["default"],a["b"],a["c"],!1,null,"218f84fe",null,!1,a["a"],r);e["default"]=s.exports}}]); \ No newline at end of file diff --git a/unpackage/dist/build/h5/static/js/pages-wallet-withdrawList.b0a9677a.js b/unpackage/dist/build/h5/static/js/pages-wallet-withdrawList.b0a9677a.js deleted file mode 100644 index 37715ef..0000000 --- a/unpackage/dist/build/h5/static/js/pages-wallet-withdrawList.b0a9677a.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-wallet-withdrawList"],{"351c":function(t,e,i){"use strict";var a=i("7d76"),o=i.n(a);o.a},"3f90":function(t,e,i){"use strict";i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return a}));var a={uPicker:i("00a5").default,uniIcons:i("f1a7").default,uToast:i("4d12").default},o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"Record"},[i("v-uni-view",{staticClass:"record-top"},[i("v-uni-image",{staticClass:"record-bg",attrs:{src:"/static/imgs/account-bg.png",mode:"widthFix"}}),i("v-uni-view",{staticClass:"record-top-nav"},[i("v-uni-view",{class:["record-top-item","year"===t.type?"selectTopItem":""],on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.selectType("year")}}},[t._v("年账单")]),i("v-uni-view",{class:["record-top-item","month"===t.type?"selectTopItem":""],on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.selectType("month")}}},[t._v("月账单")]),i("v-uni-view",{class:["record-top-item","day"===t.type?"selectTopItem":""],on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.selectType("day")}}},[t._v("日账单")])],1),i("v-uni-view",{staticClass:"record-mouth-year"},[i("v-uni-view",{staticClass:"record-type-right"},[i("v-uni-view",{staticClass:"record-title"},[t._v("当前能量球")]),i("v-uni-view",{staticClass:"record-money"},[t._v(t._s(t.account||"0.00"))])],1),i("v-uni-view",{staticClass:"record-type-left"},[i("u-picker",{attrs:{mode:"time",params:t.params,title:"筛选日期","start-year":"2021","end-year":t.currentYear},on:{confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.confirm.apply(void 0,arguments)}},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}}),i("v-uni-view",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.show=!0}}},[t._v(t._s(t.date?t.date:"选择日期")),i("uni-icons",{attrs:{type:"arrowdown",color:"#fff",size:"12"}})],1)],1)],1)],1),t.lists.length>0?i("v-uni-view",{staticClass:"ew_lists"},t._l(t.lists,(function(e,a){return i("v-uni-view",{key:a,staticStyle:{"padding-top":"30rpx"}},[i("v-uni-view",{staticClass:"receiptCode"},[i("v-uni-image",{staticClass:"logo",attrs:{src:"/static/imgs/record-icon.png",mode:"widthFix"}}),i("v-uni-view",{staticClass:"title"},[t._v(t._s(e.way))]),i("span",{staticClass:"status"},[t._v(t._s(e.status.status_text))])],1),i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"left"},[i("span",[t._v("能量球:"+t._s(e.quantity)),i("span",{staticClass:"left-des"},[t._v("金额≈¥"+t._s(e.take)+" 手续费:"+t._s(e.tax))])]),i("span",[t._v(t._s(e.create_at))])])],1)],1)})),1):t._e(),0===t.lists.length?i("no-list",{attrs:{name:"no-record",txt:"没有任何提现记录 ~ "}}):t._e(),i("u-toast",{ref:"uToast"})],1)},r=[]},"7d76":function(t,e,i){var a=i("adca");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=i("4f06").default;o("9b2d35c2",a,!0,{sourceMap:!1,shadowMode:!1})},9236:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.userAccoutScores=e.withdrawsIndexLists=e.withdrawsIndex=e.withdrawsIndexCreate=e.withdrawsAccountsDelete=e.withdrawsAccountsEdits=e.accountsCreateEdit=e.withdrawsAccountsList=e.withdrawsAccounts=e.accountsCreate=void 0;var a=i("89d9"),o=function(){return(0,a.request)({url:"withdraws/accounts/create"})};e.accountsCreate=o;var r=function(t){return(0,a.request)({url:"withdraws/accounts",method:"POST",data:t})};e.withdrawsAccounts=r;var n=function(t){return(0,a.request)({url:"withdraws/accounts",method:"get",data:t})};e.withdrawsAccountsList=n;var s=function(t){return(0,a.request)({url:"withdraws/accounts/"+t+"/edit"})};e.accountsCreateEdit=s;var c=function(t){return(0,a.request)({url:"withdraws/accounts/"+t.bank_account_id,method:"PUT",data:t})};e.withdrawsAccountsEdits=c;var d=function(t){return(0,a.request)({url:"withdraws/accounts/"+t,method:"DELETE"})};e.withdrawsAccountsDelete=d;var l=function(){return(0,a.request)({url:"withdraws/index/create"})};e.withdrawsIndexCreate=l;var w=function(t){return(0,a.request)({url:"withdraws/index",method:"POST",data:t})};e.withdrawsIndex=w;var f=function(t){return(0,a.request)({url:"withdraws/index",method:"get",data:t})};e.withdrawsIndexLists=f;var b=function(t){return(0,a.request)({url:"user/account/scores",method:"get",data:t})};e.userAccoutScores=b},"934c":function(t,e,i){"use strict";i.r(e);var a=i("b2e0"),o=i.n(a);for(var r in a)"default"!==r&&function(t){i.d(e,t,(function(){return a[t]}))}(r);e["default"]=o.a},adca:function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/**\n * Web唐明明\n * 匆匆数载恍如梦,岁月迢迢华发增。\n * 碌碌无为枉半生,一朝惊醒万事空。\n */.ios-bottom[data-v-25733c96]{padding-bottom:env(safe-area-inset-bottom);padding-bottom:constant(safe-area-inset-bottom)}.ios-left[data-v-25733c96]{padding-left:env(safe-area-inset-left);padding-left:constant(safe-area-inset-left)}.ios-right[data-v-25733c96]{padding-right:env(safe-area-inset-right);padding-right:constant(safe-area-inset-right)}.ios-top[data-v-25733c96]{padding-top:0}.vertical[data-v-25733c96]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-pack:center}.nowrap[data-v-25733c96]{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ellipsis[data-v-25733c96]{max-width:100%;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ellipsis-3[data-v-25733c96]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3}.ellipsis-4[data-v-25733c96]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4}.ellipsis-5[data-v-25733c96]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:5}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.Record[data-v-25733c96]{width:100%;min-height:100vh;padding-top:%?30?%;background-color:#fff}.record-list[data-v-25733c96]{padding:%?20?% %?30?%}.record-list .record-list-item[data-v-25733c96]{padding:%?30?% 0;border-bottom:solid %?1?% #f7f7f7;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;box-sizing:border-box}.record-list .record-list-item .record-icon[data-v-25733c96]{width:%?60?%;margin-right:%?20?%}.record-list .record-list-item .record-list-item-top[data-v-25733c96]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;box-sizing:border-box;width:%?600?%}.record-list .record-list-item .record-list-item-top .title[data-v-25733c96]{font-size:%?28?%;width:%?600?%;color:#444}.record-list .record-list-item .record-list-item-top .money[data-v-25733c96]{color:#ee4c47;font-size:%?40?%;font-weight:700;position:relative;top:%?20?%}.record-list .record-list-item .record-list-item-date[data-v-25733c96]{font-size:%?26?%;color:#a6a6a6;margin-top:%?10?%}.record-top[data-v-25733c96]{width:calc(100% - %?60?%);height:%?360?%;background-image:-webkit-linear-gradient(left,#7c52fc,#976dff);background-image:linear-gradient(90deg,#7c52fc,#976dff);box-shadow:0 %?10?% %?20?% %?0?% rgba(151,109,255,.4);margin:0 %?30?%;border-radius:%?20?%;box-sizing:border-box;position:relative;padding:%?10?% %?50?% %?20?% %?50?%;z-index:1}.record-top .record-bg[data-v-25733c96]{position:absolute;width:100%;bottom:0;right:0;z-index:1;opacity:.5}.record-top .record-top-nav[data-v-25733c96]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;box-sizing:border-box}.record-top .record-top-nav .record-top-item[data-v-25733c96]{margin:%?40?% %?20?%;font-size:%?30?%;font-weight:500;color:#fff}.record-top .record-top-nav .selectTopItem[data-v-25733c96]{border-bottom:solid %?4?% #fff}.record-top .record-mouth-year[data-v-25733c96]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;box-sizing:border-box;position:relative;z-index:2;color:#fff;font-size:%?30?%;margin-top:%?20?%}.record-top .record-mouth-year .record-type-left[data-v-25733c96]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;box-sizing:border-box}.record-top .record-mouth-year .record-type-left uni-icons[data-v-25733c96]{margin-left:%?4?%}.record-top .record-mouth-year .record-type-right[data-v-25733c96]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;box-sizing:border-box;font-size:%?24?%;-webkit-box-flex:1;-webkit-flex:1;flex:1}.record-top .record-mouth-year .record-type-right .pay_type_item[data-v-25733c96]{margin:0 %?10?%;padding:%?2?% %?20?%;border-radius:%?30?%;border:solid %?1?% transparent}.record-top .record-mouth-year .record-type-right .pay_type_item_select[data-v-25733c96]{border:solid %?1?% #f7f7f7}.record-top .record-title[data-v-25733c96]{font-size:%?28?%;color:#fff;padding:0 0 %?20?% 0}.record-top .record-money[data-v-25733c96]{color:#fff;font-size:%?70?%;font-weight:700}.record-top .record-money span[data-v-25733c96]{font-size:%?24?%;font-weight:400;padding-left:%?20?%;margin-right:%?4?%}.ew_lists[data-v-25733c96]{padding:%?30?%;border-top:solid %?4?% #f8f8f8}.ew_lists .item[data-v-25733c96]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;box-sizing:border-box;border-bottom:solid %?1?% #f8f8f8;background-color:#fff;padding:0 0 %?24?% %?50?%}.ew_lists .item .left[data-v-25733c96],\n.ew_lists .item .right[data-v-25733c96]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;box-sizing:border-box;margin-top:%?10?%}.ew_lists .item .left[data-v-25733c96]{font-size:%?30?%;padding-top:%?10?%;color:#8b64fd}.ew_lists .item .left .left-des[data-v-25733c96]{color:#999;font-size:%?26?%;margin-left:%?20?%}.ew_lists .item .left span[data-v-25733c96]:nth-child(2){color:silver;font-weight:400;font-size:%?26?%;padding-top:%?15?%}.ew_lists .item .right[data-v-25733c96]{font-size:%?28?%;-webkit-box-align:end;-webkit-align-items:flex-end;align-items:flex-end;color:#999}.ew_lists .item .right span[data-v-25733c96]:nth-child(1){padding-bottom:%?15?%}.ew_lists .receiptCode[data-v-25733c96]{font-size:%?32?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start}.ew_lists .receiptCode .title[data-v-25733c96]{-webkit-box-flex:1;-webkit-flex:1;flex:1}.ew_lists .receiptCode .logo[data-v-25733c96]{width:%?40?%;margin-right:%?10?%}.ew_lists .receiptCode .status[data-v-25733c96]{color:#999;font-size:%?26?%}',""]),t.exports=e},b2e0:function(t,e,i){"use strict";i("99af"),i("fb6a"),i("accc"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i("9236"),o={data:function(){return{lists:[],has_next_page:!0,page:1,type:"year",date:(new Date).toISOString().slice(0,4),params:{year:!0,month:!1,day:!1},show:!1,currentDay:(new Date).toISOString().slice(0,10),currentMonth:(new Date).toISOString().slice(0,7),currentYear:(new Date).toISOString().slice(0,4),account:""}},onLoad:function(){this.getList()},onReachBottom:function(){this.has_next_page?(this.page=this.page+1,this.getList()):this.$refs.uToast.show({title:"吼吼吼~我是有底的~",type:"primary",duration:3e3})},methods:{getList:function(){var t=this,e={page:this.page,type:this.type,date:this.date};(0,a.withdrawsIndexLists)(e).then((function(e){console.log(e),t.account=e.all,t.lists=t.lists.concat(e.lists.data),t.has_next_page=e.lists.page.has_more})).catch((function(e){t.$refs.uToast.show({title:e.message,type:"primary",duration:3e3})}))},selectCoinType:function(t){this.cointype!==t&&(this.cointype=t,this.reset())},reset:function(){this.page=1,this.lists=[],this.has_next_page=!0,this.getList()},selectType:function(t){if(this.type!==t)switch(t){case"year":this.type=t,this.params={year:!0,month:!1,day:!1},this.date=this.currentYear,this.reset();break;case"month":this.type=t,this.params={year:!0,month:!0,day:!1},this.date=this.currentMonth,this.reset();break;case"day":this.type=t,this.params={year:!0,month:!0,day:!0},this.date=this.currentDay,this.reset();break}},confirm:function(t){var e=this.type;switch(e){case"year":this.date=t.year,this.reset();break;case"month":this.date=t.year+"-"+t.month,this.reset();break;case"day":this.date=t.year+"-"+t.month+"-"+t.day,this.reset();break}}}};e.default=o},e203:function(t,e,i){"use strict";i.r(e);var a=i("3f90"),o=i("934c");for(var r in o)"default"!==r&&function(t){i.d(e,t,(function(){return o[t]}))}(r);i("351c");var n,s=i("f0c5"),c=Object(s["a"])(o["default"],a["b"],a["c"],!1,null,"25733c96",null,!1,a["a"],n);e["default"]=c.exports}}]); \ No newline at end of file diff --git a/unpackage/dist/build/h5/static/js/pages-wallet-withdrawList.f86d2b74.js b/unpackage/dist/build/h5/static/js/pages-wallet-withdrawList.f86d2b74.js new file mode 100644 index 0000000..b5a1259 --- /dev/null +++ b/unpackage/dist/build/h5/static/js/pages-wallet-withdrawList.f86d2b74.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-wallet-withdrawList"],{"351cf":function(t,e,i){"use strict";var a=i("7d76"),o=i.n(a);o.a},"3f90":function(t,e,i){"use strict";i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return a}));var a={uPicker:i("00a5").default,uniIcons:i("f1a7").default,uToast:i("4d12").default},o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"Record"},[i("v-uni-view",{staticClass:"record-top"},[i("v-uni-image",{staticClass:"record-bg",attrs:{src:"/static/imgs/account-bg.png",mode:"widthFix"}}),i("v-uni-view",{staticClass:"record-top-nav"},[i("v-uni-view",{class:["record-top-item","year"===t.type?"selectTopItem":""],on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.selectType("year")}}},[t._v("年账单")]),i("v-uni-view",{class:["record-top-item","month"===t.type?"selectTopItem":""],on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.selectType("month")}}},[t._v("月账单")]),i("v-uni-view",{class:["record-top-item","day"===t.type?"selectTopItem":""],on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.selectType("day")}}},[t._v("日账单")])],1),i("v-uni-view",{staticClass:"record-mouth-year"},[i("v-uni-view",{staticClass:"record-type-right"},[i("v-uni-view",{staticClass:"record-title"},[t._v("当前能量球")]),i("v-uni-view",{staticClass:"record-money"},[t._v(t._s(t.account||"0.00"))])],1),i("v-uni-view",{staticClass:"record-type-left"},[i("u-picker",{attrs:{mode:"time",params:t.params,title:"筛选日期","start-year":"2021","end-year":t.currentYear},on:{confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.confirm.apply(void 0,arguments)}},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}}),i("v-uni-view",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.show=!0}}},[t._v(t._s(t.date?t.date:"选择日期")),i("uni-icons",{attrs:{type:"arrowdown",color:"#fff",size:"12"}})],1)],1)],1)],1),t.lists.length>0?i("v-uni-view",{staticClass:"ew_lists"},t._l(t.lists,(function(e,a){return i("v-uni-view",{key:a,staticStyle:{"padding-top":"30rpx"}},[i("v-uni-view",{staticClass:"receiptCode"},[i("v-uni-image",{staticClass:"logo",attrs:{src:"/static/imgs/record-icon.png",mode:"widthFix"}}),i("v-uni-view",{staticClass:"title"},[t._v(t._s(e.way))]),i("span",{staticClass:"status"},[t._v(t._s(e.status.status_text))])],1),i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"left"},[i("span",[t._v("能量球:"+t._s(e.quantity)),i("span",{staticClass:"left-des"},[t._v("金额≈¥"+t._s(e.take)+" 手续费:"+t._s(e.tax))])]),i("span",[t._v(t._s(e.create_at))])])],1)],1)})),1):t._e(),0===t.lists.length?i("no-list",{attrs:{name:"no-record",txt:"没有任何提现记录 ~ "}}):t._e(),i("u-toast",{ref:"uToast"})],1)},r=[]},"7d76":function(t,e,i){var a=i("adca");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=i("4f06").default;o("9b2d35c2",a,!0,{sourceMap:!1,shadowMode:!1})},9236:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.userAccoutScores=e.withdrawsIndexLists=e.withdrawsIndex=e.withdrawsIndexCreate=e.withdrawsAccountsDelete=e.withdrawsAccountsEdits=e.accountsCreateEdit=e.withdrawsAccountsList=e.withdrawsAccounts=e.accountsCreate=void 0;var a=i("89d9"),o=function(){return(0,a.request)({url:"withdraws/accounts/create"})};e.accountsCreate=o;var r=function(t){return(0,a.request)({url:"withdraws/accounts",method:"POST",data:t})};e.withdrawsAccounts=r;var n=function(t){return(0,a.request)({url:"withdraws/accounts",method:"get",data:t})};e.withdrawsAccountsList=n;var s=function(t){return(0,a.request)({url:"withdraws/accounts/"+t+"/edit"})};e.accountsCreateEdit=s;var c=function(t){return(0,a.request)({url:"withdraws/accounts/"+t.bank_account_id,method:"PUT",data:t})};e.withdrawsAccountsEdits=c;var d=function(t){return(0,a.request)({url:"withdraws/accounts/"+t,method:"DELETE"})};e.withdrawsAccountsDelete=d;var l=function(){return(0,a.request)({url:"withdraws/index/create"})};e.withdrawsIndexCreate=l;var w=function(t){return(0,a.request)({url:"withdraws/index",method:"POST",data:t})};e.withdrawsIndex=w;var f=function(t){return(0,a.request)({url:"withdraws/index",method:"get",data:t})};e.withdrawsIndexLists=f;var b=function(t){return(0,a.request)({url:"user/account/scores",method:"get",data:t})};e.userAccoutScores=b},"934c":function(t,e,i){"use strict";i.r(e);var a=i("b2e0"),o=i.n(a);for(var r in a)"default"!==r&&function(t){i.d(e,t,(function(){return a[t]}))}(r);e["default"]=o.a},adca:function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/**\n * Web唐明明\n * 匆匆数载恍如梦,岁月迢迢华发增。\n * 碌碌无为枉半生,一朝惊醒万事空。\n */.ios-bottom[data-v-25733c96]{padding-bottom:env(safe-area-inset-bottom);padding-bottom:constant(safe-area-inset-bottom)}.ios-left[data-v-25733c96]{padding-left:env(safe-area-inset-left);padding-left:constant(safe-area-inset-left)}.ios-right[data-v-25733c96]{padding-right:env(safe-area-inset-right);padding-right:constant(safe-area-inset-right)}.ios-top[data-v-25733c96]{padding-top:0}.vertical[data-v-25733c96]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-pack:center}.nowrap[data-v-25733c96]{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ellipsis[data-v-25733c96]{max-width:100%;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ellipsis-3[data-v-25733c96]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3}.ellipsis-4[data-v-25733c96]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4}.ellipsis-5[data-v-25733c96]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:5}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.Record[data-v-25733c96]{width:100%;min-height:100vh;padding-top:%?30?%;background-color:#fff}.record-list[data-v-25733c96]{padding:%?20?% %?30?%}.record-list .record-list-item[data-v-25733c96]{padding:%?30?% 0;border-bottom:solid %?1?% #f7f7f7;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;box-sizing:border-box}.record-list .record-list-item .record-icon[data-v-25733c96]{width:%?60?%;margin-right:%?20?%}.record-list .record-list-item .record-list-item-top[data-v-25733c96]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;box-sizing:border-box;width:%?600?%}.record-list .record-list-item .record-list-item-top .title[data-v-25733c96]{font-size:%?28?%;width:%?600?%;color:#444}.record-list .record-list-item .record-list-item-top .money[data-v-25733c96]{color:#ee4c47;font-size:%?40?%;font-weight:700;position:relative;top:%?20?%}.record-list .record-list-item .record-list-item-date[data-v-25733c96]{font-size:%?26?%;color:#a6a6a6;margin-top:%?10?%}.record-top[data-v-25733c96]{width:calc(100% - %?60?%);height:%?360?%;background-image:-webkit-linear-gradient(left,#7c52fc,#976dff);background-image:linear-gradient(90deg,#7c52fc,#976dff);box-shadow:0 %?10?% %?20?% %?0?% rgba(151,109,255,.4);margin:0 %?30?%;border-radius:%?20?%;box-sizing:border-box;position:relative;padding:%?10?% %?50?% %?20?% %?50?%;z-index:1}.record-top .record-bg[data-v-25733c96]{position:absolute;width:100%;bottom:0;right:0;z-index:1;opacity:.5}.record-top .record-top-nav[data-v-25733c96]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;box-sizing:border-box}.record-top .record-top-nav .record-top-item[data-v-25733c96]{margin:%?40?% %?20?%;font-size:%?30?%;font-weight:500;color:#fff}.record-top .record-top-nav .selectTopItem[data-v-25733c96]{border-bottom:solid %?4?% #fff}.record-top .record-mouth-year[data-v-25733c96]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;box-sizing:border-box;position:relative;z-index:2;color:#fff;font-size:%?30?%;margin-top:%?20?%}.record-top .record-mouth-year .record-type-left[data-v-25733c96]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;box-sizing:border-box}.record-top .record-mouth-year .record-type-left uni-icons[data-v-25733c96]{margin-left:%?4?%}.record-top .record-mouth-year .record-type-right[data-v-25733c96]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;box-sizing:border-box;font-size:%?24?%;-webkit-box-flex:1;-webkit-flex:1;flex:1}.record-top .record-mouth-year .record-type-right .pay_type_item[data-v-25733c96]{margin:0 %?10?%;padding:%?2?% %?20?%;border-radius:%?30?%;border:solid %?1?% transparent}.record-top .record-mouth-year .record-type-right .pay_type_item_select[data-v-25733c96]{border:solid %?1?% #f7f7f7}.record-top .record-title[data-v-25733c96]{font-size:%?28?%;color:#fff;padding:0 0 %?20?% 0}.record-top .record-money[data-v-25733c96]{color:#fff;font-size:%?70?%;font-weight:700}.record-top .record-money span[data-v-25733c96]{font-size:%?24?%;font-weight:400;padding-left:%?20?%;margin-right:%?4?%}.ew_lists[data-v-25733c96]{padding:%?30?%;border-top:solid %?4?% #f8f8f8}.ew_lists .item[data-v-25733c96]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;box-sizing:border-box;border-bottom:solid %?1?% #f8f8f8;background-color:#fff;padding:0 0 %?24?% %?50?%}.ew_lists .item .left[data-v-25733c96],\n.ew_lists .item .right[data-v-25733c96]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;box-sizing:border-box;margin-top:%?10?%}.ew_lists .item .left[data-v-25733c96]{font-size:%?30?%;padding-top:%?10?%;color:#8b64fd}.ew_lists .item .left .left-des[data-v-25733c96]{color:#999;font-size:%?26?%;margin-left:%?20?%}.ew_lists .item .left span[data-v-25733c96]:nth-child(2){color:silver;font-weight:400;font-size:%?26?%;padding-top:%?15?%}.ew_lists .item .right[data-v-25733c96]{font-size:%?28?%;-webkit-box-align:end;-webkit-align-items:flex-end;align-items:flex-end;color:#999}.ew_lists .item .right span[data-v-25733c96]:nth-child(1){padding-bottom:%?15?%}.ew_lists .receiptCode[data-v-25733c96]{font-size:%?32?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start}.ew_lists .receiptCode .title[data-v-25733c96]{-webkit-box-flex:1;-webkit-flex:1;flex:1}.ew_lists .receiptCode .logo[data-v-25733c96]{width:%?40?%;margin-right:%?10?%}.ew_lists .receiptCode .status[data-v-25733c96]{color:#999;font-size:%?26?%}',""]),t.exports=e},b2e0:function(t,e,i){"use strict";i("99af"),i("fb6a"),i("accc"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i("9236"),o={data:function(){return{lists:[],has_next_page:!0,page:1,type:"year",date:(new Date).toISOString().slice(0,4),params:{year:!0,month:!1,day:!1},show:!1,currentDay:(new Date).toISOString().slice(0,10),currentMonth:(new Date).toISOString().slice(0,7),currentYear:(new Date).toISOString().slice(0,4),account:""}},onLoad:function(){this.getList()},onReachBottom:function(){this.has_next_page?(this.page=this.page+1,this.getList()):this.$refs.uToast.show({title:"吼吼吼~我是有底的~",type:"primary",duration:3e3})},methods:{getList:function(){var t=this,e={page:this.page,type:this.type,date:this.date};(0,a.withdrawsIndexLists)(e).then((function(e){console.log(e),t.account=e.all,t.lists=t.lists.concat(e.lists.data),t.has_next_page=e.lists.page.has_more})).catch((function(e){t.$refs.uToast.show({title:e.message,type:"primary",duration:3e3})}))},selectCoinType:function(t){this.cointype!==t&&(this.cointype=t,this.reset())},reset:function(){this.page=1,this.lists=[],this.has_next_page=!0,this.getList()},selectType:function(t){if(this.type!==t)switch(t){case"year":this.type=t,this.params={year:!0,month:!1,day:!1},this.date=this.currentYear,this.reset();break;case"month":this.type=t,this.params={year:!0,month:!0,day:!1},this.date=this.currentMonth,this.reset();break;case"day":this.type=t,this.params={year:!0,month:!0,day:!0},this.date=this.currentDay,this.reset();break}},confirm:function(t){var e=this.type;switch(e){case"year":this.date=t.year,this.reset();break;case"month":this.date=t.year+"-"+t.month,this.reset();break;case"day":this.date=t.year+"-"+t.month+"-"+t.day,this.reset();break}}}};e.default=o},e203:function(t,e,i){"use strict";i.r(e);var a=i("3f90"),o=i("934c");for(var r in o)"default"!==r&&function(t){i.d(e,t,(function(){return o[t]}))}(r);i("351cf");var n,s=i("f0c5"),c=Object(s["a"])(o["default"],a["b"],a["c"],!1,null,"25733c96",null,!1,a["a"],n);e["default"]=c.exports}}]); \ No newline at end of file