[incubator-weex-ui] branch master updated (10f97fa -> 7ffdac1)
This is an automated email from the ASF dual-hosted git repository. tw93 pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-ui.git. from 10f97fa [+] add show-indicator param new 8465c1e fix CHANGELOG href wrong new bfbdab0 [+] wxc-swipe-action: add container-style props new 7ffdac1 Merge pull request #497 from ReedSun/dev The 1358 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: CHANGELOG.md| 14 +++--- CHANGELOG_cn.md | 14 +++--- packages/wxc-swipe-action/index.vue | 15 +-- 3 files changed, 23 insertions(+), 20 deletions(-)
[incubator-weex-ui] branch dev updated: [+] wxc-swipe-action: add container-style props
This is an automated email from the ASF dual-hosted git repository. tw93 pushed a commit to branch dev in repository https://gitbox.apache.org/repos/asf/incubator-weex-ui.git The following commit(s) were added to refs/heads/dev by this push: new 40b20c7 [+] wxc-swipe-action: add container-style props new c9be5c6 Merge pull request #498 from ReedSun/bug-fix 40b20c7 is described below commit 40b20c7c7f05782647ada7bf8144c8411525b23d Author: ReedSun AuthorDate: Wed Apr 22 17:43:00 2020 +0800 [+] wxc-swipe-action: add container-style props --- packages/wxc-swipe-action/index.vue | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/packages/wxc-swipe-action/index.vue b/packages/wxc-swipe-action/index.vue index 3b74a32..19e37a5 100644 --- a/packages/wxc-swipe-action/index.vue +++ b/packages/wxc-swipe-action/index.vue @@ -19,7 +19,7 @@ under the License. - + @@ -33,11 +33,6 @@ under the License.
[incubator-weex-ui] branch master updated (5e56933 -> 10f97fa)
This is an automated email from the ASF dual-hosted git repository. tw93 pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-ui.git. from 5e56933 [+]add blockcolor param add 10f97fa [+] add show-indicator param No new revisions were added by this update. Summary of changes: CHANGELOG.md| 3 +++ CHANGELOG_cn.md | 3 +++ docs/_coverpage.md | 2 +- example/lightbox/index.vue | 1 - package.json| 2 +- packages/wxc-lightbox/index.vue | 9 +++-- 6 files changed, 15 insertions(+), 5 deletions(-)
[incubator-weex-ui] tag v0.8.4 created (now 10f97fa)
This is an automated email from the ASF dual-hosted git repository. tw93 pushed a change to tag v0.8.4 in repository https://gitbox.apache.org/repos/asf/incubator-weex-ui.git. at 10f97fa (commit) No new revisions were added by this update.
[incubator-weex-ui] branch dev updated: [+] add show-indicator param
This is an automated email from the ASF dual-hosted git repository. tw93 pushed a commit to branch dev in repository https://gitbox.apache.org/repos/asf/incubator-weex-ui.git The following commit(s) were added to refs/heads/dev by this push: new 10f97fa [+] add show-indicator param 10f97fa is described below commit 10f97fa91559afa1ecd437eee07f6f794c74cb8c Author: Tw93 AuthorDate: Wed Feb 12 14:54:46 2020 +0800 [+] add show-indicator param --- CHANGELOG.md| 3 +++ CHANGELOG_cn.md | 3 +++ docs/_coverpage.md | 2 +- example/lightbox/index.vue | 1 - package.json| 2 +- packages/wxc-lightbox/index.vue | 9 +++-- 6 files changed, 15 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9cc9ac1..edae158 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Change Log +## 0.8.4 +- [+] [wxc-lightbox](https://apache.github.io/incubator-weex-ui/#/cn/packages/wxc-lightbox) add `show-indicator` param to show indicator + ## 0.8.3 - [+] [wxc-loading](https://apache.github.io/incubator-weex-ui/#/packages/wxc-loading) add `loading-pic` param. - [+] [wxc-loading](https://apache.github.io/incubator-weex-ui/#/packages/wxc-slider-bar) add `block-color` param. diff --git a/CHANGELOG_cn.md b/CHANGELOG_cn.md index d1b20b9..1e6fbb3 100644 --- a/CHANGELOG_cn.md +++ b/CHANGELOG_cn.md @@ -1,5 +1,8 @@ # 升级日志 +## 0.8.4 +- [+] [wxc-lightbox](https://apache.github.io/incubator-weex-ui/#/cn/packages/wxc-lightbox) 增加 `show-indicator` 参数控制是否显示indicator + ## 0.8.3 - [+] [wxc-loading](https://apache.github.io/incubator-weex-ui/#/cn/packages/wxc-loading) 增加 `loading-pic` 参数用于覆盖原有 loading 图片. - [+] [wxc-loading](https://apache.github.io/incubator-weex-ui/#/cn/packages/wxc-slider-bar) 增加 `block-color` 参数用于覆盖原有滑块颜色. diff --git a/docs/_coverpage.md b/docs/_coverpage.md index 587ad77..bb46245 100644 --- a/docs/_coverpage.md +++ b/docs/_coverpage.md @@ -1,6 +1,6 @@ https://img.alicdn.com/tfs/TB1kCs_er_I8KJjy1XaXXbsxpXa-419-495.png; width="146px"> -# Weex Ui 0.8.3 +# Weex Ui 0.8.4 > A rich > interaction, lightweight, high performance UI library. diff --git a/example/lightbox/index.vue b/example/lightbox/index.vue index 9648009..418ea31 100644 --- a/example/lightbox/index.vue +++ b/example/lightbox/index.vue @@ -38,7 +38,6 @@ under the License. @@ -77,6 +78,10 @@ under the License. type: Boolean, default: false }, + showIndicator: { +type: Boolean, +default: true + }, imageList: Array, indicatorColor: { type: Object, @@ -90,14 +95,14 @@ under the License. type: [Number, String], default: 0 }, - interval:{ + interval: { type: [Number, String], default: 3000 }, opacity: { type: [Number, String], default: 0.6 - }, + } }, computed: { indicatorStyle () {
[incubator-weex-ui] tag v0.8.3 created (now 5e56933)
This is an automated email from the ASF dual-hosted git repository. tw93 pushed a change to tag v0.8.3 in repository https://gitbox.apache.org/repos/asf/incubator-weex-ui.git. at 5e56933 (commit) No new revisions were added by this update.
[incubator-weex-ui] branch master updated (75f89be -> 5e56933)
This is an automated email from the ASF dual-hosted git repository. tw93 pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-ui.git. from 75f89be Merge pull request #489 from huanghao1234/hhao add 5e56933 [+]add blockcolor param No new revisions were added by this update. Summary of changes: CHANGELOG.md | 67 ++-- CHANGELOG_cn.md | 4 +-- docs/_coverpage.md | 2 +- package.json | 2 +- packages/wxc-slider-bar/README.md| 1 + packages/wxc-slider-bar/README_cn.md | 2 +- 6 files changed, 40 insertions(+), 38 deletions(-)
[incubator-weex-ui] branch dev updated (19f03f4 -> 5e56933)
This is an automated email from the ASF dual-hosted git repository. tw93 pushed a change to branch dev in repository https://gitbox.apache.org/repos/asf/incubator-weex-ui.git. from 19f03f4 [+]update docs add 954c3d7 修改wxc-slider-bar组件中间滑块背景颜色可以自定义修改 add 75f89be Merge pull request #489 from huanghao1234/hhao new 5e56933 [+]add blockcolor param The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: CHANGELOG.md | 67 ++-- CHANGELOG_cn.md | 4 +-- docs/_coverpage.md | 2 +- package.json | 2 +- packages/wxc-slider-bar/README.md| 1 + packages/wxc-slider-bar/README_cn.md | 2 +- packages/wxc-slider-bar/index.vue| 11 -- 7 files changed, 48 insertions(+), 41 deletions(-)
[incubator-weex-ui] 01/01: [+]add blockcolor param
This is an automated email from the ASF dual-hosted git repository. tw93 pushed a commit to branch dev in repository https://gitbox.apache.org/repos/asf/incubator-weex-ui.git commit 5e569334cfdb20b6ba77bb9a62ea16b34b05afbd Author: Tw93 AuthorDate: Sun Feb 9 21:30:19 2020 +0800 [+]add blockcolor param --- CHANGELOG.md | 67 ++-- CHANGELOG_cn.md | 4 +-- docs/_coverpage.md | 2 +- package.json | 2 +- packages/wxc-slider-bar/README.md| 1 + packages/wxc-slider-bar/README_cn.md | 2 +- 6 files changed, 40 insertions(+), 38 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f6c45dd..9cc9ac1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,52 +1,53 @@ # Change Log -## 0.8.2 -- [+] [wxc-loading](https://apache.github.io/incubator-weex-ui/#/cn/packages/wxc-loading) add `loading-pic` param. +## 0.8.3 +- [+] [wxc-loading](https://apache.github.io/incubator-weex-ui/#/packages/wxc-loading) add `loading-pic` param. +- [+] [wxc-loading](https://apache.github.io/incubator-weex-ui/#/packages/wxc-slider-bar) add `block-color` param. ## 0.8.0 - [!]From alibaba/weex-ui to [apcahe/incubator-weex-ui](https://github.com/apache/incubator-weex-ui) ## 0.7.1 -- [+] [wxc-slider-bar](https://apache.github.io/incubator-weex-ui/#/cn/packages/wxc-slider-bar) add `wxcSliderBarTouchEnd` event. -- [!] Fixed [wxc-mask](https://apache.github.io/incubator-weex-ui/#/cn/packages/wxc-mask) jitter bug when inputting. +- [+] [wxc-slider-bar](https://apache.github.io/incubator-weex-ui/#/packages/wxc-slider-bar) add `wxcSliderBarTouchEnd` event. +- [!] Fixed [wxc-mask](https://apache.github.io/incubator-weex-ui/#/packages/wxc-mask) jitter bug when inputting. - [!] Fixed the problem that the QR code does not display when debugging. ## 0.7.0 - [-] Remove alipay util,Preventing audit issues [issue/467](https://github.com/apache/incubator-weex-ui/issues/467) -- [!] [wxc-tab-bar](https://apache.github.io/incubator-weex-ui/#/cn/packages/wxc-tab-bar) add `supportXBar` param. +- [!] [wxc-tab-bar](https://apache.github.io/incubator-weex-ui/#/packages/wxc-tab-bar) add `supportXBar` param. ## 0.6.16 -- [+] [wxc-pan-item](https://apache.github.io/incubator-weex-ui/#/cn/packages/wxc-pan-item/) add `extId` when pan. [issue/441](https://github.com/apache/incubator-weex-ui/issues/441) +- [+] [wxc-pan-item](https://apache.github.io/incubator-weex-ui/#/packages/wxc-pan-item/) add `extId` when pan. [issue/441](https://github.com/apache/incubator-weex-ui/issues/441) ## 0.6.15 -- [!] [wxc-swipe-action](https://apache.github.io/incubator-weex-ui/#/cn/packages/wxc-swipe-action/)fix delete the last data item, then click on another item to report the error. -- [!] [wxc-slider-bar](https://apache.github.io/incubator-weex-ui/#/cn/packages/wxc-slider-bar/) fix dynamically assign value to value, then slide back to return value -- [!] [wxc-radio](https://apache.github.io/incubator-weex-ui/#/cn/packages/wxc-radio/) fix the selected item cannot be modified when modifying the list array +- [!] [wxc-swipe-action](https://apache.github.io/incubator-weex-ui/#/packages/wxc-swipe-action/)fix delete the last data item, then click on another item to report the error. +- [!] [wxc-slider-bar](https://apache.github.io/incubator-weex-ui/#/packages/wxc-slider-bar/) fix dynamically assign value to value, then slide back to return value +- [!] [wxc-radio](https://apache.github.io/incubator-weex-ui/#/packages/wxc-radio/) fix the selected item cannot be modified when modifying the list array ## 0.6.14 -- [!] [wxc-swipe-action](https://apache.github.io/incubator-weex-ui/#/cn/packages/wxc-swipe-action/) adds slot labels, extended style and height attributes +- [!] [wxc-swipe-action](https://apache.github.io/incubator-weex-ui/#/packages/wxc-swipe-action/) adds slot labels, extended style and height attributes ## 0.6.13 -- [!] Fixed[wxc-overlay](https://apache.github.io/incubator-weex-ui/#/cn/packages/wxc-dialog/)problem on[wxc-tab-bar](https://apache.github.io/incubator-weex-ui/#/cn/packages/wxc-tab-bar/) +- [!] Fixed[wxc-overlay](https://apache.github.io/incubator-weex-ui/#/packages/wxc-dialog/)problem on[wxc-tab-bar](https://apache.github.io/incubator-weex-ui/#/packages/wxc-tab-bar/) - [+] add a new componet named wxc-swipe-action -- [!] Fix [wxc-button](https://apache.github.io/incubator-weex-ui/#/cn/packages/wxc-button/) displaying style problem, add isHighlight attribute to control whether button is highlighted or not. +- [!] Fix [wxc-button](https://apache.github.io/incubator-weex-ui/#/packages/wxc-button/) displaying style problem, add isHighlight attribute to control whether button is highlighted or not. ## 0.6.12 -- [!] Fixed set transparency issues [wxc-lightbox](https://apache.github.io/incubator-weex-ui/#/cn/packages/wxc-lightbox/). -- [!] Fixed set
[incubator-weex-ui] branch master updated: 修改wxc-slider-bar组件中间滑块背景颜色可以自定义修改
This is an automated email from the ASF dual-hosted git repository. tw93 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-ui.git The following commit(s) were added to refs/heads/master by this push: new 954c3d7 修改wxc-slider-bar组件中间滑块背景颜色可以自定义修改 new 75f89be Merge pull request #489 from huanghao1234/hhao 954c3d7 is described below commit 954c3d70de6f3ab866392773d0b18d772b54e65d Author: huanghao1234 <18814868...@163.com> AuthorDate: Wed Jan 15 15:49:24 2020 +0800 修改wxc-slider-bar组件中间滑块背景颜色可以自定义修改 --- packages/wxc-slider-bar/index.vue | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/packages/wxc-slider-bar/index.vue b/packages/wxc-slider-bar/index.vue index 3065af7..88546b6 100644 --- a/packages/wxc-slider-bar/index.vue +++ b/packages/wxc-slider-bar/index.vue @@ -145,6 +145,10 @@ under the License. disabledColor: { type: String, default: '#AAA' + }, + blockColor: { +type: String, +default: '#ff' } }, watch: { @@ -247,12 +251,14 @@ under the License. blockStyle1() { let left = this.diffX1; return { - transform: `translateX(${left}px)` + transform: `translateX(${left}px)`, + backgroundColor: this.blockColor }; }, blockStyle2() { return { - transform: `translateX(${this.diffX2}px)` + transform: `translateX(${this.diffX2}px)`, + backgroundColor: this.blockColor } } }, @@ -615,7 +621,6 @@ under the License. .slide-block { width: 56px; height: 56px; -background-color: #ff; border-radius: 28px; border-width: 1px; border-color: rgba(0, 0, 0, 0.1);
[incubator-weex-ui] branch master updated (b92f00e -> 19f03f4)
This is an automated email from the ASF dual-hosted git repository. tw93 pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-ui.git. from b92f00e refactor: change to apache add dd1edbb update pkg add 72e160b Merge branch 'master' into dev add c299f64 [+] add loading-pic param add 19f03f4 [+]update docs No new revisions were added by this update. Summary of changes: CHANGELOG.md |7 +- CHANGELOG_cn.md |7 +- docs/_coverpage.md|2 +- example/lightbox/index.vue|1 + package-lock.json | 5215 +++-- package.json |4 +- packages/wxc-loading/README.md|1 + packages/wxc-loading/README_cn.md |2 + packages/wxc-loading/index.vue| 12 +- 9 files changed, 2672 insertions(+), 2579 deletions(-)
[incubator-weex-ui] branch dev updated: [+] add loading-pic param
This is an automated email from the ASF dual-hosted git repository. tw93 pushed a commit to branch dev in repository https://gitbox.apache.org/repos/asf/incubator-weex-ui.git The following commit(s) were added to refs/heads/dev by this push: new c299f64 [+] add loading-pic param c299f64 is described below commit c299f64b4ef8283e12d937c431a8b9710612b7ce Author: Tw93 AuthorDate: Sun Feb 9 21:10:29 2020 +0800 [+] add loading-pic param --- CHANGELOG.md | 7 +-- CHANGELOG_cn.md | 7 +-- package.json | 2 +- packages/wxc-loading/README.md| 1 + packages/wxc-loading/README_cn.md | 2 ++ packages/wxc-loading/index.vue| 12 6 files changed, 22 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 63a7e73..f6c45dd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,14 @@ # Change Log +## 0.8.2 +- [+] [wxc-loading](https://apache.github.io/incubator-weex-ui/#/cn/packages/wxc-loading) add `loading-pic` param. + ## 0.8.0 - [!]From alibaba/weex-ui to [apcahe/incubator-weex-ui](https://github.com/apache/incubator-weex-ui) ## 0.7.1 -- [+] [wxc-slider-bar](https://apache.github.io/incubator-weex-ui/#/cn/packages/slider-bar) add `wxcSliderBarTouchEnd` event. -- [!] Fixed [wxc-mask](https://apache.github.io/incubator-weex-ui/#/cn/packages/mask) jitter bug when inputting. +- [+] [wxc-slider-bar](https://apache.github.io/incubator-weex-ui/#/cn/packages/wxc-slider-bar) add `wxcSliderBarTouchEnd` event. +- [!] Fixed [wxc-mask](https://apache.github.io/incubator-weex-ui/#/cn/packages/wxc-mask) jitter bug when inputting. - [!] Fixed the problem that the QR code does not display when debugging. ## 0.7.0 diff --git a/CHANGELOG_cn.md b/CHANGELOG_cn.md index e3b97e8..3c82f98 100644 --- a/CHANGELOG_cn.md +++ b/CHANGELOG_cn.md @@ -1,12 +1,15 @@ # 升级日志 +## 0.8.2 +- [+] [wxc-loading](https://apache.github.io/incubator-weex-ui/#/cn/packages/wxc-loading) 增加 `loading-pic` 参数用于覆盖原有 loading 图片. + ## 0.8.0 - [!]从 alibaba/weex-ui 迁移到 [apcahe/incubator-weex-ui](https://github.com/apache/incubator-weex-ui) ## 0.7.1 -- [+] [wxc-slider-bar](https://apache.github.io/incubator-weex-ui/#/cn/packages/slider-bar) 新增 `wxcSliderBarTouchEnd` 事件. -- [!] 修复 [wxc-mask](https://apache.github.io/incubator-weex-ui/#/cn/packages/mask) 输入时候抖动问题 +- [+] [wxc-slider-bar](https://apache.github.io/incubator-weex-ui/#/cn/packages/wxc-slider-bar) 新增 `wxcSliderBarTouchEnd` 事件. +- [!] 修复 [wxc-mask](https://apache.github.io/incubator-weex-ui/#/cn/packages/wxc-mask) 输入时候抖动问题 - [!] 修复调试时候 console 不显示二维码的问题 diff --git a/package.json b/package.json index bf660f4..e859cea 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "weex-ui", - "version": "0.8.1", + "version": "0.8.2", "description": "A rich interaction, lightweight, high performance UI library based on Weex", "main": "index.js", "lib": "vue", diff --git a/packages/wxc-loading/README.md b/packages/wxc-loading/README.md index 62f7449..d3bd613 100644 --- a/packages/wxc-loading/README.md +++ b/packages/wxc-loading/README.md @@ -42,6 +42,7 @@ More details can be found in [here](https://github.com/apache/incubator-weex-ui/ | type | `String` | `N`|`default` | loading image `default`/`trip`| | need-mask | `Bool` | `N`|`false` | whether to need a covered mask | | mask-style | `Object` | `N`|`{}` | mask style | +| loading-pic | `String` | `N`|`` | Overwrite original image | ### 事件回调 diff --git a/packages/wxc-loading/README_cn.md b/packages/wxc-loading/README_cn.md index 6b8b403..fba4c67 100644 --- a/packages/wxc-loading/README_cn.md +++ b/packages/wxc-loading/README_cn.md @@ -46,6 +46,8 @@ | type | `String` | `N`|`default` |图案类别`default`/`trip`| | need-mask | `Bool` | `N`|`false` | 加载时候是都需要一个蒙层防止用于误点 | | mask-style | `Object` | `N`|`{}` | 蒙层样式覆盖 | +| loading-pic | `String` | `N`|`` | 覆盖原有图片 | + ### Event diff --git a/packages/wxc-loading/index.vue b/packages/wxc-loading/index.vue index 9cfff72..148eda6 100644 --- a/packages/wxc-loading/index.vue +++ b/packages/wxc-loading/index.vue @@ -25,7 +25,7 @@ under the License. :style="maskStyle"> - @@ -37,9 +37,9 @@ under the License.
[incubator-weex-ui] branch dev updated (dd1edbb -> 72e160b)
This is an automated email from the ASF dual-hosted git repository. tw93 pushed a change to branch dev in repository https://gitbox.apache.org/repos/asf/incubator-weex-ui.git. from dd1edbb update pkg add b92f00e refactor: change to apache new 72e160b Merge branch 'master' into dev The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
[incubator-weex-ui] 01/01: Merge branch 'master' into dev
This is an automated email from the ASF dual-hosted git repository. tw93 pushed a commit to branch dev in repository https://gitbox.apache.org/repos/asf/incubator-weex-ui.git commit 72e160ba2b91a95f30990048db05235a702451fb Merge: dd1edbb b92f00e Author: Tw93 AuthorDate: Sun Feb 9 20:37:56 2020 +0800 Merge branch 'master' into dev package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
[incubator-weex-ui] branch master updated: refactor: change to apache
This is an automated email from the ASF dual-hosted git repository. tw93 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex-ui.git The following commit(s) were added to refs/heads/master by this push: new b92f00e refactor: change to apache b92f00e is described below commit b92f00eeb8baccfe0e556bc8f47690e67220fcaa Author: Tw93 AuthorDate: Mon Dec 9 19:19:11 2019 +0800 refactor: change to apache --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1b58d1a..64f8bcd 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "email": "t...@qq.com" } ], - "license": "MIT", + "license": "Apache-2.0", "devDependencies": { "anywhere": "^1.5.0", "autoprefixer": "^7.2.2",
[GitHub] incubator-weex pull request #1076: +[ios] switch supports setting color
GitHub user tw93 opened a pull request: https://github.com/apache/incubator-weex/pull/1076 +[ios] switch supports setting color ## Background - Currently, the [](http://weex-project.io/cn/references/components/switch.html) component in Weex only support the default green color, But many times the business needs to set color for the theme tone of the product, So needs to support setting the color. ## New Support && Demo - tintColor: Background color when the switch is turned on. - onTintColor: Border color and background color on Android when the switch is turned off. - thumbTintColor: Color of the foreground switch grip. https://gw.alipayobjects.com/zos/rmsportal/echgZhufHYAqYQSSSyKJ.gif; width="240">https://gw.alipayobjects.com/zos/rmsportal/zlyOBlQnVbloIizCdWKU.gif; width="240"> ## How to Use ``` ``` ## My solution Code * Weex iOS: * [WXSwitchComponent.m](https://github.com/tw93/incubator-weex/blob/ios-feature-switch/ios/sdk/WeexSDK/Sources/Component/WXSwitchComponent.m) * Weex Vue Demo: * [http://dotwe.org/vue/99a13cce5a429c7b9bce9bea24253935](http://dotwe.org/vue/99a13cce5a429c7b9bce9bea24253935) * [Demo Bundle JS](http://dotwe.org/raw/dist/99a13cce5a429c7b9bce9bea24253935.bundle.wx) Details It can be overwritten with the `onTintColor`ã`thumbTintColor`ã`tintColor` attributes of `switchView`, as well as the job of updating the attributes. ``` ... _switchView.onTintColor = _onTintColor; _switchView.thumbTintColor = _thumbTintColor; _switchView.tintColor = _tintColor; ``` Welcome to put forward any suggestion about the solution or other requirements for the component, Thanksï¼ You can merge this pull request into a Git repository by running: $ git pull https://github.com/tw93/incubator-weex ios-feature-switch Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-weex/pull/1076.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1076 commit 96c102effcb9955726c38c99371961288af6ea18 Author: Tw93 <tw93@...> Date: 2018-03-20T07:23:09Z +[ios] switch supports setting color ---
[GitHub] incubator-weex pull request #1047: [WEEX-233][iOS] More enhanced about ...
Github user tw93 commented on a diff in the pull request: https://github.com/apache/incubator-weex/pull/1047#discussion_r172837062 --- Diff: ios/sdk/WeexSDK/Sources/Component/WXWebComponent.m --- @@ -104,6 +142,10 @@ - (void)updateAttributes:(NSDictionary *)attributes if (attributes[@"src"]) { self.url = attributes[@"src"]; } + +if (attributes[@"source"]) { --- End diff -- done! ---
[GitHub] incubator-weex pull request #1047: [WEEX-233][iOS] More enhanced about ...
Github user tw93 commented on a diff in the pull request: https://github.com/apache/incubator-weex/pull/1047#discussion_r172833325 --- Diff: ios/sdk/WeexSDK/Sources/Module/WXWebViewModule.m --- @@ -27,6 +27,7 @@ @implementation WXWebViewModule @synthesize weexInstance; --- End diff -- Thinks @acton393 , I have modified it ---
[GitHub] incubator-weex pull request #1047: [WEEX-233][iOS] More enhanced about ...
Github user tw93 closed the pull request at: https://github.com/apache/incubator-weex/pull/1047 ---
[GitHub] incubator-weex pull request #1047: [WEEX-233][iOS] More enhanced about ...
GitHub user tw93 reopened a pull request: https://github.com/apache/incubator-weex/pull/1047 [WEEX-233][iOS] More enhanced about component First of all, thank you for your contribution! Please makes sure that these checkboxes are checked before submitting your PR, thank you! CheckList: *isNewFeature* **:** * [ ] Update API docs for the component. * [ ] Update/Add demo to demonstrate new feature. * [ ] Update test scripts for the feature. * [ ] Add unit tests for the feature. You can merge this pull request into a Git repository by running: $ git pull https://github.com/tw93/incubator-weex ios-feature-enhanced-web Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-weex/pull/1047.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1047 commit a052c9f934899b8a0f83ee3d5ff2ba5dc3b13c60 Author: Tw93 <tw93@...> Date: 2018-02-27T10:47:26Z + [ios] more enhanced about web commit e33353a794ed56033305d40692d876fdc58736f9 Author: Tw93 <tw93@...> Date: 2018-03-01T09:07:42Z + [ios] change to postmessage commit 900426be26bf5ec08d32304d003f691932f61180 Author: Tw93 <tw93@...> Date: 2018-03-05T11:39:28Z + [ios] Code Style Guidelines commit db1c20e4c1a543db060ece68c7715b42384de594 Author: ä¾å¤ <tw102972@...> Date: 2018-03-07T11:26:39Z + [ios] according to the W3C specification ---
[GitHub] incubator-weex pull request #1047: [WEEX-233][iOS] More enhanced about ...
GitHub user tw93 opened a pull request: https://github.com/apache/incubator-weex/pull/1047 [WEEX-233][iOS] More enhanced about component First of all, thank you for your contribution! Please makes sure that these checkboxes are checked before submitting your PR, thank you! CheckList: *isNewFeature* **:** * [ ] Update API docs for the component. * [ ] Update/Add demo to demonstrate new feature. * [ ] Update test scripts for the feature. * [ ] Add unit tests for the feature. You can merge this pull request into a Git repository by running: $ git pull https://github.com/tw93/incubator-weex ios-feature-enhanced-web Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-weex/pull/1047.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1047 commit a052c9f934899b8a0f83ee3d5ff2ba5dc3b13c60 Author: Tw93 <tw93@...> Date: 2018-02-27T10:47:26Z + [ios] more enhanced about web commit e33353a794ed56033305d40692d876fdc58736f9 Author: Tw93 <tw93@...> Date: 2018-03-01T09:07:42Z + [ios] change to postmessage commit 900426be26bf5ec08d32304d003f691932f61180 Author: Tw93 <tw93@...> Date: 2018-03-05T11:39:28Z + [ios] Code Style Guidelines ---