2017年12月28日

验证码倒计时

摘要: // 验证码倒计时 settime: function (that, countdown) { if (countdown == 0) { that.setData({ is_show: true, }) countdown = 60; return; } else { countdown--; t 阅读全文

posted @ 2017-12-28 16:24 再胖十斤就好 阅读(125) 评论(0) 推荐(0) 编辑

微信小程序-翻页

摘要: function cardInfo( flag, currentPage,that){ wx.showLoading({ title: '加载中', }); wx.request({ url: 'https://www.lenfshion.com/projectmng/appuser/exchang 阅读全文

posted @ 2017-12-28 12:13 再胖十斤就好 阅读(3063) 评论(0) 推荐(0) 编辑

2017年12月26日

微信小程序-MD532位加密

摘要: var util = require('../../utils/md5.js'); password = util.hexMD5(app.globalData.sign).toLowerCase(); password = util.hexMD5(app.globalData.sign).toLow 阅读全文

posted @ 2017-12-26 11:42 再胖十斤就好 阅读(1147) 评论(0) 推荐(0) 编辑

2017年12月25日

微信小程序-输入密码

摘要: //<wxml> <!--输入钱包密码--> <view wx:if="{{wallets_password_flag}}" class="wallets-password"> <view class="input-content-wrap"> <view class="top"> <view ca 阅读全文

posted @ 2017-12-25 16:19 再胖十斤就好 阅读(1877) 评论(0) 推荐(0) 编辑

2017年12月24日

微信小程序 - 上传头像

摘要: // 上传文件 function uploadFile(url, filePath, name, formData, cb) { wx.uploadFile({ url: 'https://www.lenfshion.com/projectmng/' + url, filePath: filePat 阅读全文

posted @ 2017-12-24 11:41 再胖十斤就好 阅读(1962) 评论(0) 推荐(0) 编辑

2017年12月19日

小程序 reset

摘要: page{ ">; } .wrap{ width:100%; font-family: PingFang-SC-Medium; } image, input{ display: block; } /* 清浮动 */ .clear{ zoom:1;} .clear:after{ content:""; 阅读全文

posted @ 2017-12-19 09:52 再胖十斤就好 阅读(1107) 评论(0) 推荐(0) 编辑

2017年12月9日

表单提交(微信小程序)

摘要: <form bindsubmit="formSubmit"> <view class="txt"> <view class="ima"></view> <view class="txt2">姓名</view> <input placeholder="请输入姓名" maxlength="10" cla 阅读全文

posted @ 2017-12-09 15:12 再胖十斤就好 阅读(2184) 评论(0) 推荐(0) 编辑

2017年11月20日

微信小程序-笔记

摘要: 小程序动态引入图片: var index = this //当前赋值 wx.request({ url: 'http://192.168.2.107:8080/carserver/appuser/banners.do', //仅为示例,并非真实的接口地址 data: { x: '', y: '' } 阅读全文

posted @ 2017-11-20 11:05 再胖十斤就好 阅读(169) 评论(0) 推荐(0) 编辑

2017年11月9日

二维数组

摘要: var num = 8;//每个子数组里的元素个数 var arr = []; for(var i=0;i<data.list.length;i++){ var appanliHtml = '<div style="height:240px;">'+ '<a href="applistinfo.ph 阅读全文

posted @ 2017-11-09 17:33 再胖十斤就好 阅读(156) 评论(0) 推荐(0) 编辑

2017年9月14日

上传头像

摘要: <div class="commodityImg_evaluate"> <div class="ge_pic_icon_Infor"> <img onclick="getElementById('file').click()" title="点击添加图片" alt="点击添加图片" src="ima 阅读全文

posted @ 2017-09-14 12:14 再胖十斤就好 阅读(196) 评论(0) 推荐(0) 编辑

导航