随笔分类 - 前端
摘要:需要填充select,其前端代码如下 <div class="col-sm-4"> <label for="selectBockNO">Block NO</label> <select class="form-control" id="selectBockNO" size="1" multiple
阅读全文
摘要:table初始状态 滚动起来后如下,表头被滚出了div外。 将表头设置position:sicky;top:-12px后如下,再次滚动表头就不会出现上述情况了。 详细的做法如下: thead tr:first-child { background-color: #CCC; position:stic
阅读全文
摘要:自制可配制的canvas进度条, <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>CanvasTest</title> <style type="text/css"> .ProgressBar{ width:300px; } <
阅读全文
摘要:以下代码来源网络…… var colors=["red","blue","green","black","orange","purple"] option = { title: { text: '测试', }, tooltip: { trigger: 'axis', axisPointer: { /
阅读全文
摘要:测试链接: https://echarts.apache.org/examples/zh/editor.html?c=custom-profile 操作方法,将下述代码copy到编辑窗口,即可进行相应测试。 var data = []; var dataCount = 10; var startTi
阅读全文
摘要:option = { series: [{ type: 'gauge', progress: { color:'FF0000', show: true, width: 18 }, axisLine: { lineStyle: { width: 18 } }, axisTick: { show: fa
阅读全文
摘要:来源网络,作了简单优化优化 //导出excel function toExcel(bookname,targetControlerID) { //window.location.href='<%=basePath%>pmb/excelShowInfo.do'; //获取表格 try { var ex
阅读全文
摘要:以下3步走实现加载中,来源网络…… 1.添加CSS 加载中转圈CSS #loading { margin: auto; margin-top: 10px; display: block; width: 100px; height: 100px; background: #FFFFFF; /*bord
阅读全文
摘要:1 html构建骨架,css简单化妆,js实现切换。 2 3 4 5 <!DOCTYPE html> 6 7 <html lang="en" xmlns="http://www.w3.org/1999/xhtml"> 8 <head> 9 <meta charset="utf-8" /> 10 <t
阅读全文

浙公网安备 33010602011771号