优化主页
This commit is contained in:
parent
b137252a00
commit
318ae0d64b
|
@ -5,6 +5,7 @@
|
|||
<title>主页</title>
|
||||
</head>
|
||||
<style>
|
||||
h4 { margin:10px; }
|
||||
div { user-select:none; }
|
||||
a { text-decoration:none; }
|
||||
span { display:inline-block; margin:5px; }
|
||||
|
@ -14,12 +15,15 @@ img { vertical-align:middle; }
|
|||
.operation:hover { cursor:hand; color:black; }
|
||||
.menu { position:absolute; background:white; border:1px solid gray; width:100px; display:none; }
|
||||
.menu div:hover { background:#ddd; }
|
||||
#div_logo { text-align:center; }
|
||||
#div_search { text-align:center; white-space:nowrap; }
|
||||
#list a { margin:10px; width:50px; height:75px; display:inline-block; text-align:center; white-space:nowrap; overflow:hidden; color:black; }
|
||||
#list button { width:50px; height:50px; font-size:40px; }
|
||||
#div_buttons { text-align:center; }
|
||||
</style>
|
||||
<body>
|
||||
<center><img src="logo.png"></center>
|
||||
<div align="center">
|
||||
<div id="div_logo"><img src="logo.png"></div>
|
||||
<div id="div_search">
|
||||
<select id="search_engine">
|
||||
<option value="https://www.baidu.com/s?wd=%s">百度</option>
|
||||
<option value="https://cn.bing.com/search?q=%s">必应</option>
|
||||
|
@ -33,10 +37,10 @@ img { vertical-align:middle; }
|
|||
<div id="list"></div>
|
||||
<div id="menu" class="menu"><div id="menu_modify">修改</div><div id="menu_delete">删除</div></div>
|
||||
<dialog id="dialog">
|
||||
<h2 align="center" id="type"></h2>
|
||||
<h4 align="center" id="type"></h4>
|
||||
<input type="text" id="title" placeholder="标题" value=""><p>
|
||||
<input type="text" id="website" placeholder="https://" value=""><p>
|
||||
<center><button id="button_confirm">确定</button> <button id="button_cancel">取消</button></center>
|
||||
<div id="div_buttons"><button id="button_confirm">确定</button> <button id="button_cancel">取消</button></div>
|
||||
</dialog>
|
||||
<script>
|
||||
var json, id, timer, title1, website1, type1;
|
||||
|
|
Loading…
Reference in New Issue