12 2017 档案

摘要:// 登录 wx.login({ success: res => { var code = res.code; //返回code // console.log(code) // 小程序appid // wxd751fc845c90fbd8 // 3df95e167161ab74e09ea54eda4 阅读全文
posted @ 2017-12-27 08:47 ThisCall 阅读(349) 评论(0) 推荐(0) 编辑
摘要:<image mode='aspectFill' style='width:100%;height:100%' src='../../imgs/index/lovehead.png'></image> 阅读全文
posted @ 2017-12-15 09:44 ThisCall 阅读(9864) 评论(0) 推荐(0) 编辑
摘要:var str = 'abcadeacf'; var str1 = str.replace('a', 'o'); alert(str1); // 打印结果: obcadeacf var str2 = str.replace(/a/g, 'o'); alert(str2); //打印结果: obcod 阅读全文
posted @ 2017-12-13 10:53 ThisCall 阅读(28742) 评论(0) 推荐(0) 编辑
摘要:<view class="list"> <form bindsubmit="formSubmit"> <view class="item-addr flexa" bindtap="translate"> <view>所在城市:</view> <view style='color:#666' wx:i 阅读全文
posted @ 2017-12-10 20:47 ThisCall 阅读(11039) 评论(0) 推荐(0) 编辑
摘要:<view class='hong-contant'> <form bindsubmit="teformSubmit"> <view class='contant-teamwork'> <view class='teamwork-inputs'> <view class='inputs-box fl 阅读全文
posted @ 2017-12-08 16:55 ThisCall 阅读(784) 评论(0) 推荐(0) 编辑
摘要:<view class="hong-container"> <!-- 1头部选照片 --> <view class='hong-top'> <view class='top-box flex'> <view class='top-only'> <view class='only-pic'> <vie 阅读全文
posted @ 2017-12-08 16:20 ThisCall 阅读(264) 评论(0) 推荐(0) 编辑
摘要:yanZhengInput: function (e) { var that = this; var yanzheng = e.detail.value; var huozheng = this.data.huozheng console.log(e.detail.value) that.setDa 阅读全文
posted @ 2017-12-08 09:30 ThisCall 阅读(1190) 评论(0) 推荐(0) 编辑
摘要://登录输入密码 userPasswordInput: function (e) { var that = this; this.setData({ userPassword: e.detail.value }) // console.log(e.detail.value.length) // co 阅读全文
posted @ 2017-12-08 09:27 ThisCall 阅读(2257) 评论(0) 推荐(1) 编辑
摘要:// 登录手机验证 loginPhone: function (e) { var phone = e.detail.value; if (!(/^1[34578]\d{9}$/.test(phone))) { this.setData({ ajxtrue: false }) if (phone.le 阅读全文
posted @ 2017-12-08 09:23 ThisCall 阅读(1539) 评论(0) 推荐(0) 编辑
摘要:<view class="edition-container"> <view class='edition-content'> <!-- 1分类菜单--> <view class='edition-menu flex'> <block wx:key="edmenu" wx:for="{{edmenu 阅读全文
posted @ 2017-12-07 16:50 ThisCall 阅读(1579) 评论(0) 推荐(0) 编辑
摘要:let season =‘1,2,3’; // console.log(season.length) if (season){ if (season.length==1){ seasonChe1=season.substr(0); seasonChe1 = parseInt(seasonChe1) 阅读全文
posted @ 2017-12-07 09:45 ThisCall 阅读(448) 评论(0) 推荐(0) 编辑
摘要:JS data: { // 初始化滑动条数据 menuIndex:0, // 每个菜单的宽度 onlyWidth: 70, // 右侧的margin marginWidth:10, // 菜单总长 menuWidth:0, lists:[ { list: 'a1' }, { list: 'a2' } 阅读全文
posted @ 2017-12-05 09:11 ThisCall 阅读(1158) 评论(0) 推荐(0) 编辑