标签修改
This commit is contained in:
parent
f59ea1ea62
commit
de8e1887a6
@ -78,7 +78,7 @@ pagination_dir: page
|
||||
# Extensions
|
||||
## Plugins: https://hexo.io/plugins/
|
||||
## Themes: https://hexo.io/themes/
|
||||
theme: hexo-theme-raytaylorism
|
||||
theme: raytaylorism
|
||||
|
||||
#----------------------------
|
||||
# 搜索
|
||||
|
||||
@ -124,7 +124,7 @@ model.showName();
|
||||
```
|
||||
constructor表示这个类的构造函数
|
||||
需要注意的是 : 对于对象当中属性的赋值 , 必须要在构造函数当中完成 , 而不能像Java那样直接对类中的属性设定初始值
|
||||
#####继承
|
||||
##### 继承
|
||||
继承的实现方式与Java也十分类似
|
||||
```javascript
|
||||
class MyModel extends BaseModel {
|
||||
|
||||
@ -71,9 +71,7 @@
|
||||
<div class="side-nav <%= theme.color.side_nav %>" id="tag-menu">
|
||||
<h4 style="padding:0 15px">标签</h4>
|
||||
<% site.tags.forEach(function (item, index) { %>
|
||||
<a href="<%= url_for(item.path) %>">
|
||||
<%= item.name %> <span class="right"><%= __('side_nav_paper', item.length) %></span></a>
|
||||
</a>
|
||||
<a href="<%= url_for(item.path) %>"><%= item.name+' ('+item.length+')' %></a>
|
||||
<% }); %>
|
||||
</div>
|
||||
</div>
|
||||
@ -21,7 +21,7 @@ article
|
||||
padding: 0 5px;
|
||||
border-radius: 5px;
|
||||
border: 1px solid #e0e0e0
|
||||
color: #212121;
|
||||
color: #d9466b;
|
||||
background-color #eeeeee
|
||||
|
||||
pre .keyword
|
||||
|
Before Width: | Height: | Size: 434 KiB After Width: | Height: | Size: 434 KiB |
Loading…
x
Reference in New Issue
Block a user