![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
移动端
(σ゚∀゚)σ..:*☆哎哟不错哦
前端
展开
-
apicloud结合vue在移动端实现长按事件
看上图,使用apicloud+vue的方式在移动端实现点击加号和减号数字连续增加或减少的需求。本人不善于写字,直接上代码 HTML <span class="reduceClass" @touchstart="reduceStart" @touchend="reduceEnd">-</span> <span class="addClass" @touchstart="addStart" @touchend="addEnd" >+</span> J.原创 2020-12-11 11:08:06 · 303 阅读 · 2 评论 -
使用vue处理移动端组织结构树
使用vue在移动端做出类似WEB端ztree插件效果: CSS简单处理: body { font-family: Menlo, Consolas, monospace; color: #444; } .item { cursor: pointer; } .bold { font-weight: bold; } ul { padding-left: 1em; line-height: 1.5em; lis原创 2020-11-13 15:24:05 · 844 阅读 · 0 评论