摘要: showPollMoney(num) {//默认状态,一般在onload()调用 this.poolMoney.string = num;//poolMoney是要动态显示的label, var len = this.poolMoney.string.length if (len < 14) { v 阅读全文
posted @ 2019-05-09 17:49 LUOXING 阅读(214) 评论(0) 推荐(0) 编辑
摘要: 现在处理全面屏手机显示基本时采用预留黑边,然后研究了下改进的方案,发现挺简单的。 在AndroidStudio打包安卓配置脚本里加上如图代码: <meta-data android:name="android.max_aspect" android:value="2.2" /> 这段代码的意思就是设 阅读全文
posted @ 2019-02-26 14:22 LUOXING 阅读(1182) 评论(0) 推荐(0) 编辑
摘要: const ScrollViewLayout = require("scrollViewLayout"); cc.Class({ extends: cc.Component, properties: { scrollView: cc.Node, itemPrefab: cc.Prefab, comp 阅读全文
posted @ 2019-02-26 11:01 LUOXING 阅读(1750) 评论(0) 推荐(0) 编辑