样式修改
parent
a6cc5ef333
commit
9d62f2c32d
|
@ -107,17 +107,17 @@ ul li a{
|
|||
<div id="sidebar">
|
||||
<ul style="padding-left: 0px">
|
||||
{% if debug == true %}
|
||||
<li><a href="/api/public/Blog/index" style="font-size: 22px;">文章</a></li>
|
||||
<li><a href="/api/public/Blog/index" style="font-size: 25px;">文章</a></li>
|
||||
{%else%}
|
||||
<li><a href="/wapi/Blog/index" style="font-size: 22px;">文章</a></li>
|
||||
<li><a href="/wapi/Blog/index" style="font-size: 25px;">文章</a></li>
|
||||
{% endif %}
|
||||
|
||||
<li style="font-size: 22px;">项目</li>
|
||||
<li style="font-size: 22px;">杂文</li>
|
||||
<li style="font-size: 25px;">项目</li>
|
||||
<li style="font-size: 25px;">杂文</li>
|
||||
{% if debug == true %}
|
||||
<li><a href="/api/public/Blog/donate" style="font-size: 22px;">赞助</a></li>
|
||||
<li><a href="/api/public/Blog/donate" style="font-size: 25px;">赞助</a></li>
|
||||
{%else%}
|
||||
<li><a href="/wapi/Blog/donate" style="font-size: 22px;">赞助</a></li>
|
||||
<li><a href="/wapi/Blog/donate" style="font-size: 25px;">赞助</a></li>
|
||||
{% endif %} </ul>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -159,7 +159,7 @@ ul li a{
|
|||
</p>
|
||||
<div style="width: 670px;height: 800px;
|
||||
display: block;font-size: 14px;text-align: left;
|
||||
font-family: 黑体; overflow:scroll">
|
||||
font-family: 'Droid Sans Mono'; word-break: break-all; word-wrap:break-word;overflow-y: scroll">
|
||||
{{ content | raw}}
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -20,7 +20,7 @@ ul.navMenu{
|
|||
text-align: center;
|
||||
display: block;
|
||||
line-height: 40px;
|
||||
font-size: 11px;
|
||||
font-size: 16px;
|
||||
text-decoration: none;
|
||||
color: #ffffff;
|
||||
border-top: 1px solid #222932;
|
||||
|
@ -36,13 +36,12 @@ ul.navMenu{
|
|||
}
|
||||
|
||||
.subMenu>li>a {
|
||||
text-align: left;
|
||||
text-align: center;
|
||||
display: block;
|
||||
line-height: 36px;
|
||||
font-size: 10px;
|
||||
font-size: 13px;
|
||||
text-decoration: none;
|
||||
color: #ffffff;
|
||||
font-family: "黑体";
|
||||
}
|
||||
|
||||
ul.subMenu {
|
||||
|
@ -73,17 +72,17 @@ a.arrow:after {
|
|||
display: block;
|
||||
float: right;
|
||||
margin-right: 15px;
|
||||
font-size: 20px;
|
||||
font-size: 25px;
|
||||
line-height: 40px;
|
||||
font-weight: 300;
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
li.active>a.arrow:after {
|
||||
font-size: 25px;
|
||||
display: block;
|
||||
float: right;
|
||||
margin-right: 15px;
|
||||
font-size: 16px;
|
||||
line-height: 40px;
|
||||
font-weight: 300;
|
||||
text-shadow: none;
|
||||
|
@ -93,10 +92,10 @@ li.active>a.arrow:after {
|
|||
display: block;
|
||||
float: left;
|
||||
margin: 0 5px;
|
||||
font-size: 20px;
|
||||
font-size: 25px;
|
||||
line-height: 40px;
|
||||
font-weight: 300;
|
||||
text-shadow: none;
|
||||
width: 130px;
|
||||
width: 240px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
|
Binary file not shown.
|
@ -75,10 +75,10 @@ $(document).ready(
|
|||
// 获取每种分类
|
||||
if (data['code'] == 200) {
|
||||
$("#doc_type_" + key).append('<ul class="subMenu" id = "type_id_' + key
|
||||
+ '" style="display: none"></ul>');
|
||||
+ '" style="display: none;font-size: 25px;text-align: center;"></ul>');
|
||||
Object.keys(objs).forEach(function (doc_id) {
|
||||
let rand = parseInt(Math.random() * 10000 %10000);
|
||||
$("#type_id_" + key).append('<li><a ' + 'id=' + rand + '>'+ objs[doc_id].title + '</a></li>');
|
||||
$("#type_id_" + key).append('<li><a ' + 'id=' + rand + '>'+ objs[doc_id].title + '</a></li>');
|
||||
console.log(doc_id,objs[doc_id].title);
|
||||
// 注册回调s
|
||||
// console.log("#type_id_0 li a #" + rand);
|
||||
|
|
Loading…
Reference in New Issue