上一页 1 ··· 109 110 111 112 113 114 115 116 117 ··· 129 下一页
摘要: 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 阅读(28861) 评论(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 阅读(11092) 评论(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 阅读(795) 评论(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 阅读(273) 评论(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 阅读(1204) 评论(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 阅读(2284) 评论(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 阅读(1556) 评论(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 阅读(1597) 评论(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 阅读(463) 评论(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 阅读(1169) 评论(0) 推荐(0)
上一页 1 ··· 109 110 111 112 113 114 115 116 117 ··· 129 下一页