style: 清理代码多余空白符 (#2606)

* style: 清理代码多余空白符

* update

---------

Co-authored-by: corededitor <107152508+corededitor@users.noreply.github.com>
This commit is contained in:
贤心
2025-03-31 00:08:14 +08:00
committed by GitHub
parent 9b0fa5d882
commit 5d42aaa981
36 changed files with 1051 additions and 1081 deletions

View File

@@ -1,5 +1,3 @@
<!DOCTYPE html>
<html>
<head>

View File

@@ -1,5 +1,3 @@
<!DOCTYPE html>
<html>
<head>

View File

@@ -14,18 +14,18 @@ layui.define(['jquery', 'lay'], function(exports){
// 外部接口
var colorpicker = {
config: {}
,index: layui.colorpicker ? (layui.colorpicker.index + 10000) : 0
config: {},
index: layui.colorpicker ? (layui.colorpicker.index + 10000) : 0,
// 设置全局项
,set: function(options){
set: function(options) {
var that = this;
that.config = $.extend({}, that.config, options);
return that;
}
},
// 事件
,on: function(events, callback){
on: function(events, callback) {
return layui.onevent.call(this, 'colorpicker', events, callback);
}
};

View File

@@ -6,9 +6,10 @@
layui.define('jquery', function(exports) {
"use strict";
var $ = layui.$, Flow = function(options){}
,ELEM_MORE = 'layui-flow-more'
,ELEM_LOAD = '<i class="layui-anim layui-anim-rotate layui-anim-loop layui-icon ">&#xe63e;</i>';
var $ = layui.$;
var Flow = function(options) {};
var ELEM_MORE = 'layui-flow-more';
var ELEM_LOAD = '<i class="layui-anim layui-anim-rotate layui-anim-loop layui-icon ">&#xe63e;</i>';
// 主方法
Flow.prototype.load = function(options) {

View File

@@ -1,7 +1,7 @@
/** lay 基础模块 | MIT Licensed */
;!function(window){ // gulp build: lay-header
(function(window) {
"use strict";
var MOD_NAME = 'lay'; // 模块名
@@ -967,4 +967,4 @@
});
}
}(window, window.document); // gulp build: lay-footer
})(window);

View File

@@ -1,6 +1,6 @@
/** laydate 日期与时间控件 | MIT Licensed */
// @ts-expect-error
;!function(window, document){ // gulp build: laydate-header
(function(window, document) {
"use strict";
var isLayui = window.layui && layui.define;
@@ -2756,4 +2756,4 @@
}()
);
}(window, window.document);
})(window, window.document);

View File

@@ -3,7 +3,7 @@
* 通用 Web 弹出层组件
*/
//@ts-ignore
;!function(window, undefined){
(function(window, undefined) {
"use strict";
var isLayui = window.layui && layui.define;
@@ -1915,4 +1915,4 @@ window.layui && layui.define ? (
}()
);
}(window);
})(window);

View File

@@ -1,27 +0,0 @@
/**
* layui 移动模块入口
* 构建后则为移动模块集合
*/
if(!layui['layui.mobile']){
layui.config({
base: layui.cache.dir + 'lay/modules/mobile/'
}).extend({
'layer-mobile': 'layer-mobile'
,'zepto': 'zepto'
,'upload-mobile': 'upload-mobile'
,'layim-mobile': 'layim-mobile'
});
}
layui.define([
'layer-mobile'
,'zepto'
,'layim-mobile'
], function(exports){
exports('mobile', {
layer: layui['layer-mobile'] //弹层
,layim: layui['layim-mobile'] //WebIM
});
});