上一页 1 2 3 4 5 6 7 8 ··· 13 下一页
摘要: input::-webkit-input-placeholder{ color:#fff; } input::-moz-placeholder{ /* Mozilla Firefox 19+ */ color:#fff; } input:-moz-placeholder{ /* Mozilla Fi 阅读全文
posted @ 2020-06-18 19:15 YJUI 阅读(365) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-06-18 18:43 YJUI 阅读(3701) 评论(0) 推荐(0) 编辑
摘要: .link span { position: absolute; top: 0; left: 50%; transform: translateX(-50%); } 阅读全文
posted @ 2020-06-18 10:19 YJUI 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 解决: IOS识别(年月日时分秒) new Date(2010,0,1,0,0,0).getTime() 1、问题出在: 日期转成时间戳getTime(): var time = "2017-06-23 17:00:00"; alert(new Date(time).getTime()); Andr 阅读全文
posted @ 2020-06-11 16:46 YJUI 阅读(667) 评论(0) 推荐(0) 编辑
摘要: https://unpkg.com/babel-standalone@6.15.0/babel.min.js 阅读全文
posted @ 2020-06-03 13:57 YJUI 阅读(8161) 评论(0) 推荐(0) 编辑
摘要: export 和 export default 的区别 export import输出要加{} 一个也加{},export名与import名必须一致对应,不加{}可以起别名用as,import * as name from './mod1.js'; export default import输出名随 阅读全文
posted @ 2020-06-01 17:42 YJUI 阅读(349) 评论(0) 推荐(0) 编辑
摘要: 1、运行webpack 在当前目录 管理员CMD下运行命令 : webpack PS: 只有安装webpack时才必须在管理员环境下运行,如今使用可以随便 问题1: 运行中会遇报错: 错误分析:HTML 网页中,浏览器通过 script 标签加载 JavaScript 脚本。由于浏览器脚本的默认语言 阅读全文
posted @ 2020-06-01 14:50 YJUI 阅读(276) 评论(0) 推荐(0) 编辑
摘要: 注意:CMD要以管理员身份打开,否则在安装webpack那一步一直报错 默认 : C:\Windows\System32 --cmd.exe 什么是Node.js? 简单的说 Node.js 就是运行在服务端的 JavaScript。 Node.js是一个基于 Chrome V8 引擎的 JavaS 阅读全文
posted @ 2020-05-28 16:45 YJUI 阅读(1443) 评论(0) 推荐(1) 编辑
摘要: 问题效果: 理想效果: 解决方案:JSON.parse(JSON.stringify( ob )) 首先我们要把这个数据获取原始数据 JSON.stringify([data]) 变成字符串 然后在用JSON.parse()将数据转换为 JavaScript 对象 阅读全文
posted @ 2020-05-21 17:15 YJUI 阅读(3061) 评论(0) 推荐(0) 编辑
摘要: AAA 表示(hotInfowg,hotInfons,hotInfopz,hotInfoaccess) 整理成最初数据length相同,根据原数据before索引(0,1,2)对应的字段数据 AAA 放到一个新数组循环对应的索引值下 例如索引为0时,AAA 中的值放到after索引为0的tabLis 阅读全文
posted @ 2020-05-21 17:08 YJUI 阅读(391) 评论(0) 推荐(0) 编辑
摘要: <input id="overck_21" data-role="none" name="check" class="regular-radio2" type="checkbox"> <label for="overck_21" data-role="none"> 本人同意并接受 </label> 阅读全文
posted @ 2020-05-15 17:37 YJUI 阅读(378) 评论(0) 推荐(0) 编辑
摘要: .vogueHover { width: 100%;height: 100%; position: absolute; left: 0; top: 0; background: #001e50; z-index: 9999; opacity:0 } .vogueHover:hover { trans 阅读全文
posted @ 2020-05-15 15:06 YJUI 阅读(176) 评论(0) 推荐(0) 编辑
摘要: less 转css代码格式cmd命令: lessc D:\workspace\ipad\index.less D:\workspace\ipad\index.css 阅读全文
posted @ 2020-05-13 17:55 YJUI 阅读(407) 评论(0) 推荐(0) 编辑
摘要: <div class="div">111</div> .div { width:200px; height:200px; box-shadow: 0 0 15px #e6e6e6; } 阅读全文
posted @ 2020-05-13 17:19 YJUI 阅读(187) 评论(0) 推荐(0) 编辑
摘要: html: <div class="popBox"> <div class="pb"> <span class="clousx"></span> <div class="p-box"></div> </div> </div> css: .popBox { position: fixed; width 阅读全文
posted @ 2020-05-13 14:30 YJUI 阅读(263) 评论(0) 推荐(0) 编辑
摘要: Page({ data: { lock: false }, //表单提交 submit(){ let that = this; let {lock} = that.data; if(!lock){ that.setData({lock:true}); //数据请求操作 //请求完成后 开锁 that 阅读全文
posted @ 2020-05-12 11:34 YJUI 阅读(1851) 评论(0) 推荐(0) 编辑
摘要: APP中不支持position:fixed; 改成 position:absolute; 触发H5按钮跳转APP原生页,进入调取APP的名传自己的方法 <a href="javascript:;" @click='myCard'>前往卡包</a> js: //我的卡包,ivw是原生APP给的名,my 阅读全文
posted @ 2020-05-09 17:09 YJUI 阅读(552) 评论(0) 推荐(0) 编辑
摘要: 如本地开发域名访问: http://127.0.0.1:5500/pages/information/information.html?id=2259 想让别人访问: win+R >cmd 输入ipconfig 找到ip http://192.168.4.121:5500/pages/informa 阅读全文
posted @ 2020-05-09 11:21 YJUI 阅读(1885) 评论(0) 推荐(1) 编辑
摘要: v-model不可以加其他值 <input type="text" v-model="curAmount"> :value可以加 单位 <input type="text" :value="curAmount+'元'"> @click.stop 阻止事件冒泡 阅读全文
posted @ 2020-05-08 17:00 YJUI 阅读(19081) 评论(0) 推荐(0) 编辑
摘要: transition: .3s all ease; .tmall .tmall-tabbodys { width: 100%; position: absolute; left: 0px; transition: .7s all ease; } 动果切换带有运营商校验 <!DOCTYPE html> 阅读全文
posted @ 2020-05-08 14:23 YJUI 阅读(302) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 13 下一页