upload project source code

This commit is contained in:
2026-04-30 18:49:43 +08:00
commit 9b394ba682
2277 changed files with 660945 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
declare module "*.png" {
const src: string;
export default src;
}

18
前端源码/uni-app/types/global.d.ts vendored Normal file
View File

@@ -0,0 +1,18 @@
import type { Router } from 'vue-router'
declare global {
interface Window {
uni: any
vueRouter: Router
}
// uni-app 全局变量
const uni: any
}
export { }
declare module "*.png" {
const src: string
export default src
}

18
前端源码/uni-app/types/uni.d.ts vendored Normal file
View File

@@ -0,0 +1,18 @@
declare const uni: {
showToast(options: {
title: string;
icon?: "success" | "error" | "loading" | "none";
duration?: number;
mask?: boolean;
}): void;
showModal(options: {
title?: string;
content?: string;
showCancel?: boolean;
cancelText?: string;
confirmText?: string;
success?: (res: { confirm: boolean; cancel: boolean }) => void;
}): void;
[key: string]: any;
};

3
前端源码/uni-app/types/vue.d.ts vendored Normal file
View File

@@ -0,0 +1,3 @@
/// <reference types="vue/macros-global" />
export {};