weex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ha...@apache.org
Subject incubator-weex-site git commit: fix image links in chinese docs [Forced Update!]
Date Thu, 18 Jan 2018 04:59:42 GMT
Repository: incubator-weex-site
Updated Branches:
  refs/heads/master 1402d5348 -> 1a6d8cedd (forced update)


fix image links in chinese docs


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex-site/commit/1a6d8ced
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex-site/tree/1a6d8ced
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex-site/diff/1a6d8ced

Branch: refs/heads/master
Commit: 1a6d8cedd87ccc96e8d19df43c68164244a5eb82
Parents: 81ed14b
Author: Hanks <zhanghan.me@gmail.com>
Authored: Thu Jan 18 12:50:41 2018 +0800
Committer: Hanks <zhanghan.me@gmail.com>
Committed: Thu Jan 18 12:59:20 2018 +0800

----------------------------------------------------------------------
 source/cn/guide/front-end-frameworks.md       |   2 +-
 source/cn/guide/index.md                      |  10 ++--
 source/cn/guide/use-vue.md                    |  11 ++++
 source/cn/wiki/images/css-boxmodel.png        | Bin 0 -> 12581 bytes
 source/cn/wiki/images/css-flexbox-align.jpg   | Bin 0 -> 35005 bytes
 source/cn/wiki/images/css-flexbox-justify.svg |  59 +++++++++++++++++++++
 source/cn/wiki/images/css-flexbox-sample.png  | Bin 0 -> 3210 bytes
 source/cn/wiki/images/nav.png                 | Bin 0 -> 83497 bytes
 source/wiki/images/css-boxmodel.png           | Bin 0 -> 12581 bytes
 source/wiki/images/css-flexbox-align.jpg      | Bin 0 -> 35005 bytes
 source/wiki/images/css-flexbox-justify.svg    |  59 +++++++++++++++++++++
 source/wiki/images/css-flexbox-sample.png     | Bin 0 -> 3210 bytes
 source/wiki/images/nav.png                    | Bin 0 -> 83497 bytes
 13 files changed, 135 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/1a6d8ced/source/cn/guide/front-end-frameworks.md
----------------------------------------------------------------------
diff --git a/source/cn/guide/front-end-frameworks.md b/source/cn/guide/front-end-frameworks.md
index 21a7dd5..5d89618 100644
--- a/source/cn/guide/front-end-frameworks.md
+++ b/source/cn/guide/front-end-frameworks.md
@@ -10,7 +10,7 @@ version: 2.1
 
 ## Weex 中的前端框架
 
-![Vue and Rax](./images/vue-rax.png)
+![Vue and Rax](../../guide/images/vue-rax.png)
 
 前端技术看起来很繁荣,测试、打包、调试等工具都比较丰富,开发效率比原生开发要高很多。在大型项目中使用前端框架也是一个管理应用好方法,这样更方便于长期维护。
 

http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/1a6d8ced/source/cn/guide/index.md
----------------------------------------------------------------------
diff --git a/source/cn/guide/index.md b/source/cn/guide/index.md
index 40b3a21..43c5f4a 100644
--- a/source/cn/guide/index.md
+++ b/source/cn/guide/index.md
@@ -24,7 +24,7 @@ Weex 的另一个主要目标是跟进当代先进的 Web 开发和原生开发
 
 这里有一个使用 Weex 和 Vue.js 开发的[最简单的例子](http://dotwe.org/vue/8da01827631b21150a12dd54d7114380):
 
-![Weex Example](./images/weex-example-yo.png)
+![Weex Example](../../guide/images/weex-example-yo.png)
 
 这个例子在屏幕正中间渲染了一个单词 “Yo”。 如果你想在移动设备上预览渲染结果,你只需要安装[Weex
playground app](https://weex-project.io/playground.html) 或将 Weex SDK 集成到您自己的应用程序中,然后使用扫描网页右侧的二维码。
 
@@ -38,7 +38,7 @@ Weex 的另一个主要目标是跟进当代先进的 Web 开发和原生开发
 
 在上面的例子中,`<div>` 和 `<text>` 在移动端上渲染出来的都是原生组件,而不是
`HTMLElement`。
 
-![Native Components](./images/native-component.png)
+![Native Components](../../guide/images/native-component.png)
 
 Weex 在 iOS 和 Android 上都实现了一个渲染引擎,并提供了一套基础的[内置组件](../references/components/)。基于这些组件,你可以用
js 封装更多的上层组件。
 
@@ -46,7 +46,7 @@ Weex 在 iOS 和 Android 上都实现了一个渲染引擎,并提供了一套
 
 在框架内部,Weex 使用的是原生系统提供的 Widget 来渲染的。尽管 Weex
强调每个跨平台的一致性,但我们仍然接受平台本身的行为和 UI 差异。
例如 [<switch>` 组件](http://dotwe.org/vue/d96943452b6708422197c47920903823) 在
Android 和 iOS 上看起来是不同的(在 Web 端的外观模拟了 iOS)。
 
-![Different switch](./images/different-switch.png)
+![Different switch](../../guide/images/different-switch.png)
 
 除了内置组件以外,Weex 也支持你扩展更多原生组件,但是你需要在每个平台上实现它们,并保持其行为一致。最实用的方法是将现有的本地组件集成到
Weex 平台中。
 
@@ -76,7 +76,7 @@ Weex 可以只开写一份代码,开发出三端都可用的页面。
 
 目前 Weex 将 [Vue.js](https://vuejs.org/) 和 [Rax](https://alibaba.github.io/rax/) 作为其内置的前端框架。你可以阅读
*[前端框架](./front-end-frameworks.html)* 这篇文档了解更多信息。
 
-![Vue and Rax](./images/vue-rax.png)
+![Vue and Rax](../../guide/images/vue-rax.png)
 
 + **Vue.js** 是一套用于构建用户界面的渐进式框架。
 + **Rax** 兼容 React 接口的前端框架。
@@ -121,7 +121,7 @@ npm start
 
 然后工具会启动一个本地的 web 服务,监听 `8081` 端口。你可以打开
`http://localhost:8081` 查看页面在 Web 下的渲染效果。 源代码在 `src/` 目录中,你可以像一个普通的
Vue.js 项目一样来开发.
 
-![Preview](./images/toolkit-preview.png)
+![Preview](../../guide/images/toolkit-preview.png)
 
 除此之外,你还可以打开 `http://localhost:8081/preview.html` 开启一个预览页面,它会把
web 端的页面放在一个 iframe 中渲染,而且在右侧生成一个二维码。用
[Weex playground app](http://weex-project.io/playground.html) 扫描这个二维码可以看到页面在手机上渲染的真实效果。
 

http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/1a6d8ced/source/cn/guide/use-vue.md
----------------------------------------------------------------------
diff --git a/source/cn/guide/use-vue.md b/source/cn/guide/use-vue.md
new file mode 100644
index 0000000..ec592c1
--- /dev/null
+++ b/source/cn/guide/use-vue.md
@@ -0,0 +1,11 @@
+---
+title: 在 Weex 中使用 Vue.js
+type: guide
+group: Overview
+order: 1.6
+version: 2.1
+---
+
+Working in progress.
+
+Please refer to the [English version](../../guide/use-vue.html).

http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/1a6d8ced/source/cn/wiki/images/css-boxmodel.png
----------------------------------------------------------------------
diff --git a/source/cn/wiki/images/css-boxmodel.png b/source/cn/wiki/images/css-boxmodel.png
new file mode 100644
index 0000000..a2063e2
Binary files /dev/null and b/source/cn/wiki/images/css-boxmodel.png differ

http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/1a6d8ced/source/cn/wiki/images/css-flexbox-align.jpg
----------------------------------------------------------------------
diff --git a/source/cn/wiki/images/css-flexbox-align.jpg b/source/cn/wiki/images/css-flexbox-align.jpg
new file mode 100644
index 0000000..8a7f731
Binary files /dev/null and b/source/cn/wiki/images/css-flexbox-align.jpg differ

http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/1a6d8ced/source/cn/wiki/images/css-flexbox-justify.svg
----------------------------------------------------------------------
diff --git a/source/cn/wiki/images/css-flexbox-justify.svg b/source/cn/wiki/images/css-flexbox-justify.svg
new file mode 100644
index 0000000..33e742b
--- /dev/null
+++ b/source/cn/wiki/images/css-flexbox-justify.svg
@@ -0,0 +1,59 @@
+<svg xmlns="http://www.w3.org/2000/svg" width='504' height='270' viewBox="0 0 504 270">
+	<defs>
+		<pattern id='checker' width='20' height='20' patternUnits='userSpaceOnUse'>
+			<rect x='0' y='0' width='10' height='10' fill='#eee' />
+			<rect x='10' y='10' width='10' height='10' fill='#eee' />
+			<rect x='0' y='10' width='10' height='10' fill='#ccc' />
+			<rect x='10' y='0' width='10' height='10' fill='#ccc' />
+		</pattern>
+	</defs>
+	<style>
+		text { font-family: sans-serif; font-weight: bold; font-size: 30px; text-anchor: middle;
}
+		rect { stroke-width: 2px; stroke: #888; }
+		g > rect:nth-child(1) { fill: #888 }
+		g > rect:nth-child(2) { fill: #fcc; }
+		g > rect:nth-child(3) { fill: #cfc; }
+		g > rect:nth-child(4) { fill: #ccf; }
+		g > rect:nth-child(5) { fill: transparent; }
+	</style>
+	<g transform="translate(2,2)">
+		<rect x='0' y='0' width='500' height='50' />
+		<rect x='0' y='0' width='100' height='50' />
+		<rect x='100' y='0' width='80' height='50' />
+		<rect x='180' y='0' width='200' height='50' />
+		<rect x='0' y='0' width='500' height='50' />
+		<text x='250' y='38'>flex-start</text>
+	</g>
+	<g transform="translate(2,56)">
+		<rect x='0' y='0' width='500' height='50' />
+		<rect x='120' y='0' width='100' height='50' />
+		<rect x='220' y='0' width='80' height='50' />
+		<rect x='300' y='0' width='200' height='50' />
+		<rect x='0' y='0' width='500' height='50' />
+		<text x='250' y='38'>flex-end</text>
+	</g>
+	<g transform="translate(2,110)">
+		<rect x='0' y='0' width='500' height='50' />
+		<rect x='60' y='0' width='100' height='50' />
+		<rect x='160' y='0' width='80' height='50' />
+		<rect x='240' y='0' width='200' height='50' />
+		<rect x='0' y='0' width='500' height='50' />
+		<text x='250' y='38'>center</text>
+	</g>
+	<g transform="translate(2,164)">
+		<rect x='0' y='0' width='500' height='50' />
+		<rect x='0' y='0' width='100' height='50' />
+		<rect x='160' y='0' width='80' height='50' />
+		<rect x='300' y='0' width='200' height='50' />
+		<rect x='0' y='0' width='500' height='50' />
+		<text x='250' y='38'>space-between</text>
+	</g>
+	<g transform="translate(2,218)">
+		<rect x='0' y='0' width='500' height='50' />
+		<rect x='20' y='0' width='100' height='50' />
+		<rect x='160' y='0' width='80' height='50' />
+		<rect x='280' y='0' width='200' height='50' />
+		<rect x='0' y='0' width='500' height='50' />
+		<text x='250' y='38'>space-around</text>
+	</g>
+</svg>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/1a6d8ced/source/cn/wiki/images/css-flexbox-sample.png
----------------------------------------------------------------------
diff --git a/source/cn/wiki/images/css-flexbox-sample.png b/source/cn/wiki/images/css-flexbox-sample.png
new file mode 100644
index 0000000..0f1236d
Binary files /dev/null and b/source/cn/wiki/images/css-flexbox-sample.png differ

http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/1a6d8ced/source/cn/wiki/images/nav.png
----------------------------------------------------------------------
diff --git a/source/cn/wiki/images/nav.png b/source/cn/wiki/images/nav.png
new file mode 100644
index 0000000..7081ca7
Binary files /dev/null and b/source/cn/wiki/images/nav.png differ

http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/1a6d8ced/source/wiki/images/css-boxmodel.png
----------------------------------------------------------------------
diff --git a/source/wiki/images/css-boxmodel.png b/source/wiki/images/css-boxmodel.png
new file mode 100644
index 0000000..a2063e2
Binary files /dev/null and b/source/wiki/images/css-boxmodel.png differ

http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/1a6d8ced/source/wiki/images/css-flexbox-align.jpg
----------------------------------------------------------------------
diff --git a/source/wiki/images/css-flexbox-align.jpg b/source/wiki/images/css-flexbox-align.jpg
new file mode 100644
index 0000000..8a7f731
Binary files /dev/null and b/source/wiki/images/css-flexbox-align.jpg differ

http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/1a6d8ced/source/wiki/images/css-flexbox-justify.svg
----------------------------------------------------------------------
diff --git a/source/wiki/images/css-flexbox-justify.svg b/source/wiki/images/css-flexbox-justify.svg
new file mode 100644
index 0000000..33e742b
--- /dev/null
+++ b/source/wiki/images/css-flexbox-justify.svg
@@ -0,0 +1,59 @@
+<svg xmlns="http://www.w3.org/2000/svg" width='504' height='270' viewBox="0 0 504 270">
+	<defs>
+		<pattern id='checker' width='20' height='20' patternUnits='userSpaceOnUse'>
+			<rect x='0' y='0' width='10' height='10' fill='#eee' />
+			<rect x='10' y='10' width='10' height='10' fill='#eee' />
+			<rect x='0' y='10' width='10' height='10' fill='#ccc' />
+			<rect x='10' y='0' width='10' height='10' fill='#ccc' />
+		</pattern>
+	</defs>
+	<style>
+		text { font-family: sans-serif; font-weight: bold; font-size: 30px; text-anchor: middle;
}
+		rect { stroke-width: 2px; stroke: #888; }
+		g > rect:nth-child(1) { fill: #888 }
+		g > rect:nth-child(2) { fill: #fcc; }
+		g > rect:nth-child(3) { fill: #cfc; }
+		g > rect:nth-child(4) { fill: #ccf; }
+		g > rect:nth-child(5) { fill: transparent; }
+	</style>
+	<g transform="translate(2,2)">
+		<rect x='0' y='0' width='500' height='50' />
+		<rect x='0' y='0' width='100' height='50' />
+		<rect x='100' y='0' width='80' height='50' />
+		<rect x='180' y='0' width='200' height='50' />
+		<rect x='0' y='0' width='500' height='50' />
+		<text x='250' y='38'>flex-start</text>
+	</g>
+	<g transform="translate(2,56)">
+		<rect x='0' y='0' width='500' height='50' />
+		<rect x='120' y='0' width='100' height='50' />
+		<rect x='220' y='0' width='80' height='50' />
+		<rect x='300' y='0' width='200' height='50' />
+		<rect x='0' y='0' width='500' height='50' />
+		<text x='250' y='38'>flex-end</text>
+	</g>
+	<g transform="translate(2,110)">
+		<rect x='0' y='0' width='500' height='50' />
+		<rect x='60' y='0' width='100' height='50' />
+		<rect x='160' y='0' width='80' height='50' />
+		<rect x='240' y='0' width='200' height='50' />
+		<rect x='0' y='0' width='500' height='50' />
+		<text x='250' y='38'>center</text>
+	</g>
+	<g transform="translate(2,164)">
+		<rect x='0' y='0' width='500' height='50' />
+		<rect x='0' y='0' width='100' height='50' />
+		<rect x='160' y='0' width='80' height='50' />
+		<rect x='300' y='0' width='200' height='50' />
+		<rect x='0' y='0' width='500' height='50' />
+		<text x='250' y='38'>space-between</text>
+	</g>
+	<g transform="translate(2,218)">
+		<rect x='0' y='0' width='500' height='50' />
+		<rect x='20' y='0' width='100' height='50' />
+		<rect x='160' y='0' width='80' height='50' />
+		<rect x='280' y='0' width='200' height='50' />
+		<rect x='0' y='0' width='500' height='50' />
+		<text x='250' y='38'>space-around</text>
+	</g>
+</svg>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/1a6d8ced/source/wiki/images/css-flexbox-sample.png
----------------------------------------------------------------------
diff --git a/source/wiki/images/css-flexbox-sample.png b/source/wiki/images/css-flexbox-sample.png
new file mode 100644
index 0000000..0f1236d
Binary files /dev/null and b/source/wiki/images/css-flexbox-sample.png differ

http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/1a6d8ced/source/wiki/images/nav.png
----------------------------------------------------------------------
diff --git a/source/wiki/images/nav.png b/source/wiki/images/nav.png
new file mode 100644
index 0000000..7081ca7
Binary files /dev/null and b/source/wiki/images/nav.png differ


Mime
View raw message