提交 efe6958b 作者: 方治民

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

上级 42e145ee
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -409,7 +409,6 @@ checkbox-group label {
height: 2rpx;
content: '';
transform: scaleY(0.5);
transform: scaleY(0.5);
background-color: #c8c7cc;
}
......@@ -469,7 +468,6 @@ checkbox-group label {
height: 1px;
content: '';
transform: scaleY(0.5);
transform: scaleY(0.5);
background-color: #c8c7cc;
}
......@@ -521,7 +519,6 @@ checkbox-group label {
height: 1px;
content: '';
transform: scaleY(0.5);
transform: scaleY(0.5);
background-color: #c8c7cc;
}
......@@ -549,7 +546,6 @@ checkbox-group label {
height: 1px;
content: '';
transform: scaleY(0.5);
transform: scaleY(0.5);
background-color: #c8c7cc;
}
......@@ -561,7 +557,6 @@ checkbox-group label {
height: 1px;
content: '';
transform: scaleY(0.5);
transform: scaleY(0.5);
background-color: #c8c7cc;
}
......@@ -591,7 +586,6 @@ checkbox-group label {
top: 50%;
color: #bbb;
transform: translateY(-50%);
transform: translateY(-50%);
}
.uni-list-cell-navigate.uni-navigate-bottom::after {
......@@ -602,7 +596,6 @@ checkbox-group label {
top: 50%;
color: #bbb;
transform: translateY(-50%);
transform: translateY(-50%);
}
.uni-list-cell-navigate.uni-navigate-bottom.uni-active::after {
......@@ -613,7 +606,6 @@ checkbox-group label {
top: 50%;
color: #bbb;
transform: translateY(-50%);
transform: translateY(-50%);
}
.uni-collapse.uni-list-cell {
......@@ -889,7 +881,6 @@ checkbox-group label {
top: 50%;
color: #bbb;
transform: translateY(-50%);
transform: translateY(-50%);
}
.feedback-body {
......
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1561 6260 1 9 5,身份证尾号: 5 0375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 5 6 1 6 2 60195,身份证尾号: 503 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<template>
<view @touchmove.stop.prevent="stop" v-if="isShow || !isNvue">
<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>
<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'}">
......
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1561 62 6 01 9 5,身份证尾号: 50 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 56 16 2 6 019 5,身份证尾号:5 0 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<template>
<view class="fui-popup__animation" :class="[ani.in]" :style="'transform:' + transform + ';' + stylesObject"
@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>
<view class="fui-autograph__wrap" :style="{ width: w + 'px', height:h + 'px',background:background }"
ref="fui_gcanvas_ag">
......@@ -337,4 +337,4 @@
}
</script>
<style scoped></style>
<style scoped></style>
\ No newline at end of file
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1561 626 0 1 95,身份证尾号: 5 0 375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 15 6162 6019 5,身份证尾号: 5037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
const isWeex = typeof WXEnvironment !== 'undefined';
const isWeexIOS = isWeex && /ios/i.test(WXEnvironment.platform);
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 {
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 {
constructor(img, 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 {
constructor(x0, y0, r0, x1, y1, r1) {
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 FillStyleLinearGradient from './FillStyleLinearGradient';
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 {
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';
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';
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 {
"DEPTH_BUFFER_BIT": 256,
"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;
const GLmethod = {};
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 5 6 16 260 1 95,身份证尾号:5 03 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 561 6 2 60195,身份证尾号: 5037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
const GLtype = {};
[
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 5 6 1 626 01 95,身份证尾号: 5 03 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 156162 60 1 95,身份证尾号:5 0375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils';
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';
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 ActiveInfo from './ActiveInfo';
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';
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 {
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';
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';
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) {
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 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;
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) {
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 GImage from './env/image';
......
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 5 61626 0 195,身份证尾号: 5 0375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1561 62 601 9 5,身份证尾号:5037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<template>
<view class="fui-avatar__wrap" :class="[width?'':'fui-avatar__size-'+size,radius===-1?'fui-avatar__'+shape:'']"
:style="wrapStyles" @tap="handleClick">
......
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:156 1 6 2 601 95,身份证尾号: 50 375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15616 2 6 0 195,身份证尾号: 5 0 375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<template>
<!-- #ifdef APP-NVUE -->
<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>
<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 }"
......@@ -10,7 +10,7 @@
<script>
//非easycom模式取消注释引入字体组件,按实际路径进行调整
// import fuiIcon from "@/components/firstui/fui-icon/fui-icon"
// import fuiIcon from "@/components/firstui/fui-icon/fui-icon.vue"
export default {
name: "fui-backtop",
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>
<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':'']"
......
// 本文件由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)
* 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>
<!-- #ifdef APP-NVUE -->
<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 isWeexIOS = isWeex && /ios/i.test(WXEnvironment.platform);
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 {
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 {
constructor(img, pattern) {
this._style = pattern;
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1561 6260 19 5,身份证尾号: 5 0375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15 61 6 26 01 9 5,身份证尾号: 5 0375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
class FillStyleRadialGradient {
constructor(x0, y0, r0, x1, y1, r1) {
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 FillStyleLinearGradient from './FillStyleLinearGradient';
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 {
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';
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';
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 {
"DEPTH_BUFFER_BIT": 256,
"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;
const GLmethod = {};
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 15 61626 0 19 5,身份证尾号: 50 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:156 1 6 2 6 019 5,身份证尾号: 5 0375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
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';
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';
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 ActiveInfo from './ActiveInfo';
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';
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 {
className = 'WebGLShaderPrecisionFormat';
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 15 6 16 2 60195,身份证尾号: 50375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 15 616 2 60 195,身份证尾号:50 3 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils';
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';
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) {
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 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;
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) {
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 GImage from './env/image';
......
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 156 16260 1 95,身份证尾号: 5 0 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 5 61 6260 1 9 5,身份证尾号:5037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<template>
<view class="fui-bottom__navbar-wrap" :class="{'fui-bottom__navbar-fixed':isFixed}"
:style="{background:background,zIndex:zIndex}">
......@@ -24,7 +24,7 @@
<script>
//非easycom模式取消注释引入字体组件,按实际路径进行调整
// import fuiIcon from "@/components/firstui/fui-icon/fui-icon"
// import fuiIcon from "@/components/firstui/fui-icon/fui-icon.vue"
export default {
name: "fui-bottom-navbar",
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>
<view class="fui-bottom__popup-wrap" :class="{'fui-bottom__popwrap-show':show}"
: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>
<view class="fui-bubble__box-wrap" ref="fui_bb_wrap">
<slot></slot>
......@@ -42,7 +42,7 @@
const animation = uni.requireNativePlugin('animation');
// #endif
//非easycom模式取消注释引入字体组件,按实际路径进行调整
// import fuiIcon from "@/components/firstui/fui-icon/fui-icon"
// import fuiIcon from "@/components/firstui/fui-icon/fui-icon.vue"
export default {
name: 'fui-bubble-box',
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>
<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}"
@touchstart="handleStart" @touchend="handleClick" @touchcancel="handleEnd">
<button class="fui-button" :class="[
bold ? 'fui-text__bold' : '',
time && (plain || type==='link') ? 'fui-button__opacity' : '',
disabled && !disabledBackground ? 'fui-button__opacity' : '',
!background && !disabledBackground && !plain?('fui-button__'+type):'',
!width || width==='100%' || width===true?'fui-button__flex-1':'',
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="{
width: width,
height: getHeight,
lineHeight: getHeight,
background: disabled && disabledBackground ? disabledBackground : (plain ? 'transparent' : background),
background: disabled ? (disabledBackground || getTypeColor) : (plain ? 'transparent' : getBackground),
borderWidth:!borderColor || !isNvue?'0':borderWidth,
borderColor: borderColor ? borderColor : disabled && disabledBackground ? disabledBackground : (background || 'transparent'),
borderRadius: getRadius,
......@@ -159,11 +158,10 @@
}
},
computed: {
getBackground() {
getTypeColor() {
// #ifndef APP-NVUE
return 'transparent'
return '';
// #endif
// #ifdef APP-NVUE
let colors = {
primary: '#465CFF',
success: '#09BE4F',
......@@ -173,7 +171,10 @@
purple: '#6831FF',
gray: '#F8F8F8'
}
let color = colors[this.type] || 'transparent'
return colors[this.type] || 'transparent'
},
getBackground() {
let color = this.getTypeColor
if (this.disabled || this.plain) {
color = 'transparent';
}
......@@ -181,7 +182,6 @@
color = this.background
}
return color
// #endif
},
getColor() {
let color = '#fff'
......@@ -197,16 +197,16 @@
return color;
},
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`
},
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
},
// #ifndef APP-NVUE
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'
if (~radius.indexOf('rpx')) {
radius = (Number(radius.replace('rpx', '')) * 2) + 'rpx'
......@@ -219,7 +219,7 @@
},
// #endif
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
}
},
......@@ -315,6 +315,9 @@
<style scoped>
.fui-button__wrap {
position: relative;
/* #ifndef APP-NVUE */
background: transparent !important;
/* #endif */
}
.fui-button {
......@@ -355,13 +358,6 @@
/* #endif */
/* #ifdef APP-NVUE */
.fui-button__nvue {
opacity: 1 !important;
}
/* #endif */
.fui-button__flex-1 {
flex: 1;
/* #ifndef APP-NVUE */
......@@ -436,88 +432,45 @@
.fui-button__link {
border-color: transparent !important;
background: transparent !important;
background-color: transparent !important;
}
/* #ifndef APP-NVUE */
.fui-button__primary {
/* #ifdef APP-NVUE */
border-color: #465CFF !important;
background: #465CFF !important;
/* #endif */
/* #ifndef APP-NVUE */
border-color: 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;
background: var(--fui-color-success, #09BE4F) !important;
/* #endif */
}
.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;
background: var(--fui-color-warning, #FFB703) !important;
/* #endif */
}
.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;
background: var(--fui-color-danger, #FF2B2B) !important;
/* #endif */
}
.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;
background: var(--fui-color-purple, #6831FF) !important;
/* #endif */
}
.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;
background: var(--fui-bg-color-content, #F8F8F8) !important;
color: var(--fui-color-primary, #465CFF) !important;
/* #endif */
}
.fui-btn__gray-color {
/* #ifdef APP-NVUE */
color: #465CFF !important;
/* #endif */
/* #ifndef APP-NVUE */
color: var(--fui-color-primary, #465CFF) !important;
/* #endif */
}
/* #endif */
</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>
<view class="fui-calendar__wrap" :style="{width:dateWidth,background:background}">
<view class="fui-calendar__header">
......@@ -66,7 +66,7 @@
<script>
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 {
name: "fui-calendar",
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区间内的公历、农历互转
* @公历转农历: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>
<!--nvue下, Android平台阴影设置elevation值-->
<view class="fui-card__wrap"
......@@ -17,7 +17,7 @@
<text :style="{fontSize:tagSize+'rpx',color:tagColor}">{{tag}}</text>
</view>
</view>
<view class="fui-card__body">
<view class="fui-card__body" :class="{'fui-card__header-line':footerLine}">
<slot></slot>
</view>
<view class="fui-card__footer"
......@@ -83,6 +83,11 @@
type: Boolean,
default: true
},
//是否需要内容与footer之间线条
footerLine: {
type: Boolean,
default: false
},
//header 底部线条颜色,仅nvue有效,非nvue改变颜色使用css变量
lineColor: {
type: String,
......
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 5 616 2601 95,身份证尾号:503 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 5 6 16 2 60 195,身份证尾号: 5 037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<template>
<view class="fui-cascader__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>
<!-- #ifdef APP-PLUS || H5 || MP-ALIPAY || MP-TOUTIAO -->
<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>
<view class="fui-checkbox__input"
:class="{'fui-checkbox__disabled':disabled,'fui-checkbox__color':!color && val && !isCheckMark}"
......@@ -6,7 +6,7 @@
@tap.stop="checkboxChange">
<view class="fui-check__mark" :style="{borderBottomColor:checkMarkColor,borderRightColor:checkMarkColor}"
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>
</view>
</template>
......@@ -220,7 +220,6 @@
position: absolute;
top: 0;
left: 0;
opacity: 0;
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>
<view class="fui-circle__wrap" :style="{width: w+'px',height:w+'px'}">
<!-- #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 isWeexIOS = isWeex && /ios/i.test(WXEnvironment.platform);
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 {
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 {
constructor(img, 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 {
constructor(x0, y0, r0, x1, y1, r1) {
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 FillStyleLinearGradient from './FillStyleLinearGradient';
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 {
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';
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';
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 {
"DEPTH_BUFFER_BIT": 256,
"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;
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 = {};
[
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:156 1626 0 1 9 5,身份证尾号:50 37 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 5616 26 019 5,身份证尾号:50 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils';
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';
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 ActiveInfo from './ActiveInfo';
import Buffer from './Buffer';
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 56 1 62 6019 5,身份证尾号: 50375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 156162 6 01 95,身份证尾号: 5 037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils';
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 {
className = 'WebGLShaderPrecisionFormat';
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 15 6 1 62601 95,身份证尾号: 5 0 375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:15616 2601 95,身份证尾号:5 0 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
import {getTransferedObjectUUID} from './classUtils';
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';
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) {
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 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;
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) {
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 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
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
import {
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
export default {
data() {
......
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 5 61 6 2601 95,身份证尾号:5 0 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
// 本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 156162 6 0 1 9 5,身份证尾号: 50 375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
// #ifdef H5
/**
* 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>
<!-- #ifdef APP-NVUE -->
<view :style="{
......
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 5 6162 6 0 19 5,身份证尾号:503 7 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 561 62601 9 5,身份证尾号: 5 037 5T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<template>
<view class="fui-collapse__item">
<view @click="onClick(!isOpen)" class="fui-collapse-item__title" :class="{'fui-collapse__disabled':disabled}"
......@@ -104,21 +104,6 @@
watch: {
open(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) {
......@@ -151,14 +136,12 @@
},
methods: {
init() {
const promise = []
// #ifndef APP-NVUE
promise.push(this.getCollapseHeight())
this.getCollapseHeight()
// #endif
// #ifdef APP-NVUE
promise.push(this.getNvueHeight())
this.getNvueHeight()
// #endif
return Promise.all(promise)
},
uninstall() {
if (this.collapse) {
......@@ -182,49 +165,41 @@
}
},
getCollapseHeight(index = 0) {
return new Promise((resolve) => {
uni.createSelectorQuery()
// #ifndef MP-ALIPAY
.in(this)
uni.createSelectorQuery()
// #ifndef MP-ALIPAY
.in(this)
// #endif
.select(`#${this.elId}`)
.fields({
size: true
}, data => {
if (index >= 10) return
if (!data) {
index++
this.getCollapseHeight(index)
return
}
// #ifdef APP-NVUE
this.height = data.height + 1
// #endif
.select(`#${this.elId}`)
.fields({
size: true
}, data => {
if (index >= 10) return
if (!data) {
index++
this.getCollapseHeight(index)
return
}
// #ifdef APP-NVUE
this.height = data.height + 1
// #endif
// #ifndef APP-NVUE
this.height = data.height
// #endif
this.isHeight = true
resolve(this.height)
})
.exec()
})
// #ifndef APP-NVUE
this.height = data.height
// #endif
this.isHeight = true
})
.exec()
},
getNvueHeight() {
return new Promise((resolve) => {
const result = dom.getComponentRect(this.$refs['fui_collapse__el'], option => {
if (option && option.result && option.size) {
// #ifdef APP-NVUE
this.height = option.size.height + 1
// #endif
// #ifndef APP-NVUE
this.height = option.size.height
// #endif
this.isHeight = true
resolve(this.height)
}
})
const result = dom.getComponentRect(this.$refs['fui_collapse__el'], option => {
if (option && option.result && option.size) {
// #ifdef APP-NVUE
this.height = option.size.height + 1
// #endif
// #ifndef APP-NVUE
this.height = option.size.height
// #endif
this.isHeight = true
}
})
},
getCollapse(name = 'fui-collapse') {
......@@ -365,4 +340,4 @@
.fui-collapse__content-open {
position: relative;
}
</style>
</style>
\ No newline at end of file
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号:1 5 6 162 6 0 1 95,身份证尾号:5 0 3 75T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<!--本文件由FirstUI授权予长沙壹润信息科技发展有限公司(手机号: 1 561 6 260 1 9 5,身份证尾号: 50 375T)专用,请尊重知识产权,勿私下传播,违者追究法律责任。-->
<template>
<view class="fui-collapse__wrap">
<slot></slot>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论