location / { root /Users/heyang/Desktop/web/static; index index.html index.htm; try_files $uri $uri/ /index.html; } ...
分类:
其他好文 时间:
2020-06-30 17:12:37
阅读次数:
64
效果图: 重要代码: 1.包裹Json元素块添加属性 overflow: auto;word-break: break-all; 2.固定宽度 <th style="width:800px;"> <p style="overflow: auto;word-break: break-all;"> Js ...
分类:
Web程序 时间:
2020-06-30 16:04:20
阅读次数:
144
procedure SendMouseWheel(destHandle: THandle; goUp: Boolean); var message: TWMMouseWheel; delta: SmallInt; begin if goUp then delta := WHEEL_DELTA els ...
分类:
其他好文 时间:
2020-06-30 14:50:46
阅读次数:
122
div的局部刷新 $(".dl").load(location.href+" .dl"); 全页面的刷新方法 window.location.reload()刷新当前页面. parent.location.reload()刷新父亲对象(用于框架) opener.location.reload()刷新 ...
分类:
Web程序 时间:
2020-06-30 12:39:42
阅读次数:
312
1.条件语句的优化 // 根据颜色找出对应的水果 // bad function test(color) { switch (color) { case 'red': return ['apple', 'strawberry']; case 'yellow': return ['banana', ' ...
分类:
Web程序 时间:
2020-06-30 12:35:04
阅读次数:
87
function selectdir: string; //如果取消取返回为空,否则返回选中的路径 var Info: TBrowseInfo; IDList: pItemIDList; Buffer: PChar; begin result := ''; Buffer := StrAlloc(MA ...
首先创建视图模型 using System.ComponentModel; using System.ComponentModel.DataAnnotations; namespace Shop.ViewModel { public class CreateEditRoleViewModel { [ ...
分类:
其他好文 时间:
2020-06-30 10:52:53
阅读次数:
43
A∩B array_intersect example: $array1 = array("a" => "green", "red", "blue"); $array2 = array("b" => "green", "yellow", "red"); $result = array_interse ...
分类:
Web程序 时间:
2020-06-30 00:46:45
阅读次数:
92
声明:此MySQL基础学习源自尚硅谷。(推荐)b站官方链接:https://www.bilibili.com/video/BV1xW411u7ax?p=1 进阶5:分组查询 语法: select 查询列表 from 表 【where 筛选条件】 group by 分组的字段 【order by 排序 ...
分类:
数据库 时间:
2020-06-29 23:09:29
阅读次数:
114
前端时间有课设,我的正好是:基于B/S模式的通用题库管理系统的设计与实现(jee实现) 然鹅,真在备考的我怎么会有精力去写一个课设呢? 于是在网上找到了一个差不多功能的,文件名为“广东海洋大学在线考试系统”的程序,于是我下载后导入,连接数据库,发现很多功能都写错了: 其中有一个404错误:Inval ...
分类:
其他好文 时间:
2020-06-29 20:01:39
阅读次数:
97