浏览代码

update color

master
Jason Chuang 1年前
父节点
当前提交
8977686082
共有 1 个文件被更改,包括 7 次插入7 次删除
  1. +7
    -7
      src/utils/statusUtils/PublicNoteStatusUtils.js

+ 7
- 7
src/utils/statusUtils/PublicNoteStatusUtils.js 查看文件

@@ -28,9 +28,9 @@ export function getStatusByText(status, creditor) {
case "resubmit": case "resubmit":
return getStatusTag({ color: "#757373", text: "需重新提交" }) return getStatusTag({ color: "#757373", text: "需重新提交" })
case "cancelled": case "cancelled":
return getStatusTag({ color: "#f5a83d", text: "已取消" })
return getStatusTag({ color: "#909497", text: "已取消" })
case "withdrawn": case "withdrawn":
return getStatusTag({ color: "#8a8784", text: "已撤銷" })
return getStatusTag({ color: "#909497", text: "已撤銷" })
default: default:
return getStatusTag({ text: status }) return getStatusTag({ text: status })
} }
@@ -42,18 +42,18 @@ export function getStatusEng(params) {
export function getStatusByTextEng(status, creditor) { export function getStatusByTextEng(status, creditor) {
switch (status) { switch (status) {
case "submitted": case "submitted":
return getStatusTag({ color: "#f5a83d", text: "Submitted" })
return getStatusTag({ color: "#F1C40F", text: "Submitted" })
case "reviewed": case "reviewed":
return getStatusTag({ color: "#0C489E", text: "Reviewed" }) return getStatusTag({ color: "#0C489E", text: "Reviewed" })
case "confirmed": case "confirmed":
if (creditor) if (creditor)
return getStatusTag({ color: "#22a13f", text: "Pending Publish" })
return getStatusTag({ color: "#3498DB", text: "Pending Publish" })
else else
return getStatusTag({ color: "#22a13f", text: "Pending Payment" })
return getStatusTag({ color: "#F39C12", text: "Pending Payment" })
case "published": case "published":
return getStatusTag({ color: "#22a13f", text: "Pending Payment" })
return getStatusTag({ color: "#F39C12", text: "Pending Payment" })
case "paid": case "paid":
return getStatusTag({ color: "#22a13f", text: "Pending Publish" })
return getStatusTag({ color: "#3498DB", text: "Pending Publish" })
case "complated": case "complated":
return getStatusTag({ color: "#8a8784", text: "Completed" }) return getStatusTag({ color: "#8a8784", text: "Completed" })
case "notAccepted": case "notAccepted":


正在加载...
取消
保存