From ad3a1d37d713c9a08a555b659d19d0e69d071fcf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=87=E5=A4=A9?= Date: Fri, 9 Jun 2017 19:28:19 +0800 Subject: [PATCH] =?UTF-8?q?=E9=92=89=E9=92=89Linux=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Readme.md | 21 +++++++++ blank.html | 15 +++++++ css/base.css | 47 ++++++++++++++++++++ icon.png | Bin 0 -> 3658 bytes index.html | 122 +++++++++++++++++++++++++++++++++++++++++++++++++++ package.json | 28 ++++++++++++ 6 files changed, 233 insertions(+) create mode 100644 Readme.md create mode 100644 blank.html create mode 100644 css/base.css create mode 100644 icon.png create mode 100644 index.html create mode 100644 package.json 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 0000000000000000000000000000000000000000..25dc0b8bf231da41a852d98631dbe59e634e7f0e GIT binary patch literal 3658 zcmV-Q4z=-#P)3F$uT| zL!}5wNX11d50{OR5e6J8K%AHYiWnjgb`nA%8)DGQ5&|QTkpL~|tzE6OvpaM9C@S!-x832WGt@I?c?L zKnh?gNFAsd?vR@7cb@Fyy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`FT&FXD==0+f01lF++#hWKbrcz?^_|L)2n5At;X-*_%N`@jD-R-5V}&UJz(Ka zVm4uH^pvL^ylyb?-1*}RZSNWZq|5IcD0f`e>GXMYp07*qoM6N<$g3-D7PXGV_ literal 0 HcmV?d00001 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