摘要: <div class="init-loading"> <div class="loader"></div> </div> var loading = View.find('.init-loading'); loading.setAttribute('class', 'hide'); @keyfram 阅读全文
posted @ 2020-09-15 14:43 样子2018 阅读(300) 评论(1) 推荐(0) 编辑
摘要: /** * 定义动画 */ @keyframes fadeIn{ from{opacity: 0;} to{opacity: 1;} } @keyframes fadeOut{ from{opacity: 1;} to{opacity: 0;} } @keyframes hideToLeft{ fr 阅读全文
posted @ 2020-09-15 14:35 样子2018 阅读(287) 评论(1) 推荐(0) 编辑
摘要: 一、常用API 1、View static currentState static context 公用数据存取上下文,用于跨视图存取数据。 static checkIfBrowserHistorySupportsPushPopAction() static getViewContainerDomE 阅读全文
posted @ 2020-09-15 13:07 样子2018 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 一、View.js 官网:http://view-js.com/ 二、Vue.js 官网:https://cn.vuejs.org/ 阅读全文
posted @ 2020-09-15 10:44 样子2018 阅读(90) 评论(0) 推荐(0) 编辑