摘要: 阅读全文
posted @ 2022-04-26 09:52 千寻的天空之城 阅读(48) 评论(0) 推荐(0) 编辑
摘要: 不是原创,是自己作为学习,iview-weapp封装小程序组件。 一,组件的样式: 像这样的提示框。 二,组件的引用 { "usingComponents": { "i-alert": "../../dist/alert/index" } } <i-alert> An info prompt </i 阅读全文
posted @ 2021-01-05 16:45 千寻的天空之城 阅读(492) 评论(0) 推荐(0) 编辑
摘要: <table> <tbody class="tbody" id="pileListItemDesc"> <tr class="text-center lastTr"> <td class="index">4</td> <td class="depth"><input type="text" name 阅读全文
posted @ 2020-04-01 12:21 千寻的天空之城 阅读(2499) 评论(0) 推荐(1) 编辑
摘要: 上面是我要验证的代码: <form></form>元素里并没有包含提交表单的按钮,那我们怎么来触发验证呢?看如下代码: 阅读全文
posted @ 2019-10-24 14:30 千寻的天空之城 阅读(1074) 评论(0) 推荐(0) 编辑
摘要: 三,创建组件 1,组件html部分 dialog.wxml 在index页面引入dialog组件 这里的title,content,confirmText是我自定义的属性名,这个是和组件所在的js中properties中的属性是对应的。 (在 properties 定义的属性中,属性名采用驼峰写法( 阅读全文
posted @ 2019-09-10 14:53 千寻的天空之城 阅读(308) 评论(0) 推荐(0) 编辑
摘要: Title 劝君更进一杯酒,西出阳关无故人。”冷月斜照,秋风萧瑟,枫叶飘落在浔阳江头 寻寻觅觅,冷冷清清,凄凄惨惨戚戚。”诗意情怀的李清照,却着有更有韵情的宋词。李清照不仅有着“依门回首,却把青梅嗅。”娇柔妩媚;她还有着“至今思项羽,不肯过江东。”的洒脱豪放 阅读全文
posted @ 2019-07-05 11:21 千寻的天空之城 阅读(1838) 评论(0) 推荐(0) 编辑
摘要: css清单: 表格复选框多选实现一: 表格复选框多选代码简化版: 3,插件写法 补充:复选框单选 阅读全文
posted @ 2019-01-18 10:42 千寻的天空之城 阅读(209) 评论(0) 推荐(0) 编辑
摘要: const menuConfig = { title:null, body:'Bar', buttonText:null, cancellable:true }; function createMenu(config){ config.title=config.title || 'Foo'; ... 阅读全文
posted @ 2019-01-08 09:28 千寻的天空之城 阅读(325) 评论(0) 推荐(0) 编辑
摘要: 基础样式 背景样式扩展: 改变按钮大小: 引用: 阅读全文
posted @ 2019-01-03 21:09 千寻的天空之城 阅读(615) 评论(0) 推荐(0) 编辑
摘要: 一,jQuery jQuery.isEmptyObject()函数用于判断指定参数是否是一个空对象。 jQuery.isEmptyObject()函数的返回值为Boolean类型,如果指定的参数是空对象,则返回true,否则返回false。 jQuery.isEmptyObject()源码如下: 二 阅读全文
posted @ 2018-12-07 10:21 千寻的天空之城 阅读(24993) 评论(0) 推荐(0) 编辑