字体大小修改,问题图删除,第一版logo测试。
This commit is contained in:
+5
-2
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user