commit ad3a1d37d713c9a08a555b659d19d0e69d071fcf Author: 宇天 Date: Fri Jun 9 19:28:19 2017 +0800 钉钉Linux版 diff --git a/Readme.md b/Readme.md new file mode 100644 index 0000000..2d44d0b --- /dev/null +++ b/Readme.md @@ -0,0 +1,21 @@ +# 钉钉App - Linux版 +> `非官方版` + +> 该版本用nwjs基于网页版钉钉封装而成, 通过js注入的方式,实现记住密码(自动登录)功能, +> 关闭驻留,最小化到托盘等实用功能。 + + +该修改版并不对钉钉现有功能进行任何的修改,也不收集任何信息。 +代码量很少, 而且完全开源, 请放心使用。 + + +## 使用方法 +> 下载nwjs,编译运行,或直接使用nwjs运行。 +> nwjs具体方法请自行"网上搜索答案" + + + + + + +**注:** 本程序只是为了方便个人使用而进行的封装, 现在应网友要求上传到github供学习参考之用, 请勿用于非法途径, 由此产生的一切后果与本人无关。 \ No newline at end of file diff --git a/blank.html b/blank.html new file mode 100644 index 0000000..5bc7e64 --- /dev/null +++ b/blank.html @@ -0,0 +1,15 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/css/base.css b/css/base.css new file mode 100644 index 0000000..f4ec3f0 --- /dev/null +++ b/css/base.css @@ -0,0 +1,47 @@ +@charset "UTF-8"; +/** + * + * @authors yutent (yutent@doui.cc) + * @date 2014-10-10 00:45:09 + * + * doui的CSS规范 + * + * 不能出现大写,以连字符风格命名 + * 表示状态的应该用do-st-*命名 + * 表示功能的应该用do-fn-*命名 + * 表示页面模块的应该用do-mod-modname 命名 + * 表示UI组件的应该用do-uiname命名, 它的子元素应该全部包在 .do-uiname这个根类下 + * 如 .do-layer .body { ... } + * + * 样式规则的出现顺序 + * 1 display float position overflow z-index 表示定位/布局的属性 + * 2 width height margin padding border 表示盒子模型的属性 + * 3 line-height font-size vertical-align text-align user-select outline ....排版相关的属性 + * 4 color background opacity cursor ...表示装饰相关的属性 + * 5 content list-style quotes ... 内容生成相关的属性 + * + */ +* {margin: 0;padding: 0;vertical-align: baseline;box-sizing:border-box;} + +/* HTML5 display-role reset for older browsers */ +article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section,content {display: block;} +img {border:0;display:inline-block;} +ol, ul {list-style: none;} +blockquote, q {quotes: none;} +blockquote:before, blockquote:after, +q:before, q:after {content: '';content: none;} +table {border-collapse: collapse;border-spacing: 0;} + +.do-fn-cl { *zoom: 1; } +.do-fn-cl:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; overflow:hidden;} +.do-fn-clear {clear:both;display:inline;} + +.do-fn-show{display:block;} +.do-fn-hide{display:none;} +.do-fn-fl{float:left;} +.do-fn-fr{float:right;} +.do-fn-noselect {-webkit-touch-callout: none;-webkit-user-select: none;-moz-user-select: none;user-select: none;} +.do-fn-noselect img, .do-fn-noselect a {-webkit-user-drag:none;} +.do-fn-ell {overflow:hidden; white-space:nowrap; text-overflow:ellipsis } +.do-st-thin {-webkit-font-smoothing: antialiased;-moz-osx-font-smoothing: grayscale;} +.do-st-hand {cursor:pointer;} diff --git a/icon.png b/icon.png new file mode 100644 index 0000000..25dc0b8 Binary files /dev/null and b/icon.png differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..7178e96 --- /dev/null +++ b/index.html @@ -0,0 +1,122 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 0000000..9535fcb --- /dev/null +++ b/package.json @@ -0,0 +1,28 @@ +{ + "name": "dtalk", + "main": "index.html", + "domain": "localhost", + "version": "3.2.3", + "description": "钉钉-Linux版", + "window": { + "title": "钉钉-Linux版", + "width": 1000, + "height": 602, + "max_width": 1000, + "max_height": 602, + "min_width": 1000, + "min_height": 602, + "as_desktop": true, + "resizable": false, + "show_in_taskbar": true, + "icon": "icon.png" + }, + "webview": { + "partitions": [ + { + "name": "trusted", + "accessible_resources": [ "" ] + } + ] + } +} \ No newline at end of file