From a12b0be844b87f9a11573f4807a256307a9c4bb1 Mon Sep 17 00:00:00 2001 From: puzhibing <393733352@qq.com> Date: 星期二, 12 三月 2024 18:24:50 +0800 Subject: [PATCH] Merge branch '2.0' of http://120.76.84.145:10101/gitblit/r/java/PlayPai into 2.0 --- cloud-server-management/src/main/webapp/static/modular/system/worldCupRecords/worldCupGameStatisticsListInfo.js | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/cloud-server-management/src/main/webapp/static/modular/system/worldCupRecords/worldCupGameStatisticsListInfo.js b/cloud-server-management/src/main/webapp/static/modular/system/worldCupRecords/worldCupGameStatisticsListInfo.js index 812cae9..9926e20 100644 --- a/cloud-server-management/src/main/webapp/static/modular/system/worldCupRecords/worldCupGameStatisticsListInfo.js +++ b/cloud-server-management/src/main/webapp/static/modular/system/worldCupRecords/worldCupGameStatisticsListInfo.js @@ -20,7 +20,7 @@ {title: '结果', field: 'matchResult', visible: true, align: 'center', valign: 'middle'}, {title: '操作', field: 'id', visible: true, align: 'center', valign: 'middle', formatter:function (data) { - return '<a href="#" onclick="WorldCupGameStatisticsListInfo.changeScore(\'' + data + '\')">修改比分</a>'; + return '<a href="#" onclick="WorldCupGameStatisticsListInfo.changeScore(\'' + data + '\')" style="color:blue;">修改比分</a>'; } }, ]; @@ -45,27 +45,28 @@ WorldCupGameStatisticsListInfo.changeScore = function (id) { const str = '<div class="row">\n' + ' <div class="form-group" style="height: 50px;">\n' + - ' <label class="col-sm-3 control-label">蓝方得分:</label>' + + ' <label class="col-sm-3 control-label" style="text-align: right;">蓝方得分:</label>' + ' <div class="col-sm-8">\n' + - ' <input id="blue" type="number" min="0"/>\n' + + ' <input id="blue" class="form-control" type="number" min="0"/>\n' + ' </div>\n' + ' </div>\n' + ' <div class="form-group" style="height: 50px;">\n' + - ' <label class="col-sm-3 control-label">红方得分:</label>' + + ' <label class="col-sm-3 control-label" style="text-align: right;">红方得分:</label>' + ' <div class="col-sm-8">\n' + - ' <input id="red" type="number" min="0"/>\n' + + ' <input id="red" class="form-control" type="number" min="0"/>\n' + ' </div>\n' + ' </div>\n' + ' </div>' layer.open({ type: 1 ,title: '修改比分' - ,area: ['500px', '400px'] + ,area: ['500px', '300px'] ,offset: 'auto' //具体配置参考:http://www.layui.com/doc/modules/layer.html#offset ,id: 'layerDemo' //防止重复弹出 ,content: '<div style="padding: 20px">' + str + '</div>' ,btnAlign: 'c' //按钮居中 ,shade: 0.5 //不显示遮罩 + ,btn: ['确认', '关闭'] ,yes: function (){ let blue = $('#blue').val(); let red = $('#red').val(); -- Gitblit v1.7.1