vue是一个mvvm框架(库),和angular类似比较容易上手.小巧 mvc:Model View Controller,是模型(model)-视图(view)-控制器(controller)的缩写 而vue是mvvm,m有了,v有了,vm相当于c vue指令 v-xxx 其实vue就是一片htm ...
分类:
其他好文 时间:
2018-03-12 01:02:50
阅读次数:
163
编译或运行时可能会出现错误: Error:Error retrieving parent for item: No resource found that matches the given name “Theme.AppCompat.Light” 这个问题我在刚开始写“HelloWorld”时就遇 ...
分类:
移动开发 时间:
2018-03-10 21:55:11
阅读次数:
205
一、获取钱包地址 可以使用本地钱包地址。首先到Monero官网下载本地钱包,支持Windows 64-bit、Windows 32-bit、Mac OS X 64-bit、Linux 64-bit、Linux 32-bit、Mobile & Light Wallets以及Hardware Walle ...
分类:
其他好文 时间:
2018-03-10 18:45:01
阅读次数:
3091
MVC结构和MVVM MVC:是模型+视图(html+css)+控制(javascript) 视图(View):用户界面 控制器(Controller):业务逻辑 模型(Model):数据保存 MVC通信都是单向(例如大喇叭一样,我说你只能听)通讯的 MVVM: 唯一的区别是,它采用双向绑定(全双工 ...
分类:
Web程序 时间:
2018-03-07 17:33:29
阅读次数:
185
Ekka and his friend Dokka decided to buy a cake. They both love cakes and that's why they want to share the cake after buying it. As the name suggeste ...
分类:
其他好文 时间:
2018-03-06 17:08:07
阅读次数:
161
Alice and Bob are playing a game with marbles; you may have played this game in childhood. The game is playing by alternating turns. In each turn a pl ...
分类:
其他好文 时间:
2018-03-05 20:51:00
阅读次数:
151
A great forest is set on fire by a small spark. 最小的火能点着最大的树林。 It is just a spark, but it is enough to light the way forward for me. It is just a spark ...
分类:
其他好文 时间:
2018-03-04 19:59:40
阅读次数:
175
新题目大意: 三个棋子按照先后顺序,可以随意方向合法地走到空位置上(而不是像原题light oj-1055中的一样三个棋子每次走的方向都一致),当三个棋子全部走进目标地点,就结束;求需要指挥的最少次数。 思路: BFS 在每次进行指挥时,需要分别指挥三个棋子,每个棋子至多有五种走法(第五种为原地不动 ...
分类:
其他好文 时间:
2018-03-03 18:17:07
阅读次数:
175
light oj 1055-Going Together 题目大致意思: 简单的三个棋子,每次可以下达一个命令,robots全部按照指令进行前进;若下一步不为空地则停留在原地。 特殊考虑: 1.例如ABC.....,(或者AB#...C——C需要再次向左移动,AB则不能再次移动)A已经在边界上;这时 ...
分类:
其他好文 时间:
2018-03-03 18:15:22
阅读次数:
184
sass的默认变量仅需要在值后面加上!default即可。sass的默认变量一般是用来设置默认值,然后根据需求来覆盖的,覆盖的方式也很简单,只需要在默认变量之前重新声明下变量即可 实际项目中我们使用最多的应该是颜色函数,而颜色函数中又以lighten减淡和darken加深为最。其调用方法为light ...
分类:
其他好文 时间:
2018-03-02 20:51:28
阅读次数:
148