diff --git a/admin/src/styles/icon/iconfont.css b/admin/src/styles/icon/iconfont.css index 4d1ec68a9..e718b38fa 100644 --- a/admin/src/styles/icon/iconfont.css +++ b/admin/src/styles/icon/iconfont.css @@ -1,8 +1,8 @@ @font-face { font-family: "iconfont"; /* Project id 3883393 */ - src: url('//at.alicdn.com/t/c/font_3883393_xso0134odj.woff2?t=1732777083024') format('woff2'), - url('//at.alicdn.com/t/c/font_3883393_xso0134odj.woff?t=1732777083024') format('woff'), - url('//at.alicdn.com/t/c/font_3883393_xso0134odj.ttf?t=1732777083024') format('truetype'); + src: url('//at.alicdn.com/t/c/font_3883393_veozpkoyxa.woff2?t=1737014488882') format('woff2'), + url('//at.alicdn.com/t/c/font_3883393_veozpkoyxa.woff?t=1737014488882') format('woff'), + url('//at.alicdn.com/t/c/font_3883393_veozpkoyxa.ttf?t=1737014488882') format('truetype'); } .iconfont { @@ -13,6 +13,306 @@ -moz-osx-font-smoothing: grayscale; } + .iconshangchengshequ:before { + content: "\e880"; + } + + .iconhuiyuanka:before { + content: "\e882"; + } + + .iconshangmenfuwu:before { + content: "\e883"; + } + + .iconweiguanwang:before { + content: "\e885"; + } + + .iconzhongcaoshequ:before { + content: "\e886"; + } + + .iconlvyou:before { + content: "\e887"; + } + + .iconyingyong2:before { + content: "\e615"; + } + + .iconzhandianguanli:before { + content: "\e87c"; + } + + .iconyonghu1:before { + content: "\e87d"; + } + + .iconshouye2:before { + content: "\e87e"; + } + + .iconshezhi11:before { + content: "\e87f"; + } + + .icona-kaifa1:before { + content: "\eb58"; + } + + .iconditu2:before { + content: "\e87b"; + } + + .iconkaifamyi:before { + content: "\e851"; + } + + .iconditushezhi:before { + content: "\e863"; + } + + .iconbanquanshezhi:before { + content: "\e85c"; + } + + .iconcaozuorizhi:before { + content: "\e85d"; + } + + .iconchajiankaifa1:before { + content: "\e85e"; + } + + .iconbujushezhi:before { + content: "\e85f"; + } + + .iconcunchushezhi:before { + content: "\e860"; + } + + .iconchajianguanli:before { + content: "\e861"; + } + + .iconhuanjingjiance1:before { + content: "\e862"; + } + + .iconguanliyuanjiaose:before { + content: "\e864"; + } + + .iconguanliyuan:before { + content: "\e865"; + } + + .icongongjuguanli:before { + content: "\e866"; + } + + .icondaimashengcheng1:before { + content: "\e867"; + } + + .icondenglushezhi:before { + content: "\e868"; + } + + .iconjichushezhi1:before { + content: "\e869"; + } + + .iconpingtaicaidan:before { + content: "\e86a"; + } + + .iconkaifazhekey:before { + content: "\e86b"; + } + + .iconjihuarenwu1:before { + content: "\e86c"; + } + + .iconquanxianshezhi:before { + content: "\e86d"; + } + + .iconsucaiguanli1:before { + content: "\e86e"; + } + + .iconwangzhan2:before { + content: "\e86f"; + } + + .iconshouquanxinxi:before { + content: "\e870"; + } + + .iconwangzhanshezhi:before { + content: "\e871"; + } + + .iconshujuzidian:before { + content: "\e872"; + } + + .iconzhandianliebiao:before { + content: "\e873"; + } + + .iconxitongcaidan:before { + content: "\e874"; + } + + .iconyingyongcaidan:before { + content: "\e875"; + } + + .iconkaifangpingtaipeizhi:before { + content: "\e876"; + } + + .iconzhandiancaidan:before { + content: "\e877"; + } + + .iconzhandiantaocan:before { + content: "\e878"; + } + + .iconweixinkaifangpingtai:before { + content: "\e879"; + } + + .iconxiaochengxutongbu:before { + content: "\e87a"; + } + + .iconpeizhimyi:before { + content: "\e850"; + } + + .iconkaifaxyi:before { + content: "\e852"; + } + + .iconyingyongmyi:before { + content: "\e853"; + } + + .iconyonghuxyi:before { + content: "\e854"; + } + + .iconyonghumyi:before { + content: "\e855"; + } + + .iconyingyongxyi:before { + content: "\e856"; + } + + .iconpeizhixyi:before { + content: "\e857"; + } + + .iconshouyexyi:before { + content: "\e858"; + } + + .iconshouyemyi:before { + content: "\e859"; + } + + .iconzhandian-1:before { + content: "\e85a"; + } + + .iconzhandian:before { + content: "\e85b"; + } + + .icona-duihaopc30:before { + content: "\e84e"; + } + + .icona-duoxuanxiangpc301:before { + content: "\e84f"; + } + + .icona-duoxuanxiangpc30-1:before { + content: "\e84d"; + } + + .icona-duoxuanxiangpc30:before { + content: "\e72d"; + } + + .icona-shenfenzhengpc30:before { + content: "\e83f"; + } + + .icona-shijianpc30-1:before { + content: "\e840"; + } + + .icona-danhangwenbenpc30:before { + content: "\e841"; + } + + .icona-shoujipc30:before { + content: "\e842"; + } + + .icona-youxiangpc30:before { + content: "\e843"; + } + + .icona-biaodantijiaopc30:before { + content: "\e844"; + } + + .icona-shijianfanweipc30:before { + content: "\e845"; + } + + .icona-duohangwenben-1pc30:before { + content: "\e846"; + } + + .icona-danhangwenben-1pc30:before { + content: "\e847"; + } + + .icona-tupianpc30:before { + content: "\e848"; + } + + .icona-shuzipc30-1:before { + content: "\e849"; + } + + .icona-riqifanweipc30:before { + content: "\e84a"; + } + + .icona-danxuanxiangpc30:before { + content: "\e84b"; + } + + .icona-riqipc30:before { + content: "\e84c"; + } + + .iconyuezhifu:before { + content: "\e680"; + } + .iconshujutongji:before { content: "\e835"; } diff --git a/admin/src/styles/icon/official-iconfont.css b/admin/src/styles/icon/official-iconfont.css index 8d066b902..a78c6a0fd 100644 --- a/admin/src/styles/icon/official-iconfont.css +++ b/admin/src/styles/icon/official-iconfont.css @@ -1,8 +1,8 @@ @font-face { font-family: "nc-iconfont"; /* Project id 4567203 */ - src: url('//at.alicdn.com/t/c/font_4567203_vnozyu9086.woff2?t=1734084780804') format('woff2'), - url('//at.alicdn.com/t/c/font_4567203_vnozyu9086.woff?t=1734084780804') format('woff'), - url('//at.alicdn.com/t/c/font_4567203_vnozyu9086.ttf?t=1734084780804') format('truetype'); + src: url('//at.alicdn.com/t/c/font_4567203_1gdtkv2t1dd.woff2?t=1740126778258') format('woff2'), + url('//at.alicdn.com/t/c/font_4567203_1gdtkv2t1dd.woff?t=1740126778258') format('woff'), + url('//at.alicdn.com/t/c/font_4567203_1gdtkv2t1dd.ttf?t=1740126778258') format('truetype'); } .nc-iconfont { @@ -13,6 +13,122 @@ -moz-osx-font-smoothing: grayscale; } +.nc-icon-shequfenleiV6xx1:before { + content: "\e862"; +} + +.nc-icon-shequneirongV6xx:before { + content: "\e861"; +} + +.nc-icon-baobeikuV6xx:before { + content: "\e860"; +} + +.nc-icon-shezhiV6xx2:before { + content: "\e85f"; +} + +.nc-icon-shezhiV6mm1:before { + content: "\e85e"; +} + +.nc-icon-shequfenleiV6xx:before { + content: "\e84c"; +} + +.nc-icon-cuohaoV6mm1:before { + content: "\e85a"; +} + +.nc-icon-cuohao-3V6mm:before { + content: "\e859"; +} + +.nc-icon-a-xiangyouV6mm:before { + content: "\e849"; +} + +.nc-icon-a-xiangyouV6xx1:before { + content: "\e797"; +} + +.nc-icon-xiaoxiV6mm1:before { + content: "\e83c"; +} + +.nc-icon-guanbiV6xx2:before { + content: "\e857"; +} + +.nc-icon-guanbiV6xx-1:before { + content: "\e856"; +} + +.nc-icon-fenxiangV6mm2:before { + content: "\e854"; +} + +.nc-icon-fenxiangV6xx4:before { + content: "\e853"; +} + +.nc-icon-a-sousuoV6xx-34:before { + content: "\e855"; +} + +.nc-icon-sousuoV6xx11:before { + content: "\e851"; +} + +.nc-icon-a-shipinV6xx-28-1:before { + content: "\e850"; +} + +.nc-icon-a-gengduoV6xx-28:before { + content: "\e84f"; +} + +.nc-icon-fenxiangV6mm1:before { + content: "\e847"; +} + +.nc-icon-tupiandaohangpc:before { + content: "\e7dc"; +} + +.nc-icon-shequfenleiV6xx-1:before { + content: "\e84a"; +} + +.nc-icon-gouwuV6xx1:before { + content: "\e844"; +} + +.nc-icon-a-xiangyouV6xx2:before { + content: "\e848"; +} + +.nc-icon-dianxinxiV6xx1:before { + content: "\e842"; +} + +.nc-icon-a-dianzanV6xx-36:before { + content: "\e7df"; +} + +.nc-icon-fenxiangV6xx3:before { + content: "\e846"; +} + +.nc-icon-xiaoxiV6xx1:before { + content: "\e83d"; +} + +.nc-icon-liebiaoV6xx1:before { + content: "\e841"; +} + .nc-icon-daifujineV6xx:before { content: "\e83b"; } @@ -133,6 +249,10 @@ content: "\e7b8"; } +.nc-icon-wodeV6mm3:before { + content: "\e7b7"; +} + .nc-icon-a-shaixuan-36V6xx-36:before { content: "\e7b3"; } diff --git a/admin/src/utils/common.ts b/admin/src/utils/common.ts index 0cd8c2d5f..7a153d9b4 100644 --- a/admin/src/utils/common.ts +++ b/admin/src/utils/common.ts @@ -275,6 +275,24 @@ export function timeStampTurnTime(timeStamp: any, type = "") { } } +/** + * 日期格式转时间戳 + * @param {Object} date + */ +export function timeTurnTimeStamp(date: string) { + var f = date.split(' ', 2); + var d = (f[0] ? f[0] : '').split('-', 3); + var t = (f[1] ? f[1] : '').split(':', 3); + return (new Date( + parseInt(d[0], 10) || null, + (parseInt(d[1], 10) || 1) - 1, + parseInt(d[2], 10) || null, + parseInt(t[0], 10) || null, + parseInt(t[1], 10) || null, + parseInt(t[2], 10) || null + )).getTime() / 1000; +} + /** * 过滤小数点(保留两位) * @param event @@ -308,6 +326,13 @@ export function filterSpecial(event: any) { event.target.value = event.target.value.replace(/[`~!@#$%^&*()_\-+=<>?:"{}|,.\/;'\\[\]·~!@#¥%……&*()——\-+={}|《》?:“”【】、;‘’,。、]/g, '') } +/** + * 过滤空格 + * @param event + */ +export function filterBlank(event: any) { + event.target.value = event.target.value.replace(/\s/g, ''); +} export function importIconFontCss() { // const modulesFiles = {}; // import.meta.glob('@/styles/icon/official-iconfont.css', { eager: true }) // const modulesFiles = import.meta.glob('@/addon/**/assets/icon/*.css', { eager: true })