提交 efe6958b 作者: 方治民

feat(component): 升级 first-ui -> v1.7.1

上级 42e145ee
...@@ -5,9 +5,7 @@ ...@@ -5,9 +5,7 @@
"description": "身份认证", "description": "身份认证",
"interfaces": [ "interfaces": [
{ {
"consumes": [ "consumes": ["application/json"],
"application/json"
],
"description": "登录", "description": "登录",
"name": "login", "name": "login",
"method": "post", "method": "post",
...@@ -91,9 +89,7 @@ ...@@ -91,9 +89,7 @@
"parameters": [] "parameters": []
}, },
{ {
"consumes": [ "consumes": ["application/json"],
"application/json"
],
"description": "注册", "description": "注册",
"name": "register", "name": "register",
"method": "post", "method": "post",
...@@ -367,9 +363,7 @@ ...@@ -367,9 +363,7 @@
"parameters": [] "parameters": []
}, },
{ {
"consumes": [ "consumes": ["application/json"],
"application/json"
],
"description": "JSON 传参", "description": "JSON 传参",
"name": "json", "name": "json",
"method": "post", "method": "post",
...@@ -512,10 +506,7 @@ ...@@ -512,10 +506,7 @@
"isDefsType": false, "isDefsType": false,
"templateIndex": -1, "templateIndex": -1,
"compileTemplateKeyword": "#/definitions/", "compileTemplateKeyword": "#/definitions/",
"enum": [ "enum": ["'ASC'", "'DESC'"],
"'ASC'",
"'DESC'"
],
"typeProperties": [] "typeProperties": []
} }
} }
...@@ -575,9 +566,7 @@ ...@@ -575,9 +566,7 @@
] ]
}, },
{ {
"consumes": [ "consumes": ["multipart/form-data"],
"multipart/form-data"
],
"description": "文件上传", "description": "文件上传",
"name": "upload", "name": "upload",
"method": "post", "method": "post",
...@@ -620,9 +609,7 @@ ...@@ -620,9 +609,7 @@
] ]
}, },
{ {
"consumes": [ "consumes": ["application/json"],
"application/json"
],
"description": "Base64 图片上传", "description": "Base64 图片上传",
"name": "uploadBase64Image", "name": "uploadBase64Image",
"method": "post", "method": "post",
...@@ -671,9 +658,7 @@ ...@@ -671,9 +658,7 @@
"description": "权限管理", "description": "权限管理",
"interfaces": [ "interfaces": [
{ {
"consumes": [ "consumes": ["application/json"],
"application/json"
],
"description": "新增", "description": "新增",
"name": "add", "name": "add",
"method": "post", "method": "post",
...@@ -859,11 +844,7 @@ ...@@ -859,11 +844,7 @@
"isDefsType": false, "isDefsType": false,
"templateIndex": -1, "templateIndex": -1,
"compileTemplateKeyword": "#/definitions/", "compileTemplateKeyword": "#/definitions/",
"enum": [ "enum": ["'DIR'", "'MENU'", "'BUTTON'"],
"'DIR'",
"'MENU'",
"'BUTTON'"
],
"typeProperties": [] "typeProperties": []
} }
}, },
...@@ -885,9 +866,7 @@ ...@@ -885,9 +866,7 @@
] ]
}, },
{ {
"consumes": [ "consumes": ["application/json"],
"application/json"
],
"description": "删除", "description": "删除",
"name": "deleted", "name": "deleted",
"method": "post", "method": "post",
...@@ -972,9 +951,7 @@ ...@@ -972,9 +951,7 @@
] ]
}, },
{ {
"consumes": [ "consumes": ["application/json"],
"application/json"
],
"description": "修改", "description": "修改",
"name": "modify", "name": "modify",
"method": "post", "method": "post",
...@@ -1175,11 +1152,7 @@ ...@@ -1175,11 +1152,7 @@
"isDefsType": false, "isDefsType": false,
"templateIndex": -1, "templateIndex": -1,
"compileTemplateKeyword": "#/definitions/", "compileTemplateKeyword": "#/definitions/",
"enum": [ "enum": ["'DIR'", "'MENU'", "'BUTTON'"],
"'DIR'",
"'MENU'",
"'BUTTON'"
],
"typeProperties": [] "typeProperties": []
} }
}, },
...@@ -1291,10 +1264,7 @@ ...@@ -1291,10 +1264,7 @@
"isDefsType": false, "isDefsType": false,
"templateIndex": -1, "templateIndex": -1,
"compileTemplateKeyword": "#/definitions/", "compileTemplateKeyword": "#/definitions/",
"enum": [ "enum": ["'ASC'", "'DESC'"],
"'ASC'",
"'DESC'"
],
"typeProperties": [] "typeProperties": []
} }
} }
...@@ -1359,9 +1329,7 @@ ...@@ -1359,9 +1329,7 @@
"description": "角色管理", "description": "角色管理",
"interfaces": [ "interfaces": [
{ {
"consumes": [ "consumes": ["application/json"],
"application/json"
],
"description": "新增", "description": "新增",
"name": "add", "name": "add",
"method": "post", "method": "post",
...@@ -1419,9 +1387,7 @@ ...@@ -1419,9 +1387,7 @@
] ]
}, },
{ {
"consumes": [ "consumes": ["application/json"],
"application/json"
],
"description": "分配权限", "description": "分配权限",
"name": "assign", "name": "assign",
"method": "post", "method": "post",
...@@ -1479,9 +1445,7 @@ ...@@ -1479,9 +1445,7 @@
] ]
}, },
{ {
"consumes": [ "consumes": ["application/json"],
"application/json"
],
"description": "删除", "description": "删除",
"name": "deleted", "name": "deleted",
"method": "post", "method": "post",
...@@ -1566,9 +1530,7 @@ ...@@ -1566,9 +1530,7 @@
] ]
}, },
{ {
"consumes": [ "consumes": ["application/json"],
"application/json"
],
"description": "修改", "description": "修改",
"name": "modify", "name": "modify",
"method": "post", "method": "post",
...@@ -1731,10 +1693,7 @@ ...@@ -1731,10 +1693,7 @@
"isDefsType": false, "isDefsType": false,
"templateIndex": -1, "templateIndex": -1,
"compileTemplateKeyword": "#/definitions/", "compileTemplateKeyword": "#/definitions/",
"enum": [ "enum": ["'ASC'", "'DESC'"],
"'ASC'",
"'DESC'"
],
"typeProperties": [] "typeProperties": []
} }
} }
...@@ -1783,9 +1742,7 @@ ...@@ -1783,9 +1742,7 @@
"description": "用户管理", "description": "用户管理",
"interfaces": [ "interfaces": [
{ {
"consumes": [ "consumes": ["application/json"],
"application/json"
],
"description": "分配角色", "description": "分配角色",
"name": "assign", "name": "assign",
"method": "post", "method": "post",
...@@ -1933,10 +1890,7 @@ ...@@ -1933,10 +1890,7 @@
"isDefsType": false, "isDefsType": false,
"templateIndex": -1, "templateIndex": -1,
"compileTemplateKeyword": "#/definitions/", "compileTemplateKeyword": "#/definitions/",
"enum": [ "enum": ["'ASC'", "'DESC'"],
"'ASC'",
"'DESC'"
],
"typeProperties": [] "typeProperties": []
} }
} }
...@@ -2257,10 +2211,7 @@ ...@@ -2257,10 +2211,7 @@
"isDefsType": false, "isDefsType": false,
"templateIndex": -1, "templateIndex": -1,
"compileTemplateKeyword": "#/definitions/", "compileTemplateKeyword": "#/definitions/",
"enum": [ "enum": ["'ASC'", "'DESC'"],
"'ASC'",
"'DESC'"
],
"typeProperties": [] "typeProperties": []
}, },
"name": "sortOrder", "name": "sortOrder",
...@@ -2532,11 +2483,7 @@ ...@@ -2532,11 +2483,7 @@
"isDefsType": false, "isDefsType": false,
"templateIndex": -1, "templateIndex": -1,
"compileTemplateKeyword": "#/definitions/", "compileTemplateKeyword": "#/definitions/",
"enum": [ "enum": ["'DIR'", "'MENU'", "'BUTTON'"],
"'DIR'",
"'MENU'",
"'BUTTON'"
],
"typeProperties": [] "typeProperties": []
}, },
"name": "type", "name": "type",
......
...@@ -409,7 +409,6 @@ checkbox-group label { ...@@ -409,7 +409,6 @@ checkbox-group label {
height: 2rpx; height: 2rpx;
content: ''; content: '';
transform: scaleY(0.5); transform: scaleY(0.5);
transform: scaleY(0.5);
background-color: #c8c7cc; background-color: #c8c7cc;
} }
...@@ -469,7 +468,6 @@ checkbox-group label { ...@@ -469,7 +468,6 @@ checkbox-group label {
height: 1px; height: 1px;
content: ''; content: '';
transform: scaleY(0.5); transform: scaleY(0.5);
transform: scaleY(0.5);
background-color: #c8c7cc; background-color: #c8c7cc;
} }
...@@ -521,7 +519,6 @@ checkbox-group label { ...@@ -521,7 +519,6 @@ checkbox-group label {
height: 1px; height: 1px;
content: ''; content: '';
transform: scaleY(0.5); transform: scaleY(0.5);
transform: scaleY(0.5);
background-color: #c8c7cc; background-color: #c8c7cc;
} }
...@@ -549,7 +546,6 @@ checkbox-group label { ...@@ -549,7 +546,6 @@ checkbox-group label {
height: 1px; height: 1px;
content: ''; content: '';
transform: scaleY(0.5); transform: scaleY(0.5);
transform: scaleY(0.5);
background-color: #c8c7cc; background-color: #c8c7cc;
} }
...@@ -561,7 +557,6 @@ checkbox-group label { ...@@ -561,7 +557,6 @@ checkbox-group label {
height: 1px; height: 1px;
content: ''; content: '';
transform: scaleY(0.5); transform: scaleY(0.5);
transform: scaleY(0.5);
background-color: #c8c7cc; background-color: #c8c7cc;
} }
...@@ -591,7 +586,6 @@ checkbox-group label { ...@@ -591,7 +586,6 @@ checkbox-group label {
top: 50%; top: 50%;
color: #bbb; color: #bbb;
transform: translateY(-50%); transform: translateY(-50%);
transform: translateY(-50%);
} }
.uni-list-cell-navigate.uni-navigate-bottom::after { .uni-list-cell-navigate.uni-navigate-bottom::after {
...@@ -602,7 +596,6 @@ checkbox-group label { ...@@ -602,7 +596,6 @@ checkbox-group label {
top: 50%; top: 50%;
color: #bbb; color: #bbb;
transform: translateY(-50%); transform: translateY(-50%);
transform: translateY(-50%);
} }
.uni-list-cell-navigate.uni-navigate-bottom.uni-active::after { .uni-list-cell-navigate.uni-navigate-bottom.uni-active::after {
...@@ -613,7 +606,6 @@ checkbox-group label { ...@@ -613,7 +606,6 @@ checkbox-group label {
top: 50%; top: 50%;
color: #bbb; color: #bbb;
transform: translateY(-50%); transform: translateY(-50%);
transform: translateY(-50%);
} }
.uni-collapse.uni-list-cell { .uni-collapse.uni-list-cell {
...@@ -889,7 +881,6 @@ checkbox-group label { ...@@ -889,7 +881,6 @@ checkbox-group label {
top: 50%; top: 50%;
color: #bbb; color: #bbb;
transform: translateY(-50%); transform: translateY(-50%);
transform: translateY(-50%);
} }
.feedback-body { .feedback-body {
......
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1561 6260 1 9 5,身份证尾号: 5 0375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。--> <!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 5 6 1 6 2 60195,身份证尾号: 503 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<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 5 616 26 0 195,身份证尾号:50 3 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。--> <!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 56 16 2 60 1 95,身份证尾号:5 0 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<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授权予长沙壹润信息科技发展有限公司(手机号: 1561 62 6 01 9 5,身份证尾号: 50 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。--> <!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 56 16 2 6 019 5,身份证尾号:5 0 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<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">
......
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 5 6 16 26 0195,身份证尾号:5 037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。--> <!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 5616 2 6 019 5,身份证尾号: 5 0 375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<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授权予长沙壹润信息科技发展有限公司(手机号: 1561 626 0 1 95,身份证尾号: 5 0 375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 15 6162 6019 5,身份证尾号: 5037 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授权予长沙壹润信息科技发展有限公司(手机号: 1561 62 6 0 1 9 5,身份证尾号: 50 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 15 61 62 60 19 5,身份证尾号: 5 0 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
class FillStyleLinearGradient { class FillStyleLinearGradient {
constructor(x0, y0, x1, y1) { constructor(x0, y0, x1, y1) {
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1561626 0 1 95,身份证尾号:503 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 561 6 26 01 95,身份证尾号:5 03 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
class FillStylePattern { class FillStylePattern {
constructor(img, pattern) { constructor(img, pattern) {
this._style = pattern; this._style = pattern;
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 56 1626 0 1 9 5,身份证尾号:5 0 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:156 1 6 2 601 9 5,身份证尾号:5 0 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授权予长沙壹润信息科技发展有限公司(手机号: 1 5 61 626019 5,身份证尾号: 50 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:156 1 62 60 1 9 5,身份证尾号: 50 375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
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 5 616 26 0 1 95,身份证尾号:50 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 56 1 626 0 19 5,身份证尾号:50 3 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
export default class WebGLActiveInfo { export default class WebGLActiveInfo {
className = 'WebGLActiveInfo'; className = 'WebGLActiveInfo';
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 5 6 162 6 0 1 95,身份证尾号: 50 375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 561 6 26 01 95,身份证尾号: 5037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils'; import {getTransferedObjectUUID} from './classUtils';
const name = 'WebGLBuffer'; const name = 'WebGLBuffer';
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 5616 26 0 195,身份证尾号:50 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 5 61 626 0 195,身份证尾号:503 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils'; import {getTransferedObjectUUID} from './classUtils';
const name = 'WebGLFrameBuffer'; const name = 'WebGLFrameBuffer';
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1561 6 26 019 5,身份证尾号:5 0 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 56 16 26 01 95,身份证尾号: 50 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
export default { export default {
"DEPTH_BUFFER_BIT": 256, "DEPTH_BUFFER_BIT": 256,
"STENCIL_BUFFER_BIT": 1024, "STENCIL_BUFFER_BIT": 1024,
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15 6 16 2 60 1 95,身份证尾号:5 0 3 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15 61 6 2 60 1 95,身份证尾号: 5 0375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
let i = 1; let i = 1;
const GLmethod = {}; const GLmethod = {};
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 5 6 16 260 1 95,身份证尾号:5 03 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 561 6 2 60195,身份证尾号: 5037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
const GLtype = {}; const GLtype = {};
[ [
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 5 6 1 626 01 95,身份证尾号: 5 03 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 156162 60 1 95,身份证尾号:5 0375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils'; import {getTransferedObjectUUID} from './classUtils';
const name = 'WebGLProgram'; const name = 'WebGLProgram';
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 5 61 62 6 0 19 5,身份证尾号: 5 037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 5616 26 01 9 5,身份证尾号: 503 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils'; import {getTransferedObjectUUID} from './classUtils';
const name = 'WebGLRenderBuffer'; const name = 'WebGLRenderBuffer';
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 5616 2601 9 5,身份证尾号:50 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 5616 2 6 01 9 5,身份证尾号:503 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
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授权予长沙壹润信息科技发展有限公司(手机号:1561 62 6 01 9 5,身份证尾号:5 03 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 5 6 16 2 6019 5,身份证尾号: 5 0 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils'; import {getTransferedObjectUUID} from './classUtils';
const name = 'WebGLShader'; const name = 'WebGLShader';
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15 6 1 6260 1 9 5,身份证尾号: 5 03 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:156162 6 0 1 95,身份证尾号:5 037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
export default class WebGLShaderPrecisionFormat { export default class WebGLShaderPrecisionFormat {
className = 'WebGLShaderPrecisionFormat'; className = 'WebGLShaderPrecisionFormat';
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 5616 2 60 19 5,身份证尾号:50 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 5 6 1 6 26019 5,身份证尾号: 5 03 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils'; import {getTransferedObjectUUID} from './classUtils';
const name = 'WebGLTexture'; const name = 'WebGLTexture';
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15616 26 01 9 5,身份证尾号: 5 0 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 56162 6 0 1 9 5,身份证尾号: 5037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils'; import {getTransferedObjectUUID} from './classUtils';
const name = 'WebGLUniformLocation'; const name = 'WebGLUniformLocation';
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15 616 26 01 95,身份证尾号: 5 0375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15 6 162 6 01 95,身份证尾号:5 03 7 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授权予长沙壹润信息科技发展有限公司(手机号: 1 5 61 62601 95,身份证尾号:5 03 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 15 6 16 2 6019 5,身份证尾号: 5037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
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授权予长沙壹润信息科技发展有限公司(手机号: 15 6 1 6 26 01 95,身份证尾号: 50 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 561 6 26 0 19 5,身份证尾号: 5 0 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
let incId = 1; let incId = 1;
const noop = function () { }; const noop = function () { };
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 56 16 2 6 0195,身份证尾号:50 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 5 6 1 6 26 0195,身份证尾号:50 3 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
export function ArrayBufferToBase64 (buffer) { export function ArrayBufferToBase64 (buffer) {
var binary = ''; var binary = '';
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 156 1 62 60195,身份证尾号: 50 375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 5 616 26 0 1 95,身份证尾号: 503 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import GCanvas from './env/canvas'; import GCanvas from './env/canvas';
import GImage from './env/image'; import GImage from './env/image';
......
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 5 61626 0 195,身份证尾号: 5 0375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。--> <!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1561 62 601 9 5,身份证尾号:5037 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">
......
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:156 1 6 2 601 95,身份证尾号: 50 375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。--> <!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15616 2 6 0 195,身份证尾号: 5 0 375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<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授权予长沙壹润信息科技发展有限公司(手机号:156 1 6 2 60195,身份证尾号:5 03 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。--> <!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 5 616 2 6 0 195,身份证尾号:5 0375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<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 }"
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<script> <script>
//非easycom模式取消注释引入字体组件,按实际路径进行调整 //非easycom模式取消注释引入字体组件,按实际路径进行调整
// import fuiIcon from "@/components/firstui/fui-icon/fui-icon" // import fuiIcon from "@/components/firstui/fui-icon/fui-icon.vue"
export default { export default {
name: "fui-backtop", name: "fui-backtop",
emits: ['click'], emits: ['click'],
......
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 56 16 260 195,身份证尾号:503 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。--> <!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 56 1 62 6 01 9 5,身份证尾号:50 3 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授权予长沙壹润信息科技发展有限公司(手机号: 1 5 6162 60 1 95,身份证尾号: 5037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15 6 16 260195,身份证尾号: 5 03 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 561 62 601 95,身份证尾号: 5 0 375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。--> <!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 5 6162 6 019 5,身份证尾号: 5 0 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 56 1 6 2 601 95,身份证尾号: 503 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 561 626 0 1 9 5,身份证尾号: 503 7 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授权予长沙壹润信息科技发展有限公司(手机号: 1 56 1626 019 5,身份证尾号: 5037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 15 61 6 260 1 9 5,身份证尾号:5 0 375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
class FillStyleLinearGradient { class FillStyleLinearGradient {
constructor(x0, y0, x1, y1) { constructor(x0, y0, x1, y1) {
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 5616 2601 9 5,身份证尾号:50 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 5 616 2 60 19 5,身份证尾号:5 037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
class FillStylePattern { class FillStylePattern {
constructor(img, pattern) { constructor(img, pattern) {
this._style = pattern; this._style = pattern;
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1561 6260 19 5,身份证尾号: 5 0375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15 61 6 26 01 9 5,身份证尾号: 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授权予长沙壹润信息科技发展有限公司(手机号:1 56 1 6260 195,身份证尾号: 503 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15 6 162 6 0 1 9 5,身份证尾号:5 0375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
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 561626 0 1 9 5,身份证尾号: 50 375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:156 1 6 2601 95,身份证尾号:503 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
export default class WebGLActiveInfo { export default class WebGLActiveInfo {
className = 'WebGLActiveInfo'; className = 'WebGLActiveInfo';
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 56 1 6 26 01 9 5,身份证尾号:5 0 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 56 16 2 601 95,身份证尾号:5 0 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils'; import {getTransferedObjectUUID} from './classUtils';
const name = 'WebGLBuffer'; const name = 'WebGLBuffer';
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15 61 62 60 1 9 5,身份证尾号:5037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 156 1 62601 9 5,身份证尾号: 50 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils'; import {getTransferedObjectUUID} from './classUtils';
const name = 'WebGLFrameBuffer'; const name = 'WebGLFrameBuffer';
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 56 16 26 0 19 5,身份证尾号:5 037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 156 1 6 2 60 19 5,身份证尾号:5 03 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
export default { export default {
"DEPTH_BUFFER_BIT": 256, "DEPTH_BUFFER_BIT": 256,
"STENCIL_BUFFER_BIT": 1024, "STENCIL_BUFFER_BIT": 1024,
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 5 616 2 60 1 95,身份证尾号:5 0 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 56 162 6 019 5,身份证尾号: 50 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
let i = 1; let i = 1;
const GLmethod = {}; const GLmethod = {};
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 15 61626 0 19 5,身份证尾号: 50 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:156 1 6 2 6 019 5,身份证尾号: 5 0375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
const GLtype = {}; const GLtype = {};
[ [
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 5 616 2 6 0195,身份证尾号: 5 0375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 56 16 26 0 1 9 5,身份证尾号:5 0 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils'; import {getTransferedObjectUUID} from './classUtils';
const name = 'WebGLProgram'; const name = 'WebGLProgram';
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 56 162 601 95,身份证尾号: 50 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 5616 2 6 019 5,身份证尾号:5037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils'; import {getTransferedObjectUUID} from './classUtils';
const name = 'WebGLRenderBuffer'; const name = 'WebGLRenderBuffer';
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 56 16 2 60 195,身份证尾号: 503 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 5 6 1 626019 5,身份证尾号: 50 375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
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 5616 2 601 9 5,身份证尾号: 50 375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15 6 1626 01 9 5,身份证尾号: 503 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils'; import {getTransferedObjectUUID} from './classUtils';
const name = 'WebGLShader'; const name = 'WebGLShader';
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 561 6 260 19 5,身份证尾号: 5 0375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 5616 260 1 95,身份证尾号:50 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
export default class WebGLShaderPrecisionFormat { export default class WebGLShaderPrecisionFormat {
className = 'WebGLShaderPrecisionFormat'; className = 'WebGLShaderPrecisionFormat';
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 15 6 16 2 60195,身份证尾号: 50375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 15 616 2 60 195,身份证尾号:50 3 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils'; import {getTransferedObjectUUID} from './classUtils';
const name = 'WebGLTexture'; const name = 'WebGLTexture';
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 15 6 162 6019 5,身份证尾号:5 03 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:156 1 6 2 6 0 195,身份证尾号: 503 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils'; import {getTransferedObjectUUID} from './classUtils';
const name = 'WebGLUniformLocation'; const name = 'WebGLUniformLocation';
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 561 6 2 6 0195,身份证尾号:503 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15 6 1 6260 1 9 5,身份证尾号:5 0 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授权予长沙壹润信息科技发展有限公司(手机号:1 5 6 1 62601 9 5,身份证尾号:5 03 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 5 61 6 260 1 9 5,身份证尾号: 50 3 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
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 56 1 6 2 6 0 195,身份证尾号:5 0 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 156 1 6 260 1 9 5,身份证尾号: 503 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
let incId = 1; let incId = 1;
const noop = function () { }; const noop = function () { };
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 56 16 2 6 019 5,身份证尾号:5 03 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15 61 6 2601 9 5,身份证尾号:50 3 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
export function ArrayBufferToBase64 (buffer) { export function ArrayBufferToBase64 (buffer) {
var binary = ''; var binary = '';
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15 6 1 62 6 0195,身份证尾号: 5 0375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 56 1 62 6 01 9 5,身份证尾号: 50 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import GCanvas from './env/canvas'; import GCanvas from './env/canvas';
import GImage from './env/image'; import GImage from './env/image';
......
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 156 16260 1 95,身份证尾号: 5 0 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。--> <!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 5 61 6260 1 9 5,身份证尾号:5037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<template> <template>
<view class="fui-bottom__navbar-wrap" :class="{'fui-bottom__navbar-fixed':isFixed}" <view class="fui-bottom__navbar-wrap" :class="{'fui-bottom__navbar-fixed':isFixed}"
:style="{background:background,zIndex:zIndex}"> :style="{background:background,zIndex:zIndex}">
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
<script> <script>
//非easycom模式取消注释引入字体组件,按实际路径进行调整 //非easycom模式取消注释引入字体组件,按实际路径进行调整
// import fuiIcon from "@/components/firstui/fui-icon/fui-icon" // import fuiIcon from "@/components/firstui/fui-icon/fui-icon.vue"
export default { export default {
name: "fui-bottom-navbar", name: "fui-bottom-navbar",
emits: ['init', 'click'], emits: ['init', 'click'],
......
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 56 1 626 01 9 5,身份证尾号:5 03 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。--> <!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 156 162 60 1 9 5,身份证尾号: 5 0375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<template> <template>
<view class="fui-bottom__popup-wrap" :class="{'fui-bottom__popwrap-show':show}" <view class="fui-bottom__popup-wrap" :class="{'fui-bottom__popwrap-show':show}"
:style="{ zIndex: zIndex,background:maskBackground}" @tap.stop="handleClose" @touchmove.stop.prevent="stop" :style="{ zIndex: zIndex,background:maskBackground}" @tap.stop="handleClose" @touchmove.stop.prevent="stop"
......
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1561 6260 1 95,身份证尾号:5 0 3 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。--> <!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1561 62 60 1 9 5,身份证尾号: 50 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<template> <template>
<view class="fui-bubble__box-wrap" ref="fui_bb_wrap"> <view class="fui-bubble__box-wrap" ref="fui_bb_wrap">
<slot></slot> <slot></slot>
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
const animation = uni.requireNativePlugin('animation'); const animation = uni.requireNativePlugin('animation');
// #endif // #endif
//非easycom模式取消注释引入字体组件,按实际路径进行调整 //非easycom模式取消注释引入字体组件,按实际路径进行调整
// import fuiIcon from "@/components/firstui/fui-icon/fui-icon" // import fuiIcon from "@/components/firstui/fui-icon/fui-icon.vue"
export default { export default {
name: 'fui-bubble-box', name: 'fui-bubble-box',
emits: ['click', 'close'], emits: ['click', 'close'],
......
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:156 1 62 6 0 19 5,身份证尾号:50 3 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。--> <!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 561 626 0 1 9 5,身份证尾号: 50 375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<template> <template>
<view class="fui-button__wrap" :class="[!width || width==='100%' || width===true?'fui-button__flex-1':'']" <view class="fui-button__wrap" :class="[!width || width==='100%' || width===true?'fui-button__flex-1':'',disabled && !disabledBackground ? 'fui-button__opacity' : '']"
:style="{width: width,height: getHeight,marginTop:margin[0] || 0, marginRight:margin[1]||0,marginBottom:margin[2] || margin[0]||0,marginLeft:margin[3] || margin[1]||0,borderRadius: getRadius,background:getBackground}" :style="{width: width,height: getHeight,marginTop:margin[0] || 0, marginRight:margin[1]||0,marginBottom:margin[2] || margin[0]||0,marginLeft:margin[3] || margin[1]||0,borderRadius: getRadius,background:getBackground}"
@touchstart="handleStart" @touchend="handleClick" @touchcancel="handleEnd"> @touchstart="handleStart" @touchend="handleClick" @touchcancel="handleEnd">
<button class="fui-button" :class="[ <button class="fui-button" :class="[
bold ? 'fui-text__bold' : '', bold ? 'fui-text__bold' : '',
time && (plain || type==='link') ? 'fui-button__opacity' : '', time && (plain || type==='link') ? 'fui-button__opacity' : '',
disabled && !disabledBackground ? 'fui-button__opacity' : '',
!background && !disabledBackground && !plain?('fui-button__'+type):'', !background && !disabledBackground && !plain?('fui-button__'+type):'',
!width || width==='100%' || width===true?'fui-button__flex-1':'', !width || width==='100%' || width===true?'fui-button__flex-1':'',
time && !plain && type!=='link' ? 'fui-button__active' : '', time && !plain && type!=='link' ? 'fui-button__active' : '',
disabled?'':'fui-button__nvue', pc && !disabled?(plain || type==='link'?'fui-button__opacity-pc':'fui-button__active-pc'):'',
pc && !disabled?(plain || type==='link'?'fui-button__opacity-pc':'fui-button__active-pc'):''
]" :style="{ ]" :style="{
width: width, width: width,
height: getHeight, height: getHeight,
lineHeight: getHeight, lineHeight: getHeight,
background: disabled && disabledBackground ? disabledBackground : (plain ? 'transparent' : background), background: disabled ? (disabledBackground || getTypeColor) : (plain ? 'transparent' : getBackground),
borderWidth:!borderColor || !isNvue?'0':borderWidth, borderWidth:!borderColor || !isNvue?'0':borderWidth,
borderColor: borderColor ? borderColor : disabled && disabledBackground ? disabledBackground : (background || 'transparent'), borderColor: borderColor ? borderColor : disabled && disabledBackground ? disabledBackground : (background || 'transparent'),
borderRadius: getRadius, borderRadius: getRadius,
...@@ -159,11 +158,10 @@ ...@@ -159,11 +158,10 @@
} }
}, },
computed: { computed: {
getBackground() { getTypeColor() {
// #ifndef APP-NVUE // #ifndef APP-NVUE
return 'transparent' return '';
// #endif // #endif
// #ifdef APP-NVUE
let colors = { let colors = {
primary: '#465CFF', primary: '#465CFF',
success: '#09BE4F', success: '#09BE4F',
...@@ -173,7 +171,10 @@ ...@@ -173,7 +171,10 @@
purple: '#6831FF', purple: '#6831FF',
gray: '#F8F8F8' gray: '#F8F8F8'
} }
let color = colors[this.type] || 'transparent' return colors[this.type] || 'transparent'
},
getBackground() {
let color = this.getTypeColor
if (this.disabled || this.plain) { if (this.disabled || this.plain) {
color = 'transparent'; color = 'transparent';
} }
...@@ -181,7 +182,6 @@ ...@@ -181,7 +182,6 @@
color = this.background color = this.background
} }
return color return color
// #endif
}, },
getColor() { getColor() {
let color = '#fff' let color = '#fff'
...@@ -197,16 +197,16 @@ ...@@ -197,16 +197,16 @@
return color; return color;
}, },
getSize() { getSize() {
const size = (uni.$fui && uni.$fui.fuiButton && uni.$fui.fuiButton.size) || 32 const size = (uni && uni.$fui && uni.$fui.fuiButton && uni.$fui.fuiButton.size) || 32
return `${this.size || size}rpx` return `${this.size || size}rpx`
}, },
getHeight() { getHeight() {
const height = (uni.$fui && uni.$fui.fuiButton && uni.$fui.fuiButton.height) || '96rpx' const height = (uni && uni.$fui && uni.$fui.fuiButton && uni.$fui.fuiButton.height) || '96rpx'
return this.height || height return this.height || height
}, },
// #ifndef APP-NVUE // #ifndef APP-NVUE
getBorderRadius() { getBorderRadius() {
let radius = (uni.$fui && uni.$fui.fuiButton && uni.$fui.fuiButton.radius) || '16rpx' let radius = (uni && uni.$fui && uni.$fui.fuiButton && uni.$fui.fuiButton.radius) || '16rpx'
radius = this.radius || radius || '0' radius = this.radius || radius || '0'
if (~radius.indexOf('rpx')) { if (~radius.indexOf('rpx')) {
radius = (Number(radius.replace('rpx', '')) * 2) + 'rpx' radius = (Number(radius.replace('rpx', '')) * 2) + 'rpx'
...@@ -219,7 +219,7 @@ ...@@ -219,7 +219,7 @@
}, },
// #endif // #endif
getRadius() { getRadius() {
const radius = (uni.$fui && uni.$fui.fuiButton && uni.$fui.fuiButton.radius) || '16rpx' const radius = (uni && uni.$fui && uni.$fui.fuiButton && uni.$fui.fuiButton.radius) || '16rpx'
return this.radius || radius return this.radius || radius
} }
}, },
...@@ -315,6 +315,9 @@ ...@@ -315,6 +315,9 @@
<style scoped> <style scoped>
.fui-button__wrap { .fui-button__wrap {
position: relative; position: relative;
/* #ifndef APP-NVUE */
background: transparent !important;
/* #endif */
} }
.fui-button { .fui-button {
...@@ -355,13 +358,6 @@ ...@@ -355,13 +358,6 @@
/* #endif */ /* #endif */
/* #ifdef APP-NVUE */
.fui-button__nvue {
opacity: 1 !important;
}
/* #endif */
.fui-button__flex-1 { .fui-button__flex-1 {
flex: 1; flex: 1;
/* #ifndef APP-NVUE */ /* #ifndef APP-NVUE */
...@@ -436,88 +432,45 @@ ...@@ -436,88 +432,45 @@
.fui-button__link { .fui-button__link {
border-color: transparent !important; border-color: transparent !important;
background: transparent !important; background-color: transparent !important;
} }
.fui-button__primary {
/* #ifdef APP-NVUE */
border-color: #465CFF !important;
background: #465CFF !important;
/* #endif */
/* #ifndef APP-NVUE */ /* #ifndef APP-NVUE */
.fui-button__primary {
border-color: var(--fui-color-primary, #465CFF) !important; border-color: var(--fui-color-primary, #465CFF) !important;
background: var(--fui-color-primary, #465CFF) !important; background: var(--fui-color-primary, #465CFF) !important;
/* #endif */
} }
.fui-button__success {
/* #ifdef APP-NVUE */
border-color: #09BE4F !important;
background: #09BE4F !important;
/* #endif */
/* #ifndef APP-NVUE */ .fui-button__success {
border-color: var(--fui-color-success, #09BE4F) !important; border-color: var(--fui-color-success, #09BE4F) !important;
background: var(--fui-color-success, #09BE4F) !important; background: var(--fui-color-success, #09BE4F) !important;
/* #endif */
} }
.fui-button__warning { .fui-button__warning {
/* #ifdef APP-NVUE */
border-color: #FFB703 !important;
background: #FFB703 !important;
/* #endif */
/* #ifndef APP-NVUE */
border-color: var(--fui-color-warning, #FFB703) !important; border-color: var(--fui-color-warning, #FFB703) !important;
background: var(--fui-color-warning, #FFB703) !important; background: var(--fui-color-warning, #FFB703) !important;
/* #endif */
} }
.fui-button__danger { .fui-button__danger {
/* #ifdef APP-NVUE */
border-color: #FF2B2B !important;
background: #FF2B2B !important;
/* #endif */
/* #ifndef APP-NVUE */
border-color: var(--fui-color-danger, #FF2B2B) !important; border-color: var(--fui-color-danger, #FF2B2B) !important;
background: var(--fui-color-danger, #FF2B2B) !important; background: var(--fui-color-danger, #FF2B2B) !important;
/* #endif */
} }
.fui-button__purple { .fui-button__purple {
/* #ifdef APP-NVUE */
border-color: #6831FF !important;
background: #6831FF !important;
/* #endif */
/* #ifndef APP-NVUE */
border-color: var(--fui-color-purple, #6831FF) !important; border-color: var(--fui-color-purple, #6831FF) !important;
background: var(--fui-color-purple, #6831FF) !important; background: var(--fui-color-purple, #6831FF) !important;
/* #endif */
} }
.fui-button__gray { .fui-button__gray {
/* #ifdef APP-NVUE */
border-color: #F8F8F8 !important;
background: #F8F8F8 !important;
/* #endif */
/* #ifndef APP-NVUE */
border-color: var(--fui-bg-color-content, #F8F8F8) !important; border-color: var(--fui-bg-color-content, #F8F8F8) !important;
background: var(--fui-bg-color-content, #F8F8F8) !important; background: var(--fui-bg-color-content, #F8F8F8) !important;
color: var(--fui-color-primary, #465CFF) !important; color: var(--fui-color-primary, #465CFF) !important;
/* #endif */
} }
.fui-btn__gray-color { .fui-btn__gray-color {
/* #ifdef APP-NVUE */
color: #465CFF !important;
/* #endif */
/* #ifndef APP-NVUE */
color: var(--fui-color-primary, #465CFF) !important; color: var(--fui-color-primary, #465CFF) !important;
/* #endif */
} }
/* #endif */
</style> </style>
\ No newline at end of file
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 5616 2 6 01 95,身份证尾号:5 0 375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。--> <!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15 6 1 6260 195,身份证尾号:5 037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<template> <template>
<view class="fui-calendar__wrap" :style="{width:dateWidth,background:background}"> <view class="fui-calendar__wrap" :style="{width:dateWidth,background:background}">
<view class="fui-calendar__header"> <view class="fui-calendar__header">
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
<script> <script>
import lunar from './index.js'; import lunar from './index.js';
// import fuiIcon from "@/components/firstui/fui-icon/fui-icon" // import fuiIcon from "@/components/firstui/fui-icon/fui-icon.vue"
export default { export default {
name: "fui-calendar", name: "fui-calendar",
emits: ['change'], emits: ['change'],
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15 6 1 6 260 1 9 5,身份证尾号:50 375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 156 1 6 2 601 95,身份证尾号:5 0 3 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
/** /**
* @1900-2100区间内的公历、农历互转 * @1900-2100区间内的公历、农历互转
* @公历转农历:solar2lunar(1987,11,01); * @公历转农历:solar2lunar(1987,11,01);
......
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 5616 2 6 01 9 5,身份证尾号:5 037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。--> <!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 56 162 60 1 95,身份证尾号:5 0 375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<template> <template>
<!--nvue下, Android平台阴影设置elevation值--> <!--nvue下, Android平台阴影设置elevation值-->
<view class="fui-card__wrap" <view class="fui-card__wrap"
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<text :style="{fontSize:tagSize+'rpx',color:tagColor}">{{tag}}</text> <text :style="{fontSize:tagSize+'rpx',color:tagColor}">{{tag}}</text>
</view> </view>
</view> </view>
<view class="fui-card__body"> <view class="fui-card__body" :class="{'fui-card__header-line':footerLine}">
<slot></slot> <slot></slot>
</view> </view>
<view class="fui-card__footer" <view class="fui-card__footer"
...@@ -83,6 +83,11 @@ ...@@ -83,6 +83,11 @@
type: Boolean, type: Boolean,
default: true default: true
}, },
//是否需要内容与footer之间线条
footerLine: {
type: Boolean,
default: false
},
//header 底部线条颜色,仅nvue有效,非nvue改变颜色使用css变量 //header 底部线条颜色,仅nvue有效,非nvue改变颜色使用css变量
lineColor: { lineColor: {
type: String, type: String,
......
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 5 616 2601 95,身份证尾号:503 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。--> <!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 5 6 16 2 60 195,身份证尾号: 5 037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<template> <template>
<view class="fui-cascader__wrap"> <view class="fui-cascader__wrap">
<view class="fui-cascader__header-wrap"> <view class="fui-cascader__header-wrap">
......
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 5 6 162 60 1 95,身份证尾号:5 03 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。--> <!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 156 1 6 26 01 9 5,身份证尾号: 5 0 375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<template> <template>
<!-- #ifdef APP-PLUS || H5 || MP-ALIPAY || MP-TOUTIAO --> <!-- #ifdef APP-PLUS || H5 || MP-ALIPAY || MP-TOUTIAO -->
<checkbox-group :name="name"> <checkbox-group :name="name">
......
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15 6 16 26019 5,身份证尾号:50 3 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。--> <!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 5 6 1 6260 1 9 5,身份证尾号:5 0 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<template> <template>
<view class="fui-checkbox__input" <view class="fui-checkbox__input"
:class="{'fui-checkbox__disabled':disabled,'fui-checkbox__color':!color && val && !isCheckMark}" :class="{'fui-checkbox__disabled':disabled,'fui-checkbox__color':!color && val && !isCheckMark}"
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
@tap.stop="checkboxChange"> @tap.stop="checkboxChange">
<view class="fui-check__mark" :style="{borderBottomColor:checkMarkColor,borderRightColor:checkMarkColor}" <view class="fui-check__mark" :style="{borderBottomColor:checkMarkColor,borderRightColor:checkMarkColor}"
v-if="val"></view> v-if="val"></view>
<checkbox class="fui-checkbox__hidden" hidden :color="color" :disabled="disabled" :value="value" :checked="val"> <checkbox class="fui-checkbox__hidden" style="opacity: 0;position: absolute;" :color="color" :disabled="disabled" :value="value" :checked="val">
</checkbox> </checkbox>
</view> </view>
</template> </template>
...@@ -220,7 +220,6 @@ ...@@ -220,7 +220,6 @@
position: absolute; position: absolute;
top: 0; top: 0;
left: 0; left: 0;
opacity: 0;
z-index: 2; z-index: 2;
} }
......
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 15 6 162 60 1 9 5,身份证尾号: 50 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。--> <!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 561 6 2 6 0 19 5,身份证尾号: 5 0 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<template> <template>
<view class="fui-circle__wrap" :style="{width: w+'px',height:w+'px'}"> <view class="fui-circle__wrap" :style="{width: w+'px',height:w+'px'}">
<!-- #ifdef APP-NVUE --> <!-- #ifdef APP-NVUE -->
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 156 16 2 60 1 9 5,身份证尾号:5 037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1561 6 2 60 195,身份证尾号: 503 7 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授权予长沙壹润信息科技发展有限公司(手机号:1 5616 2 6 0 195,身份证尾号:5 0 375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 15 6 16260 1 9 5,身份证尾号:5 0 375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
class FillStyleLinearGradient { class FillStyleLinearGradient {
constructor(x0, y0, x1, y1) { constructor(x0, y0, x1, y1) {
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 56 1626 0 195,身份证尾号: 5 0 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 561 6 26 0195,身份证尾号:50 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
class FillStylePattern { class FillStylePattern {
constructor(img, pattern) { constructor(img, pattern) {
this._style = pattern; this._style = pattern;
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15 61 6 260 19 5,身份证尾号: 50 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 56 16 26 0 1 9 5,身份证尾号: 50 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
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 162 6 0 1 9 5,身份证尾号:50 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 15 6 1 62 6019 5,身份证尾号:5 0 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
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授权予长沙壹润信息科技发展有限公司(手机号:15 61 6260 1 95,身份证尾号:5 0 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 156 16 2 60 1 9 5,身份证尾号:5 03 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
export default class WebGLActiveInfo { export default class WebGLActiveInfo {
className = 'WebGLActiveInfo'; className = 'WebGLActiveInfo';
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15 6 1 62 601 95,身份证尾号: 50 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 5 6 162 60 19 5,身份证尾号:50 3 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils'; import {getTransferedObjectUUID} from './classUtils';
const name = 'WebGLBuffer'; const name = 'WebGLBuffer';
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 56 1 6 26 01 95,身份证尾号:5 0 375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 56 1 62 60 195,身份证尾号:5 03 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils'; import {getTransferedObjectUUID} from './classUtils';
const name = 'WebGLFrameBuffer'; const name = 'WebGLFrameBuffer';
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 5616 26019 5,身份证尾号:5 03 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 15 6 1 6 26 0 1 95,身份证尾号: 50 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
export default { export default {
"DEPTH_BUFFER_BIT": 256, "DEPTH_BUFFER_BIT": 256,
"STENCIL_BUFFER_BIT": 1024, "STENCIL_BUFFER_BIT": 1024,
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 5 61 626 01 9 5,身份证尾号:50 3 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 5 6 1 626019 5,身份证尾号: 50 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
let i = 1; let i = 1;
const GLmethod = {}; const GLmethod = {};
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 5 6 1 626 019 5,身份证尾号:5 0 3 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15 61 6 2 60 195,身份证尾号:5037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
const GLtype = {}; const GLtype = {};
[ [
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:156 1626 0 1 9 5,身份证尾号:50 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 5616 26 019 5,身份证尾号:50 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils'; import {getTransferedObjectUUID} from './classUtils';
const name = 'WebGLProgram'; const name = 'WebGLProgram';
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 5 6 1 6 2 6 0 195,身份证尾号:5 0 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 56 1 6 26 01 95,身份证尾号: 5 03 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils'; import {getTransferedObjectUUID} from './classUtils';
const name = 'WebGLRenderBuffer'; const name = 'WebGLRenderBuffer';
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 15 6 1 6 26 0 195,身份证尾号: 5 0375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 5 61 6 26019 5,身份证尾号: 5 037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
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 56 1 62 6019 5,身份证尾号: 50375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 156162 6 01 95,身份证尾号: 5 037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils'; import {getTransferedObjectUUID} from './classUtils';
const name = 'WebGLShader'; const name = 'WebGLShader';
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 5 616260 19 5,身份证尾号:50 3 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 5 616 260 19 5,身份证尾号: 503 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
export default class WebGLShaderPrecisionFormat { export default class WebGLShaderPrecisionFormat {
className = 'WebGLShaderPrecisionFormat'; className = 'WebGLShaderPrecisionFormat';
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 15 6 1 62601 95,身份证尾号: 5 0 375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15616 2601 95,身份证尾号:5 0 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils'; import {getTransferedObjectUUID} from './classUtils';
const name = 'WebGLTexture'; const name = 'WebGLTexture';
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 561 62 6 01 95,身份证尾号:503 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15 6 1 6 26 0 1 95,身份证尾号:503 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils'; import {getTransferedObjectUUID} from './classUtils';
const name = 'WebGLUniformLocation'; const name = 'WebGLUniformLocation';
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 5616 2601 95,身份证尾号: 50 3 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 15 616 2 6 0195,身份证尾号:5 037 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授权予长沙壹润信息科技发展有限公司(手机号:1 5 6 1 6 26 0 195,身份证尾号: 503 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 561 626 019 5,身份证尾号:503 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
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 5 61 626 0 195,身份证尾号: 503 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 156 1 6 2 6 0195,身份证尾号: 50 3 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
let incId = 1; let incId = 1;
const noop = function () { }; const noop = function () { };
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 56 16 2 6 019 5,身份证尾号: 5037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 156 16 26 0 19 5,身份证尾号:5 037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
export function ArrayBufferToBase64 (buffer) { export function ArrayBufferToBase64 (buffer) {
var binary = ''; var binary = '';
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 15 6 1 6 2 6 0 195,身份证尾号: 5 03 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 56 16 2 6 0 195,身份证尾号: 5 0 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import GCanvas from './env/canvas'; import GCanvas from './env/canvas';
import GImage from './env/image'; import GImage from './env/image';
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:156 1 6 2 6 0 1 95,身份证尾号: 5 0 375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15 6 1 62 60 1 95,身份证尾号: 50 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
// #ifdef MP // #ifdef MP
export default { export default {
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:156 16 26 01 95,身份证尾号:50 3 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15 61 6 2 60 19 5,身份证尾号: 50 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
// #ifdef APP-NVUE // #ifdef APP-NVUE
import { import {
enable, enable,
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 561 626 0 195,身份证尾号:5 0 3 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1561 6 2 6 0 1 95,身份证尾号:50 3 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
// #ifdef APP-VUE || H5 // #ifdef APP-VUE || H5
export default { export default {
data() { data() {
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 5 61 6 2601 95,身份证尾号:5 0 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 156162 6 0 1 9 5,身份证尾号: 50 375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
// #ifdef H5 // #ifdef H5
/** /**
* clipboard.min.js support for ES6 module import * clipboard.min.js support for ES6 module import
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 5 616 2 6 0 19 5,身份证尾号: 50 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。 // 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:156 16 2601 95,身份证尾号:5 0 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
/*! /*!
* 剪贴板 * 剪贴板
* *
......
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 56 1 6 26019 5,身份证尾号:50 375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。--> <!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 5 6 1 626 019 5,身份证尾号: 50 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<template> <template>
<!-- #ifdef APP-NVUE --> <!-- #ifdef APP-NVUE -->
<view :style="{ <view :style="{
......
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 5 6162 6 0 19 5,身份证尾号:503 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。--> <!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 561 62601 9 5,身份证尾号: 5 037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<template> <template>
<view class="fui-collapse__item"> <view class="fui-collapse__item">
<view @click="onClick(!isOpen)" class="fui-collapse-item__title" :class="{'fui-collapse__disabled':disabled}" <view @click="onClick(!isOpen)" class="fui-collapse-item__title" :class="{'fui-collapse__disabled':disabled}"
...@@ -104,21 +104,6 @@ ...@@ -104,21 +104,6 @@
watch: { watch: {
open(val) { open(val) {
this.isOpen = val this.isOpen = val
},
isOpen(val) {
this.$nextTick(async () => {
let parent = this.$parent;
let parentName = parent.$options.name;
while (parentName !== 'PageBody') {
if (parentName === 'fui-collapse-item') {
await parent.init()
}
parent = parent.$parent;
if (!parent) return false;
parentName = parent.$options.name;
}
})
} }
}, },
updated(e) { updated(e) {
...@@ -151,14 +136,12 @@ ...@@ -151,14 +136,12 @@
}, },
methods: { methods: {
init() { init() {
const promise = []
// #ifndef APP-NVUE // #ifndef APP-NVUE
promise.push(this.getCollapseHeight()) this.getCollapseHeight()
// #endif // #endif
// #ifdef APP-NVUE // #ifdef APP-NVUE
promise.push(this.getNvueHeight()) this.getNvueHeight()
// #endif // #endif
return Promise.all(promise)
}, },
uninstall() { uninstall() {
if (this.collapse) { if (this.collapse) {
...@@ -182,7 +165,6 @@ ...@@ -182,7 +165,6 @@
} }
}, },
getCollapseHeight(index = 0) { getCollapseHeight(index = 0) {
return new Promise((resolve) => {
uni.createSelectorQuery() uni.createSelectorQuery()
// #ifndef MP-ALIPAY // #ifndef MP-ALIPAY
.in(this) .in(this)
...@@ -204,14 +186,10 @@ ...@@ -204,14 +186,10 @@
this.height = data.height this.height = data.height
// #endif // #endif
this.isHeight = true this.isHeight = true
resolve(this.height)
}) })
.exec() .exec()
})
}, },
getNvueHeight() { getNvueHeight() {
return new Promise((resolve) => {
const result = dom.getComponentRect(this.$refs['fui_collapse__el'], option => { const result = dom.getComponentRect(this.$refs['fui_collapse__el'], option => {
if (option && option.result && option.size) { if (option && option.result && option.size) {
// #ifdef APP-NVUE // #ifdef APP-NVUE
...@@ -221,11 +199,8 @@ ...@@ -221,11 +199,8 @@
this.height = option.size.height this.height = option.size.height
// #endif // #endif
this.isHeight = true this.isHeight = true
resolve(this.height)
} }
}) })
})
}, },
getCollapse(name = 'fui-collapse') { getCollapse(name = 'fui-collapse') {
let parent = this.$parent; let parent = this.$parent;
......
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 5 6 162 6 0 1 95,身份证尾号:5 0 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。--> <!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 561 6 260 1 9 5,身份证尾号: 50 375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<template> <template>
<view class="fui-collapse__wrap"> <view class="fui-collapse__wrap">
<slot></slot> <slot></slot>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论