胡歌为普通照片添加了新的照片
++ +
+历经打磨,@索尼中国 再献新作品—OLED电视A8F完美诞生。很开心一起参加了A8F的“首映礼”![鼓掌]正如我们演员对舞台的热爱,索尼对科技与艺术的追求才创造出了让人惊喜的作品。作为A1兄弟款,A8F沿袭了黑科技“屏幕发声技术”和高清画质,色彩的出众表现和高端音质,让人在体验的时候如同身临其境。A8F,这次的“视帝”要颁发给你! 索尼官网预售: O网页链接 索尼旗舰店预售:
+ + + + +commit 37bfeb505b600ef245e8ee424c32d84d35eaa1e1
Author: world <642747453@qq.com>
Date: Wed May 24 21:35:21 2023 +0800
暂存
diff --git a/dist/config.js b/dist/config.js
new file mode 100644
index 0000000..26dfc21
--- /dev/null
+++ b/dist/config.js
@@ -0,0 +1,139 @@
+/**
+
+ @Name:全局配置
+ @Author:贤心
+ @Site:http://www.layui.com/admin/
+ @License:LPPL(layui付费产品协议)
+
+ */
+
+layui.define(['laytpl', 'layer', 'element', 'util'], function(exports){
+ exports('setter', {
+ container: 'LAY_app' //容器ID
+ ,base: layui.cache.base //记录layuiAdmin文件夹所在路径
+ ,views: layui.cache.base + 'views/' //视图所在目录
+ ,entry: 'index' //默认视图文件名
+ ,engine: '.html' //视图文件后缀名
+ ,pageTabs: false //是否开启页面选项卡功能。单页版不推荐开启
+
+ ,name: 'layuiAdmin Pro'
+ ,tableName: 'layuiAdmin' //本地存储表名
+ ,MOD_NAME: 'admin' //模块事件名
+
+ ,debug: true //是否开启调试模式。如开启,接口异常时会抛出异常 URL 等信息
+
+ ,interceptor: false //是否开启未登入拦截
+
+ //自定义请求字段
+ ,request: {
+ tokenName: 'access_token' //自动携带 token 的字段名。可设置 false 不携带。
+ }
+
+ //自定义响应字段
+ ,response: {
+ statusName: 'code' //数据状态的字段名称
+ ,statusCode: {
+ ok: 0 //数据状态一切正常的状态码
+ ,logout: 1001 //登录状态失效的状态码
+ }
+ ,msgName: 'msg' //状态信息的字段名称
+ ,dataName: 'data' //数据详情的字段名称
+ }
+
+ //独立页面路由,可随意添加(无需写参数)
+ ,indPage: [
+ '/user/login' //登入页
+ ,'/user/reg' //注册页
+ ,'/user/forget' //找回密码
+ ,'/template/tips/test' //独立页的一个测试 demo
+ ]
+
+ //扩展的第三方模块
+ ,extend: [
+ 'echarts', //echarts 核心包
+ 'echartsTheme' //echarts 主题
+ ]
+
+ //主题配置
+ ,theme: {
+ //内置主题配色方案
+ color: [{
+ main: '#20222A' //主题色
+ ,selected: '#009688' //选中色
+ ,alias: 'default' //默认别名
+ },{
+ main: '#03152A'
+ ,selected: '#3B91FF'
+ ,alias: 'dark-blue' //藏蓝
+ },{
+ main: '#2E241B'
+ ,selected: '#A48566'
+ ,alias: 'coffee' //咖啡
+ },{
+ main: '#50314F'
+ ,selected: '#7A4D7B'
+ ,alias: 'purple-red' //紫红
+ },{
+ main: '#344058'
+ ,logo: '#1E9FFF'
+ ,selected: '#1E9FFF'
+ ,alias: 'ocean' //海洋
+ },{
+ main: '#3A3D49'
+ ,logo: '#2F9688'
+ ,selected: '#5FB878'
+ ,alias: 'green' //墨绿
+ },{
+ main: '#20222A'
+ ,logo: '#F78400'
+ ,selected: '#F78400'
+ ,alias: 'red' //橙色
+ },{
+ main: '#28333E'
+ ,logo: '#AA3130'
+ ,selected: '#AA3130'
+ ,alias: 'fashion-red' //时尚红
+ },{
+ main: '#24262F'
+ ,logo: '#3A3D49'
+ ,selected: '#009688'
+ ,alias: 'classic-black' //经典黑
+ },{
+ logo: '#226A62'
+ ,header: '#2F9688'
+ ,alias: 'green-header' //墨绿头
+ },{
+ main: '#344058'
+ ,logo: '#0085E8'
+ ,selected: '#1E9FFF'
+ ,header: '#1E9FFF'
+ ,alias: 'ocean-header' //海洋头
+ },{
+ header: '#393D49'
+ ,alias: 'classic-black-header' //经典黑
+ },{
+ main: '#50314F'
+ ,logo: '#50314F'
+ ,selected: '#7A4D7B'
+ ,header: '#50314F'
+ ,alias: 'purple-red-header' //紫红头
+ },{
+ main: '#28333E'
+ ,logo: '#28333E'
+ ,selected: '#AA3130'
+ ,header: '#AA3130'
+ ,alias: 'fashion-red-header' //时尚红头
+ },{
+ main: '#28333E'
+ ,logo: '#009688'
+ ,selected: '#009688'
+ ,header: '#009688'
+ ,alias: 'green-header' //墨绿头
+ }]
+
+ //初始的颜色索引,对应上面的配色方案数组索引
+ //如果本地已经有主题色记录,则以本地记录为优先,除非请求本地数据(localStorage)
+ ,initColorIndex: 0
+ }
+ });
+});
diff --git a/dist/controller/common.js b/dist/controller/common.js
new file mode 100644
index 0000000..c8f103f
--- /dev/null
+++ b/dist/controller/common.js
@@ -0,0 +1,2 @@
+/** layuiAdmin.pro-v1.4.0 LPPL License By https://www.layui.com/admin/ */
+ ;layui.define(function(e){var i=(layui.$,layui.layer,layui.laytpl,layui.setter,layui.view,layui.admin);i.events.logout=function(){i.req({url:"./json/user/logout.js",type:"get",data:{},done:function(e){i.exit()}})},e("common",{})});
\ No newline at end of file
diff --git a/dist/controller/console.js b/dist/controller/console.js
new file mode 100644
index 0000000..dc2ecd1
--- /dev/null
+++ b/dist/controller/console.js
@@ -0,0 +1,2 @@
+/** layuiAdmin.pro-v1.4.0 LPPL License By https://www.layui.com/admin/ */
+ ;layui.define(function(e){layui.use(["admin","carousel"],function(){var e=layui.$,t=(layui.admin,layui.carousel),a=layui.element,i=layui.device();e(".layadmin-carousel").each(function(){var a=e(this);t.render({elem:this,width:"100%",arrow:"none",interval:a.data("interval"),autoplay:a.data("autoplay")===!0,trigger:i.ios||i.android?"click":"hover",anim:a.data("anim")})}),a.render("progress")}),layui.use(["admin","carousel","echarts"],function(){var e=layui.$,t=layui.admin,a=layui.carousel,i=layui.echarts,l=[],n=[{title:{text:"今日流量趋势",x:"center",textStyle:{fontSize:14}},tooltip:{trigger:"axis"},legend:{data:["",""]},xAxis:[{type:"category",boundaryGap:!1,data:["06:00","06:30","07:00","07:30","08:00","08:30","09:00","09:30","10:00","11:30","12:00","12:30","13:00","13:30","14:00","14:30","15:00","15:30","16:00","16:30","17:00","17:30","18:00","18:30","19:00","19:30","20:00","20:30","21:00","21:30","22:00","22:30","23:00","23:30"]}],yAxis:[{type:"value"}],series:[{name:"PV",type:"line",smooth:!0,itemStyle:{normal:{areaStyle:{type:"default"}}},data:[111,222,333,444,555,666,3333,33333,55555,66666,33333,3333,6666,11888,26666,38888,56666,42222,39999,28888,17777,9666,6555,5555,3333,2222,3111,6999,5888,2777,1666,999,888,777]},{name:"UV",type:"line",smooth:!0,itemStyle:{normal:{areaStyle:{type:"default"}}},data:[11,22,33,44,55,66,333,3333,5555,12666,3333,333,666,1188,2666,3888,6666,4222,3999,2888,1777,966,655,555,333,222,311,699,588,277,166,99,88,77]}]},{title:{text:"访客浏览器分布",x:"center",textStyle:{fontSize:14}},tooltip:{trigger:"item",formatter:"{a}
{b} : {c} ({d}%)"},legend:{orient:"vertical",x:"left",data:["Chrome","Firefox","IE 8.0","Safari","其它浏览器"]},series:[{name:"访问来源",type:"pie",radius:"55%",center:["50%","50%"],data:[{value:9052,name:"Chrome"},{value:1610,name:"Firefox"},{value:3200,name:"IE 8.0"},{value:535,name:"Safari"},{value:1700,name:"其它浏览器"}]}]},{title:{text:"最近一周新增的用户量",x:"center",textStyle:{fontSize:14}},tooltip:{trigger:"axis",formatter:"{b}
新增用户:{c}"},xAxis:[{type:"category",data:["11-07","11-08","11-09","11-10","11-11","11-12","11-13"]}],yAxis:[{type:"value"}],series:[{type:"line",data:[200,300,400,610,150,270,380]}]}],r=e("#LAY-index-dataview").children("div"),o=function(e){l[e]=i.init(r[e],layui.echartsTheme),l[e].setOption(n[e]),t.resize(function(){l[e].resize()})};if(r[0]){o(0);var d=0;a.on("change(LAY-index-dataview)",function(e){o(d=e.index)}),layui.admin.on("side",function(){setTimeout(function(){o(d)},300)}),layui.admin.on("hash(tab)",function(){layui.router().path.join("")||o(d)})}}),layui.use("table",function(){var e=(layui.$,layui.table);e.render({elem:"#LAY-index-topSearch",url:"./json/console/top-search.js",page:!0,cols:[[{type:"numbers",fixed:"left"},{field:"keywords",title:"关键词",minWidth:300,templet:'
'+(t[0]||this._lang[0])+"
";var i=this.query(this.option,"toolbox.feature.dataView.optionToContent");"function"!=typeof i?this._textArea.value=this._optionToContent():(this._textArea=document.createElement("div"),this._textArea.innerHTML=i(this.option)),this._textArea.style.cssText="display:block;margin:0 0 8px 0;padding:4px 6px;overflow:auto;width:100%;height:"+(this._zrHeight-100)+"px;",this._tDom.appendChild(this._textArea),this._buttonClose.style.cssText="float:right;padding:1px 6px;",this._buttonClose.innerHTML=t[1]||this._lang[1];var n=this;this._buttonClose.onclick=function(){n.hide()},this._tDom.appendChild(this._buttonClose),this.query(this.option,"toolbox.feature.dataView.readOnly")===!1?(this._buttonRefresh.style.cssText="float:right;margin-right:10px;padding:1px 6px;",this._buttonRefresh.innerHTML=t[2]||this._lang[2],this._buttonRefresh.onclick=function(){n._save()},this._textArea.readOnly=!1,this._textArea.style.cursor="default"):(this._buttonRefresh.style.cssText="display:none", +this._textArea.readOnly=!0,this._textArea.style.cursor="text"),this._tDom.appendChild(this._buttonRefresh),this._sizeCssText="width:"+this._zrWidth+"px;height:"+this._zrHeight+"px;background-color:#fff;",this._tDom.style.cssText=this._gCssText+this._sizeCssText},_optionToContent:function(){var e,t,i,a,o,r,s=[],l="";if(this.option.xAxis)for(s=this.option.xAxis instanceof Array?this.option.xAxis:[this.option.xAxis],e=0,a=s.length;a>e;e++)if("category"==(s[e].type||"category")){for(r=[],t=0,i=s[e].data.length;i>t;t++)r.push(this.getDataFromOption(s[e].data[t]));l+=r.join(", ")+"\n\n"}if(this.option.yAxis)for(s=this.option.yAxis instanceof Array?this.option.yAxis:[this.option.yAxis],e=0,a=s.length;a>e;e++)if("category"==s[e].type){for(r=[],t=0,i=s[e].data.length;i>t;t++)r.push(this.getDataFromOption(s[e].data[t]));l+=r.join(", ")+"\n\n"}var h,m=this.option.series;for(e=0,a=m.length;a>e;e++){for(r=[],t=0,i=m[e].data.length;i>t;t++)o=m[e].data[t],h=m[e].type==n.CHART_TYPE_PIE||m[e].type==n.CHART_TYPE_MAP?(o.name||"-")+":":"",m[e].type==n.CHART_TYPE_SCATTER&&(o=this.getDataFromOption(o).join(", ")),r.push(h+this.getDataFromOption(o));l+=(m[e].name||"-")+" : \n",l+=r.join(m[e].type==n.CHART_TYPE_SCATTER?"\n":", "),l+="\n\n"}return l},_save:function(){var e=this.query(this.option,"toolbox.feature.dataView.contentToOption");if("function"!=typeof e){for(var t=this._textArea.value.split("\n"),i=[],a=0,o=t.length;o>a;a++)t[a]=this._trim(t[a]),""!==t[a]&&i.push(t[a]);this._contentToOption(i)}else e(this._textArea,this.option);this.hide();var r=this;setTimeout(function(){r.messageCenter&&r.messageCenter.dispatch(n.EVENT.DATA_VIEW_CHANGED,null,{option:r.option},r.myChart)},r.canvasSupported?800:100)},_contentToOption:function(e){var t,i,a,o,r,s,l,h=[],m=0;if(this.option.xAxis)for(h=this.option.xAxis instanceof Array?this.option.xAxis:[this.option.xAxis],t=0,o=h.length;o>t;t++)if("category"==(h[t].type||"category")){for(s=e[m].split(","),i=0,a=h[t].data.length;a>i;i++)l=this._trim(s[i]||""),r=h[t].data[i],"undefined"!=typeof h[t].data[i].value?h[t].data[i].value=l:h[t].data[i]=l;m++}if(this.option.yAxis)for(h=this.option.yAxis instanceof Array?this.option.yAxis:[this.option.yAxis],t=0,o=h.length;o>t;t++)if("category"==h[t].type){for(s=e[m].split(","),i=0,a=h[t].data.length;a>i;i++)l=this._trim(s[i]||""),r=h[t].data[i],"undefined"!=typeof h[t].data[i].value?h[t].data[i].value=l:h[t].data[i]=l;m++}var V=this.option.series;for(t=0,o=V.length;o>t;t++)if(m++,V[t].type==n.CHART_TYPE_SCATTER)for(var i=0,a=V[t].data.length;a>i;i++)s=e[m],l=s.replace(" ","").split(","),"undefined"!=typeof V[t].data[i].value?V[t].data[i].value=l:V[t].data[i]=l,m++;else{s=e[m].split(",");for(var i=0,a=V[t].data.length;a>i;i++)l=(s[i]||"").replace(/.*:/,""),l=this._trim(l),l="-"!=l&&""!==l?l-0:"-","undefined"!=typeof V[t].data[i].value?V[t].data[i].value=l:V[t].data[i]=l;m++}},_trim:function(e){var t=new RegExp("(^[\\s\\t\\xa0\\u3000]+)|([\\u3000\\xa0\\s\\t]+$)","g");return e.replace(t,"")},_stop:function(e){e=e||window.event,e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},resize:function(){this._zrHeight=this.zr.getHeight(),this._zrWidth=this.zr.getWidth(),this._tDom.offsetHeight>10&&(this._sizeCssText="width:"+this._zrWidth+"px;height:"+this._zrHeight+"px;background-color:#fff;",this._tDom.style.cssText=this._gCssText+this._sizeCssText,this._textArea.style.cssText="display:block;margin:0 0 8px 0;padding:4px 6px;overflow:auto;width:100%;height:"+(this._zrHeight-100)+"px;")},dispose:function(){window.removeEventListener?(this._tDom.removeEventListener("click",this._stop),this._tDom.removeEventListener("mousewheel",this._stop),this._tDom.removeEventListener("mousemove",this._stop),this._tDom.removeEventListener("mousedown",this._stop),this._tDom.removeEventListener("mouseup",this._stop),this._tDom.removeEventListener("touchstart",this._stop),this._tDom.removeEventListener("touchmove",this._stop),this._tDom.removeEventListener("touchend",this._stop)):(this._tDom.detachEvent("onclick",this._stop),this._tDom.detachEvent("onmousewheel",this._stop),this._tDom.detachEvent("onmousemove",this._stop),this._tDom.detachEvent("onmousedown",this._stop),this._tDom.detachEvent("onmouseup",this._stop)),this._buttonRefresh.onclick=null,this._buttonClose.onclick=null,this._hasShow&&(this._tDom.removeChild(this._textArea),this._tDom.removeChild(this._buttonRefresh),this._tDom.removeChild(this._buttonClose)),this._textArea=null,this._buttonRefresh=null,this._buttonClose=null,this.dom.firstChild.removeChild(this._tDom),this._tDom=null}},a.inherits(t,i),e("../component").define("dataView",t),t}),i("echarts/util/shape/Cross",["require","zrender/shape/Base","zrender/shape/Line","zrender/tool/util","./normalIsCover"],function(e){function t(e){i.call(this,e)}var i=e("zrender/shape/Base"),n=e("zrender/shape/Line"),a=e("zrender/tool/util");return t.prototype={type:"cross",buildPath:function(e,t){var i=t.rect;t.xStart=i.x,t.xEnd=i.x+i.width,t.yStart=t.yEnd=t.y,n.prototype.buildPath(e,t),t.xStart=t.xEnd=t.x,t.yStart=i.y,t.yEnd=i.y+i.height,n.prototype.buildPath(e,t)},getRect:function(e){return e.rect},isCover:e("./normalIsCover")},a.inherits(t,i),t}),i("zrender/shape/Sector",["require","../tool/math","../tool/computeBoundingBox","../tool/vector","./Base","../tool/util"],function(e){var t=e("../tool/math"),i=e("../tool/computeBoundingBox"),n=e("../tool/vector"),a=e("./Base"),o=n.create(),r=n.create(),s=n.create(),l=n.create(),h=function(e){a.call(this,e)};return h.prototype={type:"sector",buildPath:function(e,i){var n=i.x,a=i.y,o=i.r0||0,r=i.r,s=i.startAngle,l=i.endAngle,h=i.clockWise||!1;s=t.degreeToRadian(s),l=t.degreeToRadian(l),h||(s=-s,l=-l);var m=t.cos(s),V=t.sin(s);e.moveTo(m*o+n,V*o+a),e.lineTo(m*r+n,V*r+a),e.arc(n,a,r,s,l,!h),e.lineTo(t.cos(l)*o+n,t.sin(l)*o+a),0!==o&&e.arc(n,a,o,l,s,h),e.closePath()},getRect:function(e){if(e.__rect)return e.__rect;var a=e.x,h=e.y,m=e.r0||0,V=e.r,U=t.degreeToRadian(e.startAngle),d=t.degreeToRadian(e.endAngle),p=e.clockWise;return p||(U=-U,d=-d),m>1?i.arc(a,h,m,U,d,!p,o,s):(o[0]=s[0]=a,o[1]=s[1]=h),i.arc(a,h,V,U,d,!p,r,l),n.min(o,o,r),n.max(s,s,l),e.__rect={x:o[0],y:o[1],width:s[0]-o[0],height:s[1]-o[1]},e.__rect}},e("../tool/util").inherits(h,a),h}),i("echarts/util/shape/Candle",["require","zrender/shape/Base","zrender/tool/util","./normalIsCover"],function(e){function t(e){i.call(this,e)}var i=e("zrender/shape/Base"),n=e("zrender/tool/util");return t.prototype={type:"candle",_numberOrder:function(e,t){return t-e},buildPath:function(e,t){var i=n.clone(t.y).sort(this._numberOrder);e.moveTo(t.x,i[3]),e.lineTo(t.x,i[2]),e.moveTo(t.x-t.width/2,i[2]),e.rect(t.x-t.width/2,i[2],t.width,i[1]-i[2]),e.moveTo(t.x,i[1]),e.lineTo(t.x,i[0])},getRect:function(e){if(!e.__rect){var t=0;("stroke"==e.brushType||"fill"==e.brushType)&&(t=e.lineWidth||1);var i=n.clone(e.y).sort(this._numberOrder);e.__rect={x:Math.round(e.x-e.width/2-t/2),y:Math.round(i[3]-t/2),width:e.width+t,height:i[0]-i[3]+t}}return e.__rect},isCover:e("./normalIsCover")},n.inherits(t,i),t}),i("zrender/tool/computeBoundingBox",["require","./vector","./curve"],function(e){function t(e,t,i){if(0!==e.length){for(var n=e[0][0],a=e[0][0],o=e[0][1],r=e[0][1],s=1;s+ {{ layui.util.timeAgo(d.data.time) }} +
+这个貌似不用多介绍,因为你已经在太多的地方都看到+ +
+ 猿强,则国强。国强,则猿更强! ++
——孟子(好囖。。其实这特喵的是我说的) +







//在里面存放任意的代码
+Lay.fn.event = function(modName, events, params){
+ var that = this, result = null, filter = events.match(/\(.*\)$/)||[];
+ var set = (events = modName + '.'+ events).replace(filter, '');
+};
+
+ //代码区域
+Lay.fn.event = function(modName, events, params){
+ var that = this, result = null, filter = events.match(/\(.*\)$/)||[];
+ var set = (events = modName + '.'+ events).replace(filter, '');
+};
+
+ //代码区域
+Lay.fn.event = function(modName, events, params){
+ var that = this, result = null, filter = events.match(/\(.*\)$/)||[];
+ var set = (events = modName + '.'+ events).replace(filter, '');
+};
+ //代码区域
+Lay.fn.event = function(modName, events, params){
+ var that = this, result = null, filter = events.match(/\(.*\)$/)||[];
+ var set = (events = modName + '.'+ events).replace(filter, '');
+};
+
+
+
+ //代码区域
+Lay.fn.event = function(modName, events, params){
+ var that = this, result = null, filter = events.match(/\(.*\)$/)||[];
+ var set = (events = modName + '.'+ events).replace(filter, '');
+};
+ //代码区域
+Lay.fn.event = function(modName, events, params){
+ var that = this, result = null, filter = events.match(/\(.*\)$/)||[];
+ var set = (events = modName + '.'+ events).replace(filter, '');
+};
+//代码区域
+Lay.fn.event = function(modName, events, params){
+ var that = this, result = null, filter = events.match(/\(.*\)$/)||[];
+ var set = (events = modName + '.'+ events).replace(filter, '');
+};
+//代码区域
+Lay.fn.event = function(modName, events, params){
+ var that = this, result = null, filter = events.match(/\(.*\)$/)||[];
+ var set = (events = modName + '.'+ events).replace(filter, '');
+};
+//代码区域
+Lay.fn.event = function(modName, events, params){
+ var that = this, result = null, filter = events.match(/\(.*\)$/)||[];
+ var set = (events = modName + '.'+ events).replace(filter, '');
+};
+
+
+
+
+
+ //代码区域
+Lay.fn.event = function(modName, events, params){
+ var that = this, result = null, filter = events.match(/\(.*\)$/)||[]; //提取事件过滤器
+ var set = (events = modName + '.'+ events).replace(filter, ''); //获取事件本体名
+ var callback = function(_, item){
+ var res = item && item.call(that, params);
+ res === false && result === null && (result = false);
+ };
+ layui.each(config.event[set], callback);
+ filter[0] && layui.each(config.event[events], callback); //执行过滤器中的事件
+ return result;
+};
+
+ + layer 是 layui 中最广为人知的组件,它可以轻松应对 Web 应用开发中的各类复杂的弹出交互。有人说使用 layer 是一种情怀,一旦用上了,就离不开了。有多少人是因为 layer 才选择 layui 的呢,有一种信仰,叫:无条件相信 ++ +
有不少其他答案说是因为JS太差。我下面的答案已经说了,这不是根本性的原因。但除此之外,我还要纠正一些对JS具体问题的误解。JS当初是被作为脚本语言设计的,所以某些问题并不是JS设计得差或者是JS设计者的失误。比如var的作用域问题,并不是“错误”,而是当时绝大部分脚本语言都是这样的,如perl/php/sh等。模块的问题也是,脚本语言几乎都没有模块/命名空间功能。弱类型、for-in之类的问题也是,只不过现在用那些老的脚本语言的人比较少,所以很多人都误以为是JS才有的坑。另外有人说JS是半残语言,满足不了开发需求,1999年就该死。半残这个嘛,就夸张了。JS虽然有很多问题,但是设计总体还是优秀的。——来自知乎@贺师俊
+因为不适合。如果希望开发长期的项目或者制作产品类网站,那么就需要实现特定的设计,为了在维护项目中可以方便地按设计师要求快速修改样式,肯定会逐步编写出各种业务组件、工具类,相当于为项目自行开发一套框架。——来自知乎@Kayo
+在前端技术快速变革的今天,layui 仍然坚持语义化的组织模式,甚至于模块理念都是采用类AMD组织形式,并非是有意与时代背道而驰。layui 认为以jQuery为核心的开发方式还没有到完全消亡的时候,而早期市面上基于jQuery的UI都普通做得差强人意,所以需要有一个新的UI去重新为这一领域注入活力,并采用一些更科学的架构方式。
+
+ 因此准确地说,layui 更多是面向那些追求开发简单的前端工程师们,以及所有层次的服务端程序员。
man! 所以这个问题不要再出现了。。。
+在前端技术快速变革的今天,layui 仍然坚持语义化的组织模式,甚至于模块理念都是采用类AMD组织形式,并非是有意与时代背道而驰。layui 认为以jQuery为核心的开发方式还没有到完全消亡的时候,而早期市面上基于jQuery的UI都普通做得差强人意,所以需要有一个新的UI去重新为这一领域注入活力,并采用一些更科学的架构方式。
+
+ 因此准确地说,layui 更多是面向那些追求开发简单的前端工程师们,以及所有层次的服务端程序员。
有不少其他答案说是因为JS太差。我下面的答案已经说了,这不是根本性的原因。但除此之外,我还要纠正一些对JS具体问题的误解。JS当初是被作为脚本语言设计的,所以某些问题并不是JS设计得差或者是JS设计者的失误。比如var的作用域问题,并不是“错误”,而是当时绝大部分脚本语言都是这样的,如perl/php/sh等。模块的问题也是,脚本语言几乎都没有模块/命名空间功能。弱类型、for-in之类的问题也是,只不过现在用那些老的脚本语言的人比较少,所以很多人都误以为是JS才有的坑。另外有人说JS是半残语言,满足不了开发需求,1999年就该死。半残这个嘛,就夸张了。JS虽然有很多问题,但是设计总体还是优秀的。——来自知乎@贺师俊
+因为不适合。如果希望开发长期的项目或者制作产品类网站,那么就需要实现特定的设计,为了在维护项目中可以方便地按设计师要求快速修改样式,肯定会逐步编写出各种业务组件、工具类,相当于为项目自行开发一套框架。——来自知乎@Kayo
+man! 所以这个问题不要再出现了。。。
+据说是韩国人
+千古绝唱《滕王阁序》
+比如苏轼、李清照
+比如贤心
+伟大的科学家
+浑身散发着艺术细胞
+点击下面表格中的【签名列】,以演示单元格事件+
+ 尽管本示例中的原始数据:./json/table/demo3.js,并不符合 table 组件默认规定的数据格式,但从 layui 2.4.0 开始,新增的 parseData 回调可以将原始的任意格式的数据重新解析成 table 组件规定的数据格式。具体可以点击上方查看代码。 ++ +
此处由于是静态模拟数据,所以搜索后重载的结果没变,这并非是 BUG。实际使用时改成真实接口并根据搜索的字段筛选出对应的数据即可。+ +
| 人物 | +民族 | +出场时间 | +格言 | +
|---|---|---|---|
| 贤心 | +汉族 | +1989-10-14 | +人生似修行 | +
| 张爱玲 | +汉族 | +1920-09-30 | +于千万人之中遇见你所遇见的人,于千万年之中,时间的无涯的荒野里… | +
| Helen Keller | +拉丁美裔 | +1880-06-27 | +Life is either a daring adventure or nothing. | +
| 岳飞 | +汉族 | +1103-北宋崇宁二年 | +教科书再滥改,也抹不去“民族英雄”的事实 | +
| 孟子 | +华夏族(汉族) | +公元前-372年 | +猿强,则国强。国强,则猿更强! | +
| 人物 | +民族 | +出场时间 | +格言 | +
|---|---|---|---|
| 贤心 | +汉族 | +1989-10-14 | +人生似修行 | +
| 张爱玲 | +汉族 | +1920-09-30 | +于千万人之中遇见你所遇见的人,于千万年之中,时间的无涯的荒野里… | +
| Helen Keller | +拉丁美裔 | +1880-06-27 | +Life is either a daring adventure or nothing. | +
| 岳飞 | +汉族 | +1103-北宋崇宁二年 | +教科书再滥改,也抹不去“民族英雄”的事实 | +
| 孟子 | +华夏族(汉族) | +公元前-372年 | +猿强,则国强。国强,则猿更强! | +
| 人物 | +民族 | +出场时间 | +格言 | +
|---|---|---|---|
| 贤心 | +汉族 | +1989-10-14 | +人生似修行 | +
| 张爱玲 | +汉族 | +1920-09-30 | +于千万人之中遇见你所遇见的人,于千万年之中,时间的无涯的荒野里… | +
| Helen Keller | +拉丁美裔 | +1880-06-27 | +Life is either a daring adventure or nothing. | +
| 岳飞 | +汉族 | +1103-北宋崇宁二年 | +教科书再滥改,也抹不去“民族英雄”的事实 | +
| 孟子 | +华夏族(汉族) | +公元前-372年 | +猿强,则国强。国强,则猿更强! | +
| 人物 | +民族 | +出场时间 | +格言 | +
|---|---|---|---|
| 贤心 | +汉族 | +1989-10-14 | +人生似修行 | +
| 张爱玲 | +汉族 | +1920-09-30 | +于千万人之中遇见你所遇见的人,于千万年之中,时间的无涯的荒野里… | +
| Helen Keller | +拉丁美裔 | +1880-06-27 | +Life is either a daring adventure or nothing. | +
| 岳飞 | +汉族 | +1103-北宋崇宁二年 | +教科书再滥改,也抹不去“民族英雄”的事实 | +
| 孟子 | +华夏族(汉族) | +公元前-372年 | +猿强,则国强。国强,则猿更强! | +
| 昵称 | +加入时间 | +签名 | +
|---|---|---|
| 贤心 | +2016-11-29 | +人生就像是一场修行 | +
| 许闲心 | +2016-11-28 | +于千万人之中遇见你所遇见的人,于千万年之中,时间的无涯的荒野里… | +
| sentsin | +2016-11-27 | +Life is either a daring adventure or nothing. | +
| 昵称 | +加入时间 | +签名 | +
|---|---|---|
| 贤心 | +2016-11-29 | +人生就像是一场修行 | +
| 许闲心 | +2016-11-28 | +于千万人之中遇见你所遇见的人,于千万年之中,时间的无涯的荒野里… | +
| sentsin | +2016-11-27 | +Life is either a daring adventure or nothing. | +
| + | 联系人 | +地址 | +金额 | +操作 | +||
|---|---|---|---|---|---|---|
| 省 | +市 | +区 | +||||
| 联系人 | +金额 | +地址1 | +地址2 | +操作 | +|||||
|---|---|---|---|---|---|---|---|---|---|
| 省 | +市 | +详细 | +省 | +市 | +|||||
| 街道 | +小区 | +单元 | +|||||||
注:上述例子读取的均是静态模拟数据+
| 昵称 | +加入时间 | +签名 | +
|---|---|---|
| 贤心1 | +2016-11-28 | +人生就像是一场修行 A | +
| 贤心2 | +2016-11-29 | +人生就像是一场修行 B | +
| 贤心3 | +2016-11-30 | +人生就像是一场修行 C | +
+ 一直以来,layui 秉承无偿开源的初心,虔诚致力于服务各层次前后端 Web 开发者,在商业横飞的当今时代,这一信念从未动摇。即便身单力薄,仍然重拾决心,埋头造轮,以尽可能地填补产品本身的缺口。在过去的一段的时间,我一直在寻求持久之道,已维持你眼前所见的一切。而 layuiAdmin 是我们尝试解决的手段之一。我相信真正有爱于 layui 生态的你,定然不会错过这一拥抱吧。 +
+
子曰:君子不用防,小人防不住。请务必通过官网正规渠道,获得 layuiAdmin!
又是一年 “圣诞节”,2018 向我们正在走来
+
+ 美丽的夜晚,都是祈祷的人们。
他们等待着第二天,收到圣诞老人的礼物。
+
平安夜,天赐平安。愿真善美的事物都能永恒。+
+ 为节省服务器开销,以下示例均未配置真实上传接口,所以每次上传都会报提示:请求上传接口出现异常,这属于正常现象。 ++
+ 预览图: + ++
点击上传,或将文件拖拽到此处
+| 文件名 | +大小 | +状态 | +操作 | +
|---|
+ ++
胡歌 在 layuiadmin专区 回答问题
+ 几秒前 +彭于晏 在 layuiadmin专区 进行了 提问
+ 2天前 +贤心 将 layui 更新至 2.3.0-rc1 版本
+ 7天前 +小蚊子 在 layuiadmin专区 进行了 提问
+ 8天前 +
+ 数据表格
+
+
+ 即时通讯
+
+
+ 表单
+
+
+ 弹出层
+
+
+ 文件上传
+
+
+ 评分
+
+ 9,999,666
++ 总计访问量 + 88万 +
+33,555
++ 新下载 + 10% +
+999,666
++ 总收入 + *** +
+66,666
++ 最近一个月 + 15% +
+月访问数
+ 同上期增长 +月下载数
+ 同上期增长 +月收入
+ 同上期增长 +作为 layui 官方推出的后台模板,从初版的饱受争议,到后续的埋头丰富,逐步占据了国内后台系统应用的主要市场。
+ 5月30日 00:00 + 回复 +皓首匹夫!苍髯老贼!你枉活九十有六,一生未立寸功,只会摇唇鼓舌!助曹为虐!一条断脊之犬,还敢在我军阵前狺狺狂吠,我从未见过有如此厚颜无耻之人!
+ 5月02日 00:00 + 回复 +你以为只要长得漂亮就有男生喜欢?你以为只要有了钱漂亮妹子就自己贴上来了?你以为学霸就能找到好工作?我告诉你吧,这些都是真的!
+ 5月11日 00:00 + 回复 +人才虽高,不务学问,不能致圣。刘向十日画一水,五日画一石。
+ 4月11日 00:00 + 回复 +路本是无所谓有和无的,走的人多了,就没路了。。
+ 4月28日 00:00 + 回复 +于千万人之中遇到你所要遇到的人,于千万年之中,时间的无涯的荒野中,没有早一步,也没有晚一步,刚巧赶上了,那也没有别的话好说,唯有轻轻的问一声:“噢,原来你也在这里?”
+ 4月11日 00:00 + 回复 +| 用户名 | +最后登录时间 | +状态 | +获得赞 | +
|---|---|---|---|
| 胡歌 | +11:20 | +在线 | +22 | +
| 彭于晏 | +10:40 | +在线 | +21 | +
| 靳东 | +01:30 | +离线 | +66 | +
| 吴尊 | +21:18 | +离线 | +45 | +
| 许上进 | +09:30 | +在线 | +21 | +
| 小蚊子 | +21:18 | +在线 | +45 | +
| 贤心 | +09:30 | +在线 | +21 | +
| 排名 | +地区 | +人数 | +
|---|---|---|
| 1 | +浙江 | +62310 | +
| 2 | +上海 | +59190 | +
| 3 | +广东 | +55891 | +
| 4 | +北京 | +51919 | +
| 5 | +山东 | +39231 | +
| 6 | +湖北 | +37109 | +
66
+ +12
+ +99
+ +20
+ +5
+ +一直以来,layui 秉承无偿开源的初心,虔诚致力于服务各层次前后端 Web 开发者,在商业横飞的当今时代,这一信念从未动摇。即便身单力薄,仍然重拾决心,埋头造轮,以尽可能地填补产品本身的缺口。
+在过去的一段的时间,我一直在寻求持久之道,已维持你眼前所见的一切。而 layuiAdmin 是我们尝试解决的手段之一。我相信真正有爱于 layui 生态的你,定然不会错过这一拥抱吧。
+子曰:君子不用防,小人防不住。请务必通过官网正规渠道,获得 layuiAdmin!
+—— 贤心(layui.com)
++ layuiAdmin 受国家计算机软件著作权保护(登记号:2018SR410669),必须经官网授权才可获得源文件使用权。不得恶意分享产品源代码、二次转售等,违者将承担相应的法律责任。 ++
详见:《layui 付费产品服务条款》 +
© 2020 layui.com 版权所有
+胡歌 最近联系:1 小时前
+浙江省广州市越秀区中山六路109
+ +胡歌 最近联系:1 小时前
+浙江省广州市越秀区中山六路109
+ +胡歌 最近联系:1 小时前
+浙江省广州市越秀区中山六路109
+ +胡歌 最近联系:1 小时前
+浙江省广州市越秀区中山六路109
+ +胡歌 最近联系:1 小时前
+浙江省广州市越秀区中山六路109
+ +胡歌 最近联系:1 小时前
+浙江省广州市越秀区中山六路109
+ +胡歌 最近联系:1 小时前
+浙江省广州市越秀区中山六路109
+ +胡歌 最近联系:1 小时前
+浙江省广州市越秀区中山六路109
+ +胡歌为普通照片添加了新的照片
++ +
+历经打磨,@索尼中国 再献新作品—OLED电视A8F完美诞生。很开心一起参加了A8F的“首映礼”![鼓掌]正如我们演员对舞台的热爱,索尼对科技与艺术的追求才创造出了让人惊喜的作品。作为A1兄弟款,A8F沿袭了黑科技“屏幕发声技术”和高清画质,色彩的出众表现和高端音质,让人在体验的时候如同身临其境。A8F,这次的“视帝”要颁发给你! 索尼官网预售: O网页链接 索尼旗舰店预售:
+ + + + ++ 关键词 查询到 + 66 个结果 +
+耗时:350ms
+江湖上关于心姐 的性别一直是个谜。。江湖上关于心姐的性别一直是个谜。。江湖上关于心姐的性别一直是个谜。。江湖上关于心姐的性别一直是个谜。。江湖上关于心姐的性别一直是个谜。。江湖上关于心姐的性别一直是个谜。。江湖上关于心姐的性别一直是个谜。。江湖上关于心姐的性别一直是个谜。。江湖上关于心姐的性别一直是个谜。。江湖上关于心姐的性别一直是个谜。。
+作为 layui 官方推出的后台模板,从初版的饱受争议,到后续的埋头丰富,逐步用行动赢得了许多人的关注。目前 layuiAdmin 在国内后台系统应用市场,占据了相当大的份额,几乎已成为开发者的不二选择。这得益于 layui 本身所积累的用户规模,更得益于开发团队的付出,用我们的方式,用心做好一款产品。
+江湖上关于心姐 的性别一直是个谜。。江湖上关于心姐的性别一直是个谜。。江湖上关于心姐的性别一直是个谜。。江湖上关于心姐的性别一直是个谜。。江湖上关于心姐的性别一直是个谜。。江湖上关于心姐的性别一直是个谜。。江湖上关于心姐的性别一直是个谜。。江湖上关于心姐的性别一直是个谜。。江湖上关于心姐的性别一直是个谜。。江湖上关于心姐的性别一直是个谜。。
++ 前端 + 性别 + 谜 +
+作为 layui 官方推出的后台模板,从初版的饱受争议,到后续的埋头丰富,逐步用行动赢得了许多人的关注。目前 layuiAdmin 在国内后台系统应用市场,占据了相当大的份额,几乎已成为开发者的不二选择。这得益于 layui 本身所积累的用户规模,更得益于开发团队的付出,用我们的方式,用心做好一款产品。
+江湖上关于心姐 的性别一直是个谜。。江湖上关于心姐的性别一直是个谜。。江湖上关于心姐的性别一直是个谜。。江湖上关于心姐的性别一直是个谜。。江湖上关于心姐的性别一直是个谜。。江湖上关于心姐的性别一直是个谜。。江湖上关于心姐的性别一直是个谜。。江湖上关于心姐的性别一直是个谜。。江湖上关于心姐的性别一直是个谜。。江湖上关于心姐的性别一直是个谜。。
+'+(t[0]||this._lang[0])+"
";var i=this.query(this.option,"toolbox.feature.dataView.optionToContent");"function"!=typeof i?this._textArea.value=this._optionToContent():(this._textArea=document.createElement("div"),this._textArea.innerHTML=i(this.option)),this._textArea.style.cssText="display:block;margin:0 0 8px 0;padding:4px 6px;overflow:auto;width:100%;height:"+(this._zrHeight-100)+"px;",this._tDom.appendChild(this._textArea),this._buttonClose.style.cssText="float:right;padding:1px 6px;",this._buttonClose.innerHTML=t[1]||this._lang[1];var n=this;this._buttonClose.onclick=function(){n.hide()},this._tDom.appendChild(this._buttonClose),this.query(this.option,"toolbox.feature.dataView.readOnly")===!1?(this._buttonRefresh.style.cssText="float:right;margin-right:10px;padding:1px 6px;",this._buttonRefresh.innerHTML=t[2]||this._lang[2],this._buttonRefresh.onclick=function(){n._save()},this._textArea.readOnly=!1,this._textArea.style.cursor="default"):(this._buttonRefresh.style.cssText="display:none", +this._textArea.readOnly=!0,this._textArea.style.cursor="text"),this._tDom.appendChild(this._buttonRefresh),this._sizeCssText="width:"+this._zrWidth+"px;height:"+this._zrHeight+"px;background-color:#fff;",this._tDom.style.cssText=this._gCssText+this._sizeCssText},_optionToContent:function(){var e,t,i,a,o,r,s=[],l="";if(this.option.xAxis)for(s=this.option.xAxis instanceof Array?this.option.xAxis:[this.option.xAxis],e=0,a=s.length;a>e;e++)if("category"==(s[e].type||"category")){for(r=[],t=0,i=s[e].data.length;i>t;t++)r.push(this.getDataFromOption(s[e].data[t]));l+=r.join(", ")+"\n\n"}if(this.option.yAxis)for(s=this.option.yAxis instanceof Array?this.option.yAxis:[this.option.yAxis],e=0,a=s.length;a>e;e++)if("category"==s[e].type){for(r=[],t=0,i=s[e].data.length;i>t;t++)r.push(this.getDataFromOption(s[e].data[t]));l+=r.join(", ")+"\n\n"}var h,m=this.option.series;for(e=0,a=m.length;a>e;e++){for(r=[],t=0,i=m[e].data.length;i>t;t++)o=m[e].data[t],h=m[e].type==n.CHART_TYPE_PIE||m[e].type==n.CHART_TYPE_MAP?(o.name||"-")+":":"",m[e].type==n.CHART_TYPE_SCATTER&&(o=this.getDataFromOption(o).join(", ")),r.push(h+this.getDataFromOption(o));l+=(m[e].name||"-")+" : \n",l+=r.join(m[e].type==n.CHART_TYPE_SCATTER?"\n":", "),l+="\n\n"}return l},_save:function(){var e=this.query(this.option,"toolbox.feature.dataView.contentToOption");if("function"!=typeof e){for(var t=this._textArea.value.split("\n"),i=[],a=0,o=t.length;o>a;a++)t[a]=this._trim(t[a]),""!==t[a]&&i.push(t[a]);this._contentToOption(i)}else e(this._textArea,this.option);this.hide();var r=this;setTimeout(function(){r.messageCenter&&r.messageCenter.dispatch(n.EVENT.DATA_VIEW_CHANGED,null,{option:r.option},r.myChart)},r.canvasSupported?800:100)},_contentToOption:function(e){var t,i,a,o,r,s,l,h=[],m=0;if(this.option.xAxis)for(h=this.option.xAxis instanceof Array?this.option.xAxis:[this.option.xAxis],t=0,o=h.length;o>t;t++)if("category"==(h[t].type||"category")){for(s=e[m].split(","),i=0,a=h[t].data.length;a>i;i++)l=this._trim(s[i]||""),r=h[t].data[i],"undefined"!=typeof h[t].data[i].value?h[t].data[i].value=l:h[t].data[i]=l;m++}if(this.option.yAxis)for(h=this.option.yAxis instanceof Array?this.option.yAxis:[this.option.yAxis],t=0,o=h.length;o>t;t++)if("category"==h[t].type){for(s=e[m].split(","),i=0,a=h[t].data.length;a>i;i++)l=this._trim(s[i]||""),r=h[t].data[i],"undefined"!=typeof h[t].data[i].value?h[t].data[i].value=l:h[t].data[i]=l;m++}var V=this.option.series;for(t=0,o=V.length;o>t;t++)if(m++,V[t].type==n.CHART_TYPE_SCATTER)for(var i=0,a=V[t].data.length;a>i;i++)s=e[m],l=s.replace(" ","").split(","),"undefined"!=typeof V[t].data[i].value?V[t].data[i].value=l:V[t].data[i]=l,m++;else{s=e[m].split(",");for(var i=0,a=V[t].data.length;a>i;i++)l=(s[i]||"").replace(/.*:/,""),l=this._trim(l),l="-"!=l&&""!==l?l-0:"-","undefined"!=typeof V[t].data[i].value?V[t].data[i].value=l:V[t].data[i]=l;m++}},_trim:function(e){var t=new RegExp("(^[\\s\\t\\xa0\\u3000]+)|([\\u3000\\xa0\\s\\t]+$)","g");return e.replace(t,"")},_stop:function(e){e=e||window.event,e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},resize:function(){this._zrHeight=this.zr.getHeight(),this._zrWidth=this.zr.getWidth(),this._tDom.offsetHeight>10&&(this._sizeCssText="width:"+this._zrWidth+"px;height:"+this._zrHeight+"px;background-color:#fff;",this._tDom.style.cssText=this._gCssText+this._sizeCssText,this._textArea.style.cssText="display:block;margin:0 0 8px 0;padding:4px 6px;overflow:auto;width:100%;height:"+(this._zrHeight-100)+"px;")},dispose:function(){window.removeEventListener?(this._tDom.removeEventListener("click",this._stop),this._tDom.removeEventListener("mousewheel",this._stop),this._tDom.removeEventListener("mousemove",this._stop),this._tDom.removeEventListener("mousedown",this._stop),this._tDom.removeEventListener("mouseup",this._stop),this._tDom.removeEventListener("touchstart",this._stop),this._tDom.removeEventListener("touchmove",this._stop),this._tDom.removeEventListener("touchend",this._stop)):(this._tDom.detachEvent("onclick",this._stop),this._tDom.detachEvent("onmousewheel",this._stop),this._tDom.detachEvent("onmousemove",this._stop),this._tDom.detachEvent("onmousedown",this._stop),this._tDom.detachEvent("onmouseup",this._stop)),this._buttonRefresh.onclick=null,this._buttonClose.onclick=null,this._hasShow&&(this._tDom.removeChild(this._textArea),this._tDom.removeChild(this._buttonRefresh),this._tDom.removeChild(this._buttonClose)),this._textArea=null,this._buttonRefresh=null,this._buttonClose=null,this.dom.firstChild.removeChild(this._tDom),this._tDom=null}},a.inherits(t,i),e("../component").define("dataView",t),t}),i("echarts/util/shape/Cross",["require","zrender/shape/Base","zrender/shape/Line","zrender/tool/util","./normalIsCover"],function(e){function t(e){i.call(this,e)}var i=e("zrender/shape/Base"),n=e("zrender/shape/Line"),a=e("zrender/tool/util");return t.prototype={type:"cross",buildPath:function(e,t){var i=t.rect;t.xStart=i.x,t.xEnd=i.x+i.width,t.yStart=t.yEnd=t.y,n.prototype.buildPath(e,t),t.xStart=t.xEnd=t.x,t.yStart=i.y,t.yEnd=i.y+i.height,n.prototype.buildPath(e,t)},getRect:function(e){return e.rect},isCover:e("./normalIsCover")},a.inherits(t,i),t}),i("zrender/shape/Sector",["require","../tool/math","../tool/computeBoundingBox","../tool/vector","./Base","../tool/util"],function(e){var t=e("../tool/math"),i=e("../tool/computeBoundingBox"),n=e("../tool/vector"),a=e("./Base"),o=n.create(),r=n.create(),s=n.create(),l=n.create(),h=function(e){a.call(this,e)};return h.prototype={type:"sector",buildPath:function(e,i){var n=i.x,a=i.y,o=i.r0||0,r=i.r,s=i.startAngle,l=i.endAngle,h=i.clockWise||!1;s=t.degreeToRadian(s),l=t.degreeToRadian(l),h||(s=-s,l=-l);var m=t.cos(s),V=t.sin(s);e.moveTo(m*o+n,V*o+a),e.lineTo(m*r+n,V*r+a),e.arc(n,a,r,s,l,!h),e.lineTo(t.cos(l)*o+n,t.sin(l)*o+a),0!==o&&e.arc(n,a,o,l,s,h),e.closePath()},getRect:function(e){if(e.__rect)return e.__rect;var a=e.x,h=e.y,m=e.r0||0,V=e.r,U=t.degreeToRadian(e.startAngle),d=t.degreeToRadian(e.endAngle),p=e.clockWise;return p||(U=-U,d=-d),m>1?i.arc(a,h,m,U,d,!p,o,s):(o[0]=s[0]=a,o[1]=s[1]=h),i.arc(a,h,V,U,d,!p,r,l),n.min(o,o,r),n.max(s,s,l),e.__rect={x:o[0],y:o[1],width:s[0]-o[0],height:s[1]-o[1]},e.__rect}},e("../tool/util").inherits(h,a),h}),i("echarts/util/shape/Candle",["require","zrender/shape/Base","zrender/tool/util","./normalIsCover"],function(e){function t(e){i.call(this,e)}var i=e("zrender/shape/Base"),n=e("zrender/tool/util");return t.prototype={type:"candle",_numberOrder:function(e,t){return t-e},buildPath:function(e,t){var i=n.clone(t.y).sort(this._numberOrder);e.moveTo(t.x,i[3]),e.lineTo(t.x,i[2]),e.moveTo(t.x-t.width/2,i[2]),e.rect(t.x-t.width/2,i[2],t.width,i[1]-i[2]),e.moveTo(t.x,i[1]),e.lineTo(t.x,i[0])},getRect:function(e){if(!e.__rect){var t=0;("stroke"==e.brushType||"fill"==e.brushType)&&(t=e.lineWidth||1);var i=n.clone(e.y).sort(this._numberOrder);e.__rect={x:Math.round(e.x-e.width/2-t/2),y:Math.round(i[3]-t/2),width:e.width+t,height:i[0]-i[3]+t}}return e.__rect},isCover:e("./normalIsCover")},n.inherits(t,i),t}),i("zrender/tool/computeBoundingBox",["require","./vector","./curve"],function(e){function t(e,t,i){if(0!==e.length){for(var n=e[0][0],a=e[0][0],o=e[0][1],r=e[0][1],s=1;s此为自定义的【查找】页面,因需求不一,所以官方暂不提供该模版结构与样式,实际使用时,可移至该文件到你的项目中,对页面自行把控。 ++
文件所在目录(相对于layui.js):/css/modules/layim/html/find.html
注意:这些都是模拟数据,实际使用时,需将其中的模拟接口改为你的项目真实接口。 ++
该模版文件所在目录(相对于layui.js):/css/modules/layim/html/msgbox.html