字体大小修改,问题图删除,第一版logo测试。

This commit is contained in:
fy3047957834
2021-10-24 20:18:03 +08:00
parent cd5e2a515d
commit 0a8de9da0a
13 changed files with 73 additions and 400 deletions
+5 -2
View File
@@ -357,13 +357,16 @@ class="layui-input" style="height: 25px; width:80px;margin-top: 6px">
def color_js(self):
code = ""
init_color = ""
for i in self.colors_dict.keys():
if self.colors_dict[i] == "rgb":
fl = "rgb"
init_color = "rgb(0,0,0)"
else:
fl = "hex"
init_color = "#000000"
code += """
%s = "#000000"
%s = "%s"
layui.use('colorpicker', function()
{
var $ = layui.$
@@ -381,7 +384,7 @@ class="layui-input" style="height: 25px; width:80px;margin-top: 6px">
});
})
""" % (i + '_', i, random_color(), fl, i + "_")
""" % (i + '_', init_color, i, random_color(), fl, i + "_")
return code