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/12/14 08:44:49 UTC
[incubator-weex-site] branch master updated: update examples on the
website
This is an automated email from the ASF dual-hosted git repository.
hanks pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git
The following commit(s) were added to refs/heads/master by this push:
new e1bea87 update examples on the website
e1bea87 is described below
commit e1bea87722394fee4a7e5959492c897b1cdf0ea9
Author: Hanks <zh...@gmail.com>
AuthorDate: Fri Dec 14 16:41:55 2018 +0800
update examples on the website
---
examples/cases.js | 3 +--
examples/components.js | 12 ++++++------
examples/events.js | 4 ----
examples/index.js | 1 +
examples/styles.js | 8 ++++----
themes/weex/source/js/examples.min.js | 2 +-
6 files changed, 13 insertions(+), 17 deletions(-)
diff --git a/examples/cases.js b/examples/cases.js
index b645448..12f1534 100644
--- a/examples/cases.js
+++ b/examples/cases.js
@@ -98,7 +98,7 @@ module.exports = {
}]
}, {
type: 'reprography',
- scope: 'website',
+ // scope: 'website',
name: { zh: '简单复刻', en: 'Reprography' },
examples: [{
ignore: true,
@@ -107,7 +107,6 @@ module.exports = {
title: { zh: '朋友圈', en: 'Moment' },
screenshot: 'https://gw.alicdn.com/tfs/TB1G7LydwMPMeJjy1XdXXasrXXa-540-844.png'
}, {
- scope: 'website',
hash: '013b1e76d2c5419e32bc3e02aa1bef26',
title: '应用列表',
screenshot: 'https://gw.alicdn.com/tfs/TB1fSbSA_tYBeNjy1XdXXXXyVXa-540-844.png'
diff --git a/examples/components.js b/examples/components.js
index 20e0386..403607e 100644
--- a/examples/components.js
+++ b/examples/components.js
@@ -229,23 +229,23 @@ module.exports = {
en: 'http://weex-project.io/references/components/input.html'
},
examples: [{
- hash: '9ff5e5ded4969d19f76e028bf1440309',
+ hash: 'fd2266992179ea22a32b25ed864a22ad',
title: { zh: '最简例子', en: 'Sample' },
screenshot: 'https://gw.alicdn.com/tfs/TB1IQ9cdgMPMeJjy1XcXXXpppXa-540-844.png'
}, {
- hash: '185e8574389d3242a79090414c336e4d',
+ hash: '3a8c415c5f6fce78882102e6d61fc00d',
title: 'Placeholder',
screenshot: 'https://gw.alicdn.com/tfs/TB1XPmcdgoQMeJjy0FoXXcShVXa-540-844.png'
}, {
- hash: 'aab3e1a3835c9cdbed53fb127738507f',
+ hash: '6d8010298697550ec8433a239a71d5b3',
title: { zh: '初始状态', en: 'Initial State' },
screenshot: 'https://gw.alicdn.com/tfs/TB1rnh_diERMeJjy0FcXXc7opXa-540-844.png'
}, {
- hash: '75492bb1c1af2b44293ce11164c0b3ba',
+ hash: 'd2440b161d7db4964f80ed73235d0ee6',
title: { zh: '输入框类型', en: 'Input Type' },
screenshot: 'https://gw.alicdn.com/tfs/TB1qDh_diERMeJjy0FcXXc7opXa-540-844.png'
}, {
- hash: '38cfc531ae3c0a10ac10236cd869e9eb',
+ hash: '4e6d472215304d96d19571b0eda4f968',
title: { zh: '事件处理', en: 'Handle Events' },
screenshot: 'https://gw.alicdn.com/tfs/TB1IQ9cdgMPMeJjy1XcXXXpppXa-540-844.png'
}]
@@ -402,7 +402,7 @@ module.exports = {
title: { zh: '文本绑定', en: 'Text Binding' },
screenshot: 'https://gw.alicdn.com/tfs/TB1LeVoovDH8KJjy1XcXXcpdXXa-540-844.png'
}, {
- hash: 'c85fb6128ff0fa33c2b7c13ca0c40d06',
+ hash: '56d434a1641b96df58c8f3d02d082f08',
title: { zh: '属性绑定', en: 'Attribute Binding' },
screenshot: 'https://gw.alicdn.com/tfs/TB1_pLKolfH8KJjy1XbXXbLdXXa-540-844.png'
}, {
diff --git a/examples/events.js b/examples/events.js
index 2b3fdd1..5d3d1df 100644
--- a/examples/events.js
+++ b/examples/events.js
@@ -5,10 +5,6 @@ module.exports = {
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'
diff --git a/examples/index.js b/examples/index.js
index 5f11833..2de9832 100644
--- a/examples/index.js
+++ b/examples/index.js
@@ -41,6 +41,7 @@ module.exports = function getExamples (options = {}) {
if (scope === 'mobile') {
selected = [components, modules, syntax]
others.group.unshift(...cases.group)
+ others.group.unshift(...events.group)
others.group.unshift(...styles.group)
selected.push(others)
}
diff --git a/examples/styles.js b/examples/styles.js
index fdfb89c..2d53466 100644
--- a/examples/styles.js
+++ b/examples/styles.js
@@ -36,10 +36,10 @@ module.exports = {
hash: 'e510f73afb31b3228a5a9ef1b7a5a456',
title: { zh: '透明背景', en: 'Transparent Background' },
screenshot: 'https://gw.alicdn.com/tfs/TB1CL3nbMDD8KJjy0FdXXcjvXXa-540-844.png'
- }, {
- hash: 'b90dbc5fbecf160a8f6c10b752b44c53',
- title: { zh: '三角形', en: 'Triangles' },
- screenshot: 'https://gw.alicdn.com/tfs/TB14yzscMvD8KJjy0FlXXagBFXa-540-844.png'
+ // }, {
+ // hash: 'b90dbc5fbecf160a8f6c10b752b44c53',
+ // title: { zh: '三角形', en: 'Triangles' },
+ // screenshot: 'https://gw.alicdn.com/tfs/TB14yzscMvD8KJjy0FlXXagBFXa-540-844.png'
}, {
hash: '190d8baf578fb7b4efd82f19322a69da',
title: { zh: '西瓜(阴影)', en: 'Watermelon (box-shadow)' },
diff --git a/themes/weex/source/js/examples.min.js b/themes/weex/source/js/examples.min.js
index f9e7ebc..1fc9098 100644
--- a/themes/weex/source/js/examples.min.js
+++ b/themes/weex/source/js/examples.min.js
@@ -1 +1 @@
-!function(e){var t={};function a(s){if(t[s])return t[s].exports;var c=t[s]={i:s,l:!1,exports:{}};return e[s].call(c.exports,c,c.exports,a),c.l=!0,c.exports}a.m=e,a.c=t,a.d=function(e,t,s){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:s})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typ [...]
\ No newline at end of file
+!function(e){var t={};function a(s){if(t[s])return t[s].exports;var c=t[s]={i:s,l:!1,exports:{}};return e[s].call(c.exports,c,c.exports,a),c.l=!0,c.exports}a.m=e,a.c=t,a.d=function(e,t,s){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:s})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typ [...]
\ No newline at end of file