Skip to content

Commit

Permalink
[update] update demo
Browse files Browse the repository at this point in the history
  • Loading branch information
xionghuayu committed Jul 18, 2018
1 parent c847f24 commit f7c60ba
Show file tree
Hide file tree
Showing 9 changed files with 153 additions and 10 deletions.
1 change: 1 addition & 0 deletions config/eros.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module.exports = {
'appBoard': '/config/index.js',
// android 监听全局事件homeBack 如果为true 安卓端需要自行调用router.finish方法来关闭应用
'androidIsListenHomeBack': 'true',
'customBundleUpdate': 'false',
'version': {
'android': 'eros-template-version',
'iOS': 'eros-template-version'
Expand Down
2 changes: 1 addition & 1 deletion platforms/ios/WeexEros/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def common
#Weex debugger 调试工具,只在开发模式集成
pod 'WXDevtool', '0.15.3', :configurations => ['Debug']
#Eros iOS 基础库
pod 'BMBaseLibrary', :git => 'https://github.com/bmfe/Benmu-iOS-Library.git', :tag => '1.2.7'
pod 'BMBaseLibrary', :git => 'https://github.com/bmfe/Benmu-iOS-Library.git', :tag => '1.2.8'


#Other Plugins
Expand Down
2 changes: 1 addition & 1 deletion platforms/ios/WeexEros/WeexEros/bundle.config
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"filesMd5":[{"page":"/config/index.js","md5":"5c35fadd07b486cf52eef8aba3ecde43"},{"page":"/pages/demo/assets/index.js","md5":"b77c2745e4ae20095c35577b97f9cdd0"},{"page":"/pages/demo/bmcalendar/index.js","md5":"60e03a2a3155fa534a114eeae900d5d1"},{"page":"/pages/demo/bmchart/index.js","md5":"3dce6acb5fb6a7fb760978d3f64851f3"},{"page":"/mediator/index.js","md5":"5878636f885d19d9945035cf2683877e"},{"page":"/pages/demo/bmrichtext/index.js","md5":"b410dad2ad50336bb3edccc34d259b57"},{"page":"/pages/demo/event/a.js","md5":"077df49f049c5a09e88d90bcf75c8fe5"},{"page":"/pages/demo/event/b.js","md5":"f8781559a3e772bce4246d0cf6c9cadb"},{"page":"/pages/demo/font/index.js","md5":"dd0bdb0c0ef76a9a224eb35f95aa5fee"},{"page":"/pages/demo/globalAttr/index.js","md5":"1faee1547fea9299404d4fa169bbeb3f"},{"page":"/pages/demo/image/index.js","md5":"c626e78dec78c24ee057b28415daedef"},{"page":"/pages/demo/index.js","md5":"4519a113808ef87720877e11a6381f36"},{"page":"/pages/demo/inputExtend/index.js","md5":"d079b0cfa829c68a0bce938a24927085"},{"page":"/pages/demo/lifecycle/index.js","md5":"c32a411b1b00867f8a871b8b16bc7cc4"},{"page":"/pages/demo/notice/index.js","md5":"d442147c549672c06cd4cfc5ee24353c"},{"page":"/pages/demo/other/bindingx.js","md5":"f7f10597a135d69871acbd3d5fa87d39"},{"page":"/pages/demo/other/bui.js","md5":"1805777b02737196f8dc58656998f829"},{"page":"/pages/demo/other/weexui.js","md5":"db1b40801c6e4870c17033f452293fa3"},{"page":"/pages/demo/refresh/index.js","md5":"8e0f16a390330aa5edd1c0ca7331b72f"},{"page":"/pages/demo/router/tabbarItem1.js","md5":"efa7e066895cb16a135e12beb314cb67"},{"page":"/pages/demo/router/index.js","md5":"55509c4e8f2bef80a3031eada6800708"},{"page":"/pages/demo/router/tabbarItem2.js","md5":"21beecf6bae916bbb95c9e1b6287d2ea"},{"page":"/pages/demo/router/tabbarItem3.js","md5":"70c6ec392cca91871415e34048a172d3"},{"page":"/pages/demo/storage/index.js","md5":"29a6130f0346512458714775dbb40801"},{"page":"/iconfont/font_1469606063_76593.ttf","md5":"f6222bcfedff4a817bb50df7a049d1db"},{"page":"/iconfont/font_1469606522_9417143.woff","md5":"6cf5490fd14ff83350ff952bb5b8e484"},{"page":"/iconfont/font_zn5b3jswpofuhaor.ttf","md5":"c0356b22e8235d2b0be8880cc81894cc"},{"page":"/iconfont/iconfont-eros.ttf","md5":"68780fad0047dc5b02cb613ebb08cda1"},{"page":"/iconfont/iconfont.ttf","md5":"ec86bfe5bdb872bad2b2af4f11da14f4"},{"page":"/assets/[email protected]","md5":"02c1875f727a1f4ec7a9e113498a96a5"},{"page":"/assets/[email protected]","md5":"d5e7609700d9a4f075e39b20fecbb9c3"},{"page":"/assets/[email protected]","md5":"a30651ed422c597849ce3d69b2f79048"},{"page":"/assets/[email protected]","md5":"fe893d14ff2d7b330a4aeefddbd8a7fa"},{"page":"/assets/[email protected]","md5":"fd2645e8081db44f2110661c2643f5cf"},{"page":"/assets/[email protected]","md5":"457d615a5c198b0148609f5eed84be70"},{"page":"/assets/demo.jpg","md5":"332c4e7d5398207c1b49750369a72848"}],"android":"eros-template-version","iOS":"eros-template-version","appName":"eros-template-name","jsVersion":"201cd781fd29e1b4dbc0902b9d6f43a4","timestamp":1529575218573,"jsPath":"https://app.weex-eros.com/source"}
{"filesMd5":[{"page":"/config/index.js","md5":"5c35fadd07b486cf52eef8aba3ecde43"},{"page":"/mediator/index.js","md5":"5878636f885d19d9945035cf2683877e"},{"page":"/pages/demo/assets/index.js","md5":"ef262444675f3f0a9822ab0c3ff816c5"},{"page":"/pages/demo/bmcalendar/index.js","md5":"5cf9c64a096f17c0ebb7eb736af9edd0"},{"page":"/pages/demo/bmchart/index.js","md5":"3fbf6e73e10d1f74177dc697671a7606"},{"page":"/pages/demo/bmrichtext/index.js","md5":"cb71e1393e2d1a4b7fe44560a5f5653f"},{"page":"/pages/demo/event/a.js","md5":"9123c79707fae4a06b78c571185180fa"},{"page":"/pages/demo/event/b.js","md5":"95f58beb6194c14db804e9a1ee2466e1"},{"page":"/pages/demo/font/index.js","md5":"3dc2f7b633a7fa911327667855810498"},{"page":"/pages/demo/globalAttr/index.js","md5":"29e3edc885bfd57527f3eb6058b0f0fb"},{"page":"/pages/demo/image/index.js","md5":"0da5ca5f564e14fd78821caf9ed59b2e"},{"page":"/pages/demo/index.js","md5":"54515fb8ca0e9ba0f1d47e8390e2c02a"},{"page":"/pages/demo/inputExtend/index.js","md5":"c856ee10b65b63feeea1395a9edd049b"},{"page":"/pages/demo/lifecycle/index.js","md5":"0b617fdc665d9af86a51917e2e8f1c24"},{"page":"/pages/demo/other/bindingx.js","md5":"ac9a84b63f471765ea2a8bb56d84625e"},{"page":"/pages/demo/notice/index.js","md5":"6025404c7bef3174f7a800de63c43961"},{"page":"/pages/demo/other/bui.js","md5":"3557bfe17270354230b4c86a687de180"},{"page":"/pages/demo/other/weexui.js","md5":"6885c8bc72a620af90592ea1e4989e04"},{"page":"/pages/demo/refresh/index.js","md5":"475198d8077138786a17dc67f90ac949"},{"page":"/pages/demo/router/index.js","md5":"d822a1bcb34b033dc2a3e98a2d11ea6f"},{"page":"/pages/demo/router/tabbarItem1.js","md5":"5e04adf7056e622f36daf9d8c1bf0d1f"},{"page":"/pages/demo/router/tabbarItem2.js","md5":"030436cda7350c3421edded691bdd78d"},{"page":"/pages/demo/router/tabbarItem3.js","md5":"97f1782d73a94ceb4fb4931aa8e18fc2"},{"page":"/pages/demo/storage/index.js","md5":"48b75a25c95beee15a1f8a792eb56b54"},{"page":"/iconfont/font_1469606063_76593.ttf","md5":"f6222bcfedff4a817bb50df7a049d1db"},{"page":"/iconfont/font_1469606522_9417143.woff","md5":"6cf5490fd14ff83350ff952bb5b8e484"},{"page":"/iconfont/font_zn5b3jswpofuhaor.ttf","md5":"c0356b22e8235d2b0be8880cc81894cc"},{"page":"/iconfont/iconfont-eros.ttf","md5":"68780fad0047dc5b02cb613ebb08cda1"},{"page":"/iconfont/iconfont.ttf","md5":"ec86bfe5bdb872bad2b2af4f11da14f4"},{"page":"/assets/[email protected]","md5":"02c1875f727a1f4ec7a9e113498a96a5"},{"page":"/assets/[email protected]","md5":"d5e7609700d9a4f075e39b20fecbb9c3"},{"page":"/assets/[email protected]","md5":"a30651ed422c597849ce3d69b2f79048"},{"page":"/assets/[email protected]","md5":"fe893d14ff2d7b330a4aeefddbd8a7fa"},{"page":"/assets/[email protected]","md5":"fd2645e8081db44f2110661c2643f5cf"},{"page":"/assets/[email protected]","md5":"457d615a5c198b0148609f5eed84be70"},{"page":"/assets/demo.jpg","md5":"332c4e7d5398207c1b49750369a72848"},{"page":"/assets/test.html","md5":"d3183a8dcede740a93c3bbba4ea210a0"}],"android":"eros-template-version","iOS":"eros-template-version","appName":"eros-template-name","jsVersion":"8368af1a472b47dfdfd03c54c65cefa7","timestamp":1531906795358,"jsPath":"https://app.weex-eros.com/source"}
Binary file modified platforms/ios/WeexEros/WeexEros/bundle.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion platforms/ios/WeexEros/WeexEros/eros.native.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
"EE9z0SxKB1s4Hc7w4zPFCxHQYGGPh0wXCVPq0P5B52ETjz9lqS9JGwmCeN6ByitcyYPHmmX9oAXPNbU6mrsElrZpBseatCy0zJhrqSbZ9u5S45pQi3FSWMw24m0p/EObJtV+9ryRvssJF7XY961oR2nGV7T+7upSHh6YRdmZmLXlM9B7kTTm3ELOt1Do6tLymIzq+sdgUtrAgZ/9SQceRmYvRn/eBRfKLiFShfOTZas8BgVhnPJYn+2OcaA+aNs96CkD4tFcRSOljPtuZiJADkhbxRbzLYEbmAShcbVWZGO0SxptcG5aQZNK2fBFne6IpXloe4EUFQzyR9CX5iIqmt4HOotxqyhnz6pqyEgZ0M09XSRcgBEOVYGrHRcIS1oxZReM9c6Ei2UJHtYW/u1qIt/vfy8VR9+C8/70De2obXudbg58S8pMWJRu8+sg7fRxMMpiVN0XJd29InaXSO59Yi+AReyGzHeV5qIeLy5PAPJvcvPHxQWgMoxZQPZ+yipiaM2yUgXgPJe2geLEcQfuIpwL85oZQIkfa/vyw/yqWXwu5f63J24D0+Qzi+Qo1V/TjG9Lo+fvabRm10O0vnoXnegxQVhQVpF83TIAYHO2X1QtuBDzNXKFBcEoL9/blr+3DTGe12axofZwZjVeTSur0taOCPAvqVhmmR9AyHRHgBIQM0LzFZ2ebHc4+9DAFfNn6OZJGffGlYku5rjzLdOYrmTaChtuxmVSXn4DXigH/rijNFT4B9DpUlY5H9/a+OtEadJitDXatZ73KrIE7/C7D7LqvXOhnpnEj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XbV2B4HKHtIjPVcLYaXI3UuM/K4ZalOAG8qQpryb4Tgd+lsASWskklTzuWQc9AjFbuOkDV6Kpuiy3tHCBwSyopJnAOVV2rercUWXRQKmYyC7KUY+SHBinOoOhSK99c5y4XNp0EmoD9/XUlnpQ1N3sMBJ35JB9ww1YVLek5kisa9Mvp4pjl/EijYskykr6O/nQzVleaxY6ZTXDZ4dBc3HoGauNCvLrq9iBv87VglKpb9lCr/9qUWX926O3W65maW8XLjwzKdL/VfCCX0pyK47vqnhjrw/DjEKLJd7g8Qr5CSZVjKHxYArVYWCr3RKhMt9aTgeiyGRMjOVWKk/sEJMt2R2EHxFkFOvgDz2Q1Lo22sSjBkluIbRyUXHGFx+GGB8OZlXNcmkeml3PL3o7q2O2Cdkt4HXxUVJGBYTJi+aIhLtxzbc88MhKks0qnOTWzwRR76wYJC0FOSBDs2fTOXvFMyVRiwo+qULz9pACKeZoLF3MpJa8RlvI/Fma4N4qmbE5V619IgefzFlkByeclveO31a502BxGsG0OSbR6bI3rvB+egENKInqiVZ0oXP88vma6HgXgRvoikhRkPMCUPrrx+6ciooiwsTDsDVKpU8v2Zn7mAtav0Ajw5Bk2lt6dP8VWuVCbOaiNC+Rtg1ljjKtF726+X4PIehbAwdM8OgsbaSi4EqmDnN9eSXNnOyfB+TqCuvc6SYFblLm13zL3aFZkjn7qur1yMimNSm/SGx51zDU3Q4pBZC/gLDnAxBHdQKa054CXT+TXrIUmNxoPV68YE2DSs4q3wGBvgae6752KqFCKZqpLA7F4I+J0+zT2OnfP6yIBaeumaAouMounA5B9uVKz0wh20oPJ94x16PBDnX88ZbWe7v1WNuHiqUHoDg74q/8Gra1Nn03ybNQWkwe2kYaagyoI2+LxesiSyKhSj9WRIHAn2mMQ="
25 changes: 25 additions & 0 deletions src/assets/test.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<!DOCTYPE html>
<html>

<head>
<title>测试</title>
</head>

<body>
<button onclick="closePage()"> 关闭当前页面 </button>
<button onclick="fireEvent()"> fireEvent </button>
</body>

<script>
function closePage() {
bmnative.closePage();
}

function fireEvent() {
bmnative.fireEvent('event', {
'name': 'xiaoming'
});
}
</script>

</html>>
9 changes: 5 additions & 4 deletions src/js/pages/demo/router/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -174,10 +174,11 @@ export default {
})
},
toWebView () {
this.$router.toWebView({
url: 'https://www.baidu.com',
title: 'WebView标题'
})
this.$event.emit('openPage', '123213213213')
// this.$router.toWebView({
// url: 'bmlocal://assets/test.html?value=123&vaule2=kdkdkkd',
// title: 'WebView标题'
// })
},
getUrl () {
const urlData = this.$router.getUrl('demo.router')
Expand Down
30 changes: 29 additions & 1 deletion src/js/pages/demo/router/tabbarItem2.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div>
<div class="item-container-home" :style="contentStyle">
<text> 联系人 </text>
<text> tabbar相关方法 </text>
<wxc-button text="设置角标"
style="margin-top: 20px; width: 250px;"
type="blue"
Expand All @@ -10,6 +10,18 @@
style="margin-top: 20px; width: 250px;"
type="blue"
@wxcButtonClicked="hideBadge"></wxc-button>
<wxc-button text="获取下标"
style="margin-top: 20px; width: 250px;"
type="blue"
@wxcButtonClicked="getIndex"></wxc-button>
<wxc-button text="监听index"
style="margin-top: 20px; width: 250px;"
type="blue"
@wxcButtonClicked="watchIndex"></wxc-button>
<wxc-button text="取消监听"
style="margin-top: 20px; width: 250px;"
type="blue"
@wxcButtonClicked="clearWatch"></wxc-button>
</div>
</div>
</template>
Expand Down Expand Up @@ -57,6 +69,22 @@
tabbar.hideBadge({
index:1
})
},
getIndex () {
var index = tabbar.getIndex()
this.$notice.toast({
message: index
});
},
watchIndex(){
tabbar.watchIndex(resData => {
this.$notice.toast({
message: resData
});
})
},
clearWatch(){
tabbar.clearWatch()
}
}
};
Expand Down
92 changes: 90 additions & 2 deletions src/js/pages/demo/router/tabbarItem3.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div>
<div class="item-container-home" :style="contentStyle">
<text> 联系人 </text>
<text> tabbar相关方法 </text>
<wxc-button text="设置红点"
style="margin-top: 20px; width: 250px;"
type="blue"
Expand All @@ -10,6 +10,22 @@
style="margin-top: 20px; width: 250px;"
type="blue"
@wxcButtonClicked="hideBadge"></wxc-button>
<wxc-button text="获取信息"
style="margin-top: 20px; width: 250px;"
type="blue"
@wxcButtonClicked="getInfo"></wxc-button>
<wxc-button text="修改配置"
style="margin-top: 20px; width: 250px;"
type="blue"
@wxcButtonClicked="setInfo"></wxc-button>
<wxc-button text="重置页面"
style="margin-top: 20px; width: 250px;"
type="blue"
@wxcButtonClicked="resetTabbar"></wxc-button>
<wxc-button text="清除配置信息"
style="margin-top: 20px; width: 250px;"
type="blue"
@wxcButtonClicked="clearInfo"></wxc-button>
</div>
</div>
</template>
Expand Down Expand Up @@ -37,7 +53,37 @@
components: { WxcTabBar, WxcButton },
data: () => ({
tabTitles: Config.tabTitles,
tabStyles: Config.tabStyles
tabStyles: Config.tabStyles,
tabbarInfo: null,
isChinese: true,
engInfo:[
{
text:'Home',
navTitle:'HomePage'
},
{
text:'Contact',
navTitle:'Contacts'
},
{
text:'Center',
navTitle:'My'
}
],
chineseInfo:[
{
text:'首页',
navTitle:'首页'
},
{
text:'联系人',
navTitle:'联系人'
},
{
text:'',
navTitle:'个人中心'
}
]
}),
created () {
const tabPageHeight = Utils.env.getPageHeight();
Expand All @@ -54,6 +100,48 @@
tabbar.hideBadge({
index:2
})
},
getInfo(){
this.tabbarInfo = tabbar.getInfo()
this.$notice.toast({
message: '获取成功'
});
},
setInfo(){
if (this.tabbarInfo == null)
{
this.$notice.toast({
message: '请先获取信息'
});
return;
}
var list = this.tabbarInfo.list;
var tmpInfo = this.isChinese ? this.engInfo : this.chineseInfo
for (var i=0;i<list.length;i++) {
var tmpItem = list[i]
tmpItem.text = tmpInfo[i].text
tmpItem.navTitle = tmpInfo[i].navTitle
}
this.isChinese = !this.isChinese
tabbar.setInfo(this.tabbarInfo)
var msg = this.isChinese ? '已设置中文' : '已设置英文';
this.$notice.toast({
message: msg
});
},
resetTabbar()
{
this.$router.setHomePage('tabBar');
},
clearInfo(){
tabbar.clearInfo()
this.$notice.toast({
message: '清除成功'
});
}
}
};
Expand Down

0 comments on commit f7c60ba

Please sign in to comment.