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

@@ -21,23 +21,23 @@ body{padding:20px;}
</div>
<div id="test1"></div>
</div>
<div class="test-box">
<div id="test2"></div>
</div>
<div class="test-box">
<div id="test3"></div>
</div>
<div class="test-box">
<div id="test4"></div>
</div>
<div class="test-box">
<div id="test5"></div>
</div>
<div class="test-box">
<div id="test6"></div>
</div>
@@ -74,7 +74,7 @@ body{padding:20px;}
console.log('close', color);
}
});
colorpicker.render({
elem: '#test2'
,color: 'rgba(218, 121, 157, 1)' //设置默认色
@@ -85,28 +85,28 @@ body{padding:20px;}
console.log(color)
}
});
colorpicker.render({
elem: '#test3'
,color: '#000'
//,alpha: true
//,format: 'rgb' //设置输入显示格式为rgb
});
colorpicker.render({
elem: '#test4'
,color: '#06eeb8'
,predefine: true //开启预定义色
,format: 'rgb'
});
colorpicker.render({
elem: '#test5'
,color: '#ffd900'
,predefine: true
,size: 'lg'
});
colorpicker.render({
elem: '#test6'
,color: '#F00'
@@ -125,4 +125,4 @@ body{padding:20px;}
})
</script>
</body>
</html>
</html>