调整首页

内容微调
This commit is contained in:
Zhicheng Wang 2016-06-29 10:39:12 +08:00
parent 8e2299de2a
commit fc6e68dc5c
2 changed files with 3 additions and 2 deletions

View File

@ -10,10 +10,10 @@ md-toolbar(class="main-nav background-regal l-pinned-top l-layer-5",scroll-y-off
ul(ng-class="appCtrl.showMainNav ? 'is-visible' : ''")
li.l-left <a class="main-nav-button" href="/features.html" md-button>特性</a>
li.l-left <a class="main-nav-button" href="/docs/#{language}/latest/" md-button>文档</a>
li.l-left <a class="main-nav-button" href="/events.html" md-button>事件</a>
li.l-left <a class="main-nav-button" href="/events.html" md-button>开发者会议</a>
li.l-left <a class="main-nav-button" href="/news.html" md-button>新闻</a>
li.l-left <a class="main-nav-button" href="/translate/cn/about.html" md-button>关于中文版</a>
li.l-left <a class="main-nav-button" href="https://angular.io/" md-button target="_blank">官网(被墙)</a>
li.l-left <a class="main-nav-button" href="https://angular.io/" md-button target="_blank">官网</a>
li.l-right <a class="main-nav-button" href="/docs/ts/latest/quickstart.html" md-button>立即开始!</a>
li.l-right
a.main-nav-button.md-button(ng-click="appCtrl.toggleSource($event)", href)

View File

@ -355,6 +355,7 @@ block get-heroes-details
### Put
Put will be used to update an individual hero. Its structure is very similar to Post requests. The only difference is that we have to change the url slightly by appending the id of the hero we want to update.
Put用来编辑一个指定的英雄但是代码结构和POST请求很相似。唯一的不同是我们要修改url为它附加上我们想要编辑的那位英雄的id。
+makeExcerpt('app/hero.service.ts', 'put')