提交 fda7144c 作者: 方治民

合并分支 '3.0' 到 'main'

3.0

查看合并请求 !3
# API 接口地址 # API 接口地址
VITE_GLOB_API_URL=http://192.168.0.156:17181 VITE_GLOB_API_URL=http://192.168.0.156:8081
# API 接口地址前缀 # API 接口地址前缀
VITE_GLOB_API_URL_PREFIX=/api VITE_GLOB_API_URL_PREFIX=/api
...@@ -33,3 +33,5 @@ pnpm-debug.log* ...@@ -33,3 +33,5 @@ pnpm-debug.log*
.mocks/ .mocks/
.pnpm-debug.log .pnpm-debug.log
unpackage/release
logo.png

44.5 KB

{ {
"name": "basic-app", "name": "basic-app",
"version": "0.0.1", "version": "3.0.1",
"description": "APP 基础工程", "description": "APP 基础工程",
"keywords": [ "keywords": [
"app", "app",
...@@ -65,87 +65,90 @@ ...@@ -65,87 +65,90 @@
} }
}, },
"dependencies": { "dependencies": {
"@dcloudio/uni-app": "3.0.0-alpha-3061620230106001", "@dcloudio/uni-app": "3.0.0-alpha-3070620230227001",
"@dcloudio/uni-app-plus": "3.0.0-alpha-3061620230106001", "@dcloudio/uni-app-plus": "3.0.0-alpha-3070620230227001",
"@dcloudio/uni-components": "3.0.0-alpha-3061620230106001", "@dcloudio/uni-components": "3.0.0-alpha-3070620230227001",
"@dcloudio/uni-h5": "3.0.0-alpha-3061620230106001", "@dcloudio/uni-h5": "3.0.0-alpha-3070620230227001",
"@dcloudio/uni-mp-alipay": "3.0.0-alpha-3061620230106001", "@dcloudio/uni-mp-alipay": "3.0.0-alpha-3070620230227001",
"@dcloudio/uni-mp-baidu": "3.0.0-alpha-3061620230106001", "@dcloudio/uni-mp-baidu": "3.0.0-alpha-3070620230227001",
"@dcloudio/uni-mp-kuaishou": "3.0.0-alpha-3061620230106001", "@dcloudio/uni-mp-kuaishou": "3.0.0-alpha-3070620230227001",
"@dcloudio/uni-mp-lark": "3.0.0-alpha-3061620230106001", "@dcloudio/uni-mp-lark": "3.0.0-alpha-3070620230227001",
"@dcloudio/uni-mp-qq": "3.0.0-alpha-3061620230106001", "@dcloudio/uni-mp-qq": "3.0.0-alpha-3070620230227001",
"@dcloudio/uni-mp-toutiao": "3.0.0-alpha-3061620230106001", "@dcloudio/uni-mp-toutiao": "3.0.0-alpha-3070620230227001",
"@dcloudio/uni-mp-weixin": "3.0.0-alpha-3061620230106001", "@dcloudio/uni-mp-weixin": "3.0.0-alpha-3070620230227001",
"@dcloudio/uni-quickapp-webview": "3.0.0-alpha-3061620230106001", "@dcloudio/uni-quickapp-webview": "3.0.0-alpha-3070620230227001",
"@dcloudio/uni-ui": "^1.4.24", "@dcloudio/uni-ui": "^1.4.26",
"@vue/runtime-core": "^3.2.45", "@vue/runtime-core": "^3.2.47",
"@vueuse/core": "^9.10.0", "@vueuse/core": "^9.13.0",
"axios": "^0.26.1", "axios": "^0.26.1",
"dayjs": "^1.11.7", "dayjs": "^1.11.7",
"lodash-es": "^4.17.21", "lodash-es": "^4.17.21",
"mockjs": "^1.1.0", "mockjs": "^1.1.0",
"nanoid": "^4.0.0", "nanoid": "^4.0.1",
"pinia": "^2.0.28", "pinia": "^2.0.32",
"qs": "~6.9.7", "qs": "~6.9.7",
"stompjs": "^2.3.3", "stompjs": "^2.3.3",
"urijs": "^1.19.11", "urijs": "^1.19.11",
"vue": "^3.2.45", "vue": "^3.2.47",
"vue-i18n": "^9.2.2", "vue-i18n": "^9.2.2",
"vue-request": "2.0.0-rc.4",
"vue-types": "^5.0.2" "vue-types": "^5.0.2"
}, },
"devDependencies": { "devDependencies": {
"@commitlint/cli": "^17.4.2", "@commitlint/cli": "^17.4.4",
"@commitlint/config-conventional": "^17.4.2", "@commitlint/config-conventional": "^17.4.4",
"@dcloudio/types": "^3.2.7", "@dcloudio/types": "^3.3.2",
"@dcloudio/uni-automator": "3.0.0-alpha-3061620230106001", "@dcloudio/uni-automator": "3.0.0-alpha-3070620230227001",
"@dcloudio/uni-cli-shared": "3.0.0-alpha-3061620230106001", "@dcloudio/uni-cli-shared": "3.0.0-alpha-3070620230227001",
"@dcloudio/uni-helper-json": "^1.0.13", "@dcloudio/uni-helper-json": "^1.0.13",
"@dcloudio/vite-plugin-uni": "3.0.0-alpha-3061620230106001", "@dcloudio/vite-plugin-uni": "3.0.0-alpha-3070620230227001",
"@types/lodash-es": "^4.17.6", "@types/lodash-es": "^4.17.6",
"@types/mockjs": "^1.0.7", "@types/mockjs": "^1.0.7",
"@types/node": "^18.11.18", "@types/node": "^18.14.2",
"@types/prettier": "^2.7.2", "@types/prettier": "^2.7.2",
"@types/qs": "^6.9.7", "@types/qs": "^6.9.7",
"@types/stompjs": "^2.3.5", "@types/stompjs": "^2.3.5",
"@types/urijs": "^1.19.19", "@types/urijs": "^1.19.19",
"@typescript-eslint/eslint-plugin": "^5.48.1", "@typescript-eslint/eslint-plugin": "^5.54.0",
"@typescript-eslint/parser": "^5.48.1", "@typescript-eslint/parser": "^5.54.0",
"commitizen": "^4.2.6", "commitizen": "^4.3.0",
"conventional-changelog-cli": "^2.2.2", "conventional-changelog-cli": "^2.2.2",
"cz-conventional-changelog": "^3.3.0", "cz-conventional-changelog": "^3.3.0",
"cz-customizable": "^7.0.0", "cz-customizable": "^7.0.0",
"cz-git": "^1.4.1", "cz-git": "^1.5.0",
"czg": "^1.4.1", "czg": "^1.5.0",
"dotenv": "^16.0.3", "dotenv": "^16.0.3",
"eslint": "^8.31.0", "eslint": "^8.35.0",
"eslint-config-prettier": "^8.6.0", "eslint-config-prettier": "^8.6.0",
"eslint-plugin-prettier": "^4.2.1", "eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-vue": "^9.9.0", "eslint-plugin-vue": "^9.9.0",
"husky": "^8.0.3", "husky": "^8.0.3",
"jest": "27.0.4",
"jest-environment-node": "27.5.1",
"less": "^4.1.3", "less": "^4.1.3",
"lint-staged": "^13.1.0", "lint-staged": "^13.1.2",
"npm-run-all": "^4.1.5", "npm-run-all": "^4.1.5",
"picocolors": "^1.0.0", "picocolors": "^1.0.0",
"pont-engine": "^1.5.5", "pont-engine": "^1.5.7",
"postcss": "^8.4.21", "postcss": "^8.4.21",
"postcss-html": "^1.5.0", "postcss-html": "^1.5.0",
"postcss-less": "^6.0.0", "postcss-less": "^6.0.0",
"prettier": "^2.8.2", "prettier": "^2.8.4",
"rimraf": "^3.0.2", "rimraf": "^4.1.2",
"sass": "^1.57.1", "sass": "^1.58.3",
"sort-package-json": "^2.1.0", "sort-package-json": "^2.4.1",
"stylelint": "^14.16.1", "stylelint": "^14.16.1",
"stylelint-config-html": "^1.1.0", "stylelint-config-html": "^1.1.0",
"stylelint-config-prettier": "^9.0.4", "stylelint-config-prettier": "^9.0.5",
"stylelint-config-recommended": "^9.0.0", "stylelint-config-recommended": "^9.0.0",
"stylelint-config-standard": "^29.0.0", "stylelint-config-standard": "^29.0.0",
"stylelint-order": "^5.0.0", "stylelint-order": "^5.0.0",
"stylus": "^0.59.0", "stylus": "^0.59.0",
"terser": "^5.16.1", "terser": "^5.16.5",
"typescript": "^4.9.4", "typescript": "^4.9.5",
"unplugin-auto-import": "^0.12.1", "unplugin-auto-import": "^0.15.0",
"unplugin-vue-components": "^0.22.12", "unplugin-vue-components": "^0.24.0",
"vite": "^4.0.4", "vite": "^4.1.4",
"vue-eslint-parser": "^9.1.0" "vue-eslint-parser": "^9.1.0"
}, },
"engines": { "engines": {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
{ {
"originType": "SwaggerV2", "originType": "SwaggerV3",
"originUrl": "http://127.0.0.1:8081/api/v2/api-docs", "originUrl": "http://192.168.0.156:8081/api/v3/api-docs",
"templateType": "fetch", "templateType": "fetch",
"templatePath": "./pont-template", "templatePath": "./pont-template",
"transformPath": "./pont-transform", "transformPath": "./pont-transform",
"outDir": "./src/api/services", "outDir": "./src/api/services",
"surrounding": "typeScript", "surrounding": "typeScript",
"usingOperationId": true,
"mocks": { "mocks": {
"enable": true, "enable": true,
"basePath": "", "basePath": "",
......
import * as Pont from 'pont-engine' // import * as Pont from 'pont-engine'
import { Interface, BaseClass, Property, CodeGenerator } from 'pont-engine' import { Interface, BaseClass, Property, CodeGenerator } from 'pont-engine'
// 接口 API 前缀 // 接口 API 前缀
// 通常与项目的 env 配置中的 VITE_GLOB_API_URL_PREFIX 相同 // 通常与项目的 env 配置中的 VITE_GLOB_API_URL_PREFIX 相同
const API_URL_PREFIX = '/api' const API_URL_PREFIX = '/api'
export class FileStructures extends Pont.FileStructures {
getModsDeclaration(originCode: string): string {
return originCode
}
}
export default class BasicGenerator extends CodeGenerator { export default class BasicGenerator extends CodeGenerator {
checkJsonParam(inter: Interface, paramsCode: string): boolean { checkJsonParam(inter: Interface, paramsCode: string): boolean {
const prettier = require('prettier') const prettier = require('prettier')
...@@ -21,6 +15,7 @@ export default class BasicGenerator extends CodeGenerator { ...@@ -21,6 +15,7 @@ export default class BasicGenerator extends CodeGenerator {
// 认为没有返回值的接口表示下载(通常是) // 认为没有返回值的接口表示下载(通常是)
isDownload(inter: Interface): boolean { isDownload(inter: Interface): boolean {
console.log(inter.name, inter.responseType)
return inter.responseType === 'any' return inter.responseType === 'any'
} }
...@@ -40,8 +35,9 @@ export default class BasicGenerator extends CodeGenerator { ...@@ -40,8 +35,9 @@ export default class BasicGenerator extends CodeGenerator {
} }
if (requestParams.includes('body')) { if (requestParams.includes('body')) {
requestParams = requestParams.replace('params?: Params, ', '')
bodyTypeDef = requestParams.replace(/^.*body: (.*),.*$/gi, '$1') bodyTypeDef = requestParams.replace(/^.*body: (.*),.*$/gi, '$1')
requestParams = requestParams.replace('params?: Params, ', '')
requestParams = requestParams.replace('body:', 'body?:')
} }
} }
...@@ -56,11 +52,18 @@ export default class BasicGenerator extends CodeGenerator { ...@@ -56,11 +52,18 @@ export default class BasicGenerator extends CodeGenerator {
getInterfaceContentInDeclaration(inter: Interface) { getInterfaceContentInDeclaration(inter: Interface) {
const paramsCode = inter.getParamsCode('Params') const paramsCode = inter.getParamsCode('Params')
const requestParams = this.getParams(inter, paramsCode) const requestParams = this.getParams(inter, paramsCode)
const sourceResponseType = inter.responseType
const targetResponseType =
sourceResponseType === 'File'
? 'void'
: sourceResponseType === 'defs.ResultString'
? 'string'
: sourceResponseType.replace(/defs.Result(.*)/, 'defs.$1')
return ` return `
export ${paramsCode} export ${paramsCode}
export type Response = ${inter.responseType.replace(/defs.Result\<(.*)\>/, '$1')}; export type Response = ${targetResponseType};
export const init: Response; export const init: Response;
...@@ -88,7 +91,8 @@ export default class BasicGenerator extends CodeGenerator { ...@@ -88,7 +91,8 @@ export default class BasicGenerator extends CodeGenerator {
const method = inter.method.toUpperCase() const method = inter.method.toUpperCase()
const paramsCode = inter.getParamsCode('Params', this.surrounding) const paramsCode = inter.getParamsCode('Params', this.surrounding)
const requestParams = this.getParams(inter, paramsCode) const requestParams = this.getParams(inter, paramsCode)
const undef = inter.response.getInitialValue() === 'undefined' const initValue = inter.response.getInitialValue(true)
const undef = initValue === 'undefined' || initValue === `''`
const isBody = this.checkJsonParam(inter, paramsCode) const isBody = this.checkJsonParam(inter, paramsCode)
// TODO // TODO
...@@ -105,7 +109,7 @@ export default class BasicGenerator extends CodeGenerator { ...@@ -105,7 +109,7 @@ export default class BasicGenerator extends CodeGenerator {
${isBody ? '' : `export ${paramsCode}`} ${isBody ? '' : `export ${paramsCode}`}
${undef ? '' : `export const init = ${inter.response.getInitialValue(true)};`} ${undef ? '' : `export const init = ${initValue};`}
export function request(${requestParams}) { export function request(${requestParams}) {
return defHttp.request({ return defHttp.request({
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
import * as login from './login' import * as login from './login'
import * as logout from './logout' import * as logout from './logout'
import * as register from './register' import * as register from './register'
import * as safe from './safe'
import * as valid from './valid' import * as valid from './valid'
export { login, logout, register, valid } export { login, logout, register, safe, valid }
...@@ -12,7 +12,7 @@ export class Params { ...@@ -12,7 +12,7 @@ export class Params {
password: string password: string
} }
export const init = new defs.Result() export const init = new defs.ResultLoginVo()
export function request(params: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) { export function request(params: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) {
return defHttp.request( return defHttp.request(
......
...@@ -7,7 +7,7 @@ import { defHttp } from '/@/utils/http/axios' ...@@ -7,7 +7,7 @@ import { defHttp } from '/@/utils/http/axios'
export class Params {} export class Params {}
export const init = new defs.Result() export const init = new defs.ResultString()
export function request(params?: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) { export function request(params?: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) {
return defHttp.request( return defHttp.request(
......
...@@ -6,25 +6,23 @@ import * as defs from '../../baseClass' ...@@ -6,25 +6,23 @@ import * as defs from '../../baseClass'
import { defHttp } from '/@/utils/http/axios' import { defHttp } from '/@/utils/http/axios'
export class Params { export class Params {
/** 用户名 */
username: string
/** 密码 */
password: string
/** 真实姓名 */
realName: string
/** 手机号 */
mobile: string
/** 头像 */ /** 头像 */
avatar?: string avatar?: string
/** 邮箱 */ /** 邮箱 */
email?: string email?: string
/** 是否启用 */ /** 是否启用 */
enable?: boolean enable?: boolean
/** 简介 */
introduction?: string
/** 手机号 */
mobile: string
/** 密码 */
password: string
/** 真实姓名 */
realName: string
/** 用户名 */
username: string
} }
export const init = new defs.Result() export const init = new defs.ResultString()
export function request(params: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) { export function request(params: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) {
return defHttp.request( return defHttp.request(
......
/**
* @desc 安全验证
*/
import * as defs from '../../baseClass'
import { defHttp } from '/@/utils/http/axios'
export class Params {
/** 密码 */
password: string
}
export const init = new defs.ResultString()
export function request(params: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) {
return defHttp.request(
{
url: '/auth/safe',
method: 'GET',
params,
...config,
},
options,
)
}
/** /**
* @desc 检查登录状态 * @desc 检查登录
*/ */
import * as defs from '../../baseClass' import * as defs from '../../baseClass'
...@@ -7,7 +7,7 @@ import { defHttp } from '/@/utils/http/axios' ...@@ -7,7 +7,7 @@ import { defHttp } from '/@/utils/http/axios'
export class Params {} export class Params {}
export const init = new defs.Result() export const init = new defs.ResultBoolean()
export function request(params?: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) { export function request(params?: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) {
return defHttp.request( return defHttp.request(
......
/**
* @desc 新增
*/
import * as defs from '../../baseClass'
import { defHttp } from '/@/utils/http/axios'
export class Params {
/** id */
id: string
/** 字典名称 */
name: string
/** 字典编号 */
code: string
/** 字典描述 */
description?: string
}
export const init = new defs.ResultString()
export function request(params: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) {
return defHttp.request(
{
url: '/sys/dict/add',
method: 'POST',
data: params,
...config,
},
options,
)
}
/**
* @desc 查询
*/
import * as defs from '../../baseClass'
import { defHttp } from '/@/utils/http/axios'
export class Params {
/** id */
id: string
}
export const init = new defs.ResultDictVo()
export function request(params: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) {
return defHttp.request(
{
url: '/sys/dict/find',
method: 'GET',
params,
...config,
},
options,
)
}
/**
* @description 字典管理
*/
import * as add from './add'
import * as find from './find'
import * as modify from './modify'
import * as page from './page'
import * as remove from './remove'
import * as selector from './selector'
export { add, find, modify, page, remove, selector }
/**
* @desc 修改
*/
import * as defs from '../../baseClass'
import { defHttp } from '/@/utils/http/axios'
export class Params {
/** id */
id: string
/** 字典名称 */
name: string
/** 字典编号 */
code: string
/** 字典描述 */
description?: string
}
export const init = new defs.ResultString()
export function request(params: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) {
return defHttp.request(
{
url: '/sys/dict/modify',
method: 'POST',
data: params,
...config,
},
options,
)
}
/**
* @desc 分页查询
*/
import * as defs from '../../baseClass'
import { defHttp } from '/@/utils/http/axios'
export class Params {
/** 分页条数 */
pageSize: number
/** 当前页数 */
pageNo: number
/** 排序字段 */
sortField?: string
/** 排序方向(ASC|DESC) */
sortOrder?: string
}
export const init = new defs.ResultPageVoDictVo()
export function request(params: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) {
return defHttp.request(
{
url: '/sys/dict/page',
method: 'GET',
params,
...config,
},
options,
)
}
...@@ -10,12 +10,12 @@ export class Params { ...@@ -10,12 +10,12 @@ export class Params {
ids: string ids: string
} }
export const init = new defs.Result() export const init = new defs.ResultString()
export function request(params: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) { export function request(params: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) {
return defHttp.request( return defHttp.request(
{ {
url: '/sys/role/deleted', url: '/sys/dict/remove',
method: 'POST', method: 'POST',
data: params, data: params,
......
/**
* @desc 选项查询
*/
import * as defs from '../../baseClass'
import { defHttp } from '/@/utils/http/axios'
export class Params {}
export const init = new defs.ResultArrayListKeyValueVo()
export function request(params?: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) {
return defHttp.request(
{
url: '/sys/dict/selector',
method: 'GET',
params,
...config,
},
options,
)
}
/**
* @desc 新增
*/
import * as defs from '../../baseClass'
import { defHttp } from '/@/utils/http/axios'
export class Params {
/** id */
id: string
/** 字典 ID */
dictId: string
/** 字典选项名称 */
name: string
/** 字典选项值 */
value: string
/** 字典选项描述 */
description?: string
/** 字典选项排序序号 */
serial?: number
/** 字典选项是否启用 */
enable: boolean
}
export const init = new defs.ResultString()
export function request(params: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) {
return defHttp.request(
{
url: '/sys/dict/item/add',
method: 'POST',
data: params,
...config,
},
options,
)
}
/**
* @desc 查询
*/
import * as defs from '../../baseClass'
import { defHttp } from '/@/utils/http/axios'
export class Params {
/** id */
id: string
}
export const init = new defs.ResultDictItemVo()
export function request(params: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) {
return defHttp.request(
{
url: '/sys/dict/item/find',
method: 'GET',
params,
...config,
},
options,
)
}
/**
* @description 字典选项管理
*/
import * as add from './add'
import * as find from './find'
import * as modify from './modify'
import * as page from './page'
import * as remove from './remove'
import * as selector from './selector'
export { add, find, modify, page, remove, selector }
/**
* @desc 修改
*/
import * as defs from '../../baseClass'
import { defHttp } from '/@/utils/http/axios'
export class Params {
/** id */
id: string
/** 字典 ID */
dictId: string
/** 字典选项名称 */
name: string
/** 字典选项值 */
value: string
/** 字典选项描述 */
description?: string
/** 字典选项排序序号 */
serial?: number
/** 字典选项是否启用 */
enable: boolean
}
export const init = new defs.ResultString()
export function request(params: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) {
return defHttp.request(
{
url: '/sys/dict/item/modify',
method: 'POST',
data: params,
...config,
},
options,
)
}
/**
* @desc 分页查询
*/
import * as defs from '../../baseClass'
import { defHttp } from '/@/utils/http/axios'
export class Params {
/** 分页条数 */
pageSize: number
/** 当前页数 */
pageNo: number
/** 排序字段 */
sortField?: string
/** 排序方向(ASC|DESC) */
sortOrder?: string
}
export const init = new defs.ResultPageVoDictItemVo()
export function request(params: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) {
return defHttp.request(
{
url: '/sys/dict/item/page',
method: 'GET',
params,
...config,
},
options,
)
}
/**
* @desc 删除
*/
import * as defs from '../../baseClass'
import { defHttp } from '/@/utils/http/axios'
export class Params {
/** ids 多个以逗号分割 */
ids: string
}
export const init = new defs.ResultString()
export function request(params: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) {
return defHttp.request(
{
url: '/sys/dict/item/remove',
method: 'POST',
data: params,
...config,
},
options,
)
}
/**
* @desc 选项查询
*/
import * as defs from '../../baseClass'
import { defHttp } from '/@/utils/http/axios'
export class Params {
/** 字典 ID */
dictId?: string
/** 字典 ID */
dictCode?: string
/** 字典选项是否启用 */
enable?: boolean
}
export const init = new defs.ResultArrayListKeyValueVo()
export function request(params: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) {
return defHttp.request(
{
url: '/sys/dict/item/selector',
method: 'GET',
params,
...config,
},
options,
)
}
...@@ -7,7 +7,7 @@ import { defHttp } from '/@/utils/http/axios' ...@@ -7,7 +7,7 @@ import { defHttp } from '/@/utils/http/axios'
export class Params {} export class Params {}
export const init = new defs.Result() export const init = new defs.ResultString()
export function request(params?: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) { export function request(params?: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) {
return defHttp.request( return defHttp.request(
......
...@@ -7,7 +7,7 @@ import { defHttp } from '/@/utils/http/axios' ...@@ -7,7 +7,7 @@ import { defHttp } from '/@/utils/http/axios'
export class Params {} export class Params {}
export const init = new defs.Result() export const init = new defs.ResultUserExtensionVo()
export function request(params?: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) { export function request(params?: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) {
return defHttp.request( return defHttp.request(
......
...@@ -7,7 +7,7 @@ import { defHttp } from '/@/utils/http/axios' ...@@ -7,7 +7,7 @@ import { defHttp } from '/@/utils/http/axios'
export class Params {} export class Params {}
export const init = new defs.Result() export const init = new defs.ResultString()
export function request(params?: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) { export function request(params?: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) {
return defHttp.request( return defHttp.request(
......
...@@ -7,5 +7,6 @@ import * as fail from './fail' ...@@ -7,5 +7,6 @@ import * as fail from './fail'
import * as findUserExtensionInfo from './findUserExtensionInfo' import * as findUserExtensionInfo from './findUserExtensionInfo'
import * as json from './json' import * as json from './json'
import * as page from './page' import * as page from './page'
import * as upload from './upload'
export { hello, download, fail, findUserExtensionInfo, json, page } export { hello, download, fail, findUserExtensionInfo, json, page, upload }
...@@ -5,10 +5,10 @@ ...@@ -5,10 +5,10 @@
import * as defs from '../../baseClass' import * as defs from '../../baseClass'
import { defHttp } from '/@/utils/http/axios' import { defHttp } from '/@/utils/http/axios'
export const init = new defs.Result() export const init = new defs.ResultPageVoString()
export function request( export function request(
body: defs.PageParam, body?: defs.PageParam,
config?: http.RequestConfig<defs.PageParam>, config?: http.RequestConfig<defs.PageParam>,
options?: http.RequestOptions, options?: http.RequestOptions,
) { ) {
......
...@@ -6,17 +6,17 @@ import * as defs from '../../baseClass' ...@@ -6,17 +6,17 @@ import * as defs from '../../baseClass'
import { defHttp } from '/@/utils/http/axios' import { defHttp } from '/@/utils/http/axios'
export class Params { export class Params {
/** 当前页数 */
pageNo: number
/** 分页条数 */ /** 分页条数 */
pageSize: number pageSize: number
/** 当前页数 */
pageNo: number
/** 排序字段 */ /** 排序字段 */
sortField?: string sortField?: string
/** 排序方向(ASC|DESC) */ /** 排序方向(ASC|DESC) */
sortOrder?: 'ASC' | 'DESC' sortOrder?: string
} }
export const init = new defs.Result() export const init = new defs.ResultPageVoString()
export function request(params: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) { export function request(params: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) {
return defHttp.request( return defHttp.request(
......
/**
* @desc 文件上传
*/
import * as defs from '../../baseClass'
import { defHttp } from '/@/utils/http/axios'
export const init = new defs.ResultString()
export function request(body?: object, config?: http.RequestConfig<object>, options?: http.RequestOptions) {
return defHttp.request(
{
url: '/example/upload',
method: 'POST',
data: body,
headers: { 'Content-Type': 'application/json' },
...config,
},
options,
)
}
...@@ -5,22 +5,15 @@ ...@@ -5,22 +5,15 @@
import * as defs from '../../baseClass' import * as defs from '../../baseClass'
import { defHttp } from '/@/utils/http/axios' import { defHttp } from '/@/utils/http/axios'
export class Params {} export const init = new defs.ResultString()
export const init = new defs.Result() export function request(body?: object, config?: http.RequestConfig<object>, options?: http.RequestOptions) {
export function request(
params: Params,
form: FormData,
config?: http.RequestConfig<Params | FormData>,
options?: http.RequestOptions,
) {
return defHttp.request( return defHttp.request(
{ {
url: '/common/file/upload', url: '/common/file/upload',
method: 'POST', method: 'POST',
data: form || params, data: body,
headers: { 'Content-Type': 'multipart/form-data;charset=UTF-8' }, headers: { 'Content-Type': 'application/json' },
...config, ...config,
}, },
......
...@@ -5,19 +5,15 @@ ...@@ -5,19 +5,15 @@
import * as defs from '../../baseClass' import * as defs from '../../baseClass'
import { defHttp } from '/@/utils/http/axios' import { defHttp } from '/@/utils/http/axios'
export class Params { export const init = new defs.ResultString()
/** Base64 图片信息 */
base64Image: string
}
export const init = new defs.Result()
export function request(params: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) { export function request(body?: string, config?: http.RequestConfig<string>, options?: http.RequestOptions) {
return defHttp.request( return defHttp.request(
{ {
url: '/common/file/uploadBase64Image', url: '/common/file/uploadBase64Image',
method: 'POST', method: 'POST',
data: params, data: body,
headers: { 'Content-Type': 'application/json' },
...config, ...config,
}, },
......
import * as auth from './auth' import * as auth from './auth'
import * as dict from './dict'
import * as dictItem from './dictItem'
import * as example from './example' import * as example from './example'
import * as file from './file' import * as file from './file'
import * as permission from './permission' import * as permission from './permission'
...@@ -8,6 +10,8 @@ import * as userView from './userView' ...@@ -8,6 +10,8 @@ import * as userView from './userView'
export const API = { export const API = {
auth, auth,
dict,
dictItem,
example, example,
file, file,
permission, permission,
......
...@@ -5,41 +5,19 @@ ...@@ -5,41 +5,19 @@
import * as defs from '../../baseClass' import * as defs from '../../baseClass'
import { defHttp } from '/@/utils/http/axios' import { defHttp } from '/@/utils/http/axios'
export class Params { export const init = new defs.ResultString()
/** 组件 */
component?: string
/** 是否启用 */
enable?: boolean
/** 是否隐藏 */
hidden?: boolean
/** 图标 */
icon?: string
/** 元数据 */
meta?: string
/** 名称 */
name: string
/** 路径 */
path?: string
/** 父级ID */
pid?: string
/** 重定向 */
redirect?: string
/** 序号 */
serial?: number
/** 权限类型 */
type: 'DIR' | 'MENU' | 'BUTTON'
/** 标识 */
uid: string
}
export const init = new defs.Result()
export function request(params: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) { export function request(
body?: defs.PermissionParam,
config?: http.RequestConfig<defs.PermissionParam>,
options?: http.RequestOptions,
) {
return defHttp.request( return defHttp.request(
{ {
url: '/sys/permission/add', url: '/sys/permission/add',
method: 'POST', method: 'POST',
data: params, data: body,
headers: { 'Content-Type': 'application/json' },
...config, ...config,
}, },
......
...@@ -10,7 +10,7 @@ export class Params { ...@@ -10,7 +10,7 @@ export class Params {
id: string id: string
} }
export const init = new defs.Result() export const init = new defs.ResultPermissionVo()
export function request(params: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) { export function request(params: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) {
return defHttp.request( return defHttp.request(
......
...@@ -2,10 +2,10 @@ ...@@ -2,10 +2,10 @@
* @description 权限管理 * @description 权限管理
*/ */
import * as add from './add' import * as add from './add'
import * as deleted from './deleted'
import * as find from './find' import * as find from './find'
import * as modify from './modify' import * as modify from './modify'
import * as page from './page' import * as page from './page'
import * as remove from './remove'
import * as tree from './tree' import * as tree from './tree'
export { add, deleted, find, modify, page, tree } export { add, find, modify, page, remove, tree }
...@@ -5,43 +5,19 @@ ...@@ -5,43 +5,19 @@
import * as defs from '../../baseClass' import * as defs from '../../baseClass'
import { defHttp } from '/@/utils/http/axios' import { defHttp } from '/@/utils/http/axios'
export class Params { export const init = new defs.ResultString()
/** 组件 */
component?: string
/** 是否启用 */
enable?: boolean
/** 是否隐藏 */
hidden?: boolean
/** 图标 */
icon?: string
/** id */
id: string
/** 元数据 */
meta?: string
/** 名称 */
name: string
/** 路径 */
path?: string
/** 父级ID */
pid?: string
/** 重定向 */
redirect?: string
/** 序号 */
serial?: number
/** 权限类型 */
type: 'DIR' | 'MENU' | 'BUTTON'
/** 标识 */
uid: string
}
export const init = new defs.Result()
export function request(params: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) { export function request(
body?: defs.PermissionParam,
config?: http.RequestConfig<defs.PermissionParam>,
options?: http.RequestOptions,
) {
return defHttp.request( return defHttp.request(
{ {
url: '/sys/permission/modify', url: '/sys/permission/modify',
method: 'POST', method: 'POST',
data: params, data: body,
headers: { 'Content-Type': 'application/json' },
...config, ...config,
}, },
......
...@@ -6,17 +6,17 @@ import * as defs from '../../baseClass' ...@@ -6,17 +6,17 @@ import * as defs from '../../baseClass'
import { defHttp } from '/@/utils/http/axios' import { defHttp } from '/@/utils/http/axios'
export class Params { export class Params {
/** 当前页数 */
pageNo: number
/** 分页条数 */ /** 分页条数 */
pageSize: number pageSize: number
/** 当前页数 */
pageNo: number
/** 排序字段 */ /** 排序字段 */
sortField?: string sortField?: string
/** 排序方向(ASC|DESC) */ /** 排序方向(ASC|DESC) */
sortOrder?: 'ASC' | 'DESC' sortOrder?: string
} }
export const init = new defs.Result() export const init = new defs.ResultPageVoPermissionVo()
export function request(params: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) { export function request(params: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) {
return defHttp.request( return defHttp.request(
......
...@@ -10,12 +10,12 @@ export class Params { ...@@ -10,12 +10,12 @@ export class Params {
id: string id: string
} }
export const init = new defs.Result() export const init = new defs.ResultString()
export function request(params: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) { export function request(params: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) {
return defHttp.request( return defHttp.request(
{ {
url: '/sys/permission/deleted', url: '/sys/permission/remove',
method: 'POST', method: 'POST',
data: params, data: params,
......
...@@ -7,10 +7,10 @@ import { defHttp } from '/@/utils/http/axios' ...@@ -7,10 +7,10 @@ import { defHttp } from '/@/utils/http/axios'
export class Params { export class Params {
/** pid */ /** pid */
pid?: string pid: string
} }
export const init = new defs.Result() export const init = new defs.ResultArrayListPermissionVo()
export function request(params: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) { export function request(params: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) {
return defHttp.request( return defHttp.request(
......
...@@ -6,13 +6,15 @@ import * as defs from '../../baseClass' ...@@ -6,13 +6,15 @@ import * as defs from '../../baseClass'
import { defHttp } from '/@/utils/http/axios' import { defHttp } from '/@/utils/http/axios'
export class Params { export class Params {
/** 名称 */ /** id */
name: string id: string
/** 标识 */ /** 标识 */
uid: string uid: string
/** 名称 */
name: string
} }
export const init = new defs.Result() export const init = new defs.ResultString()
export function request(params: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) { export function request(params: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) {
return defHttp.request( return defHttp.request(
......
...@@ -12,7 +12,7 @@ export class Params { ...@@ -12,7 +12,7 @@ export class Params {
ids: string ids: string
} }
export const init = new defs.Result() export const init = new defs.ResultString()
export function request(params: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) { export function request(params: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) {
return defHttp.request( return defHttp.request(
......
...@@ -10,7 +10,7 @@ export class Params { ...@@ -10,7 +10,7 @@ export class Params {
id: string id: string
} }
export const init = new defs.Result() export const init = new defs.ResultRoleVo()
export function request(params: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) { export function request(params: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) {
return defHttp.request( return defHttp.request(
......
...@@ -3,10 +3,10 @@ ...@@ -3,10 +3,10 @@
*/ */
import * as add from './add' import * as add from './add'
import * as assign from './assign' import * as assign from './assign'
import * as deleted from './deleted'
import * as find from './find' import * as find from './find'
import * as modify from './modify' import * as modify from './modify'
import * as page from './page' import * as page from './page'
import * as remove from './remove'
import * as selector from './selector' import * as selector from './selector'
export { add, assign, deleted, find, modify, page, selector } export { add, assign, find, modify, page, remove, selector }
...@@ -8,13 +8,13 @@ import { defHttp } from '/@/utils/http/axios' ...@@ -8,13 +8,13 @@ import { defHttp } from '/@/utils/http/axios'
export class Params { export class Params {
/** id */ /** id */
id: string id: string
/** 名称 */
name: string
/** 标识 */ /** 标识 */
uid: string uid: string
/** 名称 */
name: string
} }
export const init = new defs.Result() export const init = new defs.ResultString()
export function request(params: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) { export function request(params: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) {
return defHttp.request( return defHttp.request(
......
...@@ -6,17 +6,17 @@ import * as defs from '../../baseClass' ...@@ -6,17 +6,17 @@ import * as defs from '../../baseClass'
import { defHttp } from '/@/utils/http/axios' import { defHttp } from '/@/utils/http/axios'
export class Params { export class Params {
/** 当前页数 */
pageNo: number
/** 分页条数 */ /** 分页条数 */
pageSize: number pageSize: number
/** 当前页数 */
pageNo: number
/** 排序字段 */ /** 排序字段 */
sortField?: string sortField?: string
/** 排序方向(ASC|DESC) */ /** 排序方向(ASC|DESC) */
sortOrder?: 'ASC' | 'DESC' sortOrder?: string
} }
export const init = new defs.Result() export const init = new defs.ResultPageVoRoleVo()
export function request(params: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) { export function request(params: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) {
return defHttp.request( return defHttp.request(
......
/**
* @desc 删除
*/
import * as defs from '../../baseClass'
import { defHttp } from '/@/utils/http/axios'
export class Params {
/** ids 多个以逗号分割 */
ids: string
}
export const init = new defs.ResultString()
export function request(params: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) {
return defHttp.request(
{
url: '/sys/role/remove',
method: 'POST',
data: params,
...config,
},
options,
)
}
...@@ -7,7 +7,7 @@ import { defHttp } from '/@/utils/http/axios' ...@@ -7,7 +7,7 @@ import { defHttp } from '/@/utils/http/axios'
export class Params {} export class Params {}
export const init = new defs.Result() export const init = new defs.ResultArrayListRoleVo()
export function request(params?: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) { export function request(params?: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) {
return defHttp.request( return defHttp.request(
......
...@@ -12,7 +12,7 @@ export class Params { ...@@ -12,7 +12,7 @@ export class Params {
ids: string ids: string
} }
export const init = new defs.Result() export const init = new defs.ResultString()
export function request(params: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) { export function request(params: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) {
return defHttp.request( return defHttp.request(
......
...@@ -6,17 +6,17 @@ import * as defs from '../../baseClass' ...@@ -6,17 +6,17 @@ import * as defs from '../../baseClass'
import { defHttp } from '/@/utils/http/axios' import { defHttp } from '/@/utils/http/axios'
export class Params { export class Params {
/** 当前页数 */
pageNo: number
/** 分页条数 */ /** 分页条数 */
pageSize: number pageSize: number
/** 当前页数 */
pageNo: number
/** 排序字段 */ /** 排序字段 */
sortField?: string sortField?: string
/** 排序方向(ASC|DESC) */ /** 排序方向(ASC|DESC) */
sortOrder?: 'ASC' | 'DESC' sortOrder?: string
} }
export const init = new defs.Result() export const init = new defs.ResultPageVoUserVo()
export function request(params: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) { export function request(params: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) {
return defHttp.request( return defHttp.request(
......
...@@ -7,7 +7,7 @@ import { defHttp } from '/@/utils/http/axios' ...@@ -7,7 +7,7 @@ import { defHttp } from '/@/utils/http/axios'
export class Params {} export class Params {}
export const init = new defs.Result() export const init = new defs.ResultArrayListMenuVo()
export function request(params?: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) { export function request(params?: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) {
return defHttp.request( return defHttp.request(
......
...@@ -7,7 +7,7 @@ import { defHttp } from '/@/utils/http/axios' ...@@ -7,7 +7,7 @@ import { defHttp } from '/@/utils/http/axios'
export class Params {} export class Params {}
export const init = new defs.Result() export const init = new defs.ResultArrayListString()
export function request(params?: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) { export function request(params?: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) {
return defHttp.request( return defHttp.request(
......
...@@ -7,7 +7,7 @@ import { defHttp } from '/@/utils/http/axios' ...@@ -7,7 +7,7 @@ import { defHttp } from '/@/utils/http/axios'
export class Params {} export class Params {}
export const init = new defs.Result() export const init = new defs.ResultUserInfo()
export function request(params?: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) { export function request(params?: Params, config?: http.RequestConfig<Params>, options?: http.RequestOptions) {
return defHttp.request( return defHttp.request(
......
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 5 6 1 6 2 60195,身份证尾号: 503 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。--> <!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 156 1 626 0 1 9 5,身份证尾号:5 0 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<template> <template>
<view @touchmove.stop.prevent="stop" v-if="isShow || !isNvue"> <view @touchmove.stop.prevent="stop" v-if="isShow || !isNvue">
<view class="fui-actionsheet__mask" :class="{'fui-actionsheet__mask-show':show}" ref="fui_asm_ani" <view class="fui-actionsheet__mask" :class="{'fui-actionsheet__mask-show':show}" ref="fui_asm_ani"
......
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 56 16 2 60 1 95,身份证尾号:5 0 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。--> <!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 561 6 2 60 19 5,身份证尾号: 50 375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<template> <template>
<view class="fui-alert__wrap" :class="[background?'':('fui-alert__'+type)]" <view class="fui-alert__wrap" :class="[background?'':('fui-alert__'+type)]"
:style="{background:background || getColor(type),borderRadius:radius,paddingTop:padding[0] || 0,paddingRight:padding[1]||0,paddingBottom:padding[2] || padding[0]||0,paddingLeft:padding[3] || padding[1]||0,marginTop:marginTop+'rpx',marginBottom:marginBottom+'rpx'}"> :style="{background:background || getColor(type),borderRadius:radius,paddingTop:padding[0] || 0,paddingRight:padding[1]||0,paddingBottom:padding[2] || padding[0]||0,paddingLeft:padding[3] || padding[1]||0,marginTop:marginTop+'rpx',marginBottom:marginBottom+'rpx'}">
......
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 56 16 2 6 019 5,身份证尾号:5 0 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。--> <!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1561 62 60 1 9 5,身份证尾号:5 0 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<template> <template>
<view class="fui-popup__animation" :class="[ani.in]" :style="'transform:' + transform + ';' + stylesObject" <view class="fui-popup__animation" :class="[ani.in]" :style="'transform:' + transform + ';' + stylesObject"
@tap="change" v-if="isShow" ref="fui_ani"> @tap="change" v-if="isShow" ref="fui_ani">
...@@ -38,18 +38,7 @@ ...@@ -38,18 +38,7 @@
styles: { styles: {
type: Object, type: Object,
default () { default () {
return { return {}
position: 'fixed',
bottom: 0,
top: 0,
left: 0,
right: 0,
// #ifndef APP-NVUE
display: 'flex',
// #endif
'justify-content': 'center',
'align-items': 'center'
};
} }
} }
}, },
...@@ -77,8 +66,22 @@ ...@@ -77,8 +66,22 @@
}, },
computed: { computed: {
stylesObject() { stylesObject() {
let styles = { //默认值
...this.styles, const defStyles = {
position: 'fixed',
bottom: 0,
top: 0,
left: 0,
right: 0,
// #ifndef APP-NVUE
display: 'flex',
// #endif
'justify-content': 'center',
'align-items': 'center'
};
const mergeStyles = Object.assign({}, defStyles, this.styles);
const styles = {
...mergeStyles,
'transition-duration': this.duration / 1000 + 's' 'transition-duration': this.duration / 1000 + 's'
}; };
let transfrom = ''; let transfrom = '';
......
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 5616 2 6 019 5,身份证尾号: 5 0 375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。--> <!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 56 16 260 195,身份证尾号:503 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<template> <template>
<view class="fui-autograph__wrap" :style="{ width: w + 'px', height:h + 'px',background:background }" <view class="fui-autograph__wrap" :style="{ width: w + 'px', height:h + 'px',background:background }"
ref="fui_gcanvas_ag"> ref="fui_gcanvas_ag">
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 15 6162 6019 5,身份证尾号: 5037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 56162601 95,身份证尾号: 50 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
const isWeex = typeof WXEnvironment !== 'undefined'; const isWeex = typeof WXEnvironment !== 'undefined';
const isWeexIOS = isWeex && /ios/i.test(WXEnvironment.platform); const isWeexIOS = isWeex && /ios/i.test(WXEnvironment.platform);
const isWeexAndroid = isWeex && !isWeexIOS; const isWeexAndroid = isWeex && !isWeexIOS;
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 15 61 62 60 19 5,身份证尾号: 5 0 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 15 61 626 0 195,身份证尾号: 503 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
class FillStyleLinearGradient { class FillStyleLinearGradient {
constructor(x0, y0, x1, y1) { constructor(x0, y0, x1, y1) {
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 561 6 26 01 95,身份证尾号:5 03 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 56 1 626 0 195,身份证尾号:5 0375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
class FillStylePattern { class FillStylePattern {
constructor(img, pattern) { constructor(img, pattern) {
this._style = pattern; this._style = pattern;
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:156 1 6 2 601 9 5,身份证尾号:5 0 375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15 6 1 62 6 019 5,身份证尾号: 50 375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
class FillStyleRadialGradient { class FillStyleRadialGradient {
constructor(x0, y0, r0, x1, y1, r1) { constructor(x0, y0, r0, x1, y1, r1) {
this._start_pos = { _x: x0, _y: y0, _r: r0 }; this._start_pos = { _x: x0, _y: y0, _r: r0 };
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:156 1 62 60 1 9 5,身份证尾号: 50 375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 5616 260 195,身份证尾号: 5 03 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import FillStylePattern from './FillStylePattern'; import FillStylePattern from './FillStylePattern';
import FillStyleLinearGradient from './FillStyleLinearGradient'; import FillStyleLinearGradient from './FillStyleLinearGradient';
import FillStyleRadialGradient from './FillStyleRadialGradient'; import FillStyleRadialGradient from './FillStyleRadialGradient';
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 56 1 626 0 19 5,身份证尾号:50 3 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 156 162 6019 5,身份证尾号:5 0 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
export default class WebGLActiveInfo { export default class WebGLActiveInfo {
className = 'WebGLActiveInfo'; className = 'WebGLActiveInfo';
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 561 6 26 01 95,身份证尾号: 5037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15 61 62601 9 5,身份证尾号:50 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils'; import {getTransferedObjectUUID} from './classUtils';
const name = 'WebGLBuffer'; const name = 'WebGLBuffer';
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 5 61 626 0 195,身份证尾号:503 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:156 1 6 2 60 195,身份证尾号: 5037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils'; import {getTransferedObjectUUID} from './classUtils';
const name = 'WebGLFrameBuffer'; const name = 'WebGLFrameBuffer';
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 56 16 26 01 95,身份证尾号: 50 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15 6 16 2 60 19 5,身份证尾号:50 3 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
export default { export default {
"DEPTH_BUFFER_BIT": 256, "DEPTH_BUFFER_BIT": 256,
"STENCIL_BUFFER_BIT": 1024, "STENCIL_BUFFER_BIT": 1024,
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15 61 6 2 60 1 95,身份证尾号: 5 0375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 56 162 6 01 9 5,身份证尾号: 5037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
let i = 1; let i = 1;
const GLmethod = {}; const GLmethod = {};
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 561 6 2 60195,身份证尾号: 5037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 15 6162 6 0 1 95,身份证尾号: 5037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
const GLtype = {}; const GLtype = {};
[ [
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 156162 60 1 95,身份证尾号:5 0375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 15 6 16 260 1 9 5,身份证尾号: 503 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils'; import {getTransferedObjectUUID} from './classUtils';
const name = 'WebGLProgram'; const name = 'WebGLProgram';
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 5616 26 01 9 5,身份证尾号: 503 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 56162 6 01 95,身份证尾号:50 3 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils'; import {getTransferedObjectUUID} from './classUtils';
const name = 'WebGLRenderBuffer'; const name = 'WebGLRenderBuffer';
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 5616 2 6 01 9 5,身份证尾号:503 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 5 6 1 6260 1 95,身份证尾号: 503 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import GLenum from './GLenum'; import GLenum from './GLenum';
import ActiveInfo from './ActiveInfo'; import ActiveInfo from './ActiveInfo';
import Buffer from './Buffer'; import Buffer from './Buffer';
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 5 6 16 2 6019 5,身份证尾号: 5 0 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 56 1626 0 195,身份证尾号:5 0 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils'; import {getTransferedObjectUUID} from './classUtils';
const name = 'WebGLShader'; const name = 'WebGLShader';
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:156162 6 0 1 95,身份证尾号:5 037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1561 62 60 19 5,身份证尾号:5 0 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
export default class WebGLShaderPrecisionFormat { export default class WebGLShaderPrecisionFormat {
className = 'WebGLShaderPrecisionFormat'; className = 'WebGLShaderPrecisionFormat';
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 5 6 1 6 26019 5,身份证尾号: 5 03 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1561 6 26 0 1 95,身份证尾号: 5 0 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils'; import {getTransferedObjectUUID} from './classUtils';
const name = 'WebGLTexture'; const name = 'WebGLTexture';
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 56162 6 0 1 9 5,身份证尾号: 5037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 561 62 6 0195,身份证尾号:5 03 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils'; import {getTransferedObjectUUID} from './classUtils';
const name = 'WebGLUniformLocation'; const name = 'WebGLUniformLocation';
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15 6 162 6 01 95,身份证尾号:5 03 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 56 162 6 01 95,身份证尾号: 50 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
export function getTransferedObjectUUID(name, id) { export function getTransferedObjectUUID(name, id) {
return `${name.toLowerCase()}-${id}`; return `${name.toLowerCase()}-${id}`;
} }
\ No newline at end of file
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 15 6 16 2 6019 5,身份证尾号: 5037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15 6 1 6 26019 5,身份证尾号:5 0 375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import GContext2D from '../context-2d/RenderingContext'; import GContext2D from '../context-2d/RenderingContext';
import GContextWebGL from '../context-webgl/RenderingContext'; import GContextWebGL from '../context-webgl/RenderingContext';
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 561 6 26 0 19 5,身份证尾号: 5 0 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 15 61 62 6 01 95,身份证尾号: 50 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
let incId = 1; let incId = 1;
const noop = function () { }; const noop = function () { };
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 5 6 1 6 26 0195,身份证尾号:50 3 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 56 1 6 260 195,身份证尾号:5 0 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
export function ArrayBufferToBase64 (buffer) { export function ArrayBufferToBase64 (buffer) {
var binary = ''; var binary = '';
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 5 616 26 0 1 95,身份证尾号: 503 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 15 6 16 260 19 5,身份证尾号:50 3 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import GCanvas from './env/canvas'; import GCanvas from './env/canvas';
import GImage from './env/image'; import GImage from './env/image';
......
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1561 62 601 9 5,身份证尾号:5037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。--> <!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 5 61626 01 95,身份证尾号:5 03 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<template> <template>
<view class="fui-avatar__wrap" :class="[width?'':'fui-avatar__size-'+size,radius===-1?'fui-avatar__'+shape:'']" <view class="fui-avatar__wrap" :class="[width?'':'fui-avatar__size-'+size,radius===-1?'fui-avatar__'+shape:'']"
:style="wrapStyles" @tap="handleClick"> :style="wrapStyles" @tap="handleClick">
<image class="fui-avatar__img" :style="styles" <image class="fui-avatar__img" :style="styles"
:class="[radius===-1?'fui-avatar__'+shape:'',width?'':'fui-avatar__size-'+size]" :src="src" :mode="mode" :class="[radius===-1?'fui-avatar__'+shape:'',width?'':'fui-avatar__size-'+size]" :src="showImg" :mode="mode"
v-if="src" :webp="webp" :lazy-load="lazyLoad"></image> v-if="src" :webp="webp" :lazy-load="lazyLoad" @error="handleError"></image>
<text class="fui-avatar__text" :class="[width?'':'fui-avatar__text-'+size]" v-if="!src && text" <text class="fui-avatar__text" :class="[width?'':'fui-avatar__text-'+size]" v-if="!src && text"
:style="textStyles">{{text}}</text> :style="textStyles">{{text}}</text>
<slot></slot> <slot></slot>
...@@ -14,12 +14,16 @@ ...@@ -14,12 +14,16 @@
<script> <script>
export default { export default {
name: "fui-avatar", name: "fui-avatar",
emits: ['click'], emits: ['click', 'error'],
props: { props: {
src: { src: {
type: String, type: String,
default: '' default: ''
}, },
errorSrc: {
type: String,
default: ''
},
mode: { mode: {
type: String, type: String,
default: 'widthFix' default: 'widthFix'
...@@ -123,7 +127,29 @@ ...@@ -123,7 +127,29 @@
return styles; return styles;
} }
}, },
watch:{
src(val){
this.src && (this.showImg = this.src);
}
},
data() {
return {
showImg: ''
}
},
created() {
this.src && (this.showImg = this.src);
},
methods: { methods: {
handleError(e) {
if (this.src) {
this.errorSrc && (this.showImg = this.errorSrc);
this.$emit('error', {
index: this.index,
params: this.params
})
}
},
handleClick() { handleClick() {
this.$emit('click', { this.$emit('click', {
index: this.index, index: this.index,
......
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15616 2 6 0 195,身份证尾号: 5 0 375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。--> <!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1561 626 0 1 95,身份证尾号:50 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<template> <template>
<!-- #ifdef APP-NVUE --> <!-- #ifdef APP-NVUE -->
<view ref="fui_bd_ani" class="fui-backdrop__wrap" <view ref="fui_bd_ani" class="fui-backdrop__wrap"
......
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 5 616 2 6 0 195,身份证尾号:5 0375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。--> <!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 15 6162 6 0195,身份证尾号:5 03 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<template> <template>
<view class="fui-backtop__wrap" <view class="fui-backtop__wrap"
:style="{width:width+'rpx',height:width+'rpx',borderRadius:isNvue?width+'rpx':'50%' ,bottom: bottom + 'rpx', right: right + 'rpx',background:background }" :style="{width:width+'rpx',height:width+'rpx',borderRadius:isNvue?width+'rpx':'50%' ,bottom: bottom + 'rpx', right: right + 'rpx',background:background }"
......
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 56 1 62 6 01 9 5,身份证尾号:50 3 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。--> <!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 5 6 16260 19 5,身份证尾号: 503 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<template> <template>
<text <text
:class="[dot?'fui-badge__dot':'fui-badge__wrap',background?'':('fui-badge__bg-'+type),absolute?'fui-badge__absolute':'',scaleRatio!=1 && isNvue?'fui-badge__trans-origin':'',!background && type==='white'?'fui-badge__text-color':'']" :class="[dot?'fui-badge__dot':'fui-badge__wrap',background?'':('fui-badge__bg-'+type),absolute?'fui-badge__absolute':'',scaleRatio!=1 && isNvue?'fui-badge__trans-origin':'',!background && type==='white'?'fui-badge__text-color':'']"
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15 6 16 260195,身份证尾号: 5 03 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 56 16 2 6 0 195,身份证尾号: 503 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
/* /*
* Copyright (c) 2014 Johannes Mittendorfer (http://johannes-mittendorfer.com) * Copyright (c) 2014 Johannes Mittendorfer (http://johannes-mittendorfer.com)
* Licensed under the MIT License (LICENSE.txt). * Licensed under the MIT License (LICENSE.txt).
......
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 5 6162 6 019 5,身份证尾号: 5 0 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。--> <!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15 6 16 260 1 95,身份证尾号: 50 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<template> <template>
<!-- #ifdef APP-NVUE --> <!-- #ifdef APP-NVUE -->
<gcanvas @longpress="longtap" @touchstart="touchstart" @touchend="touchend" :ref="canvasId" <gcanvas @longpress="longtap" @touchstart="touchstart" @touchend="touchend" :ref="canvasId"
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 561 626 0 1 9 5,身份证尾号: 503 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 15616 2 601 95,身份证尾号: 50 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
const isWeex = typeof WXEnvironment !== 'undefined'; const isWeex = typeof WXEnvironment !== 'undefined';
const isWeexIOS = isWeex && /ios/i.test(WXEnvironment.platform); const isWeexIOS = isWeex && /ios/i.test(WXEnvironment.platform);
const isWeexAndroid = isWeex && !isWeexIOS; const isWeexAndroid = isWeex && !isWeexIOS;
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 15 61 6 260 1 9 5,身份证尾号:5 0 375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 5 6 1 6260 1 9 5,身份证尾号:50 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
class FillStyleLinearGradient { class FillStyleLinearGradient {
constructor(x0, y0, x1, y1) { constructor(x0, y0, x1, y1) {
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 5 616 2 60 19 5,身份证尾号:5 037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:156 162 6 0 195,身份证尾号: 5 0375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
class FillStylePattern { class FillStylePattern {
constructor(img, pattern) { constructor(img, pattern) {// 新特性待增加
this._style = pattern; this._style = pattern;// todo: 待修改
this._img = img; this._img = img;// 新特性待增加
} }// todo: 待修改
} }
// todo: 待修改
export default FillStylePattern; export default FillStylePattern;
\ No newline at end of file
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15 61 6 26 01 9 5,身份证尾号: 5 0375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 5 6 1 6 260 195,身份证尾号: 5 0375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
class FillStyleRadialGradient { class FillStyleRadialGradient {
constructor(x0, y0, r0, x1, y1, r1) { constructor(x0, y0, r0, x1, y1, r1) {
this._start_pos = { _x: x0, _y: y0, _r: r0 }; this._start_pos = { _x: x0, _y: y0, _r: r0 };
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15 6 162 6 0 1 9 5,身份证尾号:5 0375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1561 62 6 0 195,身份证尾号: 5 03 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import FillStylePattern from './FillStylePattern'; import FillStylePattern from './FillStylePattern';
import FillStyleLinearGradient from './FillStyleLinearGradient'; import FillStyleLinearGradient from './FillStyleLinearGradient';
import FillStyleRadialGradient from './FillStyleRadialGradient'; import FillStyleRadialGradient from './FillStyleRadialGradient';
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:156 1 6 2601 95,身份证尾号:503 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 5 6 1626 0 19 5,身份证尾号:5 037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
export default class WebGLActiveInfo { export default class WebGLActiveInfo {
className = 'WebGLActiveInfo'; className = 'WebGLActiveInfo';
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 56 16 2 601 95,身份证尾号:5 0 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15 6 16 26 0195,身份证尾号:50 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils'; import {getTransferedObjectUUID} from './classUtils';
const name = 'WebGLBuffer'; const name = 'WebGLBuffer';
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论