V3.5两大核心: 1- XCloud的推出,开发应用后可一键云部署; 2- 提高质量品质,修复缺陷; WeX5 V3.5预览版(Windows&Mac OS)下载地址:http://pan.baidu.com/s/1pL3WjOZ 一、XCloud一键部署 免除繁杂的本地环境部署,Native中的本地App可右击“部署到XCloud”进行一键部署; 1- 请先在XCloud中进行注册;(Studio打开后可以直接注册登录) 2- 编辑/新建 Native下的App项目,将Web服务地址指向XCloud中对应的项目; 3- 模式1、2为发布模式,模式3为UIServer模式; 4- 如需初始化或更新数据库,请在Baas/sql下放置sql脚本,字符集UTF-8,数据源名字为x5,Baas中创建Table action时数据库请选择x5; 同时,studio默认已带了外卖案例的脚本,可以部署外卖案例进行体验; 特别注意: 1- XCloud现处于测试阶段,仅供应用演示及学习使用,不承诺长期保留数据。 2- 目前只支持WeX5的应用进行XCloud部署,BeX5的后续支持。 3- 如果使用了极光推送(JPush)由于服务端需要访问外网,需要修改/Baas/jpush/Push.java private static Boolean useProxy = true; 二、案例、组件、模板 1- Cordova插件案例进行了全面更新20+;UI2/demo/plugin 插件列表及使用说明文档:http://bbs.wex5.com/thread-93542-1-1.html 2- 增加PC端常用布局案例100+; UI2/demo/pcSample http://bbs.wex5.com/thread-91929-1-1.html 3- 新记账本案例提供了使用data组件访问baas的案例,通过js代码调用baas中的action; UI2/acc_data 4- dataByRestful案例,使用目前流行的互联网软件架构RESTful; UI2/demo/dataByRestful 5- 视频播放案例增强; UI2/demo/native/videoplayer 6- QQ联系人案例;UI2/demo/qqContacts 7- 瀑布流布局模版增强支持图片缩放、图片轮播; 新建w向导-移动-应用页面-瀑布流图片 8- 图片裁剪头像上传案例;UI2/demo/picCut 9- 下载推广页模版,自动识别用户设备及应用转向相应下载URL; 新建w向导-移动-标准-推广下载页 10- Scrollview组件优化:支持不满一屏幕能手动上滑,提升滚动体验;支持空白区域拉动;支持关闭首次自动pullup的能力; 11- BeX5组织管理授权相关功能提供便捷的数据搜索定位工具栏; 案例汇总清单:http://docs.wex5.com/learning-resource-cases/ 三、Cordova插件&API 1- 新增插件cordova-plugin-sim:作用是获取SIM卡的信息,如运行商的名字,mcc,mnc和国家代码等通讯相关信息;UI2/demo/plugin/sim 2- 新增插件de.appplant.cordova.plugin.local-notification:在通知栏显示自定义参数的通知,提醒用户有待办事项,如新消息、会议等; UI2/demo/plugin/notification 3- 新增插件com.justep.cordova.plugin.AFNetworking : 封装了iOS上常用的AFNetworking库,是一个iOS平台的被依赖插件,打包的时候不需要主动勾选; 4- 新增插件cordova-plugin-ace : 微软公司提供的插件,可以使用html和js非常容易的创建原生UI并调用原生代码; 5- 上传组件的fileApi 支持跨平台(手机端及微信)的 downloadFile 和browseFile,增强了附件在线查看能力; 6- JSSDK(UI2\system\api\nativei)分享api进行了重写优化; 7- Android下微信登录中文乱码问题修复; 四、Baas 1- Baas.php针对虚拟机部署的方式做调整; 旧版本部署说明:http://docs.wex5.com/ali-web-php/ 2- PHP BaasServer 对数据库类型的映射不完整的问题修复; 3- Baas.net/php错误提示不足问题; 请参考文档:php http://docs.wex5.com/php-err/ .net http://docs.wex5.com/studio-net-debug/ 4- Baas.net/php 支持了多表的查询和过滤; 五、Studio 1- 与XCloud结合,登录XCloud一键部署;详见XCloud部分的说明; 2- 增加了新的fontface icon;用户也可以自己添加,参考文档:http://docs.wex5.com/studio-addicon/ 3- 对代码提示部分做了优化,并修复了之前部分插件代码无法提示的缺陷; 4- 修复Windows下使用Mac代理打包报错的缺陷; WeX5 V3.4升级到3.5步骤:将WeX5 V3.4版本中Baas和UI2目录(除system、portal等版本自带目录)下的应用目录对应复制到WeX5 V3.5版本的Baas和UI2目录下。 3.4升级3.5后可能会产生的兼容性问题及解决办法 1- model组件onActive事件页面加载时不再触发(之前是触发的),建议在onload和onActive中都要接管处理; 2- JSSDK(UI2\system\api\nativei)分享接口进行了重写,请参照新的案例进行调整(model\UI2\system\api\native\demo) 感谢用户帮助WeX5共同进步,下面的缺陷已修复: 1- gridselect输入的值无法保存 http://bbs.wex5.com/forum.php?mod=viewthread&tid=90445 2- 打开应该的时候,首页没有被选中 http://bbs.wex5.com/forum.php?mod=viewthread&tid=90925 3- 一个小小的BUG http://bbs.wex5.com/forum.php?mod=viewthread&tid=90728 4- orgDialogPC组件中按钮不能使用 http://bbs.wex5.com/forum.php?mod=viewthread&tid=90845 5- 打包异常 BUILD FAILED http://bbs.wex5.com/forum.php?mod=viewthread&tid=90719 6- UI层调用action出现的问题 http://bbs.wex5.com/forum.php?mod=viewthread&tid=90653 7- 支付宝支付插件在iOS上不能调用本地支付宝app http://bbs.wex5.com/forum.php?mod=viewthread&tid=89755 8- gridselect输入的值无法保存 http://bbs.wex5.com/forum.php?mod=viewthread&tid=90445 9- 怎么改变地址显示 http://bbs.wex5.com/forum.php?mod=viewthread&tid=88617 10- 富文本图片放大缩小报错 http://bbs.wex5.com/forum.php?mod=viewthread&tid=90202 11- V3.4版本的ScrollView有点问题,用起来不爽 http://bbs.wex5.com/forum.php?mod=viewthread&tid=90085 12- 3.4打包后启动画面问题 http://bbs.wex5.com/forum.php?mod=viewthread&tid=90016 13- 组织管理出错 http://bbs.wex5.com/forum.php?mod=viewthread&tid=89551 14- 绑定表达式不支持简单的公式吗? http://bbs.wex5.com/forum.php?mod=viewthread&tid=89420 15- Button disabled http://bbs.wex5.com/forum.php?mod=viewthread&tid=88594 16- 【紧凑风格】select组件,修改css,感觉这样更适合紧凑风格 http://bbs.wex5.com/forum.php?mod=viewthread&tid=88731 17- Xcode 7检测源码内存泄漏 http://bbs.wex5.com/forum.php?mod=viewthread&tid=93294 18- date类型input组件输入报错 http://bbs.wex5.com/forum.php?mod=viewthread&tid=92862 19- 3.4studio开发问题 http://bbs.wex5.com/forum.php?mod=viewthread&tid=93163 20- tree选项中的rootFilter不可填写 http://bbs.wex5.com/forum.php?mod=viewthread&tid=93076 21- 不能手动图片轮翻 http://bbs.wex5.com/forum.php?mod=viewthread&tid=93026 22- 欢迎页不加载反馈 http://bbs.wex5.com/forum.php?mod=viewthread&tid=92594 23- mqtt 通知消息的问题 http://bbs.wex5.com/forum.php?mod=viewthread&tid=92741 24- baasData绑定新建action问题 http://bbs.wex5.com/forum.php?mod=viewthread&tid=92625 25- 关于仿淘宝例子中轮播错误的问题 http://bbs.wex5.com/forum.php?mod=viewthread&tid=92629 26- bex5.3.4,js代码智能提示没有sendRequest方法 http://bbs.wex5.com/forum.php?mod=viewthread&tid=92529 27- win10系统关闭studio的问题 http://bbs.wex5.com/forum.php?mod=viewthread&tid=92135 28- 3.4问题 http://bbs.wex5.com/forum.php?mod=viewthread&tid=92112 29- wex3.4两个baasdata保存问题 http://bbs.wex5.com/forum.php?mod=viewthread&tid=91784 30- 3.4版本时间显示问题 http://bbs.wex5.com/forum.php?mod=viewthread&tid=91988 31- windowRunner.open传参数问题 http://bbs.wex5.com/forum.php?mod=viewthread&tid=91899 32- input type Date最大最小值无效了 http://bbs.wex5.com/forum.php?mod=viewthread&tid=91387 33- BAAS编译后,会在runtime\BaasServer\WEB-INF下面产生classes吗 http://bbs.wex5.com/forum.php?mod=viewthread&tid=91662 34- W编辑界面,选择组件,》上下文操作失效 http://bbs.wex5.com/forum.php?mod=viewthread&tid=91414 35- attachmentSimple模式1部署微信无法上传图片 http://bbs.wex5.com/forum.php?mod=viewthread&tid=90922 36- 微信通知能不能将详情链接去掉 http://bbs.wex5.com/forum.php?mod=viewthread&tid=90305 37- 高手帮忙解决IOS的UUID问题 http://bbs.wex5.com/forum.php?mod=viewthread&tid=94637 38- 修改密码页面:输入错误的旧密码后,设置新密码点击保... http://bbs.wex5.com/forum.php?mod=viewthread&tid=94485 39- carousel的问题! http://bbs.wex5.com/forum.php?mod=viewthread&tid=94346 40- attachment适配问题 http://bbs.wex5.com/forum.php?mod=viewthread&tid=93956 41- MS SQL Server表明和字段名为中文时,baas查询无响应 http://bbs.wex5.com/forum.php?mod=viewthread&tid=93668 42- justep.Shell.closePage使用参数无效 http://bbs.wex5.com/forum.php?mod=viewthread&tid=93866 43- pc2界面超时不提示 http://bbs.wex5.com/forum.php?mod=viewthread&tid=93808 44- headerMenu(列头菜单)与showRowNumber(显示行号)有冲突 http://bbs.wex5.com/forum.php?mod=viewthread&tid=93800 45- panel组件隐藏底部,中间部分大小不自动扩展,是bug吧 http://bbs.wex5.com/forum.php?mod=viewthread&tid=93456 46- justep.Shell.closePage()的问题 http://bbs.wex5.com/forum.php?mod=viewthread&tid=93505 47- 时常这样该如何解决 如图 http://bbs.wex5.com/forum.php?mod=viewthread&tid=93486 48- 界面上数据绑定richTextarea 控件,数据集的状态会被改变 http://bbs.wex5.com/forum.php?mod=viewthread&tid=93484 49- 配置左侧菜单栏目为测出试重新刷新后的问题 http://bbs.wex5.com/forum.php?mod=viewthread&tid=93378 50- 动态在js中设置组件的可读,新版本是怎么弄啊? http://bbs.wex5.com/forum.php?mod=viewthread&tid=93443 51- div在IOS中无法编辑输入 http://bbs.wex5.com/forum.php?mod=viewthread&tid=93450 52- 文档中心BUG http://bbs.wex5.com/forum.php?mod=viewthread&tid=93409 53- wex3.4 ios调用二维码插件扫描问题 http://bbs.wex5.com/forum.php?mod=viewthread&tid=93243 54- 3.4 页签嵌套有问题 http://bbs.wex5.com/forum.php?mod=viewthread&tid=93327 55- 文件中心文件夹问题 http://bbs.wex5.com/forum.php?mod=viewthread&tid=93345 56- excel导入出现的问题!!! http://bbs.wex5.com/forum.php?mod=viewthread&tid=93267 WeX5 快速开发平台V3.5预览版 发布(2016-6-3) 下载地址