初始化

This commit is contained in:
梁泽军
2025-03-07 10:31:57 +08:00
commit dbf485e0d5
552 changed files with 81015 additions and 0 deletions

14
typings/env.d.ts vendored Normal file
View File

@@ -0,0 +1,14 @@
/// <reference types="vite/client" />
declare interface Window {
signLink: string
}
declare module 'uview-plus'
declare module 'weixin-js-sdk'
declare module 'css-color-function'
declare module 'markdown-it-math'
declare module 'js-mp3'

10
typings/router.d.ts vendored Normal file
View File

@@ -0,0 +1,10 @@
import 'uniapp-router-next'
declare module 'uniapp-router-next' {
// 扩展 RouteMeta
interface RouteMeta {
share?: boolean
auth?: boolean
white?: string
isTab?: boolean
}
}

5
typings/uni.d.ts vendored Normal file
View File

@@ -0,0 +1,5 @@
interface Uni {
$u: any
}
declare const wx: any

12
typings/vue.d.ts vendored Normal file
View File

@@ -0,0 +1,12 @@
import 'vue'
declare module 'vue' {
interface ComponentCustomProperties {
$theme: {
primaryColor: string
pageStyle: string
navColor: string
navBgColor: string
title: string
}
}
}