mirror of https://github.com/1099438829/macUI.git
完善finder
This commit is contained in:
parent
fe8156862f
commit
28ab7a31cd
|
|
@ -1,3 +1,35 @@
|
|||
html{color:#000;background:#FFF;}
|
||||
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,
|
||||
fieldset,input,textarea,p,blockquote,th,td {
|
||||
margin:0;
|
||||
padding:0;
|
||||
}
|
||||
table {
|
||||
border-collapse:collapse;
|
||||
border-spacing:0;
|
||||
}
|
||||
fieldset,img {
|
||||
border:0;
|
||||
}
|
||||
address,caption,cite,code,dfn,em,strong,th,var {
|
||||
font-style:normal;
|
||||
font-weight:normal;
|
||||
}
|
||||
ol,ul {
|
||||
list-style:none;
|
||||
}
|
||||
caption,th {
|
||||
text-align:left;
|
||||
}
|
||||
h1,h2,h3,h4,h5,h6 {
|
||||
font-size:100%;
|
||||
font-weight:normal;
|
||||
}
|
||||
q:before,q:after {
|
||||
content:'';
|
||||
}
|
||||
abbr,acronym { border:0;
|
||||
}
|
||||
* {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -114,7 +114,7 @@ function finderOpenApp(name,path,appObject) {
|
|||
|
||||
// ajax请求后台数据
|
||||
$.ajax({
|
||||
url:'json/filelist.json',
|
||||
url:'json/openPath.json',
|
||||
type:'GET', // GET
|
||||
async:false, // 是否异步
|
||||
data:{
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
{"msg":"\u83b7\u53d6\u6210\u529f\uff01","url":"","data":[{"title":"computer","name":"finder","icon":".\/images\/apps\/computer.png","width":"800","height":"450","sort":1,"context":"computer"},{"title":"trash","name":"trash","icon":".\/images\/apps\/TrashIcon.png","width":"800","height":"450","sort":2,"context":"trash"},{"title":"\u7cfb\u7edf\u8bbe\u7f6e","name":"setting","icon":".\/images\/apps\/PrefApp.png","width":800,"height":450,"sort":3,"context":"setting"},{"title":"\u63a7\u5236\u53f0","name":"terminal","icon":".\/images\/apps\/Terminal.png","width":800,"height":450,"sort":5,"context":"terminal"}],"status":"success"}
|
||||
|
|
@ -0,0 +1 @@
|
|||
{"msg":"\u83b7\u53d6\u6210\u529f\uff01","url":"","data":[{"title":"desktop","name":"finder","icon":".\/images\/apps\/GenericFolderIcon.png","width":800,"height":450,"path":"public\/user\/admin\/home\/desktop\/","context":"finder"},{"title":"documents","name":"finder","icon":".\/images\/apps\/GenericFolderIcon.png","width":800,"height":450,"path":"public\/user\/admin\/home\/documents\/","context":"finder"},{"title":"downloads","name":"finder","icon":".\/images\/apps\/GenericFolderIcon.png","width":800,"height":450,"path":"public\/user\/admin\/home\/downloads\/","context":"finder"},{"title":"movies","name":"finder","icon":".\/images\/apps\/GenericFolderIcon.png","width":800,"height":450,"path":"public\/user\/admin\/home\/movies\/","context":"finder"},{"title":"music","name":"finder","icon":".\/images\/apps\/GenericFolderIcon.png","width":800,"height":450,"path":"public\/user\/admin\/home\/music\/","context":"finder"},{"title":"pictures","name":"finder","icon":".\/images\/apps\/GenericFolderIcon.png","width":800,"height":450,"path":"public\/user\/admin\/home\/pictures\/","context":"finder"}],"status":"success"}
|
||||
|
|
@ -115,7 +115,7 @@
|
|||
<div id="footer">
|
||||
<div class="dock">
|
||||
<ul>
|
||||
<li><span class="dock-tips">finder<span class="arrow"></span></span><a href="#"> <img src="./img/icon/finder.png"></a></li>
|
||||
<li><span class="dock-tips">finder<span class="arrow"></span></span><a onclick="Win10.openUrl('./app/finder','<img class=\'icon\' src=\'./img/icon/finder.png\'/>finder')"> <img src="./img/icon/finder.png"></a></li>
|
||||
<li><span class="dock-tips">computer<span class="arrow"></span></span><a onclick="Win10.openUrl('http://win10ui.yuri2.cn','<img class=\'icon\' src=\'./img/icon/computer.png\'/>我的电脑')"> <img src="./img/icon/computer.png"></a></li>
|
||||
<li><span class="dock-tips">gamecenter<span class="arrow"></span></span><a href="#"> <img src="./img/icon/gamecenter.png"></a></li>
|
||||
<li><span class="dock-tips">icloud<span class="arrow"></span></span><a href="#"> <img src="./img/icon/icloud.png"></a></li>
|
||||
|
|
|
|||
Loading…
Reference in New Issue