摘要: 前端用的vant,以vant结构为基础,可自行修改 public class TreeVo { private Integer pid; private Integer id; private String text; private List<TreeVo> children; //get set 阅读全文
posted @ 2021-11-20 14:27 黑~白 阅读(350) 评论(0) 推荐(0) 编辑
摘要: HTML移动端完美支持苹果、安卓,CV大法走起!!!! <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum 阅读全文
posted @ 2021-06-30 18:07 黑~白 阅读(1091) 评论(0) 推荐(0) 编辑
摘要: 方法一: pushHistory(); window.addEventListener("popstate", function(e) { alert("我监听到了浏览器的返回按钮事件啦");//根据自己的需求实现自己的功能 }, false); function pushHistory() { v 阅读全文
posted @ 2020-08-18 21:14 黑~白 阅读(3051) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE generatorConfiguration PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN" "http://m 阅读全文
posted @ 2020-03-22 21:40 黑~白 阅读(1617) 评论(0) 推荐(0) 编辑
摘要: -- ppid参数(因为和下边pid重复),查询sql自行替换,数据库名自行替换 CREATE DEFINER=`by`@`%` FUNCTION `getUserChilds`(`ppid` INT) RETURNS varchar(4000) CHARSET utf8 NO SQL BEGIN 阅读全文
posted @ 2020-03-22 21:33 黑~白 阅读(1095) 评论(1) 推荐(0) 编辑
摘要: //自动生成名字(中文) public static String getRandomJianHan(int len) { String ret = ""; for (int i = 0; i < len; i++) { String str = null; int hightPos, lowPos 阅读全文
posted @ 2020-02-27 20:37 黑~白 阅读(1201) 评论(0) 推荐(0) 编辑
摘要: CREATE DEFINER=`by`@`%` FUNCTION `fun_pinyin`(`P_NAME` VARCHAR(255)) RETURNS varchar(255) CHARSET utf8 NO SQL BEGIN DECLARE V_COMPARE VARCHAR(255); DE 阅读全文
posted @ 2020-02-27 20:21 黑~白 阅读(313) 评论(0) 推荐(0) 编辑
摘要: 复制 粘贴 改吧改吧就可用,原生js var fileObj = file.file;//原文件 file是我用vue-vant里的组件,里边有file(原文件)和content(base64) 其它写法自行百度,都是可以拿到原文件的 if(fileObj && fileObj.size && fi 阅读全文
posted @ 2019-11-05 13:45 黑~白 阅读(1594) 评论(0) 推荐(0) 编辑
摘要: //html <input type="number" v-model="phone" placeholder="请输入手机号"/> <input type="number" v-model="msgCode" placeholder="请输入验证码"/> <span style="color: # 阅读全文
posted @ 2019-10-30 19:37 黑~白 阅读(368) 评论(0) 推荐(0) 编辑
摘要: 复制 粘贴到html中打开!!!!! <!doctype html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" co 阅读全文
posted @ 2019-10-30 09:43 黑~白 阅读(1649) 评论(1) 推荐(0) 编辑