feat: 同步签约宝手机端功能到签约宝页面
- sign页面与签约宝精简版对齐:查看合同入口、AI积分区块(合同审查/我的报告/积分充值)
- 新增pages/ai/{points,review,reports}三个页面(与签约宝精简版一致)
- pages.json注册AI页面路由
This commit is contained in:
Generated
Vendored
+12
@@ -0,0 +1,12 @@
|
||||
import { PluginFunc } from 'dayjs/esm'
|
||||
|
||||
declare const plugin: PluginFunc
|
||||
export = plugin
|
||||
|
||||
declare module 'dayjs/esm' {
|
||||
interface Dayjs {
|
||||
weekday(): number
|
||||
|
||||
weekday(value: number): Dayjs
|
||||
}
|
||||
}
|
||||
Generated
Vendored
+15
@@ -0,0 +1,15 @@
|
||||
export default (function (o, c) {
|
||||
var proto = c.prototype;
|
||||
|
||||
proto.weekday = function (input) {
|
||||
var weekStart = this.$locale().weekStart || 0;
|
||||
var $W = this.$W;
|
||||
var weekday = ($W < weekStart ? $W + 7 : $W) - weekStart;
|
||||
|
||||
if (this.$utils().u(input)) {
|
||||
return weekday;
|
||||
}
|
||||
|
||||
return this.subtract(weekday, 'day').add(input, 'day');
|
||||
};
|
||||
});
|
||||
Reference in New Issue
Block a user