zshshr closed pull request #273: Update several articles
URL: https://github.com/apache/incubator-weex-site/pull/273
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/docs/docs/components/scroller.md b/docs/docs/components/scroller.md
index 722b1c808..1e51e8a2d 100644
--- a/docs/docs/components/scroller.md
+++ b/docs/docs/components/scroller.md
@@ -31,7 +31,7 @@ There are two special components that can only be used inside 
scroller component
 
 ## Styles
 
-common styles: check out [common styles for 
components](/wiki/common-styles.html)
+common styles: check out [common styles for 
components](../styles/common-styles.html)
 
 * support flexbox related styles
 * support box model related styles
@@ -41,10 +41,10 @@ common styles: check out [common styles for 
components](/wiki/common-styles.html
 
 ## Events
 
-**common events**: check out the [common events](/wiki/common-events.html)
+**common events**: check out the [common events](../events/common-events.html)
 
-- support `click` event. Check out [common events](/wiki/common-events.html)
-- support `appear` / `disappear` event. Check out [common 
events](/wiki/common-events.html)
+- support `click` event. Check out [common 
events](../events/common-events.html)
+- support `appear` / `disappear` event. Check out [common 
events](../events/common-events.html)
 
 - support `loadmore` event. The `loadmore` event should be used in concert 
with loadmoreoffset. If the view has less than loadmoreoffset to scroll down, 
the event will be triggered.See details in 
[example](http://dotwe.org/vue/26e980d5ccd9538941ea6d17761219ff).
 
diff --git a/docs/docs/styles/color-name.md b/docs/docs/styles/color-name.md
index a8962f78d..26ba985c9 100644
--- a/docs/docs/styles/color-name.md
+++ b/docs/docs/styles/color-name.md
@@ -1,10 +1,10 @@
-### 支持的颜色名称列表
-#### 基础颜色关键词:
+### List of supported color
+#### key words of basic color:
 <table>
 <thead>
 <tr>
-<th>颜色名</th>
-<th>十六进制RGB值</th>
+<th>Color</th>
+<th>RGB to HEX</th>
 </tr>
 </thead>
 <tbody>
@@ -75,7 +75,7 @@
 </tbody>
 </table>
 
-#### 扩展颜色关键词:
+#### key words of extended color:
 <table>
 <thead>
 <tr>
diff --git a/docs/zh/docs/components/scroller.md 
b/docs/zh/docs/components/scroller.md
index 227dc647e..7fb047d6a 100644
--- a/docs/zh/docs/components/scroller.md
+++ b/docs/zh/docs/components/scroller.md
@@ -91,7 +91,7 @@
 
 ### `scrollToElement(node, options)`
 
-与 `<list>` 类似,`<scroller>` 支持滚动到某个指定的元素,可通过 `dom.scrollToElement()` 
滚动到指定元素位置。更多信息可参考[dom module](/docs/dom.html)。
+与 `<list>` 类似,`<scroller>` 支持滚动到某个指定的元素,可通过 `dom.scrollToElement()` 
滚动到指定元素位置。更多信息可参考[dom module](../modules/dom.html)。
 
 #### 参数
 
@@ -99,7 +99,7 @@
 - `options {Object}`:可选项,属性为:
   - `offset {number}`:一个到其可见位置的偏移距离,默认是 0
 
-## Demo
+## 例子
 
 - [scrollerstart 事件](http://dotwe.org/vue/6e3c7fb21976e80c2959f330ddd1b26a)
 - [设置 scroller 事件触发频率](http://dotwe.org/vue/d896b0896293ec55c209729fdfc7bff2)
diff --git a/docs/zh/docs/components/web.md b/docs/zh/docs/components/web.md
index 0b14b647b..11f1a2b36 100644
--- a/docs/zh/docs/components/web.md
+++ b/docs/zh/docs/components/web.md
@@ -23,7 +23,7 @@
 ::: warning 注意
 * `<web>` 不支持任何嵌套的子组件。
 * `<web>` 必须指定 width 和 height 的样式属性,否则将不起作用。
-* 您可以使用 [webview module](/docs/webview.html)来控制 `<web>`。
+* 您可以使用 [webview module](../modules/webview.html)来控制 `<web>`。
 :::
 
 ## 属性
@@ -39,15 +39,15 @@
 * **pagestart** 会在 Web 页面开始加载时调用。
 
     事件对象:
-    - url: {String} 当前 Web 页面的 URL。
+    - `url`: {String} 当前 Web 页面的 URL。
 
 * **pagefinish** 会在 Web 页面完成加载时调用。
 
     事件对象:
-    - url: {String} 当前 Web 页面的 URL。
-    - canGoBack: {Boolean} 当前 Web 页面是否可以回退。
-    - canGoForward: {Boolean} 当前 Web 页面是否可以前进。
-    - title: {String} 当前 Web 页面的标题(仅限 iOS 平台)。
+    - `url`: {String} 当前 Web 页面的 URL。
+    - `canGoBack`: {Boolean} 当前 Web 页面是否可以回退。
+    - `canGoForward`: {Boolean} 当前 Web 页面是否可以前进。
+    - `title`: {String} 当前 Web 页面的标题(仅限 iOS 平台)。
 
 * **error** 会在 Web 页面加载失败时调用。
 
@@ -78,8 +78,8 @@
 <style></style>
 ```
 
-## Demo
+## 例子
 
 * [体验示例](http://dotwe.org/vue/9f8a7be89a4ad881ff515145cc9306ea)
 
-上述示例监听了 pagestart、pagefinish 及 error 事件,同时使用了  [webview 
module](/docs/webview.html) 提供的 API。
\ No newline at end of file
+上述示例监听了 pagestart、pagefinish 及 error 事件,同时使用了  [webview 
module](../modules/webview.html) 提供的 API。
\ No newline at end of file
diff --git a/docs/zh/docs/modules/webview.md b/docs/zh/docs/modules/webview.md
index 6f335b802..fba1b4267 100644
--- a/docs/zh/docs/modules/webview.md
+++ b/docs/zh/docs/modules/webview.md
@@ -1,6 +1,6 @@
 # webview
 
-`webview` 模块提供了一系列的 [`<web>`](/docs/web.md) 组件操作接口,例如 `goBack`、`goForward` 和 
`reload`,一般与 `<web>` 组件一起使用,在 Weex 页面内渲染 web 页面。
+`webview` 模块提供了一系列的 [`<web>`](../components/web.html) 组件操作接口,例如 
`goBack`、`goForward` 和 `reload`,一般与 `<web>` 组件一起使用,在 Weex 页面内渲染 web 页面。
 
 ## API
 


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to