1 awt Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize(); double width = screenSize.getWidth(); double height = screenSize.getHeight() ...
分类:
编程语言 时间:
2020-05-31 12:58:52
阅读次数:
60
vardialog=layer.open({type:2,title:‘客户订单‘,content:‘ordersForm.jsp‘,maxmin:true,area:layui.setter.area,btn:[‘保存‘,‘取消‘],btnAlign:‘c‘,yes:function(index,layero){variframeWindow=window[‘layui-layer-iframe
分类:
其他好文 时间:
2020-05-31 09:19:10
阅读次数:
69
Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the hist ...
分类:
其他好文 时间:
2020-05-30 23:25:31
阅读次数:
106
84. 柱状图中最大的矩形 题目来源:力扣(LeetCode)https://leetcode-cn.com/problems/largest-rectangle-in-histogram/ 题目 给定 n 个非负整数,用来表示柱状图中各个柱子的高度。每个柱子彼此相邻,且宽度为 1 。 求在该柱状图 ...
分类:
编程语言 时间:
2020-05-30 20:17:18
阅读次数:
73
https://leetcode-cn.com/problems/largest-rectangle-in-histogram/ 这个题没有做啥要求,暴力也能过。 其实这个题有点像接雨水一样,看题解有人用扫描法也做出来了。但是还是用单调栈的方法吧,(明明22天前做出来了,今天却做不出来???) pu ...
分类:
其他好文 时间:
2020-05-30 10:33:39
阅读次数:
55
引入 area.js /* * 全国三级城市联动 js版 */ function Dsy(){ this.Items = {}; } Dsy.prototype.add = function(id,iArray){ this.Items[id] = iArray; } Dsy.prototype.E ...
分类:
Web程序 时间:
2020-05-29 09:34:57
阅读次数:
290
AR1配置 ospf 1 router-id 1.1.1.1 area 0.0.0.1 network 10.1.12.0 0.0.0.255 AR2配置 ospf 1 router-id 2.2.2.2 area 0.0.0.0 network 10.1.23.0 0.0.0.255 area 0 ...
分类:
其他好文 时间:
2020-05-27 22:06:04
阅读次数:
145
showRec:function(obj){window.formData=null;layer.open({type:2,title:‘客户信息‘,content:‘customerShow.jsp‘,maxmin:true,area:layui.setter.area_percent,offset:‘t‘,btn:[‘关闭‘],success:function(layero,index){wi
分类:
其他好文 时间:
2020-05-26 23:25:49
阅读次数:
99
绘图程序结构简单,逻辑也不复杂,例如在工具栏 (tool_frame) 中选择画线 (draw_line), 在选项栏(top_frame) 设置,然后在画布 (canvas_frame) 中进行绘制即可。其他如画方画园等,无论是操作还是实现,都基本类同。 1. 效果图: 2. 代码: import ...
分类:
其他好文 时间:
2020-05-24 19:21:12
阅读次数:
43
目录介绍 01.组件传值遇到坑 02.父组件传值给子组件 03.子组件传值给父组件 01.组件传值遇到坑 子组件给父组件传值注意点 注意子组件触发事件定义的方法,首先在父组件中需要绑定子组件内部对应事件,然后一定要和父控件接受的保持一致,否则无法传递数据。 //在area.vue中,进行事件触发,传 ...
分类:
其他好文 时间:
2020-05-24 12:09:10
阅读次数:
51