try { bool flag = e.Delta > 0; if (flag) { HTuple htuple = 1.0; HTuple htuple2 = 1.0; HTuple htuple3 = 1.0; bool flag2 = htuple >= 32.0; if (flag2) { ...
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Document</title> <style type="text/css"> div { position: relative; width: 200px; h ...
分类:
Web程序 时间:
2020-05-19 13:06:07
阅读次数:
140
实现 <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>聊天气泡</title> <link rel="stylesheet" type="text/css" href="layui/css/layui.css" /> <scri ...
分类:
其他好文 时间:
2020-05-19 00:33:21
阅读次数:
57
CSS sprites精灵图的使用及其作用 所谓CSS sprites精灵图,就是将网页的一些图片整合到一张图片文件中,再利用CSS的 “background image”,"background repeat","background position"的组合进行背景定位,background p ...
分类:
Web程序 时间:
2020-05-18 22:35:22
阅读次数:
208
let bodyEl = document.body let top = 0 function stopBodyScroll (isFixed) { if (isFixed) { top = window.scrollY bodyEl.style.position = 'fixed' bodyEl. ...
分类:
其他好文 时间:
2020-05-18 19:08:07
阅读次数:
71
表单校验,不控制时间选择器上的时间,代码如下: <template> <Form ref="formItem" :model="formItem" :rules="rulesForm" :label-width="170" label-position="left" > <!-- 临时开放日期 -- ...
分类:
其他好文 时间:
2020-05-17 17:54:33
阅读次数:
207
循环双向链结表 插入元素 int insert(DList *L, ElemType e) { Link current = L->head; Link previous = L->tail; Link newNode; int size = getSize(*L); int position=0; ...
分类:
其他好文 时间:
2020-05-16 19:08:45
阅读次数:
46
单链线性表的查找元素 int search(List L, ElemType e) { Link link = L; int position=0;。 while (link!=NULL) { if (link->elem==e) return position; // 搜寻成功,返回元素 e 的位 ...
分类:
其他好文 时间:
2020-05-16 18:50:51
阅读次数:
62
上图: 上代码: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> <style type="text/css"> .container{ width: 150px; height: 30px; position ...
分类:
Web程序 时间:
2020-05-16 13:59:14
阅读次数:
68
对于post请求,body里面的数据类型分为四类,最常用的是第一种。 1、application/json; {"input1":"aaa","input2":"bbb","remember":false} 2、application/x-www-form-urlencoded;(浏览器原生表单) ...
分类:
其他好文 时间:
2020-05-15 15:56:26
阅读次数:
72