You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by ha...@apache.org on 2018/06/28 09:46:23 UTC
[3/3] incubator-weex-site git commit: update examples screenshots
update examples screenshots
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/2d580094
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex-site/tree/2d580094
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex-site/diff/2d580094
Branch: refs/heads/master
Commit: 2d580094829a184af1ae169a106aefa521cf280d
Parents: 896ee6f
Author: 门柳 <ha...@alibaba-inc.com>
Authored: Thu Jun 28 17:45:57 2018 +0800
Committer: 门柳 <ha...@alibaba-inc.com>
Committed: Thu Jun 28 17:45:57 2018 +0800
----------------------------------------------------------------------
examples/cases.js | 6 +++---
examples/components.js | 4 ++--
examples/events.js | 21 +++++++++++++++++++++
examples/index.js | 2 ++
examples/modules.js | 18 +++++++++---------
examples/others.js | 16 ----------------
themes/weex/source/js/examples.min.js | 2 +-
7 files changed, 38 insertions(+), 31 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/2d580094/examples/cases.js
----------------------------------------------------------------------
diff --git a/examples/cases.js b/examples/cases.js
index e5fd455..6836359 100644
--- a/examples/cases.js
+++ b/examples/cases.js
@@ -110,15 +110,15 @@ module.exports = {
scope: 'website',
hash: '013b1e76d2c5419e32bc3e02aa1bef26',
title: '应用列表',
- screenshot: 'https://img.alicdn.com/tfs/TB1IoEFxGmWBuNjy1XaXXXCbXXa-540-844.png'
+ screenshot: 'https://gw.alicdn.com/tfs/TB1fSbSA_tYBeNjy1XdXXXXyVXa-540-844.png'
}, {
hash: '6c458803b2a83a336099ff43dae4d1a5',
title: '商品展示',
screenshot: 'https://gw.alicdn.com/tfs/TB1juElXjihSKJjy0FfXXbGzFXa-540-844.png'
}, {
- hash: '97c0dc80f34d51aff2551a9916d48fba',
+ hash: '7e46ae0df128bd07c6b8c77290c9a8d9',
title: { zh: '聊天', en: 'Chat' },
- screenshot: 'https://img.alicdn.com/tfs/TB1IoEFxGmWBuNjy1XaXXXCbXXa-540-844.png'
+ screenshot: 'https://gw.alicdn.com/tfs/TB16_XwAVOWBuNjy0FiXXXFxVXa-540-844.png'
}]
}]
}
http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/2d580094/examples/components.js
----------------------------------------------------------------------
diff --git a/examples/components.js b/examples/components.js
index f4971cb..7d7cdb6 100644
--- a/examples/components.js
+++ b/examples/components.js
@@ -442,9 +442,9 @@ module.exports = {
title: { zh: '无限列表', en: 'Infinite Scroll' },
screenshot: 'https://gw.alicdn.com/tfs/TB1JGrQilfH8KJjy1XbXXbLdXXa-540-844.png'
}, {
- hash: '05f153c3a2478605a66011e981964373',
+ hash: '3dc558662a467082cc4244cfaa3285b1',
title: { zh: '水平滚动', en: 'Horizontal Scroll' },
- screenshot: 'https://img.alicdn.com/tfs/TB1IoEFxGmWBuNjy1XaXXXCbXXa-540-844.png'
+ screenshot: 'https://gw.alicdn.com/tfs/TB12wdnAYGYBuNjy0FoXXciBFXa-540-844.png'
}]
}, {
type: 'recycle-list-component',
http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/2d580094/examples/events.js
----------------------------------------------------------------------
diff --git a/examples/events.js b/examples/events.js
new file mode 100644
index 0000000..2b3fdd1
--- /dev/null
+++ b/examples/events.js
@@ -0,0 +1,21 @@
+module.exports = {
+ type: 'events',
+ name: { zh: '事件', en: 'Events' },
+ group: [{
+ type: 'touch',
+ name: { zh: 'Touch事件', en: 'Touch Event' },
+ examples: [{
+ hash: '993eb7f1a379a224c2ec5224370b2b76',
+ title: '<touch left move>',
+ screenshot: 'https://gw.alicdn.com/tfs/TB1D7DhAWmWBuNjy1XaXXXCbXXa-540-844.png'
+ }, {
+ hash: '06c5fd1948ba95d09ece274902ccf425',
+ title: '<touch ball>',
+ screenshot: 'https://gw.alicdn.com/tfs/TB1UpULAMmTBuNjy1XbXXaMrVXa-540-844.png'
+ }, {
+ hash: '4721a88bfeaa703b4ff28e33ab17609e',
+ title: '<slide pager-indicator>',
+ screenshot: 'https://gw.alicdn.com/tfs/TB1lghnAYGYBuNjy0FoXXciBFXa-540-844.png'
+ }]
+ }]
+}
http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/2d580094/examples/index.js
----------------------------------------------------------------------
diff --git a/examples/index.js b/examples/index.js
index 689f4d7..5f11833 100644
--- a/examples/index.js
+++ b/examples/index.js
@@ -2,6 +2,7 @@ const components = require('./components')
const modules = require('./modules')
const syntax = require('./syntax')
const styles = require('./styles')
+const events = require('./events')
const cases = require('./cases')
const others = require('./others')
@@ -10,6 +11,7 @@ const examples = [
modules,
syntax,
styles,
+ events,
cases,
others
]
http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/2d580094/examples/modules.js
----------------------------------------------------------------------
diff --git a/examples/modules.js b/examples/modules.js
index c11e3c0..f622a38 100644
--- a/examples/modules.js
+++ b/examples/modules.js
@@ -53,7 +53,7 @@ module.exports = {
}, {
hash: '308d627e241d0ce932a1577672af1bd8',
title: 'addRule',
- screenshot: 'https://img.alicdn.com/tfs/TB1IoEFxGmWBuNjy1XaXXXCbXXa-540-844.png'
+ screenshot: 'https://gw.alicdn.com/tfs/TB1_ltpA7yWBuNjy0FpXXassXXa-540-844.png'
}]
}, {
type: 'stream',
@@ -87,7 +87,7 @@ module.exports = {
examples: [{
hash: '07554ce87a2c70d77bf2265824afdd8a',
title: { zh: '最简例子', en: 'Sample' },
- screenshot: 'https://img.alicdn.com/tfs/TB1IoEFxGmWBuNjy1XaXXXCbXXa-540-844.png'
+ screenshot: 'https://gw.alicdn.com/tfs/TB1p5DPA_tYBeNjy1XdXXXXyVXa-540-844.png'
}, {
hash: '4624d605004fc7eb9f14ca9c5a226fe3',
title: 'transform',
@@ -129,15 +129,15 @@ module.exports = {
examples: [{
hash: '71d1dff37c54fa9bafab4d8cbe3d21e3',
title: 'setItem',
- screenshot: 'https://img.alicdn.com/tfs/TB1IoEFxGmWBuNjy1XaXXXCbXXa-540-844.png'
+ screenshot: 'https://gw.alicdn.com/tfs/TB1vhlCA1uSBuNjy1XcXXcYjFXa-540-844.png'
}, {
hash: '71d1dff37c54fa9bafab4d8cbe3d21e3',
title: 'getItem',
- screenshot: 'https://img.alicdn.com/tfs/TB1IoEFxGmWBuNjy1XaXXXCbXXa-540-844.png'
+ screenshot: 'https://gw.alicdn.com/tfs/TB1vhlCA1uSBuNjy1XcXXcYjFXa-540-844.png'
}, {
hash: '71d1dff37c54fa9bafab4d8cbe3d21e3',
title: 'removeItem',
- screenshot: 'https://img.alicdn.com/tfs/TB1IoEFxGmWBuNjy1XaXXXCbXXa-540-844.png'
+ screenshot: 'https://gw.alicdn.com/tfs/TB1vhlCA1uSBuNjy1XcXXcYjFXa-540-844.png'
}]
}, {
type: 'clipboard',
@@ -200,15 +200,15 @@ module.exports = {
examples: [{
hash: '9f8a7be89a4ad881ff515145cc9306ea',
title: 'goBack',
- screenshot: 'https://img.alicdn.com/tfs/TB1IoEFxGmWBuNjy1XaXXXCbXXa-540-844.png'
+ screenshot: 'https://gw.alicdn.com/tfs/TB1Sj0uAVOWBuNjy0FiXXXFxVXa-540-844.png'
}, {
hash: '9f8a7be89a4ad881ff515145cc9306ea',
title: 'goForward',
- screenshot: 'https://img.alicdn.com/tfs/TB1IoEFxGmWBuNjy1XaXXXCbXXa-540-844.png'
+ screenshot: 'https://gw.alicdn.com/tfs/TB1Sj0uAVOWBuNjy0FiXXXFxVXa-540-844.png'
}, {
hash: '9f8a7be89a4ad881ff515145cc9306ea',
title: 'reload',
- screenshot: 'https://img.alicdn.com/tfs/TB1IoEFxGmWBuNjy1XaXXXCbXXa-540-844.png'
+ screenshot: 'https://gw.alicdn.com/tfs/TB1Sj0uAVOWBuNjy0FiXXXFxVXa-540-844.png'
}]
}, {
type: 'meta',
@@ -242,7 +242,7 @@ module.exports = {
examples: [{
hash: 'c4994c025226953c038b43da8b45124e',
title: { zh: '使用范例', en: 'Use WebSocket' },
- screenshot: 'https://img.alicdn.com/tfs/TB1IoEFxGmWBuNjy1XaXXXCbXXa-540-844.png'
+ screenshot: 'https://gw.alicdn.com/tfs/TB1gVSkAY9YBuNjy0FgXXcxcXXa-540-844.png'
}]
}]
}
http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/2d580094/examples/others.js
----------------------------------------------------------------------
diff --git a/examples/others.js b/examples/others.js
index 001592f..db6fa2c 100644
--- a/examples/others.js
+++ b/examples/others.js
@@ -155,22 +155,6 @@ module.exports = {
// screenshot: 'https://gw.alicdn.com/tfs/TB1sF_CcMMPMeJjy1XcXXXpppXa-540-844.png'
}]
}, {
- type: 'case-touch',
- name: { zh: 'Touch事件', en: 'Touch Event' },
- examples: [{
- hash: '993eb7f1a379a224c2ec5224370b2b76',
- title: '<touch left move>',
- screenshot: 'https://img.alicdn.com/tfs/TB1c4dfA1uSBuNjy1XcXXcYjFXa-540-960.png'
- }, {
- hash: '06c5fd1948ba95d09ece274902ccf425',
- title: '<touch ball>',
- screenshot: 'https://img.alicdn.com/tfs/TB1lUx2A4GYBuNjy0FnXXX5lpXa-540-960.png'
- }, {
- hash: '4721a88bfeaa703b4ff28e33ab17609e',
- title: '<slide pager-indicator>',
- screenshot: 'https://img.alicdn.com/tfs/TB1r2M.AFOWBuNjy0FiXXXFxVXa-540-960.jpg'
- }]
- },{
type: 'case-benchmark',
name: { zh: '实例压测', en: 'Real Case Benchmark' },
examples: [{