layui switch监听事件 LayUi使用switch开关,动态的去控制它是否被启用 layui中的switch开关,能够去显示当前的状态,是否是启用还是停用。 效果如下 前台代码 <script type="text/html" id="switchTpl"> <input id="chec ...
分类:
其他好文 时间:
2020-12-17 12:33:30
阅读次数:
2
在MybatisPlusConfig中新增bean(3.1.1以下) import com.baomidou.mybatisplus.core.injector.ISqlInjector; import com.baomidou.mybatisplus.extension.injector.Logi ...
分类:
其他好文 时间:
2020-12-17 12:18:23
阅读次数:
2
日常踩坑-jquery的ajax映射json问题 背景: 觉得写项目一直采用自己熟悉的写法,终究会停步不前,以前经常使用$.post()的方式向后端传输数据,这次洋气点,使用ajax,但是问题就出来了。 问题 $.ajax({ url: "/****/****/****/save", type: " ...
分类:
Web程序 时间:
2020-12-17 12:13:28
阅读次数:
2
text属性的方法 1 2 3 4 driver.find_element_by_android_uiautomator('new UiSelector().text("字节跳动公司")').click() #text 精准定位全文 driver.find_element_by_android_ui ...
分类:
移动开发 时间:
2020-12-17 12:09:52
阅读次数:
3
https://developers.weixin.qq.com/community/develop/doc/0000021e37c71054356781ba551c00 例子 {"touser":"${OPENID}","msgtype":"text","text":{"content":"本文内 ...
分类:
微信 时间:
2020-12-16 12:49:10
阅读次数:
3
1.根据屏幕大小改变背景颜色 <style type="text/css"> /* 媒体查询可以根据不同的屏幕尺寸改变不同的样式 */ /* 屏幕最大宽度就是800像素 */ @media screen and (max-width: 399px) { body { background: pink ...
分类:
其他好文 时间:
2020-12-16 12:28:25
阅读次数:
3
提示:文章代码可左右滑动5设置属性值5.1设置任何属性的值使用th:attr属性,它有能力改变标签的属性值:1<formaction="subscribe.html"th:attr="action=@{/subscribe}">2<fieldset>3<inputtype="text"name="email"/>4<inputtype="submit"va
分类:
其他好文 时间:
2020-12-16 12:23:13
阅读次数:
2
![](https://s4.51cto.com/images/blog/202012/10/778edb1fb296310281acdd51748fce3a.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3p
分类:
编程语言 时间:
2020-12-16 12:20:17
阅读次数:
5
1.打开Windows->preferences->Editors->Text Editors 2.点击C/C++或JAVA选择Formatter->New... 3.创建新的样式 4.设置为Space only. 5.样式即变为 ...
分类:
其他好文 时间:
2020-12-16 12:03:52
阅读次数:
2
一、局部刷新案例 jsp: 1 <%@ page language="java" contentType="text/html; charset=UTF-8" 2 pageEncoding="UTF-8"%> 3 4 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4 ...
分类:
Web程序 时间:
2020-12-16 11:55:14
阅读次数:
3