博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2022年8月9日

摘要: 10位:$date_time_array = getdate(1297845628); 13位: $date_time_array = getdate(1297845628123/1000); 获取时间数组内的年月日等: $hours = $date_time_array["hours"]; //小 阅读全文

posted @ 2022-08-09 10:43 学以致用的人 阅读(1222) 评论(0) 推荐(0)

摘要: $my_str = '如果事实与理论不符,就改变事实。'; //显示替换的字符串echo str_replace("如果", ".", $my_str); 前引号写需要修改的内容 多个用数组写法,后引号同样格式填写想要变成的内容,例如: echo str_replace(['如果','理论'], [ 阅读全文

posted @ 2022-08-09 10:17 学以致用的人 阅读(110) 评论(0) 推荐(0)

2022年6月16日

摘要: {if ($page_list.page['sum']>1) AND ($page_list.page['sum']>=$page_list.page['page'])}<div class="turn_pagination"> {volist name="page_list" id="page_n 阅读全文

posted @ 2022-06-16 16:30 学以致用的人 阅读(39) 评论(0) 推荐(0)

2022年4月1日

摘要: 主要是针对uniapp的video组件的灵活使用; 阅读全文

posted @ 2022-04-01 21:57 学以致用的人 阅读(1744) 评论(0) 推荐(0)

2022年3月11日

摘要: 提示:整个表格要在form标签内 定义开关模板 <div class="layui-form" lay-filter="layuiadmin-app-form-list" id="layuiadmin-app-form-list" style="padding: 20px 30px 0 0;"> < 阅读全文

posted @ 2022-03-11 18:09 学以致用的人 阅读(1056) 评论(0) 推荐(0)

2022年1月12日

摘要: <input type="number" @input="onInputPrice" @blur="onPrice" data-id="0" class="input zc_input bg_color" placeholder="请填写商品价格" :value="price" placeholde 阅读全文

posted @ 2022-01-12 17:00 学以致用的人 阅读(437) 评论(0) 推荐(0)

2022年1月4日

摘要: uniapp-npm install 进入版本后 优先运行全局安装,在HBuilder X终端输入 npm install 点击回车 阅读全文

posted @ 2022-01-04 16:48 学以致用的人 阅读(484) 评论(0) 推荐(0)

2021年11月22日

摘要: 当需要在移动端中禁止页面滚动,加入:@touchmove.prevent即可,例子如下 <template> <div @touchmove.prevent> <h3 class="main-bk">{{ title }}</h3> <p>您好!{{provider}}:</p> </div> </ 阅读全文

posted @ 2021-11-22 09:01 学以致用的人 阅读(147) 评论(0) 推荐(0)

2021年10月27日

摘要: formSelects-v4.js 链接:https://pan.baidu.com/s/1Qp-ez7CuA1cVdWhP37EA7Q 提取码:17iq只需要下文中的css文件和js文件引入到页面就行 <!DOCTYPE html> <html> <head> <meta charset="utf 阅读全文

posted @ 2021-10-27 11:14 学以致用的人 阅读(456) 评论(0) 推荐(0)

2021年10月22日

摘要: 点击前 点击后 <tr> <td class="right" data-id="{$vo.id}" id="{$vo.id}" > <div class="right_i" id="z{$vo.id}"><i class="layui-icon layui-icon-right" style="ma 阅读全文

posted @ 2021-10-22 17:38 学以致用的人 阅读(193) 评论(0) 推荐(0)