"use strict"; const formatTagColor = (type) => { switch (type) { case "1": return "#00B97B"; case "2": return "#F59701"; case "3": return "#FF3B1D"; } }; const formatTagBgColor = (type) => { switch (type) { case "1": return "#00B97B33"; case "2": return "#F5970133"; case "3": return "#FF3B1D33"; } }; const formatTagStr = (type) => { switch (type) { case "1": return "已通过"; case "2": return "待审核"; case "3": return "已拒绝"; } }; exports.formatTagBgColor = formatTagBgColor; exports.formatTagColor = formatTagColor; exports.formatTagStr = formatTagStr;