Commit 3d8b0a0b authored by daniel's avatar daniel

fix(location): 修复赛事配置

parent 25984274
This diff is collapsed.
This diff is collapsed.
...@@ -18,7 +18,7 @@ $(function () { ...@@ -18,7 +18,7 @@ $(function () {
// 为当前点击的图片添加 active-style 样式 // 为当前点击的图片添加 active-style 样式
$(this).addClass('active-style'); $(this).addClass('active-style');
// 将选中的样式值存储到隐藏的 input 中 // 将选中的样式值存储到隐藏的 input 中
$("#detailStyle").val(selectedStyle); $("#detailStyle").val(selectedStyle ?? '1');
}); });
// by ggb 2025-05-30 是否显示 底部的tab // by ggb 2025-05-30 是否显示 底部的tab
$('#isShowTabSwitch').change(function () { $('#isShowTabSwitch').change(function () {
...@@ -38,7 +38,7 @@ $(function () { ...@@ -38,7 +38,7 @@ $(function () {
return; return;
} }
const param = { const param = {
detailStyle: detailStyle ?? 'style-1', detailStyle: detailStyle ?? '1',
cmptId, cmptId,
logo, logo,
cmptbgColor: "#" + bg, cmptbgColor: "#" + bg,
...@@ -165,7 +165,7 @@ function changeLogoImg(imgDomNName, inputDomName, top, left, width, height) { ...@@ -165,7 +165,7 @@ function changeLogoImg(imgDomNName, inputDomName, top, left, width, height) {
$('#cmptLogo').addClass('cmpt-logo'); $('#cmptLogo').addClass('cmpt-logo');
$('#cmptLogo').removeClass("logo"); $('#cmptLogo').removeClass("logo");
} else { } else {
layer.msg(res.msg, {icon: 2}); layer.msg(res.msg, { icon: 2 });
} }
}, },
beforeSend: () => { beforeSend: () => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment