├── README.md ├── css ├── cj_index.css ├── desktop.css ├── lgc_desktop.css └── lgc_iconDesktop.css ├── images ├── about.png ├── background │ ├── 10.jpg │ ├── 100yi.png │ ├── 11.jpg │ ├── 142043.jpg │ ├── Wood.jpg │ ├── Yuanye.jpg │ ├── adf28bd4530214450153070163890009.png │ ├── aiqiyi.png │ ├── angryBird.png │ ├── baiducloud.png │ ├── baiduditu.png │ ├── cangba.png │ ├── cangbaico.png │ ├── cloud.jpg │ ├── duoyun.png │ ├── kugoumusic.png │ ├── leishiIco.png │ ├── leshi.png │ ├── logo.png │ ├── meituan.png │ ├── mycallmenu.png │ ├── newsQQ.png │ ├── preloader.gif │ ├── progressOn.png │ ├── qichezhijia.png │ ├── qqclock.png │ ├── shizhong.png │ ├── taobao.png │ ├── wallpaper.jpg │ ├── wangyi.png │ ├── weiyun.png │ ├── xiecheangico.png │ ├── xiecheng.png │ ├── xinlangimg.png │ ├── yingyongshop.png │ ├── youdao.png │ ├── youdaobiji.png │ ├── youdaocd.png │ ├── youtube.png │ └── zhihu.png ├── close.png ├── desktop │ ├── 1.mp3 │ ├── 10.jpg │ ├── 100yi.png │ ├── 11.jpg │ ├── 142043.jpg │ ├── Wood.jpg │ ├── adf28bd4530214450153070163890009.png │ ├── aiqiyi.png │ ├── angryBird.png │ ├── appfolder.png │ ├── baiducloud.png │ ├── baiduditu.png │ ├── black_about.png │ ├── black_all.png │ ├── black_guanli.png │ ├── black_shezhi.png │ ├── black_shichang.png │ ├── black_user.png │ ├── black_xitong.png │ ├── black_zhankai.png │ ├── block.png │ ├── cangba.png │ ├── cangbaico.png │ ├── clock.png │ ├── cloud.jpg │ ├── duoyun.png │ ├── kugoumusic.png │ ├── leishiIco.png │ ├── leshi.png │ ├── lock.png │ ├── logo.png │ ├── meituan.png │ ├── musicpeo.jpg │ ├── mycallmenu.png │ ├── myfolder.png │ ├── newsQQ.png │ ├── next.png │ ├── out.png │ ├── pause.png │ ├── play.png │ ├── preloader.gif │ ├── progressOn.png │ ├── qichezhijia.png │ ├── qq.png │ ├── qqclock.png │ ├── shizhong.png │ ├── taobao.png │ ├── turn.png │ ├── wallpaper.jpg │ ├── wangyi.png │ ├── weiyun.png │ ├── xiecheangico.png │ ├── xiecheng.png │ ├── xinlangimg.png │ ├── yingyongshop.png │ ├── youdao.png │ ├── youdaobiji.png │ ├── youdaocd.png │ ├── youtube.png │ └── zhihu.png ├── fankui.png ├── folder │ ├── CSS-Edit.png │ ├── Candy.png │ ├── Flash.png │ ├── Front-Row.png │ ├── Maya.png │ ├── Photobooth.png │ ├── Picture.png │ ├── Reader.png │ ├── Voice-Candy.png │ ├── backriver.mp3 │ ├── baihualin.mp3 │ ├── music.png │ ├── musicPic01.jpeg │ ├── musicPic02.jpeg │ ├── myVideo.mp4 │ ├── pic01.jpeg │ ├── pic01.jpg │ ├── pic02.jpeg │ ├── pic03.jpeg │ └── video_play.png ├── list.png ├── logo.png ├── open.png ├── preloader.gif ├── shezhi.png ├── shili.png ├── suoxiao-1.png ├── suoxiao.png ├── tongxun.png ├── turn.png ├── user.png ├── xitong.png ├── xixin.png ├── yingyong.png └── youdao.png ├── js ├── cj_about.js ├── cj_index.js ├── dkCSSJS.js ├── dkHTML.js ├── dk_data.js ├── dk_desk.js ├── lgcCss.js ├── lgcHTML.js ├── lgcJS.js ├── lgc_DesktopaData.js ├── lgc_about.js ├── lgc_folder.js ├── lgc_folderData.js ├── lgc_iconDesktop.js ├── lgc_mark.js ├── lgc_myBottomBox.js ├── lgc_pb_right.js ├── lgc_tools.js ├── pb_right.js └── public.js ├── media ├── css │ └── media.css ├── images │ ├── frx.jpeg │ ├── nextbtn.png │ ├── pause.png │ ├── play.png │ ├── prevbtn.png │ └── yq.jpeg └── js │ └── media.js └── newLgcIndex.html /README.md: -------------------------------------------------------------------------------- 1 | ## 原生JS实现web桌面应用操作(win8风格) 2 | * 通过对windows桌面的模拟,实现无刷新图标桌面以及磁贴页面的切换,以及文件夹的模拟…… 3 | 4 | * 简述;这是一个原生javascript实现的一个两种桌面无切换刷新的风格的web桌面应用系统,效果上只处理了前端相关的技术: 5 | 包括图标的拖拽,应用框的动画弹出,以及拖出拖进,点击出现浏览网页的窗口,组件,文件夹相关操作,音乐视频播放 等等 6 | 7 | * 补充: 这个作品还不太完整 , 比如后台逻辑没有处理,也没有提供相关添加应用的借口,数据也是静态的,没有通过数据库取出数据响应到前端页面等等 , 技术在于分享 , 谢谢大家指正 ! 8 | 9 | * 在线浏览地址:[仿win8风格Web桌面](https://riverscoder.github.io/web_desktop_application/newLgcIndex.html) -------------------------------------------------------------------------------- /css/cj_index.css: -------------------------------------------------------------------------------- 1 | * { 2 | padding: 0; 3 | margin: 0; 4 | } 5 | ul,li{ 6 | list-style: none; 7 | } 8 | a{ 9 | text-decoration: none; 10 | } 11 | html { 12 | width: 100%; 13 | height: 100%; 14 | } 15 | body { 16 | width: 100%; 17 | height: 100%; 18 | font-family: "微软雅黑",'Luxi Sans','DejaVu Sans',Tahoma,'Hiragino Sans GB',STHeiti; 19 | } 20 | .clearfix:after { 21 | display: block; 22 | content: ''; 23 | height: 0; 24 | clear: both; 25 | overflow: hidden; 26 | visibility: hidden; 27 | } 28 | 29 | /*滚动条*/ 30 | .scrollbar{ 31 | width: 12px; 32 | height: inherit; 33 | background: rgba(255,255,255,.3); 34 | position: fixed; 35 | right: 0; 36 | } 37 | .slider{ 38 | width: 12px; 39 | height: 75%; 40 | background: rgba(255,255,255,.4); 41 | position: absolute; 42 | } 43 | 44 | .out_Wrap { 45 | width: 100%; 46 | height: 100%; 47 | background-image:url(../images/background/10.jpg); 48 | background-size: cover; 49 | 50 | /*display: none;*/ 51 | } 52 | 53 | .hte-quickbar-show { 54 | width: 36px; 55 | height: 90px; 56 | position: fixed; 57 | top: 42%; 58 | left: 0; 59 | background-color: #9b1dab; 60 | cursor: pointer; 61 | z-index:9; 62 | transition: all .3s; 63 | } 64 | .hte-quickbar-show img{ 65 | position: absolute; 66 | top: 32px; 67 | left: 5px; 68 | transition: 0.5s; 69 | } 70 | .hte-quickbar-show:hover{ 71 | background-color: rgba(155,29,171,0.8); 72 | } 73 | .hte-quickbar-show:hover img{ 74 | transform: rotate(-360deg); 75 | } 76 | 77 | .hte-quickbar{ 78 | width: 80px; 79 | height: 100%; 80 | background-color: #9b1dab; 81 | z-index: 99; 82 | position: fixed; 83 | left: -80px; 84 | top: 0; 85 | transition: all .3s; 86 | } 87 | .hte-quickbar-header{ 88 | height: 56px; 89 | border-bottom:1px #ccc solid ; 90 | position: relative; 91 | } 92 | .hte-quickbar-header img{ 93 | position: absolute; 94 | left: 27px; 95 | top: 15px; 96 | transition: 0.5s; 97 | cursor: pointer; 98 | } 99 | .hte-quickbar-header img:hover{ 100 | transform: rotate(-180deg); 101 | } 102 | 103 | .hte-quickbar-body{ 104 | width: 60px; 105 | height: 180px; 106 | margin: 10px auto 0; 107 | } 108 | .hte-quickbar1{ 109 | display: block; 110 | width: 60px; 111 | height: 60px; 112 | cursor: pointer; 113 | position: relative; 114 | -webkit-user-select: none; 115 | } 116 | .hte-quickbar1 img{ 117 | width: 36px; 118 | height: 36px; 119 | position: absolute; 120 | left: 12px; 121 | top: 12px; 122 | 123 | } 124 | .hte-quickbar1:hover{background-color: rgba(0,0,0,0.3); 125 | } 126 | .hte-taskbar{ 127 | position: fixed; 128 | bottom: 0; 129 | left: 0; 130 | width: 100%; 131 | height: 35px; 132 | z-index: 100; 133 | transition: all .25s; 134 | background-color: rgba(155,29,171,0.8); 135 | overflow: hidden; 136 | } 137 | .hte-taskbar-action-left{ 138 | width:120px; 139 | height: 100%; 140 | float: left; 141 | } 142 | 143 | .hte-taskbar-action{ 144 | float: left; 145 | width: 36px; 146 | height: 100%; 147 | cursor: pointer; 148 | background-repeat:no-repeat ; 149 | background-position: 10px 10px; 150 | } 151 | .hte-taskbar-action:hover{background-color: rgba(255,255,255,0.1); 152 | 153 | } 154 | .hte-taskbar-inner{ 155 | float: left; 156 | width: auto; 157 | height: 100%; 158 | position: absolute; 159 | left:120px ; 160 | right: 278px; 161 | white-space: nowrap; 162 | overflow: hidden; 163 | } 164 | .hte-task-bottom{ 165 | width: 160px; 166 | margin: 0 2px 2px; 167 | border-bottom: 2.5px solid rgba(255,255,255,0.6); 168 | height: 35px; 169 | color: white; 170 | overflow: hidden; 171 | position: relative; 172 | display: inline-block; 173 | box-sizing: border-box; 174 | } 175 | .hte-task-bottom:hover{ 176 | background-color:rgba(31,91,183,0.5) ; 177 | cursor: pointer; 178 | } 179 | .hte-task-icon{ 180 | position: absolute; 181 | top: 8px; 182 | left: 8px; 183 | width: 20px; 184 | height: 20px; 185 | } 186 | .hte-task-name{ 187 | font-size:12px; 188 | width: 100%; 189 | height: 100%; 190 | line-height:37px; 191 | padding-left: 35px; 192 | } 193 | .hte-task-active{ 194 | background-color: rgba(31,91,183,0.8); 195 | } 196 | .hte-taskbar-action-right{ 197 | float: right; 198 | height: 100%; 199 | } 200 | .hte-taskbar-action-time{ 201 | width: 57px; 202 | text-align: center; 203 | line-height: 35px; 204 | color: #fff; 205 | } 206 | .hte-task-contextmenu{ 207 | background-color:white; 208 | padding:5px 0; 209 | z-index: 999; 210 | width: 158px; 211 | position: absolute; 212 | border: 1px solid rgba(0,0,0,.15); 213 | display: none; 214 | } 215 | .hte-task-contextmenu > li{ 216 | font-size: 13px; 217 | position: relative; 218 | 219 | } 220 | .hte-task-contextmenu > li a:hover{ 221 | background-color: #1f5bb7; 222 | color: white; 223 | } 224 | .hte-task-contextmenu > li>a{ 225 | padding: 4px 30px 4px 20px; 226 | color: black; 227 | font-size: 13px; 228 | display: block; 229 | white-space: nowrap; 230 | 231 | } 232 | .hte-task-contextmenu > li>a span{ 233 | width: 13px; 234 | height: 13px; 235 | display: inline-block; 236 | } 237 | .hte-task-contextmenu .divider{ 238 | margin: 4px 0px; 239 | height: 1px; 240 | background-color: #e5e5e5; 241 | overflow: hidden; 242 | } 243 | .outBox-icon{ 244 | overflow-y:hidden; 245 | position: relative; 246 | width: 100%; 247 | height: 94.71%; 248 | } 249 | .auto{ 250 | 251 | } 252 | .hte-shortcut{ 253 | position: absolute; 254 | width: 72px; 255 | height: 72px; 256 | color: white; 257 | cursor:pointer; 258 | transition-duration:.2s; 259 | transition-property:transform,left,top; 260 | 261 | } 262 | .cjmessager{ 263 | display:none;position: absolute;top: 0;left: 0;width: 100%;height: 100%;background-color:rgba(0,0,0,.3);z-index: 9999;transition:all .3s; 264 | } 265 | .cjmessagercontent{background-color: #366d19;box-sizing:border-box;position: absolute;top:50%;left:50%;padding: 30px 10px;transform:translate(-50%,-50%);color: white;box-shadow: 0px 0px 8px rgba(0,0,0,0.3);} 266 | .cjmessagercontent h2{margin:20px 0 10px;font-size: 30px;font-weight: 100;} 267 | .cjmessagercontent p{font-size: 14px;margin: 24px 0 18px;} 268 | .cjmessagercontent input,.cjmessagercontent textarea{padding: 6px 12px;display: block;box-sizing:border-box;margin-bottom: 5px;width: 100%;} 269 | .cjmessagercontent textarea{height: 114px;} 270 | .cjmessagercontent button{padding: 6px 27px;float: right;margin-top: 30px;margin-left:10px;border: 1px solid transparent;background-color: #fff;cursor:pointer;font-size:14px;font-family:"微软雅黑",'Luxi Sans','DejaVu Sans',Tahoma,'Hiragino Sans GB',STHeiti;outline: none; 271 | } 272 | .cjmessagerabout ul{margin-left: 37px;width: 100%;}/*...........///////.*/ 273 | .cjmessagerabout ul li{list-style-type:disc; } 274 | 275 | #contextmenu{position: absolute;} 276 | ul{width: 160px;} 277 | #contextmenu ul{ 278 | position: absolute; 279 | top: -6px; 280 | left: 158px; 281 | } 282 | 283 | .loading{background-color: #544a4a;width: 100%;height: 100%;display: none;} 284 | .loadingmiddle{position: absolute;top: 0;left: 0;right: 0;bottom: 0;margin:auto;font-size:25px;text-indent:50px;width: 343px;height: 193px;line-height: 38px;color: white;background-image: url(../images/logo.png);background-repeat: no-repeat;background-size: 30px 30px;} 285 | .loadingmiddle span{font-family: Segoe Script;display: initial;} 286 | .loadingmiddle p{margin-top:30px;font-size: 14px;text-align: center;background-image: url(../images/preloader.gif);background-size:30px 30px;background-position:100px 0;background-repeat: no-repeat;} 287 | .hte-shortcut-copy{ 288 | position: absolute; 289 | width: 72px; 290 | height: 72px; 291 | color: white; 292 | cursor: pointer; 293 | } 294 | .hte-shortcut img, .hte-shortcut-copy img{ 295 | width:36px; 296 | height: 36px; 297 | position: absolute; 298 | top:12px; 299 | left: 18px; 300 | } 301 | .hte-shortcut p.hte-shortcut-name, .hte-shortcut-copy p.hte-shortcut-name { 302 | position: absolute; 303 | bottom: 0; 304 | left: 0; 305 | height: 20px; 306 | line-height: 20px; 307 | font-size: 12px; 308 | text-align: center; 309 | text-overflow:ellipsis; 310 | width: 100%; 311 | } 312 | 313 | 314 | /*响应式设置*/ 315 | @media (min-width: 768px){ 316 | .cjmessagercontent{width: 700px;padding-left: 60px;padding-right: 60px;} 317 | // .cjmessagercontent input{width: 300px;} 318 | } 319 | @media all and(max-width:600px){ 320 | 321 | .outWrap{ 322 | display: none; 323 | } 324 | } 325 | 326 | @media all and (max-width:1024px) and (min-width:680px) 327 | { 328 | .slider{height:330px;} 329 | 330 | } 331 | @media all and (max-width:680px) and (min-width:340px) 332 | { 333 | .slider{height:180px;} 334 | } -------------------------------------------------------------------------------- /css/lgc_iconDesktop.css: -------------------------------------------------------------------------------- 1 | * { 2 | padding: 0; 3 | margin: 0; 4 | } 5 | ul,li{ 6 | list-style: none; 7 | } 8 | a{ 9 | text-decoration: none; 10 | } 11 | html { 12 | width: 100%; 13 | height: 100%; 14 | background-image:url(../images/background/wallpaper.jpg); 15 | } 16 | body { 17 | width: 100%; 18 | height: 100%; 19 | font-family: "微软雅黑",'Luxi Sans','DejaVu Sans',Tahoma,'Hiragino Sans GB',STHeiti; 20 | overflow:hidden; 21 | } 22 | .clearfix:after { 23 | display: block; 24 | content: ''; 25 | height: 0; 26 | clear: both; 27 | overflow: hidden; 28 | visibility: hidden; 29 | } 30 | 31 | /* clocks 钟表 */ 32 | 33 | #clocks{width:200px;height:200px;background:red;position:absolute;right:50px;top:68px; 34 | background:url(../images/desktop/clock.png) no-repeat;background-size:200px 200px; 35 | box-shadow:0 0 8px #333;border-radius:50%;} 36 | 37 | #clocks .miaoz{width:2px;height:76px;position:absolute;background-color:red;left:99px;top:36px; 38 | transform-origin:1px 64px;transform:rotate(10deg);z-index:1;} 39 | 40 | #clocks .fenz{width:2px;height:66px;position:absolute;background-color:#333;left:99px;top:43px; 41 | transform-origin:1px 57px;transform:rotate(82deg);z-index:1;} 42 | 43 | 44 | #clocks .shiz{width:4px;height:58px;position:absolute;background-color:#333;left:98px;top:48px; 45 | transform-origin:2px 52px;transform:rotate(90deg);z-index:1;} 46 | 47 | #clocks #elecTime{width:auto;z-index:0;height:36px;position:absolute;left:54px;top:116px;overflow:hidden;} 48 | #clocks #elecTime .elcItem{transition:top 1s ease;width:30px;height:72px;background:#333;margin-right:3px;float:left;position:relative;left:0;top:0;} 49 | #clocks #elecTime .elecSec{margin-right:0px;} 50 | #clocks #elecTime .elcItem span{display:block;position:absolute;width:30px;height:36px;left:0;background:pink;text-align:center;line-height:36px; 51 | color:#fff;background:-webkit-radial-gradient(#525252,#333);font-size:13px;} 52 | #clocks #elecTime .elcItem span:nth-of-type(1){top:0;} 53 | #clocks #elecTime .elcItem span:nth-of-type(2){top:36px;} 54 | 55 | 56 | 57 | /* appFolder 操作 */ 58 | #appsFolder{transition:.5s ease;opacity:0;width:600px;height:auto;min-height:460px;z-index:99;border-radius:8px;box-shadow:0 0 12px #333;background:rgba(51,51,51,.2);position:absolute;left:50%;margin-left:-250px;top:-50%;margin-top:-190px;} 59 | #appsFolder .appFoClose{width:50px;height:50px;position:absolute;right:-36px;top:-36px;color:#fff;line-height:50px;text-align:center;font-size:30px;cursor:pointer; 60 | transition:.6s;transform-origin:center center;text-shadow:0 0 6px #333;} 61 | #appsFolder .appFoClose:hover{transform:rotate(180deg);} 62 | #appsFolder h3{width:100%;height:50px;line-height:50px;background:rgba(0,0,0,0.2);text-align:center;font-weight:500;font-size:20px;color:#fff;text-shadow:0 0 6px #333;} 63 | #appsFolder .appsFCon{width:100%;height:auto;min-height:310px;position:relative;} 64 | 65 | 66 | /* 文件夹操作 */ 67 | #folderAreaWrap{width:900px;right:-900px;height:560px;position:absolute;top:50%;background:;box-shadow:0 0 10px #333;transition:.3s ease;z-index:999;} 68 | #folderAreaWrap.folderToggle{left:50%;margin-left:-450px;top:50%;margin-top:-280px;width:900px;height:560px;} 69 | #folderAreaWrap .folderOpenBtn{width:30px;height:130px;background:pink;position:absolute;left:-30px;top:50%;margin-top:-65px;cursor:pointer;background:#000;color:#fff;line-height:130px;text-align:center;} 70 | #folderArea{width:900px;height:560px;position:relative;} 71 | #folderArea .folderContent{width:100%;height:530px;background:rgba(51,51,51,0.6);} 72 | #folderArea .folderMenu{width:100%;height:30px;background:rgba(0,0,0,0.3);} 73 | #folderArea .folderMenu a{width:100px;padding:0 6px;height:30px;font-size:13px;display:block;color:#fff;line-height:30px;text-align:center;border-right:1px solid rgba(0,0,0,0.4);background:rgba(0,0,0,0.3);float:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;} 74 | #folderArea .folderMenu a:last-child{background:rgba(0,0,0,0.6);border-right:none;} 75 | #folderArea .folderMenu a:active{background:rgba(0,0,0,0.6);} 76 | #folderArea .folderMenu .fmFocusMenuA{background:rgba(0,0,0,0.6);border-right:none;} 77 | 78 | #folderArea .folderContent .fcItem{width:148px;height:160px;float:left;cursor:pointer;transition:.3s;margin-left:26px;margin-top:20px;color:#f1f1f1;} 79 | #folderArea .folderContent .fcItem:hover{background:rgba(255,255,255,0.3);color:#fff;} 80 | #folderArea .folderContent .fcItem .fciCon{width:100%height:100%;position:relative;} 81 | #folderArea .folderContent .fcItem .fciCon dt img{width:76%;margin-left:12%;} 82 | #folderArea .folderContent .fcItem .fciCon dd p{width:100%;text-align:center;text-shadow:1px 0px 3px #333;font-size:14px;} 83 | #folderArea .folderContent .fcItem .fciCon dd p:nth-of-type(2){display:none;} 84 | 85 | 86 | /* 预览图片 */ 87 | #previewPic{width:100%;height:100%;position:fixed;z-index:999;background:rgba(0,0,0,0.8);display:none;} 88 | #previewPic .pclose{position:absolute;right:30px;top:30px;transform-origin:25px 25px;transition:.6s;cursor:pointer;color:#fff;font-size:30px;width:50px;height:50px;line-height:50px;text-align:center;} 89 | #previewPic .pclose:hover{transform:rotate(180deg);} 90 | #previewPic .pimg{width:auto;border:3px solid #fff;position:absolute;left:calc(50% - 350px);top:10%;cursor:move;} 91 | 92 | 93 | 94 | /*弹出的iframe*/ 95 | .market_alert{background:rgba(255,255,255,0.6);transition:.5s;overflow:hidden;width:898px;height:498px;border:1px solid #1f5bb7;position:absolute; left: calc(50% - 450px); top: calc(50% - 250px);z-index:888;display: none;} 96 | .market_alert_con{width:100%;height:100%;position:relative;} 97 | .market_con_tit{width:100%;height:28px;background:#1f5bb7;min-width:300px;} 98 | .market_tit_logo{width:150px;height:28px;float:left;} 99 | .market_tit_logo a{display: block;width:150px;height:28px;font:14px/28px "微软雅黑";color:#fff;text-indent:20px;background-size: 18px 18px;} 100 | .c_small,.c_big,.c_close{display: block;width:48px;height:28px;float:right;} 101 | .c_close{background:url(../images/close.png) no-repeat 10px 5px;} 102 | .c_big{background:url(../images/open.png) no-repeat 10px 5px;} 103 | .c_small{background:url(../images/suoxiao.png) no-repeat 10px 5px;} 104 | .market_alert iframe{ width: 100%; height: 100%; position: absolute; left: 0; top:28px; border:none;} 105 | 106 | 107 | /*--点击桌面右键菜单--*/ 108 | 109 | .right_onclick{display:block;position:absolute;z-index:999;padding:5px 0;background:#fff;border:1px solid #ccc;top:0px;left:0px;width:160px;} 110 | .right_onclick ul{display:none;} 111 | .right_onclick li{height:26px;position: relative;} 112 | .right_onclick .divider{height:1px;background:#ccc;margin:4px 0;} 113 | .right_onclick li:hover{background:#366d19;} 114 | .right_onclick li a:hover{color:#fff;} 115 | 116 | .right_onclick li span{display:block;width:13px;height:15px;position:absolute;top:5px;right:5px;background: url(../images/desktop/black_zhankai.png) no-repeat;} 117 | .right_onclick li a{display: block;font:14px/26px "微软雅黑";color:#000;padding-left:40px;} 118 | .right_onclick li:nth-of-type(1) .menuitem{background: url(../images/desktop/block.png) no-repeat 20px 6px;} 119 | .right_onclick li:nth-of-type(2) .menuitem{background: url(../images/desktop/black_xitong.png) no-repeat 20px 6px;} 120 | .right_onclick li:nth-of-type(3) .menuitem{background: url(../images/desktop/black_all.png) no-repeat 20px 6px;} 121 | .right_onclick li:nth-of-type(5) .menuitem{background: url(../images/desktop/black_guanli.png) no-repeat 20px 6px;} 122 | .right_onclick li:nth-of-type(6) .menuitem{background: url(../images/desktop/black_shichang.png) no-repeat 20px 6px;} 123 | .right_onclick li:nth-of-type(8) .menuitem{background: url(../images/desktop/black_shezhi.png) no-repeat 20px 6px;} 124 | .right_onclick li:nth-of-type(9) .menuitem{background: url(../images/desktop/black_user.png) no-repeat 20px 6px;} 125 | .right_onclick li:nth-of-type(11) .menuitem{background: url(../images/desktop/black_about.png) no-repeat 20px 6px;} 126 | .right_onclick .rgt_click_item_ul{background:#fff;width:120px;position:absolute;left:160px;top:0;text-align:center;text-indent:0;} 127 | .right_onclick .rgt_click_item_ul a{width:120px;text-align:center;padding-left:0;} 128 | 129 | .outWrap { 130 | width: 100%; 131 | height: 100%; 132 | background-image:url(../images/background/wallpaper.jpg); 133 | background-size: cover; 134 | position:relative; 135 | overflow:hidden; 136 | } 137 | .icoGetBig{position:absolute;right:10px;top:10px;z-index:20;} 138 | 139 | .setColor .hte-shortcut:hover{background:rgba(255,255,255,0.3);} 140 | 141 | .hte-quickbar-show { 142 | width: 36px; 143 | height: 90px; 144 | position: fixed; 145 | top: 42%; 146 | left: 0; 147 | background-color: #9b1dab; 148 | cursor: pointer; 149 | z-index:9; 150 | transition: all .3s; 151 | display:none; 152 | } 153 | .hte-quickbar-show img{ 154 | position: absolute; 155 | top: 32px; 156 | left: 5px; 157 | transition: 0.5s; 158 | } 159 | .hte-quickbar-show:hover{ 160 | background-color: rgba(155,29,171,0.8); 161 | } 162 | .hte-quickbar-show:hover img{ 163 | transform: rotate(-360deg); 164 | } 165 | 166 | .hte-quickbar{ 167 | width: 80px; 168 | height: 100%; 169 | background-color: #9b1dab; 170 | z-index: 99; 171 | position: fixed; 172 | left: -80px; 173 | top: 0; 174 | transition: all .3s; 175 | } 176 | .hte-quickbar-header{ 177 | height: 56px; 178 | border-bottom:1px #ccc solid ; 179 | position: relative; 180 | } 181 | .hte-quickbar-header img{ 182 | position: absolute; 183 | left: 27px; 184 | top: 15px; 185 | transition: 0.5s; 186 | cursor: pointer; 187 | } 188 | .hte-quickbar-header img:hover{ 189 | transform: rotate(-180deg); 190 | } 191 | 192 | .hte-quickbar-body{ 193 | width: 60px; 194 | height: 180px; 195 | margin: 10px auto 0; 196 | } 197 | .hte-quickbar1{ 198 | display: block; 199 | width: 60px; 200 | height: 60px; 201 | cursor: pointer; 202 | position: relative; 203 | -webkit-user-select: none; 204 | } 205 | .hte-quickbar1 img{ 206 | width: 36px; 207 | height: 36px; 208 | position: absolute; 209 | left: 12px; 210 | top: 12px; 211 | 212 | } 213 | .hte-quickbar1:hover{background-color: rgba(0,0,0,0.3); 214 | } 215 | .hte-taskbar{ 216 | position: fixed; 217 | bottom: 0; 218 | left: 0; 219 | width: 100%; 220 | height: 35px; 221 | z-index:10000; 222 | transition: all .25s; 223 | background-color: rgba(155,29,171,1); 224 | overflow: hidden; 225 | } 226 | .hte-taskbar-action-left{ 227 | width:120px; 228 | height: 100%; 229 | float: left; 230 | } 231 | 232 | .hte-taskbar-action{ 233 | float: left; 234 | width: 36px; 235 | height: 100%; 236 | cursor: pointer; 237 | background-repeat:no-repeat ; 238 | background-position: 10px 10px; 239 | } 240 | .hte-taskbar-action:hover{background-color: rgba(255,255,255,0.1); 241 | 242 | } 243 | .hte-taskbar-inner{ 244 | float: left; 245 | width: auto; 246 | height: 100%; 247 | position: absolute; 248 | left:120px ; 249 | right: 278px; 250 | white-space: nowrap; 251 | overflow: hidden; 252 | } 253 | .hte-task-bottom{ 254 | width: 160px; 255 | border-bottom: 2.5px solid rgba(255,255,255,0.6); 256 | height: 35px; 257 | color: white; 258 | overflow: hidden; 259 | position: relative; 260 | display: block; 261 | float:left; 262 | box-sizing: border-box; 263 | } 264 | .hte-task-bottom:hover{ 265 | background-color:rgba(31,91,183,0.5) ; 266 | cursor: pointer; 267 | } 268 | .hte-task-icon{ 269 | position: absolute; 270 | top: 8px; 271 | left: 8px; 272 | width: 20px; 273 | height: 20px; 274 | } 275 | .hte-task-name{ 276 | font-size:12px; 277 | width: 100%; 278 | height: 100%; 279 | line-height:37px; 280 | padding-left: 35px; 281 | } 282 | .hte-task-active{ 283 | background-color: rgba(31,91,183,0.8); 284 | } 285 | .hte-taskbar-action-right{ 286 | float: right; 287 | height: 100%; 288 | } 289 | .hte-taskbar-action-time{ 290 | width: 57px; 291 | text-align: center; 292 | line-height: 35px; 293 | color: #fff; 294 | font-size:13px; 295 | } 296 | .hte-task-contextmenu{ 297 | background-color:white; 298 | padding:5px 0; 299 | z-index: 999; 300 | width: 158px; 301 | position: absolute; 302 | border: 1px solid rgba(0,0,0,.15); 303 | display: block; 304 | } 305 | .hte-task-contextmenu > li{ 306 | font-size: 13px; 307 | position: relative; 308 | 309 | } 310 | .hte-task-contextmenu > li a:hover{ 311 | background-color: #1f5bb7; 312 | color: white; 313 | } 314 | .hte-task-contextmenu > li>a{ 315 | padding: 4px 30px 4px 20px; 316 | color: black; 317 | font-size: 13px; 318 | display: block; 319 | white-space: nowrap; 320 | 321 | } 322 | .hte-task-contextmenu > li>a span{ 323 | width: 13px; 324 | height: 13px; 325 | display: inline-block; 326 | } 327 | .hte-task-contextmenu .divider{ 328 | margin: 4px 0px; 329 | height: 1px; 330 | background-color: #e5e5e5; 331 | overflow: hidden; 332 | } 333 | .outBox-icon{ 334 | overflow-y:hidden; 335 | position: relative; 336 | width: 100%; 337 | height: 94%; 338 | } 339 | .auto{ 340 | 341 | } 342 | .hte-shortcut{ 343 | position: absolute; 344 | width: 72px; 345 | height: 72px; 346 | color: white; 347 | cursor:pointer; 348 | transition:.2s; 349 | transition-property:transform,left,top; 350 | z-index:2; 351 | } 352 | #iconPage .hte-shortcut-bg{background-color:rgba(255,255,255,0.6);} 353 | .outBox-middle-icon .hte-shortcut{width:100px;height:100px;} 354 | .outBox-middle-icon .hte-shortcut img{width:50px;height:50px;left:25px;top:20px;} 355 | 356 | .hte-shortcut-copy{ 357 | position: absolute; 358 | width: 72px; 359 | height: 72px; 360 | color: white; 361 | cursor: pointer; 362 | } 363 | .hte-shortcut img, .hte-shortcut-copy img{ 364 | width:36px; 365 | height: 36px; 366 | position: absolute; 367 | top:12px; 368 | left: 18px; 369 | } 370 | .hte-shortcut p.hte-shortcut-name, .hte-shortcut-copy p.hte-shortcut-name { 371 | position: absolute; 372 | bottom: 0; 373 | left: 0; 374 | height: 20px; 375 | line-height: 20px; 376 | font-size: 12px; 377 | text-align: center; 378 | text-overflow:ellipsis; 379 | width: 100%; 380 | } 381 | /*响应式设置*/ 382 | 383 | @media all and(max-width:600px){ 384 | 385 | .outWrap{ 386 | display: none; 387 | } 388 | } -------------------------------------------------------------------------------- /images/about.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/about.png -------------------------------------------------------------------------------- /images/background/10.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/background/10.jpg -------------------------------------------------------------------------------- /images/background/100yi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/background/100yi.png -------------------------------------------------------------------------------- /images/background/11.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/background/11.jpg -------------------------------------------------------------------------------- /images/background/142043.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/background/142043.jpg -------------------------------------------------------------------------------- /images/background/Wood.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/background/Wood.jpg -------------------------------------------------------------------------------- /images/background/Yuanye.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/background/Yuanye.jpg -------------------------------------------------------------------------------- /images/background/adf28bd4530214450153070163890009.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/background/adf28bd4530214450153070163890009.png -------------------------------------------------------------------------------- /images/background/aiqiyi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/background/aiqiyi.png -------------------------------------------------------------------------------- /images/background/angryBird.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/background/angryBird.png -------------------------------------------------------------------------------- /images/background/baiducloud.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/background/baiducloud.png -------------------------------------------------------------------------------- /images/background/baiduditu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/background/baiduditu.png -------------------------------------------------------------------------------- /images/background/cangba.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/background/cangba.png -------------------------------------------------------------------------------- /images/background/cangbaico.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/background/cangbaico.png -------------------------------------------------------------------------------- /images/background/cloud.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/background/cloud.jpg -------------------------------------------------------------------------------- /images/background/duoyun.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/background/duoyun.png -------------------------------------------------------------------------------- /images/background/kugoumusic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/background/kugoumusic.png -------------------------------------------------------------------------------- /images/background/leishiIco.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/background/leishiIco.png -------------------------------------------------------------------------------- /images/background/leshi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/background/leshi.png -------------------------------------------------------------------------------- /images/background/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/background/logo.png -------------------------------------------------------------------------------- /images/background/meituan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/background/meituan.png -------------------------------------------------------------------------------- /images/background/mycallmenu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/background/mycallmenu.png -------------------------------------------------------------------------------- /images/background/newsQQ.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/background/newsQQ.png -------------------------------------------------------------------------------- /images/background/preloader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/background/preloader.gif -------------------------------------------------------------------------------- /images/background/progressOn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/background/progressOn.png -------------------------------------------------------------------------------- /images/background/qichezhijia.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/background/qichezhijia.png -------------------------------------------------------------------------------- /images/background/qqclock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/background/qqclock.png -------------------------------------------------------------------------------- /images/background/shizhong.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/background/shizhong.png -------------------------------------------------------------------------------- /images/background/taobao.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/background/taobao.png -------------------------------------------------------------------------------- /images/background/wallpaper.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/background/wallpaper.jpg -------------------------------------------------------------------------------- /images/background/wangyi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/background/wangyi.png -------------------------------------------------------------------------------- /images/background/weiyun.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/background/weiyun.png -------------------------------------------------------------------------------- /images/background/xiecheangico.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/background/xiecheangico.png -------------------------------------------------------------------------------- /images/background/xiecheng.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/background/xiecheng.png -------------------------------------------------------------------------------- /images/background/xinlangimg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/background/xinlangimg.png -------------------------------------------------------------------------------- /images/background/yingyongshop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/background/yingyongshop.png -------------------------------------------------------------------------------- /images/background/youdao.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/background/youdao.png -------------------------------------------------------------------------------- /images/background/youdaobiji.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/background/youdaobiji.png -------------------------------------------------------------------------------- /images/background/youdaocd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/background/youdaocd.png -------------------------------------------------------------------------------- /images/background/youtube.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/background/youtube.png -------------------------------------------------------------------------------- /images/background/zhihu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/background/zhihu.png -------------------------------------------------------------------------------- /images/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/close.png -------------------------------------------------------------------------------- /images/desktop/1.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/1.mp3 -------------------------------------------------------------------------------- /images/desktop/10.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/10.jpg -------------------------------------------------------------------------------- /images/desktop/100yi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/100yi.png -------------------------------------------------------------------------------- /images/desktop/11.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/11.jpg -------------------------------------------------------------------------------- /images/desktop/142043.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/142043.jpg -------------------------------------------------------------------------------- /images/desktop/Wood.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/Wood.jpg -------------------------------------------------------------------------------- /images/desktop/adf28bd4530214450153070163890009.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/adf28bd4530214450153070163890009.png -------------------------------------------------------------------------------- /images/desktop/aiqiyi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/aiqiyi.png -------------------------------------------------------------------------------- /images/desktop/angryBird.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/angryBird.png -------------------------------------------------------------------------------- /images/desktop/appfolder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/appfolder.png -------------------------------------------------------------------------------- /images/desktop/baiducloud.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/baiducloud.png -------------------------------------------------------------------------------- /images/desktop/baiduditu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/baiduditu.png -------------------------------------------------------------------------------- /images/desktop/black_about.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/black_about.png -------------------------------------------------------------------------------- /images/desktop/black_all.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/black_all.png -------------------------------------------------------------------------------- /images/desktop/black_guanli.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/black_guanli.png -------------------------------------------------------------------------------- /images/desktop/black_shezhi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/black_shezhi.png -------------------------------------------------------------------------------- /images/desktop/black_shichang.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/black_shichang.png -------------------------------------------------------------------------------- /images/desktop/black_user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/black_user.png -------------------------------------------------------------------------------- /images/desktop/black_xitong.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/black_xitong.png -------------------------------------------------------------------------------- /images/desktop/black_zhankai.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/black_zhankai.png -------------------------------------------------------------------------------- /images/desktop/block.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/block.png -------------------------------------------------------------------------------- /images/desktop/cangba.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/cangba.png -------------------------------------------------------------------------------- /images/desktop/cangbaico.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/cangbaico.png -------------------------------------------------------------------------------- /images/desktop/clock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/clock.png -------------------------------------------------------------------------------- /images/desktop/cloud.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/cloud.jpg -------------------------------------------------------------------------------- /images/desktop/duoyun.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/duoyun.png -------------------------------------------------------------------------------- /images/desktop/kugoumusic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/kugoumusic.png -------------------------------------------------------------------------------- /images/desktop/leishiIco.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/leishiIco.png -------------------------------------------------------------------------------- /images/desktop/leshi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/leshi.png -------------------------------------------------------------------------------- /images/desktop/lock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/lock.png -------------------------------------------------------------------------------- /images/desktop/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/logo.png -------------------------------------------------------------------------------- /images/desktop/meituan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/meituan.png -------------------------------------------------------------------------------- /images/desktop/musicpeo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/musicpeo.jpg -------------------------------------------------------------------------------- /images/desktop/mycallmenu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/mycallmenu.png -------------------------------------------------------------------------------- /images/desktop/myfolder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/myfolder.png -------------------------------------------------------------------------------- /images/desktop/newsQQ.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/newsQQ.png -------------------------------------------------------------------------------- /images/desktop/next.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/next.png -------------------------------------------------------------------------------- /images/desktop/out.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/out.png -------------------------------------------------------------------------------- /images/desktop/pause.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/pause.png -------------------------------------------------------------------------------- /images/desktop/play.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/play.png -------------------------------------------------------------------------------- /images/desktop/preloader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/preloader.gif -------------------------------------------------------------------------------- /images/desktop/progressOn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/progressOn.png -------------------------------------------------------------------------------- /images/desktop/qichezhijia.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/qichezhijia.png -------------------------------------------------------------------------------- /images/desktop/qq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/qq.png -------------------------------------------------------------------------------- /images/desktop/qqclock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/qqclock.png -------------------------------------------------------------------------------- /images/desktop/shizhong.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/shizhong.png -------------------------------------------------------------------------------- /images/desktop/taobao.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/taobao.png -------------------------------------------------------------------------------- /images/desktop/turn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/turn.png -------------------------------------------------------------------------------- /images/desktop/wallpaper.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/wallpaper.jpg -------------------------------------------------------------------------------- /images/desktop/wangyi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/wangyi.png -------------------------------------------------------------------------------- /images/desktop/weiyun.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/weiyun.png -------------------------------------------------------------------------------- /images/desktop/xiecheangico.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/xiecheangico.png -------------------------------------------------------------------------------- /images/desktop/xiecheng.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/xiecheng.png -------------------------------------------------------------------------------- /images/desktop/xinlangimg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/xinlangimg.png -------------------------------------------------------------------------------- /images/desktop/yingyongshop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/yingyongshop.png -------------------------------------------------------------------------------- /images/desktop/youdao.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/youdao.png -------------------------------------------------------------------------------- /images/desktop/youdaobiji.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/youdaobiji.png -------------------------------------------------------------------------------- /images/desktop/youdaocd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/youdaocd.png -------------------------------------------------------------------------------- /images/desktop/youtube.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/youtube.png -------------------------------------------------------------------------------- /images/desktop/zhihu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/desktop/zhihu.png -------------------------------------------------------------------------------- /images/fankui.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/fankui.png -------------------------------------------------------------------------------- /images/folder/CSS-Edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/folder/CSS-Edit.png -------------------------------------------------------------------------------- /images/folder/Candy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/folder/Candy.png -------------------------------------------------------------------------------- /images/folder/Flash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/folder/Flash.png -------------------------------------------------------------------------------- /images/folder/Front-Row.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/folder/Front-Row.png -------------------------------------------------------------------------------- /images/folder/Maya.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/folder/Maya.png -------------------------------------------------------------------------------- /images/folder/Photobooth.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/folder/Photobooth.png -------------------------------------------------------------------------------- /images/folder/Picture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/folder/Picture.png -------------------------------------------------------------------------------- /images/folder/Reader.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/folder/Reader.png -------------------------------------------------------------------------------- /images/folder/Voice-Candy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/folder/Voice-Candy.png -------------------------------------------------------------------------------- /images/folder/backriver.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/folder/backriver.mp3 -------------------------------------------------------------------------------- /images/folder/baihualin.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/folder/baihualin.mp3 -------------------------------------------------------------------------------- /images/folder/music.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/folder/music.png -------------------------------------------------------------------------------- /images/folder/musicPic01.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/folder/musicPic01.jpeg -------------------------------------------------------------------------------- /images/folder/musicPic02.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/folder/musicPic02.jpeg -------------------------------------------------------------------------------- /images/folder/myVideo.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/folder/myVideo.mp4 -------------------------------------------------------------------------------- /images/folder/pic01.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/folder/pic01.jpeg -------------------------------------------------------------------------------- /images/folder/pic01.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/folder/pic01.jpg -------------------------------------------------------------------------------- /images/folder/pic02.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/folder/pic02.jpeg -------------------------------------------------------------------------------- /images/folder/pic03.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/folder/pic03.jpeg -------------------------------------------------------------------------------- /images/folder/video_play.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/folder/video_play.png -------------------------------------------------------------------------------- /images/list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/list.png -------------------------------------------------------------------------------- /images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/logo.png -------------------------------------------------------------------------------- /images/open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/open.png -------------------------------------------------------------------------------- /images/preloader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/preloader.gif -------------------------------------------------------------------------------- /images/shezhi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/shezhi.png -------------------------------------------------------------------------------- /images/shili.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/shili.png -------------------------------------------------------------------------------- /images/suoxiao-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/suoxiao-1.png -------------------------------------------------------------------------------- /images/suoxiao.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/suoxiao.png -------------------------------------------------------------------------------- /images/tongxun.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/tongxun.png -------------------------------------------------------------------------------- /images/turn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/turn.png -------------------------------------------------------------------------------- /images/user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/user.png -------------------------------------------------------------------------------- /images/xitong.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/xitong.png -------------------------------------------------------------------------------- /images/xixin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/xixin.png -------------------------------------------------------------------------------- /images/yingyong.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/yingyong.png -------------------------------------------------------------------------------- /images/youdao.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RiversCoder/web_desktop_application/f328b3d8fc99910349bc365a13cc1d480781da13/images/youdao.png -------------------------------------------------------------------------------- /js/cj_about.js: -------------------------------------------------------------------------------- 1 | !function(){ 2 | var auto_con=document.getElementById('auto_con'); 3 | var cjmessager=auto_con.getElementsByClassName('cjmessager')[0]; 4 | var taskbar_action_right=document.getElementsByClassName('hte-taskbar-action-right')[0];//底部右边栏 5 | 6 | var sure=cjmessager.children[1].getElementsByTagName('button')[0]; 7 | var canSure=cjmessager.children[0].getElementsByTagName('button'); 8 | 9 | //右键菜单 10 | var dkClick = document.getElementById('dkClick'); 11 | var dkList = dkClick.getElementsByTagName('li'); 12 | 13 | 14 | dkList[2].onclick = function(ev){ 15 | 16 | ev.cancelBubble = true; 17 | forView(); 18 | 19 | }; 20 | dkList[3].onclick = function(ev){ 21 | 22 | ev.cancelBubble = true; 23 | forAbout(); 24 | }; 25 | 26 | //点击关于弹出欢迎界面和确定 27 | taskbar_action_right.children[2].addEventListener('click',forAbout); 28 | function forAbout(){ 29 | cjmessager.children[1].style.backgroundColor=css(setColor[0], 'background-color'); 30 | 31 | cjmessager.style.display='block'; 32 | cjmessager.children[0].style.display='none'; 33 | cjmessager.children[1].style.display='block'; 34 | dkClick.style.display = 'none'; 35 | } 36 | sure.addEventListener('click',forSure); 37 | function forSure(){ 38 | cjmessager.style.display=''; 39 | } 40 | 41 | //点击意见反馈和确定取消 42 | taskbar_action_right.children[1].addEventListener('click',forView); 43 | function forView(){ 44 | cjmessager.children[0].style.backgroundColor=css(setColor[0], 'background-color'); 45 | 46 | cjmessager.style.display='block'; 47 | cjmessager.children[0].style.display='block'; 48 | cjmessager.children[1].style.display='none'; 49 | dkClick.style.display = 'none'; 50 | } 51 | canSure[0].addEventListener('click',forSure); 52 | canSure[1].addEventListener('click',forSure); 53 | 54 | /* //右下角点击即时通讯 55 | var msg=document.getElementsByClassName('msg')[0]; 56 | taskbar_action_right.children[0].onclick = function(){ 57 | 58 | alert('应用市场暂未开放'); 59 | }; 60 | taskbar_action_right.children[1].addEventListener('click',function(){ 61 | 62 | 63 | alert('游客不能使用即时通讯功能'); 64 | });*/ 65 | }(); -------------------------------------------------------------------------------- /js/cj_index.js: -------------------------------------------------------------------------------- 1 | var cj_show = document.getElementsByClassName('hte-quickbar-show')[0]; 2 | var cj_quickbar = document.getElementsByClassName('hte-quickbar')[0]; 3 | var cj_barheader = document.getElementsByClassName('hte-quickbar-header')[0]; 4 | var cj_htetask = document.getElementsByClassName('hte-task-bottom')[0]; 5 | var outBoxicon = document.getElementsByClassName('outBox-icon')[0]; 6 | 7 | cj_barheader.onclick = function() { 8 | cj_quickbar.style.left = '-80px'; 9 | cj_show.style.left = '0px'; 10 | }; 11 | cj_show.onclick = function() { 12 | cj_quickbar.style.left = '0px'; 13 | cj_show.style.left = '-36px'; 14 | }; 15 | 16 | 17 | //获得位置 18 | function getPos(obj) { 19 | return obj.getBoundingClientRect(); 20 | } 21 | 22 | /////磁贴界面滚动条 23 | var scrollbar = document.getElementsByClassName('scrollbar')[0]; 24 | var slider = scrollbar.getElementsByClassName('slider')[0]; 25 | var flex_module_wrap = document.getElementsByClassName('flex_module_wrap')[0]; 26 | var modulesWrap = document.getElementsByClassName('modulesWrap')[0]; 27 | slider.addEventListener('mousedown', forslider); 28 | 29 | function forslider(ev) { 30 | var ev = ev || event; 31 | var disy = ev.clientY - this.offsetTop; 32 | document.addEventListener('mousemove', forslider2); 33 | 34 | function forslider2(ev) { 35 | var t = ev.clientY - disy; 36 | if(t < 0) { t = 0; } 37 | if(t > scrollbar.clientHeight - slider.clientHeight) { 38 | t = scrollbar.clientHeight - slider.clientHeight; 39 | } 40 | slider.style.top = t + 'px'; 41 | var scale = t / (scrollbar.clientHeight - slider.clientHeight); 42 | flex_module_wrap.style.top = scale * (window.innerHeight - 65 - 35 - flex_module_wrap.clientHeight) + 'px'; 43 | }; 44 | document.addEventListener('mouseup', forslider3); 45 | 46 | function forslider3() { 47 | document.removeEventListener('mousemove', forslider2); 48 | }; 49 | ev.preventDefault(); 50 | }; 51 | //鼠标滚轮 52 | modulesWrap.onmousewheel = wheel; 53 | 54 | function wheel(ev) { 55 | var detail; 56 | var y = slider.offsetTop; 57 | if(ev.wheelDelta) { 58 | detail = ev.wheelDelta; 59 | 60 | } else { 61 | detail = -ev.detail; 62 | } 63 | if(detail > 0) { //上正 64 | y -= 20; 65 | } else { 66 | y += 20; 67 | } 68 | //限制滚动条范围 69 | if(y < 0) y = 0; 70 | if(y > scrollbar.clientHeight - slider.offsetHeight) y = scrollbar.clientHeight - slider.offsetHeight; 71 | var scale = y / (slider.clientHeight - scrollbar.offsetHeight); 72 | var value = -scale * (window.innerHeight - 65 - 35 - flex_module_wrap.clientHeight); 73 | slider.style.top = y + 'px'; 74 | flex_module_wrap.style.top = value + 'px'; 75 | } 76 | 77 | //改变主题颜色 78 | var taskbarActionRight = document.getElementsByClassName('hte-taskbar-action-right')[0]; //底部右栏 79 | var indt = document.getElementsByClassName('indt')[0]; 80 | var theme_tit = document.getElementsByClassName('theme_tit')[0]; 81 | var theme_tit_udline = document.getElementsByClassName('theme_tit_udline')[0]; 82 | var theme_content = document.getElementsByClassName('theme_content'); 83 | var theme_content_pack = document.getElementsByClassName('theme_content_pack')[0]; 84 | //点击弹出个性化设置 85 | taskbarActionRight.children[0].addEventListener('click', forSet); 86 | 87 | function forSet(ev) { 88 | 89 | 90 | indt.style.display = 'block'; 91 | indt.style.right = indt.offsetWidth + 'px'; 92 | 93 | ev.stopPropagation(); 94 | theme_content_pack.style.height = window.innerHeight - 72 - 65 - 20 + 'px'; 95 | if(theme_content[0].style.display != 'none') { 96 | fnPd(); 97 | } 98 | themescro.style.left = theme_content_pack.offsetWidth - 12 + 'px'; 99 | 100 | } 101 | //点击隐藏个性设置 102 | document.addEventListener('click', forSetno); 103 | 104 | function forSetno() { 105 | indt.style.right = 0; 106 | //indt.style.display = ''; 107 | }; 108 | indt.addEventListener('click', forCb); 109 | 110 | function forCb(ev) { 111 | ev.stopPropagation(); 112 | }; 113 | //点击主题 114 | theme_tit.children[1].addEventListener('click', forTheme); 115 | 116 | function forTheme(ev) { 117 | themeslider.style.top = 0; 118 | theme_content[0].style.display = 'block'; 119 | theme_content[1].style.display = 'none'; 120 | theme_tit_udline.style.left = ''; 121 | theme_content_pack.style.height = window.innerHeight - 72 - 65 - 20 + 'px'; 122 | fnPd(); 123 | themescro.style.left = theme_content_pack.offsetWidth - 12 + 'px'; 124 | } 125 | //点击背景 126 | theme_tit.children[2].addEventListener('click', forBg); 127 | 128 | function forBg(ev) { 129 | themeslider.style.top = 0; 130 | theme_content[1].style.top = 0; 131 | themescro.style.display = 'block'; 132 | theme_content[0].style.display = 'none'; 133 | theme_content[1].style.display = 'block'; 134 | theme_tit_udline.style.left = theme_tit_udline.parentNode.offsetWidth / 2 + 'px'; 135 | } 136 | 137 | //页面高度变化个性设置出现滚动条 138 | var themeslider = document.getElementsByClassName('themeslider')[0]; 139 | var themescro = document.getElementsByClassName('themescro')[0]; 140 | 141 | window.addEventListener('resize', function() { 142 | 143 | indt.style.height = window.innerHeight + 'px'; 144 | indt.style.right = 0 + 'px'; 145 | theme_content_pack.style.height = window.innerHeight - 72 - 65 - 20 + 'px'; 146 | 147 | fnPd(); 148 | themescro.style.left = theme_content_pack.offsetWidth - 12 + 'px'; 149 | 150 | if(theme_content[1].style.display == 'block') { 151 | themescro.style.display = 'block'; 152 | theme_tit_udline.style.left = theme_tit_udline.parentNode.offsetWidth / 2 + 'px'; 153 | } 154 | }); 155 | 156 | //按住拖动滚动条 157 | themeslider.addEventListener('mousedown', forTs); 158 | 159 | function forTs(ev) { 160 | var ev = ev || event; 161 | var disy = ev.clientY - this.offsetTop; 162 | document.addEventListener('mousemove', forslider2); 163 | 164 | function forslider2(ev) { 165 | var t = ev.clientY - disy; 166 | if(t < 0) { t = 0; } 167 | if(t > themescro.clientHeight - themeslider.clientHeight) { 168 | t = themescro.clientHeight - themeslider.clientHeight; 169 | } 170 | themeslider.style.top = t + 'px'; 171 | 172 | var scale = t / (themescro.clientHeight - themeslider.clientHeight); 173 | theme_content[0].style.top = scale * (theme_content_pack.clientHeight - theme_content[0].offsetHeight) + 'px'; 174 | theme_content[1].style.top = scale * (theme_content_pack.clientHeight - theme_content[1].offsetHeight) + 'px'; 175 | }; 176 | document.addEventListener('mouseup', forslider3); 177 | 178 | function forslider3() { 179 | document.removeEventListener('mousemove', forslider2); 180 | }; 181 | ev.preventDefault(); 182 | }; 183 | 184 | //添加滚轮 185 | theme_content_pack.onmousewheel = forWheel; 186 | theme_content_pack.addEventListener('DOMMouseScroll', forWheel); 187 | 188 | function forWheel(ev) { 189 | var detail; 190 | if(ev.wheelDelta) { 191 | detail = ev.wheelDelta; 192 | } else { 193 | detail = -ev.detail; 194 | } 195 | var y = themeslider.offsetTop; 196 | var num = 30; 197 | 198 | //最大可以移动距离 199 | var maxH = themescro.clientHeight - themeslider.offsetHeight; 200 | 201 | if(detail < 0) { 202 | y += num; 203 | } else { 204 | y -= num; 205 | } 206 | 207 | //范围限制 208 | if(y < 0) y = 0; 209 | if(y > maxH) y = maxH; 210 | 211 | var scaleY = y / maxH; 212 | 213 | themeslider.style.top = y + 'px'; 214 | var value = (theme_content_pack.clientHeight - theme_content[0].offsetHeight) * scaleY; 215 | var value2 = (theme_content_pack.clientHeight - theme_content[1].offsetHeight) * scaleY; 216 | theme_content[0].style.top = value + 'px'; 217 | theme_content[1].style.top = value2 + 'px'; 218 | } 219 | 220 | //点击变色 221 | var theme_content_bgc = document.getElementsByClassName('theme_content_bgc'); 222 | var hteTaskbar = document.getElementsByClassName('hte-taskbar')[0]; 223 | var setColor = document.getElementsByClassName('setColor'); 224 | 225 | var mbm_title = document.getElementsByClassName('mbm_title'); 226 | for(var i = 0; i < theme_content_bgc.length; i++) { 227 | theme_content_bgc[i].index = i; 228 | theme_content_bgc[i].onclick = function(ev) { 229 | for(var j = 0; j < setColor.length; j++) { 230 | setColor[j].style.backgroundColor = css(this, 'background-color'); 231 | } 232 | hteTaskbar.style.opacity = '.8'; 233 | 234 | }; 235 | } 236 | 237 | //mbm_title移入移出颜色 238 | for(var i = 0; i < mbm_title.length; i++) { 239 | mbm_title[i].addEventListener('mouseover', forHover); 240 | mbm_title[i].addEventListener('mouseout', forOut); 241 | } 242 | 243 | function forHover() { 244 | this.style.backgroundColor = css(setColor[0], 'background-color'); 245 | } 246 | 247 | function forOut() { 248 | this.style.backgroundColor = ''; 249 | } 250 | 251 | //改变背景壁纸 252 | var bgPic = document.getElementsByClassName('theme_content_bgm')[0].getElementsByTagName('img'); 253 | var html = document.getElementsByTagName('html')[0]; 254 | var arrPic = ['./images/background/10.jpg', './images/background/11.jpg', './images/background/cloud.jpg', './images/background/Wood.jpg'] 255 | for(var i = 0; i < bgPic.length; i++) { 256 | bgPic[i].addEventListener('click', changeBg); 257 | } 258 | 259 | function changeBg() { 260 | html.style.backgroundImage = 'url(' + this.src + ')'; 261 | }; 262 | 263 | 264 | function fnPd(){ 265 | if(theme_content[0].offsetHeight - 7 > theme_content_pack.clientHeight) { 266 | themescro.style.display = 'block'; 267 | theme_content[0].style.top = 0; 268 | theme_content[0].style.width = 92 + '%'; 269 | } else { 270 | themescro.style.display = ''; 271 | theme_content[0].style.width = ''; 272 | theme_content[0].style.top = 0; 273 | } 274 | } 275 | //获取css样式 276 | function css(obj, attr) { 277 | return obj.currentStyle ? obj.currentStyle[attr] : getComputedStyle(obj)[attr]; 278 | } 279 | 280 | //右键菜单 281 | var dkClick = document.getElementById('dkClick'); 282 | var dkList = dkClick.getElementsByTagName('li'); 283 | 284 | 285 | dkList[1].onclick = function(ev){ 286 | 287 | ev.cancelBubble = true; 288 | forSet2(); 289 | }; 290 | 291 | 292 | document.oncontextmenu = function(ev){ 293 | 294 | var ev = ev||event; 295 | dkClick.style.display = 'block'; 296 | dkClick.style.left = ev.clientX + 'px'; 297 | dkClick.style.top = ev.clientY + 'px'; 298 | return false; 299 | }; 300 | 301 | function forSet2(){ 302 | dkClick.style.display = 'none'; 303 | 304 | indt.style.display = 'block'; 305 | indt.style.right = indt.offsetWidth + 'px'; 306 | 307 | theme_content_pack.style.height = window.innerHeight - 72 - 65 - 20 + 'px'; 308 | if(theme_content[0].style.display != 'none') { 309 | fnPd(); 310 | } 311 | themescro.style.left = theme_content_pack.offsetWidth - 12 + 'px'; 312 | } -------------------------------------------------------------------------------- /js/dkCSSJS.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /js/dkHTML.js: -------------------------------------------------------------------------------- 1 | var dkCSS = ['./css/cj_index.css','./css/desktop.css']; 2 | var dkJS = [ 3 | './js/dk_data.js', 4 | './js/cj_index.js', 5 | './js/dk_desk.js', 6 | './js/pb_right.js', 7 | './js/cj_about.js' 8 | ]; 9 | 10 | var dkHTML = ` 11 | 12 | 13 |
正在加载应用...
17 |正在加载应用...
27 |正在加载应用...
8 |${data[i].title}
65 | 66 |${data[i].title}
60 | `; 61 | } 62 | 63 | parent.innerHTML = str; 64 | }, 65 | createAppFolderContent : function() 66 | { 67 | var boxs = this.appsFCon; 68 | var str = ''; 69 | 70 | var data = this.icoData; 71 | 72 | for(var i=0;i${data[i].child[j].title}
82 | `; 83 | } 84 | } 85 | } 86 | 87 | boxs.innerHTML = str; 88 | 89 | }, 90 | arrangeIcon : function() 91 | { 92 | var parent = this.outBoxIcon; 93 | var icoChilds = parent.getElementsByClassName('hte-shortcut'); 94 | 95 | var wH = parent.clientHeight; 96 | var oW = icoChilds[0].offsetWidth; 97 | var oH = icoChilds[0].offsetHeight; 98 | 99 | var num = parseInt(wH/(oH+30)); 100 | 101 | //排列图标 102 | for(var i=0;i${data[i].title}
382 | `; 383 | } 384 | 385 | parent.innerHTML = str; 386 | }, 387 | showAppBox : function(obj) 388 | { 389 | 390 | if(obj.dataset.fileType == 'appsfolder') 391 | { 392 | var appBox = this.$(document,'#appsFolder'); 393 | appBox.style.top = '50%'; 394 | appBox.style.opacity = 1; 395 | //appBox.style.transform = 'scale(1)'; 396 | } 397 | }, 398 | showAppIframe : function(obj) 399 | { 400 | if(obj.dataset.fileType == 'app') 401 | { 402 | var appBox = this.$(document,'#appsFolder'); 403 | var outer = document.getElementById('iconPage'); 404 | // var markBoxWrap = document.getElementsByClassName('market_alert')[0]; 405 | // var iframeBox = document.getElementById('iframeBox'); 406 | // var market_alert_title = document.getElementById('market_alert_title'); 407 | 408 | 409 | var newMarkBox = document.createElement('div'); 410 | newMarkBox.className = 'market_alert'; 411 | newMarkBox.style.display = 'block'; 412 | newMarkBox.setAttribute('data-id',obj.dataset.id); 413 | 414 | var str = ` 415 |