|
@@ -127,6 +127,8 @@ function cellRender(prop: keyof SASPaper) {
|
|
: data[index - 2];
|
|
: data[index - 2];
|
|
if (op[prop] > record[prop]) {
|
|
if (op[prop] > record[prop]) {
|
|
getClass = "arrow-down-indicator";
|
|
getClass = "arrow-down-indicator";
|
|
|
|
+ } else if (op[prop] === record[prop]) {
|
|
|
|
+ getClass = "arrow-equal-indicator";
|
|
} else {
|
|
} else {
|
|
getClass = "arrow-up-indicator";
|
|
getClass = "arrow-up-indicator";
|
|
}
|
|
}
|
|
@@ -301,4 +303,9 @@ async function goCompareDetail(courseCode: string) {
|
|
color: red;
|
|
color: red;
|
|
font-weight: 700;
|
|
font-weight: 700;
|
|
}
|
|
}
|
|
|
|
+.arrow-equal-indicator::before {
|
|
|
|
+ content: "↔";
|
|
|
|
+ color: black;
|
|
|
|
+ font-weight: 700;
|
|
|
|
+}
|
|
</style>
|
|
</style>
|