1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-manage-people-manage-people"],{"14f0":function(t,e,a){"use strict";var i;a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){return i}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"manage-people"},[a("custom-nav",{ref:"ltm",attrs:{noback:"noback",transparent:"transparent",title:" "}}),a("v-uni-view",{staticClass:"content"},[a("v-uni-view",{staticClass:"chart"},[a("v-uni-view",{staticClass:"switch"},[a("v-uni-text",{class:{active:7===t.active},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.switchChart(7)}}},[t._v("7日")]),a("v-uni-text",{class:{active:15===t.active},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.switchChart(15)}}},[t._v("15日")]),a("v-uni-text",{class:{active:30===t.active},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.switchChart(30)}}},[t._v("30日")])],1),a("v-uni-view",{staticClass:"chart-line"},[a("chart-line",{attrs:{chartData:t.chartData,color:"#F59C05",background:"#FDECD0",unit:"人"}})],1)],1),a("v-uni-view",{staticClass:"kingkong"},t._l(t.operationList,(function(e,i){return a("v-uni-navigator",{key:i,attrs:{url:e.url}},[a("v-uni-image",{attrs:{src:e.image}}),a("v-uni-text",[t._v(t._s(e.name))])],1)})),1)],1)],1)},r=[]},"1f83":function(t,e,a){"use strict";a.r(e);var i=a("cc67"),n=a.n(i);for(var r in i)"default"!==r&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},"3ecc":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";.app-item[data-v-6587320a]{display:flex;align-items:center;justify-content:center;flex-direction:row;font-size:%?32?%;position:relative;background:#fff;box-sizing:border-box;min-height:%?90?%;justify-content:space-between;padding:0 %?30?%;margin-bottom:%?2?%}.app-item.item-space[data-v-6587320a]{margin-top:%?10?%}.app-item uni-input[data-v-6587320a], .app-item uni-picker[data-v-6587320a], .app-item uni-textarea[data-v-6587320a]{height:100%;width:%?521?%;font-size:%?26?%;text-align:left;color:#999}.kingkong[data-v-6587320a]{height:%?346?%;margin-top:%?10?%}.kingkong uni-navigator[data-v-6587320a]{width:25%;height:50%;float:left;display:flex;align-items:center;flex-direction:column}.kingkong uni-navigator uni-image[data-v-6587320a]{width:%?88?%;height:%?88?%;margin-top:%?30?%;border-radius:50%}.kingkong uni-navigator uni-text[data-v-6587320a]{font-size:%?32?%;margin-top:%?12?%}.big-btn[data-v-6587320a]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:%?630?%;height:%?88?%;font-size:%?34?%;margin:%?88?% auto 0;border-radius:%?44?%;color:#f76454;border:2px solid #f76454}.big-btn.bg[data-v-6587320a]{color:#fff;background:#f76454}.small-btn[data-v-6587320a]{display:flex;align-items:center;justify-content:center;flex-direction:row;padding:0 %?14?%;font-size:%?26?%;margin-left:%?10?%;color:#f76454;height:%?48?%!important;min-width:%?106?%!important;border:%?2?% solid #f76454}.small-btn.dank[data-v-6587320a]{color:#999;border-color:#999}.login-btn[data-v-6587320a]{flex:1;width:100%;height:100%;background:#fff}.login-btn uni-navigator[data-v-6587320a]{display:flex;align-items:center;justify-content:center;flex-direction:row;top:50%;left:50%;width:%?400?%;height:%?88?%;color:#fff;position:fixed;font-size:%?32?%;border-radius:%?10?%;background:#f76454;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.ellipsis[data-v-6587320a]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.icon-right[data-v-6587320a]{margin-right:%?20?%}.border-right[data-v-6587320a]{border-right:%?1?% solid #f2f2f2}.level-name[data-v-6587320a]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:%?130?%;height:%?36?%;color:#fff;font-size:%?16?%!important;border-radius:%?18?%;background:#f76454}.level-name .cuIcon-crownfill[data-v-6587320a]{margin-right:%?6?%}.position-center[data-v-6587320a]{left:50%;top:50%;position:absolute;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.data-card[data-v-6587320a]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:100%;height:%?336?%;position:relative;background:#f2f2f2}.data-card uni-image[data-v-6587320a]{z-index:0;width:%?706?%;height:%?316?%}.data-card .data-card-text[data-v-6587320a]{width:100%;height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column}.data-card .data-card-text .text[data-v-6587320a]{color:#fff;font-size:%?32?%}.data-card .data-card-text .num[data-v-6587320a]{color:#fff;font-size:%?70?%;margin-top:%?60?%}.basecolor[data-v-6587320a]{color:#f76454}.swiper-nav[data-v-6587320a]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:100%;height:%?84?%;color:#666;font-size:%?32?%;position:relative;background:#fff;box-sizing:border-box;border-bottom:%?1?% solid #f2f2f2}.swiper-nav .item[data-v-6587320a]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:100%}.swiper-nav .item.active[data-v-6587320a]{color:#f76454}.swiper-nav .moveBar[data-v-6587320a]{display:flex;align-items:center;justify-content:center;flex-direction:row;bottom:0;height:%?6?%;position:absolute}.swiper-nav .moveBar > uni-text[data-v-6587320a]{width:100%;height:100%;border-radius:%?3?%;background:#f76454}.swiper-area[data-v-6587320a]{flex:1;width:100%}.swiper-area uni-swiper[data-v-6587320a]{width:100%;height:100%}.article-header[data-v-6587320a]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?120?%;justify-content:space-between;border-bottom:%?1?% solid #f2f2f2}.article-header .head-pic[data-v-6587320a]{width:%?80?%;height:%?80?%;border-radius:50%}.article-header .name[data-v-6587320a]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:100%;margin-left:%?20?%;justify-content:flex-start}.article-header .name .identity[data-v-6587320a]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:%?56?%;height:%?28?%;color:#fff;font-size:%?20?%;margin-left:%?20?%;border-radius:%?8?%;background:#f76454}.article-header .time[data-v-6587320a]{font-size:%?24?%;color:#999}.article-header .time.justnow[data-v-6587320a]{color:#f76454}.article-footer[data-v-6587320a]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?90?%;border-top:%?1?% solid #f2f2f2}.article-footer .footer-item[data-v-6587320a]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:%?40?%}.article-footer .footer-item.center[data-v-6587320a]{border-left:%?1?% solid #ccc;border-right:%?1?% solid #ccc}.article-footer .footer-item .icon-right[data-v-6587320a]{font-size:%?40?%}.article-footer .footer-item .icon-right.fill[data-v-6587320a]{color:#f76454}\r\n/*主题色及按钮渐变背景*/\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.chart-line[data-v-6587320a]{width:100%;height:100%;position:relative}.chart-line .chart[data-v-6587320a]{width:100%;height:100%}',""]),t.exports=e},"67c3":function(t,e,a){"use strict";var i=a("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e._API_CancleApply=e._API_UploadApplyImg=e._API_GetApply=e._API_GetApplyList=e._API_StoreNoOpen=e._API_SearchUserDetail=e._API_InviteCode=e._API_Examine=e._API_ExamineList_Wait=e._API_ExamineList_Down=e._API_ExamineList_Invite=e._API_TeamInviteNoActive=e._API_TeamInviteActive=e._API_TeamAchievement=e._API_TeamNewList_Month=e._API_TeamNewList_Day=e._API_GetTeamList=e._API_GetNewUserDetail=e._API_TeamList_GTeamLevelDetail=e._API_TeamList_Grouping=e._API_TeamList_Down=e._API_TeamList_Direct=e._API_TeamPerData=e._API_TeamChart=e.UploadImg=void 0;var n=i(a("daa8")),r=function(t){return n.default.post("/test/UploadImg",t)};e.UploadImg=r;var o=function(t){return n.default.get("/app/chart?type=1",t)};e._API_TeamChart=o;var f=function(t){return n.default.get("/team/card_data",t)};e._API_TeamPerData=f;var c=function(t){return n.default.get("/team/list?type=0",t)};e._API_TeamList_Direct=c;var d=function(t){return n.default.get("/team/list?type=1",t)};e._API_TeamList_Down=d;var l=function(t){return n.default.get("/team/GetUserTeamList",t)};e._API_TeamList_Grouping=l;var s=function(t){return n.default.get("/team/GetUserTeamLevelDetail",t)};e._API_TeamList_GTeamLevelDetail=s;var u=function(t){return n.default.get("/team/GetNewUserDetail",t)};e._API_GetNewUserDetail=u;var g=function(t){return n.default.get("/team/GetTeamList",t)};e._API_GetTeamList=g;var p=function(t){return n.default.get("/team/add_list?type=0",t)};e._API_TeamNewList_Day=p;var h=function(t){return n.default.get("/team/add_list?type=1",t)};e._API_TeamNewList_Month=h;var m=function(t){return n.default.get("/team/money",t)};e._API_TeamAchievement=m;var v=function(t){return n.default.get("/team/invite?type=0",t)};e._API_TeamInviteActive=v;var x=function(t){return n.default.get("/team/invite?type=1",t)};e._API_TeamInviteNoActive=x;var w=function(t){return n.default.get("/team/examine_list?type=0",t)};e._API_ExamineList_Invite=w;var b=function(t){return n.default.get("/team/examine_list?type=1",t)};e._API_ExamineList_Down=b;var _=function(t){return n.default.get("/team/examine_list?type=2",t)};e._API_ExamineList_Wait=_;var y=function(t){return n.default.post("/team/examine",t)};e._API_Examine=y;var A=function(t){return n.default.get("/team/invite_code",t)};e._API_InviteCode=A;var I=function(t){return n.default.get("/team/SearchUserTeamLevelDetail",t)};e._API_SearchUserDetail=I;var k=function(t){return n.default.get("/team/StoreNoOpen",t)};e._API_StoreNoOpen=k;var P=function(t){return n.default.get("/apply/GetApplyList",t)};e._API_GetApplyList=P;var j=function(t){return n.default.post("/apply/Apply",t)};e._API_GetApply=j;var L=function(t){return n.default.post("/apply/UploadApplyImg",t)};e._API_UploadApplyImg=L;var z=function(t){return n.default.get("/apply/CancleApply",t)};e._API_CancleApply=z},"6afe":function(t,e,a){var i=a("3ecc");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("74e7572a",i,!0,{sourceMap:!1,shadowMode:!1})},"77e3":function(t,e,a){"use strict";var i=a("6afe"),n=a.n(i);n.a},"8a47":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";.app-item[data-v-861f21f0]{display:flex;align-items:center;justify-content:center;flex-direction:row;font-size:%?32?%;position:relative;background:#fff;box-sizing:border-box;min-height:%?90?%;justify-content:space-between;padding:0 %?30?%;margin-bottom:%?2?%}.app-item.item-space[data-v-861f21f0]{margin-top:%?10?%}.app-item uni-input[data-v-861f21f0], .app-item uni-picker[data-v-861f21f0], .app-item uni-textarea[data-v-861f21f0]{height:100%;width:%?521?%;font-size:%?26?%;text-align:left;color:#999}.kingkong[data-v-861f21f0]{height:%?346?%;margin-top:%?10?%}.kingkong uni-navigator[data-v-861f21f0]{width:25%;height:50%;float:left;display:flex;align-items:center;flex-direction:column}.kingkong uni-navigator uni-image[data-v-861f21f0]{width:%?88?%;height:%?88?%;margin-top:%?30?%;border-radius:50%}.kingkong uni-navigator uni-text[data-v-861f21f0]{font-size:%?32?%;margin-top:%?12?%}.big-btn[data-v-861f21f0]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:%?630?%;height:%?88?%;font-size:%?34?%;margin:%?88?% auto 0;border-radius:%?44?%;color:#f76454;border:2px solid #f76454}.big-btn.bg[data-v-861f21f0]{color:#fff;background:#f76454}.small-btn[data-v-861f21f0]{display:flex;align-items:center;justify-content:center;flex-direction:row;padding:0 %?14?%;font-size:%?26?%;margin-left:%?10?%;color:#f76454;height:%?48?%!important;min-width:%?106?%!important;border:%?2?% solid #f76454}.small-btn.dank[data-v-861f21f0]{color:#999;border-color:#999}.login-btn[data-v-861f21f0]{flex:1;width:100%;height:100%;background:#fff}.login-btn uni-navigator[data-v-861f21f0]{display:flex;align-items:center;justify-content:center;flex-direction:row;top:50%;left:50%;width:%?400?%;height:%?88?%;color:#fff;position:fixed;font-size:%?32?%;border-radius:%?10?%;background:#f76454;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.ellipsis[data-v-861f21f0]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.icon-right[data-v-861f21f0]{margin-right:%?20?%}.border-right[data-v-861f21f0]{border-right:%?1?% solid #f2f2f2}.level-name[data-v-861f21f0]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:%?130?%;height:%?36?%;color:#fff;font-size:%?16?%!important;border-radius:%?18?%;background:#f76454}.level-name .cuIcon-crownfill[data-v-861f21f0]{margin-right:%?6?%}.position-center[data-v-861f21f0]{left:50%;top:50%;position:absolute;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.data-card[data-v-861f21f0]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:100%;height:%?336?%;position:relative;background:#f2f2f2}.data-card uni-image[data-v-861f21f0]{z-index:0;width:%?706?%;height:%?316?%}.data-card .data-card-text[data-v-861f21f0]{width:100%;height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column}.data-card .data-card-text .text[data-v-861f21f0]{color:#fff;font-size:%?32?%}.data-card .data-card-text .num[data-v-861f21f0]{color:#fff;font-size:%?70?%;margin-top:%?60?%}.basecolor[data-v-861f21f0]{color:#f76454}.swiper-nav[data-v-861f21f0]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:100%;height:%?84?%;color:#666;font-size:%?32?%;position:relative;background:#fff;box-sizing:border-box;border-bottom:%?1?% solid #f2f2f2}.swiper-nav .item[data-v-861f21f0]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:100%}.swiper-nav .item.active[data-v-861f21f0]{color:#f76454}.swiper-nav .moveBar[data-v-861f21f0]{display:flex;align-items:center;justify-content:center;flex-direction:row;bottom:0;height:%?6?%;position:absolute}.swiper-nav .moveBar > uni-text[data-v-861f21f0]{width:100%;height:100%;border-radius:%?3?%;background:#f76454}.swiper-area[data-v-861f21f0]{flex:1;width:100%}.swiper-area uni-swiper[data-v-861f21f0]{width:100%;height:100%}.article-header[data-v-861f21f0]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?120?%;justify-content:space-between;border-bottom:%?1?% solid #f2f2f2}.article-header .head-pic[data-v-861f21f0]{width:%?80?%;height:%?80?%;border-radius:50%}.article-header .name[data-v-861f21f0]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:100%;margin-left:%?20?%;justify-content:flex-start}.article-header .name .identity[data-v-861f21f0]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:%?56?%;height:%?28?%;color:#fff;font-size:%?20?%;margin-left:%?20?%;border-radius:%?8?%;background:#f76454}.article-header .time[data-v-861f21f0]{font-size:%?24?%;color:#999}.article-header .time.justnow[data-v-861f21f0]{color:#f76454}.article-footer[data-v-861f21f0]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?90?%;border-top:%?1?% solid #f2f2f2}.article-footer .footer-item[data-v-861f21f0]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:%?40?%}.article-footer .footer-item.center[data-v-861f21f0]{border-left:%?1?% solid #ccc;border-right:%?1?% solid #ccc}.article-footer .footer-item .icon-right[data-v-861f21f0]{font-size:%?40?%}.article-footer .footer-item .icon-right.fill[data-v-861f21f0]{color:#f76454}\r\n/*主题色及按钮渐变背景*/\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.manage-people[data-v-861f21f0]{height:100%;box-sizing:border-box;flex-direction:column;background:#f2f2f2}.manage-people .content[data-v-861f21f0]{flex:1;height:100%;position:relative;box-sizing:border-box}.manage-people .content[data-v-861f21f0]{background:#fff}.manage-people .content .chart[data-v-861f21f0]{display:flex;align-items:center;justify-content:center;flex-direction:column;height:%?720?%;background:#fdecd0}.manage-people .content .chart .switch[data-v-861f21f0]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:100%;height:%?110?%}.manage-people .content .chart .switch uni-text[data-v-861f21f0]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?46?%;width:%?100?%;font-size:%?28?%;border-radius:%?23?%;color:#f76454;border:%?2?% solid #f76454}.manage-people .content .chart .switch uni-text.active[data-v-861f21f0]{color:#fff;background:#f76454}.manage-people .content .chart .switch uni-text[data-v-861f21f0]:nth-child(2){margin:0 %?55?%}.manage-people .content .chart .chart-line[data-v-861f21f0]{flex:1;width:100%;box-sizing:border-box;padding:0 %?10?%}',""]),t.exports=e},b126:function(t,e,a){"use strict";a.r(e);var i=a("14f0"),n=a("f8e9");for(var r in n)"default"!==r&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("f064");var o,f=a("f0c5"),c=Object(f["a"])(n["default"],i["b"],i["c"],!1,null,"861f21f0",null,!1,i["a"],o);e["default"]=c.exports},c2fb:function(t,e,a){var i=a("8a47");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("2882ad67",i,!0,{sourceMap:!1,shadowMode:!1})},c58f:function(t,e,a){"use strict";var i=a("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=a("828a"),r=a("67c3"),o=i(a("cd0d")),f={components:{chartLine:o.default},data:function(){return{title:"人员管理",chartData:{},active:15}},computed:{operationList:function(){var t=(0,n.deepClone)(this.$store.state.userinfo);return delete t.avatar,15236877164==t.mobile||13030314383==t.mobile?[{name:"团队管理",url:"../../pages/team-manage/index",image:"../../static/index/index/team-manage.png"},{name:"团队业绩",url:"../../pages/team-achievement/team-achievement",image:"../../static/index/index/team-achievement.png"},{name:"我的邀请",url:"../../pages/my-invite/my-invite",image:"../../static/index/index/my-invite.png"},{name:"注册审核",url:"../../pages/register-examine/register-examine",image:"../../static/index/index/register-examine.png"},{name:"代理扫码",url:"../../pages/fangwei/index",image:"../../static/index/index/saomaa.png"}]:[{name:"团队管理",url:"../../pages/team-manage/index",image:"../../static/index/index/team-manage.png"},{name:"团队业绩",url:"../../pages/team-achievement/team-achievement",image:"../../static/index/index/team-achievement.png"},{name:"我的邀请",url:"../../pages/my-invite/my-invite",image:"../../static/index/index/my-invite.png"},{name:"注册审核",url:"../../pages/register-examine/register-examine",image:"../../static/index/index/register-examine.png"}]}},mounted:function(){this.request()},onPullDownRefresh:function(){this.request()},methods:{switchChart:function(t){this.active=t,this.request()},request:function(){var t=this;uni.showLoading({mask:!0}),(0,r._API_TeamChart)({day:this.active}).then((function(e){var a={categories:[],series:[{data:[]}]};a.categories=e.data.date,a.series[0].data=e.data.data,t.chartData=a}))}}};e.default=f},cc67:function(t,e,a){"use strict";var i=a("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(a("3a36")),r={props:{unit:String,color:String,chartData:Object,background:String},watch:{chartData:function(){this.draw(this.chartData)}},methods:{draw:function(t){t.categories.push(""),t.categories.unshift(""),t.series[0].data.push(null),t.series[0].data.unshift(null),this.line=new n.default({$this:this,type:"line",canvasId:"line",colors:[this.color?this.color:"#F76454"],width:uni.upx2px(688),height:uni.upx2px(567),fontSize:uni.upx2px(28),enableScroll:!0,enableMarkLine:!0,animation:!0,legend:{show:!1},extra:{line:{type:"curve",width:uni.upx2px(8)}},dataPointShape:!0,dataPointShapeType:"hollow",background:this.background,categories:t.categories,series:t.series,xAxis:{itemCount:7,scrollShow:!0,disableGrid:!0,scrollAlign:"right",fontColor:this.color,boundaryGap:"justify",scrollColor:this.color,axisLineColor:"#CCCCCC",scrollBackgroundColor:this.background},yAxis:{min:0,disabled:!1,format:function(t){return""},gridColor:"#FFFFFF",max:Math.max.apply(Math,t.series[0].data)+123}})},touchLine:function(t){this.line.scrollStart(t)},moveLine:function(t){this.line.scroll(t)},touchEndLine:function(t){this.line.scrollEnd(t)}}};e.default=r},cd0d:function(t,e,a){"use strict";a.r(e);var i=a("e386"),n=a("1f83");for(var r in n)"default"!==r&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("77e3");var o,f=a("f0c5"),c=Object(f["a"])(n["default"],i["b"],i["c"],!1,null,"6587320a",null,!1,i["a"],o);e["default"]=c.exports},e386:function(t,e,a){"use strict";var i;a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){return i}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"chart-line"},[a("v-uni-canvas",{staticClass:"chart",attrs:{"canvas-id":"line",id:"line","disable-scroll":"true"},on:{touchstart:function(e){arguments[0]=e=t.$handleEvent(e),t.touchLine.apply(void 0,arguments)},touchmove:function(e){arguments[0]=e=t.$handleEvent(e),t.moveLine.apply(void 0,arguments)},touchend:function(e){arguments[0]=e=t.$handleEvent(e),t.touchEndLine.apply(void 0,arguments)}}})],1)},r=[]},f064:function(t,e,a){"use strict";var i=a("c2fb"),n=a.n(i);n.a},f8e9:function(t,e,a){"use strict";a.r(e);var i=a("c58f"),n=a.n(i);for(var r in i)"default"!==r&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a}}]);
|