上一页 1 ··· 9 10 11 12 13 14 下一页
摘要: 富文本编辑器可以不引用wxss,可以省略 1.index.js var WxParse = require('../../utils/wxParse/wxParse.js'); //请求接口 获取到对应的字段var parma = { id: that.data.id } wx.request({ 阅读全文
posted @ 2019-02-22 15:43 bingxiaoxiao 阅读(1279) 评论(0) 推荐(0) 编辑
摘要: $(document).ready(function () { var code ; //在全局定义验证码 1.将函数写好 function createCode(){ code = ""; var codeLength = 4;//验证码的长度 var checkCode = document.getElementById... 阅读全文
posted @ 2019-02-21 19:01 bingxiaoxiao 阅读(1679) 评论(0) 推荐(0) 编辑
摘要: <view class="swiperContainer"> <swiper bindchange="swiperChange" autoplay="{{autoplay}}" duration="{{duration}}" style='height: 380rpx;'> <block wx:fo 阅读全文
posted @ 2019-02-15 15:23 bingxiaoxiao 阅读(6223) 评论(0) 推荐(0) 编辑
摘要: {{create_time0}} {{create_time}} Page({ // 注:1:formatDate 2.zeroize 3.通过接口拿到时间戳 data: { create_time: '', pay_time: '' }, onLoad: function (options) { var that = this; ... 阅读全文
posted @ 2019-02-14 17:32 bingxiaoxiao 阅读(1118) 评论(0) 推荐(0) 编辑
摘要: 引入jq 注 在IE和safari 如果时间出现NAN 将时间格式改为YYYY/MM/DD HH:MM:SS 例:var d2 = new Date("2019/02/18 15:59"); 距离直播开始还有 天 ... 阅读全文
posted @ 2019-02-14 15:06 bingxiaoxiao 阅读(599) 评论(0) 推荐(0) 编辑
摘要: Js方法:<script type=”text/javascript”> window.onload=function (){ var userName=”xiaoming”; alert(userName); } </script> jQuery方法,需要引用jQuery文件: <script t 阅读全文
posted @ 2018-08-20 13:31 bingxiaoxiao 阅读(3236) 评论(0) 推荐(0) 编辑
摘要: 继承3 混合模式() 创建类最好的方法使用构造函数定义属性,用原型定义方法,这种方法同样-适用于继承机制,用对象冒充继承机制构造函数的属性,用原型链继承prototype对象的方法 阅读全文
posted @ 2017-12-13 16:24 bingxiaoxiao 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 注意:构造函数命名是使用的是首字母大写,目的是为了区分普通函数 属性名和形参名不必相同,但通常相同 ,这是约定 构造函数不用返回值return 本身会完成这项任务 先有构造函数 再有对象 阅读全文
posted @ 2017-12-05 15:49 bingxiaoxiao 阅读(117) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>时间data</title> </head> <body> <div id="linkweb" style=" display:inline;"></div> 阅读全文
posted @ 2017-12-04 21:09 bingxiaoxiao 阅读(141) 评论(0) 推荐(0) 编辑
摘要: position (定位)属性值的含义: position: relative; top: 40px; 绝对路径就是带有网址的路径,比如你有一个域名www.dreamdu.com 点赞 body <div class="img"> <img src="../H5结构布局实例/img/0.jpg"> 阅读全文
posted @ 2017-12-04 19:23 bingxiaoxiao 阅读(258) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 下一页