![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
flyingon-ui
yaochaohx
这个作者很懒,什么都没留下…
展开
-
001.helloworld
01.新建helloworld.html,输入代码<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>helloworld</title></head>&原创 2019-02-23 22:23:59 · 138 阅读 · 0 评论 -
002.template模板
1. 对helloworld.html中id为template 的<script>(下简称“tpjs”)进行修改 <script type="text/x-template" id="template"> <div padding="10"> <label text="请在此输入"原创 2019-02-25 16:51:59 · 193 阅读 · 0 评论 -
003.update窗口缩放
1.浏览器打开template.html再将窗口缩小,标签大小没有跟随窗口变化。2.将template.html另存为update.html,修改fyjs(flyingon所在的<script>代码块),添加的var host=和flyingon.dom_on()。 <script type="text/javascript"> ...原创 2019-02-26 08:02:46 · 122 阅读 · 0 评论 -
004.model视图模型
1.将update.html另存为model.html,在tpjs中<button>上添加@click="operate_click()"的点击事件,@是flyingon的事件标识符。<button type="button" :text="txt2" @click="operate_click()"></button>在fyjs的fl原创 2019-02-26 10:55:08 · 146 阅读 · 0 评论