feat: 同步签约宝手机端功能到签约宝页面
- sign页面与签约宝精简版对齐:查看合同入口、AI积分区块(合同审查/我的报告/积分充值)
- 新增pages/ai/{points,review,reports}三个页面(与签约宝精简版一致)
- pages.json注册AI页面路由
This commit is contained in:
+24
@@ -0,0 +1,24 @@
|
||||
import { PluginFunc, ConfigType } from 'dayjs'
|
||||
|
||||
declare interface RelativeTimeThreshold {
|
||||
l: string
|
||||
r?: number
|
||||
d?: string
|
||||
}
|
||||
|
||||
declare interface RelativeTimeOptions {
|
||||
rounding?: (num: number) => number
|
||||
thresholds?: RelativeTimeThreshold[]
|
||||
}
|
||||
|
||||
declare const plugin: PluginFunc<RelativeTimeOptions>
|
||||
export = plugin
|
||||
|
||||
declare module 'dayjs' {
|
||||
interface Dayjs {
|
||||
fromNow(withoutSuffix?: boolean): string
|
||||
from(compared: ConfigType, withoutSuffix?: boolean): string
|
||||
toNow(withoutSuffix?: boolean): string
|
||||
to(compared: ConfigType, withoutSuffix?: boolean): string
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user