666
666哈啊为什么我修改了课程列表,同步表盘后,手环上却没有表盘显示export default { schoolWeek: { start: 49, end: 56 }, timeList: [ [ { name: '语文', stime: '8:00', etime: '8:40' }, { name: '英语', stime: '8:50', etime: '9:30' }, { name: '物理', stime: '10:00', etime: '10:40' }, { name: '音乐', stime: '10:50', etime: '11:30' }, { name: '数学', stime: '11:40', etime: '12:20' }, { name: '生物', stime: '14:00', etime: '14:40' }, { name: '历史', stime: '14:50', etime: '15:30' }, { name: '信科', stime: '15:40', etime: '16:20' }, { name: '政治', stime: '16:30', etime: '17:10' }, { name: '数学', stime: '17:20', etime: '18:00' }, { name: '生/地', stime: '18:40', etime: '19:20' }, { name: '生/地', stime: '19:30', etime: '20:00' }, { name: '语文', stime: '8:00', etime: '8:40' }, { name: '英语', stime: '8:50', etime: '9:30' }, { name: '数学', stime: '10:00', etime: '10:40' } ], [ { name: '物理', stime: '10:50', etime: '11:30' }, { name: '体育', stime: '11:40', etime: '12:20' }, { name: '政治', stime: '14:00', etime: '14:40' }, { name: '心/体', stime: '14:50', etime: '15:30' }, { name: '语文', stime: '15:40', etime: '16:20' }, { name: '语文', stime: '16:30' , etime: '17:10' }, { name: '特色课程', stime: '17:20', etime: '18:00' }, { name: '语文', stime: '18:40', etime: '19:20' }, { name: '语文', stime: '19:30', etime: '20:00' }, { name: '语文', stime: '8:00', etime: '8:40' }, { name: '英语', stime: '8:50', etime: '9:30' }, { name: '数学', stime: '10:00', etime: '10:40' }, { name: '政治', stime: '10:50', etime: '11:30' }, { name: '地理', stime: '11:40', etime: '12:20' }, { name: '语文', stime: '14:00', etime: '14:40' }, { name: '美/音', stime: '14:50', etime: '15:30' } ], [ { name: '体育', stime: '15:40', etime: '16:20' }, { name: '物理', stime: '16:30', etime: '17:10' }, { name: '历史', stime: '17:20', etime: '18:00' }, { name: '数学', stime: '18:40', etime: '19:20' }, { name: '数学', stime: '19:30', etime: '20:00' }, { name: '英语', stime: '8:00', etime: '8:40' }, { name: '语文', stime: '8:50', etime: '9:30' }, { name: '数学', stime: '10:00', etime: '10:40' }, { name: '生物', stime: '10:50', etime: '11:30' }, { name: '历史', stime: '11:40', etime: '12:20' }, { name: '数学', stime: '14:00', etime: '14:40' }, { name: '体育', stime: '14:50', etime: '15:20' }, { name: '语文', stime: '15:30', etime: '16:20' }, { name: '英语', stime: '16:30', etime: '17:10' }, { name: '特色课程', stime: '17:20', etime: '18:00' }, { name: '英语', stime: '18:40', etime: '19:20' } ], [ { name: '英语', stime: '19:30', etime: '20:00' }, { name: '英语', stime: '8:00', etime: '8:40' }, { name: '数学', stime: '8:50', etime: '9:30' }, { name: '美术', stime: '10:00', etime: '10:40' }, { name: '地理', stime: '10:50', etime: '11:30' }, { name: '语文', stime: '11:40', etime: '12:20' }, { name: '语文', stime: '14:00', etime: '14:40' }, { name: '写/阅', stime: '14:50', etime: '15:30' }, { name: '班会', stime: '15:40', etime: '16:20' } ], [], [ { name: '看新闻', stime: '19:10', etime: '19:30' }, { name: '晚自习', stime: '19:30', etime: '20:15' }, { name: '晚自习', stime: '20:30', etime: '21:15' } ] ] }
支持DEMO
这是Vepp文档中的的DEMO——简单的Helloworld,从中可以了解Vepp的使用及核心功能:
浏览附件16688
起因
自从买了个米环7,入坑ZeppOS以来,我心里一直有着这几个灵魂问题:
总之:懒懒懒还是懒,想少些几行代码!!
- 设计这个纯JS、提交式更新的控件系统有什么意义?好用么?还是另有其缘?不过好用肯定是说不上了。
- 为啥把 eval() 和 new Function() 这么重要的东西给禁了?没法施展手脚啊。(虽然最后还是被我轻松解决)
- 这JS运行效率是认真的么……我可能高估手环的性能了……
Vepp的诞生
Vepp的设计思路和我的另一个项目——Vior,当然还和大名鼎鼎的Vue有异曲同工之妙。其核心功能就是——声明式渲染,订阅式更新。不过考虑到ZeppOS的应用架构大多不复杂,所以Vepp舍去了一些几乎没用而又稍微难实现的功能,比如说——列表渲染,组件化等等。
不如你所知,Vepp是个实用框架——我用它完成了几个实战项目(见末尾),Vepp在其中的表现非常出色,当然一些bugs和用户体验也逐渐被发现和改进。目前Vepp在性能上还有所瑕疵,不过如果不介意的话就大胆使用它吧!
使用/下载
相关教程可在Github项目里找到(参见README自述文件),当然也可以直接用NPM下载。
NPM:npm install vepp
Github:https://github.com/jwhgzs/vepp
实例项目
可以移步Github(见下),也可以直接下载附件中的安装包。
- JWatch(学生党必备表盘,滚动课程表+学周计算):https://github.com/jwhgzs/vepp-jwatch
- JStudio(迷你代码工作室,打字编码+运行JS):https://github.com/jwhgzs/vepp-jstudio
喔DEMO
这是Vepp文档中的的DEMO——简单的Helloworld,从中可以了解Vepp的使用及核心功能:
浏览附件16688
起因
自从买了个米环7,入坑ZeppOS以来,我心里一直有着这几个灵魂问题:
总之:懒懒懒还是懒,想少些几行代码!!
- 设计这个纯JS、提交式更新的控件系统有什么意义?好用么?还是另有其缘?不过好用肯定是说不上了。
- 为啥把 eval() 和 new Function() 这么重要的东西给禁了?没法施展手脚啊。(虽然最后还是被我轻松解决)
- 这JS运行效率是认真的么……我可能高估手环的性能了……
Vepp的诞生
Vepp的设计思路和我的另一个项目——Vior,当然还和大名鼎鼎的Vue有异曲同工之妙。其核心功能就是——声明式渲染,订阅式更新。不过考虑到ZeppOS的应用架构大多不复杂,所以Vepp舍去了一些几乎没用而又稍微难实现的功能,比如说——列表渲染,组件化等等。
不如你所知,Vepp是个实用框架——我用它完成了几个实战项目(见末尾),Vepp在其中的表现非常出色,当然一些bugs和用户体验也逐渐被发现和改进。目前Vepp在性能上还有所瑕疵,不过如果不介意的话就大胆使用它吧!
使用/下载
相关教程可在Github项目里找到(参见README自述文件),当然也可以直接用NPM下载。
NPM:npm install vepp
Github:https://github.com/jwhgzs/vepp
实例项目
可以移步Github(见下),也可以直接下载附件中的安装包。
- JWatch(学生党必备表盘,滚动课程表+学周计算):https://github.com/jwhgzs/vepp-jwatch
- JStudio(迷你代码工作室,打字编码+运行JS):https://github.com/jwhgzs/vepp-jstudio
Nⅰce为什么我修改了课程列表,同步表盘后,手环上却没有表盘显示export default { schoolWeek: { start: 49, end: 56 }, timeList: [ [ { name: '语文', stime: '8:00', etime: '8:40' }, { name: '英语', stime: '8:50', etime: '9:30' }, { name: '物理', stime: '10:00', etime: '10:40' }, { name: '音乐', stime: '10:50', etime: '11:30' }, { name: '数学', stime: '11:40', etime: '12:20' }, { name: '生物', stime: '14:00', etime: '14:40' }, { name: '历史', stime: '14:50', etime: '15:30' }, { name: '信科', stime: '15:40', etime: '16:20' }, { name: '政治', stime: '16:30', etime: '17:10' }, { name: '数学', stime: '17:20', etime: '18:00' }, { name: '生/地', stime: '18:40', etime: '19:20' }, { name: '生/地', stime: '19:30', etime: '20:00' }, { name: '语文', stime: '8:00', etime: '8:40' }, { name: '英语', stime: '8:50', etime: '9:30' }, { name: '数学', stime: '10:00', etime: '10:40' } ], [ { name: '物理', stime: '10:50', etime: '11:30' }, { name: '体育', stime: '11:40', etime: '12:20' }, { name: '政治', stime: '14:00', etime: '14:40' }, { name: '心/体', stime: '14:50', etime: '15:30' }, { name: '语文', stime: '15:40', etime: '16:20' }, { name: '语文', stime: '16:30' , etime: '17:10' }, { name: '特色课程', stime: '17:20', etime: '18:00' }, { name: '语文', stime: '18:40', etime: '19:20' }, { name: '语文', stime: '19:30', etime: '20:00' }, { name: '语文', stime: '8:00', etime: '8:40' }, { name: '英语', stime: '8:50', etime: '9:30' }, { name: '数学', stime: '10:00', etime: '10:40' }, { name: '政治', stime: '10:50', etime: '11:30' }, { name: '地理', stime: '11:40', etime: '12:20' }, { name: '语文', stime: '14:00', etime: '14:40' }, { name: '美/音', stime: '14:50', etime: '15:30' } ], [ { name: '体育', stime: '15:40', etime: '16:20' }, { name: '物理', stime: '16:30', etime: '17:10' }, { name: '历史', stime: '17:20', etime: '18:00' }, { name: '数学', stime: '18:40', etime: '19:20' }, { name: '数学', stime: '19:30', etime: '20:00' }, { name: '英语', stime: '8:00', etime: '8:40' }, { name: '语文', stime: '8:50', etime: '9:30' }, { name: '数学', stime: '10:00', etime: '10:40' }, { name: '生物', stime: '10:50', etime: '11:30' }, { name: '历史', stime: '11:40', etime: '12:20' }, { name: '数学', stime: '14:00', etime: '14:40' }, { name: '体育', stime: '14:50', etime: '15:20' }, { name: '语文', stime: '15:30', etime: '16:20' }, { name: '英语', stime: '16:30', etime: '17:10' }, { name: '特色课程', stime: '17:20', etime: '18:00' }, { name: '英语', stime: '18:40', etime: '19:20' } ], [ { name: '英语', stime: '19:30', etime: '20:00' }, { name: '英语', stime: '8:00', etime: '8:40' }, { name: '数学', stime: '8:50', etime: '9:30' }, { name: '美术', stime: '10:00', etime: '10:40' }, { name: '地理', stime: '10:50', etime: '11:30' }, { name: '语文', stime: '11:40', etime: '12:20' }, { name: '语文', stime: '14:00', etime: '14:40' }, { name: '写/阅', stime: '14:50', etime: '15:30' }, { name: '班会', stime: '15:40', etime: '16:20' } ], [], [ { name: '看新闻', stime: '19:10', etime: '19:30' }, { name: '晚自习', stime: '19:30', etime: '20:15' }, { name: '晚自习', stime: '20:30', etime: '21:15' } ] ] }
*这是一则由 Google AdSense 自动推荐的广告,与本站无关,不对其真实性与可靠性负责