04 2022 档案

摘要:通过js向layui form 中写入下拉框中时总是显示不出来 总是显示不出来因为有些时候,你的有些表单元素可能是动态插入的。这时 form模块的自动化渲染是会对其失效的。虽然 layui不支持双向绑定机制,但没有关系,你只需要执行form.render(type,filter);方法即可。 for 阅读全文
posted @ 2022-04-29 14:34 早早早点睡觉 阅读(198) 评论(0) 推荐(0) 编辑
摘要://获取微信access_token public function access_token(){ $appid ='***********'; $secret = '******************'; $url = "https://api.weixin.qq.com/cgi-bin/to 阅读全文
posted @ 2022-04-24 10:30 早早早点睡觉 阅读(909) 评论(0) 推荐(0) 编辑
摘要:$url = "https://api.weixin.qq.com/cgi-bin;//file_get_contents发送get请求 json_decode转换数据 $data = json_decode(file_get_contents($url,true),true); 阅读全文
posted @ 2022-04-24 09:39 早早早点睡觉 阅读(1172) 评论(0) 推荐(0) 编辑
摘要:/** * 发送post请求 * @param string $url 请求地址 * @param array $post_data post键值对数据 * @return string */ function send_post( $url , $post_data ) { $postdata = 阅读全文
posted @ 2022-04-24 09:37 早早早点睡觉 阅读(90) 评论(0) 推荐(0) 编辑
摘要:添加css样式 -webkit-tap-highlight-color: rgba(0,0,0,0); 即可 阅读全文
posted @ 2022-04-21 15:29 早早早点睡觉 阅读(95) 评论(0) 推荐(0) 编辑
摘要:html <div class="zsjm_one_one_one"> <span class="zsjm_one_one_one_span">所在地区: </span> <div class="zsjm_one_one_one_one"> <select id="pro" class="lv_si 阅读全文
posted @ 2022-04-19 12:00 早早早点睡觉 阅读(124) 评论(0) 推荐(0) 编辑
摘要:1、php 截取特定字符后面的内容 可以使用函数strripos,获取一个字符串在另一个字符串中第一次出现的位置。 $number = '1_0';$result = substr($number,strripos($number,"_")+1);echo $result; 结果输出 0 2、php 阅读全文
posted @ 2022-04-15 11:43 早早早点睡觉 阅读(1280) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示