上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 28 下一页
摘要: 1.创建组件 components > calander > index.vue 2.页面中引用组件 阅读全文
posted @ 2018-11-15 10:42 小短腿奔跑吧 阅读(2929) 评论(2) 推荐(0)
摘要: 效果就是上图 代码贴出 1.在components > calander > index.vue 2.在页面中引用组件 阅读全文
posted @ 2018-11-15 10:39 小短腿奔跑吧 阅读(7135) 评论(0) 推荐(1)
摘要: var s = new Set([1, 2, 3, 3]) ->{1, 2, 3} s.add(4) ->{1, 2, 3, 4} 添加对应的某值 s.delete(2) -> {1, 3, 4} 删除对应的某值 s.has(5) ->false 是否存在某值 s.clear() -> 清除s内全部 阅读全文
posted @ 2018-06-20 16:52 小短腿奔跑吧 阅读(124) 评论(0) 推荐(0)
摘要: Symbol()如果一个对象中的键已经存在,但目前我们目前不知道这个键是存在的,然后我们去给这个键赋值,Symbol()就不会改变这个键对应的值 阅读全文
posted @ 2018-06-20 16:15 小短腿奔跑吧 阅读(136) 评论(0) 推荐(0)
摘要: var title = '你好' ES5 var tpl1 = '<div>' + '<span>' + title + '</span>' '</div>' ES6 var tpl2 = ` <div> <span>${title + ` <span>${1234} 2016</span> `}< 阅读全文
posted @ 2018-06-20 15:00 小短腿奔跑吧 阅读(633) 评论(0) 推荐(0)
摘要: var string = 'Yo' string.startsWith('Y') -> true startsWith()查找字符串是否是以某一个字段开始的 string.startsWith('o‘) -> false string.endsWith('o') ->true endsWith()查 阅读全文
posted @ 2018-06-20 14:04 小短腿奔跑吧 阅读(126) 评论(0) 推荐(0)
摘要: 点击链接查看详情 https://docs.apicloud.com/Client-API/UI-Layout/UIChatBox 模板中包括,聊天输入框,表情,发送图片,还有拍照,录音,其中也可以放一些你想放的东西, 阅读全文
posted @ 2018-01-23 11:04 小短腿奔跑吧 阅读(1442) 评论(0) 推荐(0)
摘要: data里面的参数信息,需要从后台接口中调取,点击查看微信支付详情,https://docs.apicloud.com/Client-API/Open-SDK/wxPay 首先,需要在config.xml中配置 data里面的参数信息,需要从后台接口中调取,点击查看微信支付详情,https://do 阅读全文
posted @ 2018-01-23 10:13 小短腿奔跑吧 阅读(4099) 评论(0) 推荐(0)
摘要: 应用版本号:this.appVersion = api.appVersion; 更新系版本的时候可用来比较 阅读全文
posted @ 2018-01-23 09:48 小短腿奔跑吧 阅读(324) 评论(0) 推荐(0)
摘要: api.setRefreshHeaderInfo({ bgColor: '#fff', textColor: '#4d4d4d', },function(ret, err){ //下拉刷新时,刷新的数据 app.option_r... 阅读全文
posted @ 2018-01-23 09:36 小短腿奔跑吧 阅读(1213) 评论(0) 推荐(0)
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 28 下一页