mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-12 11:19:56 +00:00
1 line
11 KiB
JavaScript
Vendored
1 line
11 KiB
JavaScript
Vendored
"use strict";(self.webpackChunkDooTask=self.webpackChunkDooTask||[]).push([[267],{95267:(t,e,s)=>{s.r(e),s.d(e,{default:()=>d});var a=s(20629);function i(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function n(t){for(var e=1;e<arguments.length;e++){var s=null!=arguments[e]?arguments[e]:{};e%2?i(Object(s),!0).forEach((function(e){r(t,e,s[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(s)):i(Object(s)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(s,e))}))}return t}function r(t,e,s){return e in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const o={components:{RightBottom:s(40143).Z},data:function(){return{needStartHome:!1,homeFooter:""}},computed:n(n({},(0,a.rn)(["userId","windowWidth","themeMode","themeList"])),{},{currentLanguage:function(){return this.languageList[this.languageType]||"Language"}}),mounted:function(){this.getNeedStartHome()},methods:{setTheme:function(t){this.$store.dispatch("setTheme",t)},login:function(){this.goForward({path:"/login"},!1)},register:function(){this.goForward({path:"/login",query:{type:"reg"}},!1)},getNeedStartHome:function(){var t=this;this.$store.dispatch("call",{url:"system/get/starthome"}).then((function(e){var s=e.data;t.homeFooter=s.home_footer,t.userId>0?t.goForward({path:"/manage/dashboard"},!0):(t.needStartHome=!!s.need_start,!1===t.needStartHome&&t.goForward({path:"/login"},!0))})).catch((function(){t.needStartHome=!1}))}}};const d=(0,s(51900).Z)(o,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return t.needStartHome?s("div",{staticClass:"page-index"},[s("div",{staticClass:"page-warp"},[s("div",{staticClass:"page-header"},[s("div",{staticClass:"header-nav"},[t._m(0),t._v(" "),t.windowWidth>780?s("div",{staticClass:"header-nav-box header-nav-boxs"},[s("div",{staticClass:"header-right-one"},[s("Dropdown",{attrs:{trigger:"click"},on:{"on-click":t.setLanguage}},[s("a",{staticClass:"header-right-one-dropdown",attrs:{href:"javascript:void(0)",Dootask:""}},[t._v("\n "+t._s(t.currentLanguage)+"\n "),s("Icon",{attrs:{type:"ios-arrow-down"}})],1),t._v(" "),s("DropdownMenu",{attrs:{slot:"list"},slot:"list"},t._l(t.languageList,(function(e,a){return s("Dropdown-item",{key:a,attrs:{name:a,selected:t.getLanguage()===a}},[t._v(t._s(e)+"\n ")])})),1)],1)],1),t._v(" "),s("div",{staticClass:"header-right-four"},[s("Dropdown",{attrs:{trigger:"click"},on:{"on-click":t.setTheme}},[s("a",{staticClass:"header-right-one-dropdown",attrs:{href:"javascript:void(0)"}},[t._v("\n "+t._s(t.$L("主题皮肤"))+"\n "),s("Icon",{attrs:{type:"ios-arrow-down"}})],1),t._v(" "),s("DropdownMenu",{attrs:{slot:"list"},slot:"list"},t._l(t.themeList,(function(e,a){return s("Dropdown-item",{key:a,attrs:{name:e.value,selected:t.themeMode===e.value}},[t._v(t._s(t.$L(e.name)))])})),1)],1)],1),t._v(" "),s("div",{staticClass:"header-right-two",on:{click:t.register}},[t._v("\n "+t._s(t.$L("注册账号"))+"\n ")]),t._v(" "),s("div",{staticClass:"header-right-three no-dark-mode",on:{click:t.login}},[t._v("\n "+t._s(t.$L("登录"))+"\n ")])]):s("div",{staticClass:"header-nav-box header-nav-boxs"},[s("Dropdown",{attrs:{trigger:"click"}},[s("a",{attrs:{href:"javascript:void(0)"}},[s("Icon",{staticClass:"header-nav-more",attrs:{type:"md-menu"}})],1),t._v(" "),s("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[s("DropdownItem",{nativeOn:{click:function(e){return t.login.apply(null,arguments)}}},[t._v(" "+t._s(t.$L("登录")))]),t._v(" "),s("DropdownItem",{nativeOn:{click:function(e){return t.register.apply(null,arguments)}}},[t._v(" "+t._s(t.$L("注册账号")))]),t._v(" "),s("Dropdown",{attrs:{placement:"right-start"},on:{"on-click":t.setLanguage}},[s("DropdownItem",[s("Icon",{staticClass:"header-right-one-language no-dark-mode",attrs:{type:"md-globe"}}),t._v(" "),s("a",{staticClass:"header-right-one-dropdown",attrs:{href:"javascript:void(0)"}},[t._v("\n "+t._s(t.currentLanguage)+"\n ")])],1),t._v(" "),s("DropdownMenu",{attrs:{slot:"list"},slot:"list"},t._l(t.languageList,(function(e,a){return s("Dropdown-item",{key:a,attrs:{name:a,selected:t.getLanguage()===a}},[t._v(t._s(e)+"\n ")])})),1)],1),t._v(" "),s("Dropdown",{attrs:{trigger:"click",placement:"right-end"},on:{"on-click":t.setTheme}},[s("DropdownItem",[s("div",{staticClass:"login-setting-item"},[t._v("\n "+t._s(t.$L("主题皮肤"))+"\n "),s("Icon",{attrs:{type:"ios-arrow-forward"}})],1)]),t._v(" "),s("DropdownMenu",{attrs:{slot:"list"},slot:"list"},t._l(t.themeList,(function(e,a){return s("Dropdown-item",{key:a,attrs:{name:e.value,selected:t.themeMode===e.value}},[t._v(t._s(t.$L(e.name)))])})),1)],1)],1)],1)],1)]),t._v(" "),s("div",{staticClass:"header-content"},[s("div",{staticClass:"header-title header-title-one"},[t._v("DooTask")]),t._v(" "),s("div",{staticClass:"header-title"},[t._v("\n "+t._s(t.$L("轻量级任务管理工具"))+"\n ")]),t._v(" "),s("div",{staticClass:"header-tips"},[t._v("\n "+t._s(t.$L("DooTask是一款轻量级的开源在线项目任务管理工具,提供各类文档协作工具、在线思维导图、在线流程图、项目管理、任务分发、即时IM,文件管理等工具。"))+"\n ")]),t._v(" "),s("div",{staticClass:"login-buttom no-dark-mode",on:{click:t.login}},[t._v("\n "+t._s(t.$L("登录"))+"\n ")])])]),t._v(" "),s("div",{staticClass:"page-header-bottom"},[s("div",{staticClass:"page-header-bottoms"},[s("img",{attrs:{src:"dark"===t.themeMode?"images/index/pic_black.png":"images/index/pic.png"}})])]),t._v(" "),s("div",{staticClass:"page-main"},[s("Row",{class:t.windowWidth>1200?"page-main-row":"page-main-rows"},[s("Col",{class:t.windowWidth>1200?"page-main-img":"page-main-imgs",attrs:{xs:24,sm:24,xl:12}},[s("img",{attrs:{src:"dark"===t.themeMode?"images/index/pic1_black.png":"images/index/pic1.png"}})]),t._v(" "),t.windowWidth>1200?s("Col",{staticClass:"page-main-text",attrs:{xs:24,sm:24,xl:12}},[s("img",{attrs:{src:"images/index/square.png"}}),t._v(" "),s("h3",[t._v(t._s(t.$L("高效便捷的团队沟通工具")))]),t._v(" "),s("p",[t._v(t._s(t.$L("针对项目和任务建立群组,工作问题可及时沟通,促进团队快速协作,提高团队工作效率。")))])]):s("Col",{staticClass:"page-main-text page-main-texts",attrs:{xs:24,sm:24,xl:12}},[s("h3",[s("img",{attrs:{src:"images/index/square.png"}}),t._v(t._s(t.$L("高效便捷的团队沟通工具")))]),t._v(" "),s("p",[t._v(t._s(t.$L("针对项目和任务建立群组,工作问题可及时沟通,促进团队快速协作,提高团队工作效率。")))])])],1),t._v(" "),s("Row",{class:t.windowWidth>1200?"page-main-row":"page-main-rows"},[t.windowWidth>1200?s("Col",{staticClass:"page-main-text",attrs:{xs:24,sm:24,xl:12}},[s("img",{attrs:{src:"images/index/square.png"}}),t._v(" "),s("h3",[t._v(t._s(t.$L("强大易用的协同创作云文档")))]),t._v(" "),s("p",[t._v(t._s(t.$L("汇集文档、电子表格、思维笔记等多种在线工具,汇聚企业知识资源于一处,支持多人实时协同编辑,让团队协作更便捷。")))])]):t._e(),t._v(" "),s("Col",{class:t.windowWidth>1200?"page-main-img":"page-main-imgs",attrs:{xs:24,sm:24,xl:12}},[s("img",{attrs:{src:"dark"===t.themeMode?"images/index/pic2_black.png":"images/index/pic2.png"}})]),t._v(" "),t.windowWidth<=1200?s("Col",{staticClass:"page-main-text page-main-texts",attrs:{xs:24,sm:24,xl:12}},[s("h3",[s("img",{attrs:{src:"images/index/square.png"}}),t._v(t._s(t.$L("强大易用的协同创作云文档")))]),t._v(" "),s("p",[t._v(t._s(t.$L("汇集文档、电子表格、思维笔记等多种在线工具,汇聚企业知识资源于一处,支持多人实时协同编辑,让团队协作更便捷。")))])]):t._e()],1),t._v(" "),s("Row",{class:t.windowWidth>1200?"page-main-row":"page-main-rows"},[s("Col",{class:t.windowWidth>1200?"page-main-img":"page-main-imgs",attrs:{xs:24,sm:24,xl:12}},[s("img",{attrs:{src:"dark"===t.themeMode?"images/index/pic3_black.png":"images/index/pic3.png"}})]),t._v(" "),t.windowWidth>1200?s("Col",{staticClass:"page-main-text",attrs:{xs:24,sm:24,xl:12}},[s("img",{attrs:{src:"images/index/square.png"}}),t._v(" "),s("h3",[t._v(t._s(t.$L("便捷易用的项目管理模板")))]),t._v(" "),s("p",[t._v(t._s(t.$L("模版满足多种团队协作场景,同时支持自定义模版,满足团队个性化场景管理需求,可直观的查看项目的进展情况,团队协作更方便。")))])]):s("Col",{staticClass:"page-main-text page-main-texts",attrs:{xs:24,sm:24,xl:12}},[s("h3",[s("img",{attrs:{src:"images/index/square.png"}}),t._v(t._s(t.$L("便捷易用的项目管理模板")))]),t._v(" "),s("p",[t._v(t._s(t.$L("模版满足多种团队协作场景,同时支持自定义模版,满足团队个性化场景管理需求,可直观的查看项目的进展情况,团队协作更方便。")))])])],1),t._v(" "),s("Row",{class:t.windowWidth>1200?"page-main-row":"page-main-rows"},[t.windowWidth>1200?s("Col",{staticClass:"page-main-text",attrs:{xs:24,sm:24,xl:12}},[s("img",{attrs:{src:"images/index/square.png"}}),t._v(" "),s("h3",[t._v(t._s(t.$L("清晰直观的任务日历")))]),t._v(" "),s("p",[t._v(t._s(t.$L("通过灵活的任务日历,轻松安排每一天的日程,把任务拆解到每天,让工作目标更清晰,时间分配更合理。")))])]):t._e(),t._v(" "),s("Col",{class:t.windowWidth>1200?"page-main-img":"page-main-imgs",attrs:{xs:24,sm:24,xl:12}},[s("img",{attrs:{src:"dark"===t.themeMode?"images/index/pic4_black.png":"images/index/pic4.png"}})]),t._v(" "),t.windowWidth<=1200?s("Col",{staticClass:"page-main-text page-main-texts",attrs:{xs:24,sm:24,xl:12}},[s("h3",[s("img",{attrs:{src:"images/index/square.png"}}),t._v(t._s(t.$L("清晰直观的任务日历")))]),t._v(" "),s("p",[t._v(t._s(t.$L("通过灵活的任务日历,轻松安排每一天的日程,把任务拆解到每天,让工作目标更清晰,时间分配更合理。")))])]):t._e()],1)],1),t._v(" "),s("div",{staticClass:"page-footer"},[s("div",{staticClass:"footer-service no-dark-mode"},[s("div",{staticClass:"footer-bg-box"},[s("div",{staticClass:"box-title"},[t._v("\n "+t._s(t.$L("开启您的 Dootask 团队协作"))+"\n ")]),t._v(" "),s("div",{staticClass:"buttom-box"},[s("div",{staticClass:"login-btn",on:{click:t.login}},[t._v("\n "+t._s(t.$L("立即登录"))+"\n ")]),t._v(" "),s("div",{staticClass:"contact-btn"},[t._v(t._s(t.$L("联系我们")))])])])]),t._v(" "),this.homeFooter?s("div",{staticClass:"footer-opyright",domProps:{innerHTML:t._s(this.homeFooter)}}):t._e()])])]):t._e()}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"header-nav-box"},[e("div",{staticClass:"logo no-dark-mode"})])}],!1,null,null,null).exports}}]); |