style: 更新按钮背景颜色并简化条件判断逻辑
将按钮的背景颜色从绿色(#6fc16d)更改为深灰色(#333),以提升视觉一致性。同时,简化了sql.html中的条件判断逻辑,移除冗余的`element.language_requirements`检查,使代码更简洁。
This commit is contained in:
parent
19b5313ef3
commit
524509b053
@ -410,6 +410,7 @@
|
||||
width: 100%;
|
||||
height: 36px;
|
||||
background-color: #6fc16d;
|
||||
background-color: #333;
|
||||
border-radius: 0 0 12px 12px;
|
||||
font-size: 14px;
|
||||
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
|
||||
|
@ -466,6 +466,7 @@
|
||||
height: 36px;
|
||||
// background-color: rgba(123, 140, 211, 1);
|
||||
background-color: rgba(111, 193, 109, 1);
|
||||
background-color: #333;
|
||||
border-radius: 0 0 12px 12px;
|
||||
font-size: 14px;
|
||||
|
||||
|
@ -10,8 +10,8 @@
|
||||
<script>
|
||||
console.log(aaa);
|
||||
aaa.forEach((element) => {
|
||||
if (element.language_requirements != "[]" && element.standardized_tests_requirements != "[]") {
|
||||
console.log(JSON.parse(element.language_requirements), element.program_id);
|
||||
if (element.standardized_tests_requirements != "[]") {
|
||||
console.log(JSON.parse(element.standardized_tests_requirements), element.program_id);
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
Loading…
x
Reference in New Issue
Block a user