code stringlengths 1 1.05M | repo_name stringlengths 6 83 | path stringlengths 3 242 | language stringclasses 222
values | license stringclasses 20
values | size int64 1 1.05M |
|---|---|---|---|---|---|
export default {
props: {
value: {
type: [String, Number],
default: ''
},
modelValue: {
type: [String, Number],
default: ''
},
// 键盘弹起时,是否自动上推页面
adjustPosition: {
type: Boolean,
default: true
},
// 最大输入长度
maxlength: {
type: [String, Number],
default: 6
},
// 是否用圆点填充
dot:... | 2301_77169380/AppruanjianApk | uni_modules/uv-code-input/components/uv-code-input/props.js | JavaScript | unknown | 1,464 |
<template>
<view class="uv-code-input">
<view
class="uv-code-input__item"
:style="[itemStyle(index)]"
v-for="(item, index) in codeLength"
:key="index"
>
<view
class="uv-code-input__item__dot"
v-if="dot && codeArray.length > index"
></view>
<text
v-else
:style="{
fontSize: ... | 2301_77169380/AppruanjianApk | uni_modules/uv-code-input/components/uv-code-input/uv-code-input.vue | Vue | unknown | 8,647 |
export default {
props: {
// 当前展开面板的name,非手风琴模式:[<string | number>],手风琴模式:string | number
value: {
type: [String, Number, Array, null],
default: null
},
// 是否手风琴模式
accordion: {
type: Boolean,
default: false
},
// 是否显示外边框
border: {
type: Boolean,
default: true
},
...uni.$uv?.props?... | 2301_77169380/AppruanjianApk | uni_modules/uv-collapse/components/uv-collapse/props.js | JavaScript | unknown | 406 |
<template>
<view class="uv-collapse">
<uv-line v-if="border"></uv-line>
<slot />
</view>
</template>
<script>
import mpMixin from '@/uni_modules/uv-ui-tools/libs/mixin/mpMixin.js'
import mixin from '@/uni_modules/uv-ui-tools/libs/mixin/mixin.js'
import props from './props.js';
/**
* collapse 折叠面板
* @des... | 2301_77169380/AppruanjianApk | uni_modules/uv-collapse/components/uv-collapse/uv-collapse.vue | Vue | unknown | 2,836 |
export default {
props: {
// 标题
title: {
type: String,
default: ''
},
// 标题右侧内容
value: {
type: String,
default: ''
},
// 标题下方的描述信息
label: {
type: String,
default: ''
},
// 是否禁用折叠面板
disabled: {
type: Boolean,
default: false
},
// 是否展示右侧箭头并开启点击反馈
isLink: {
type: Boo... | 2301_77169380/AppruanjianApk | uni_modules/uv-collapse/components/uv-collapse-item/props.js | JavaScript | unknown | 1,005 |
<template>
<view class="uv-collapse-item">
<uv-cell
:title="title"
:value="value"
:label="label"
:icon="icon"
:isLink="isLink"
:clickable="clickable"
:border="parentData.border && showBorder"
@click="clickHandler"
:arrowDirection="expanded ? 'up' : 'down'"
:disabled="disabled"
>
<!... | 2301_77169380/AppruanjianApk | uni_modules/uv-collapse/components/uv-collapse-item/uv-collapse-item.vue | Vue | unknown | 6,820 |
export default {
props: {
// 倒计时时长,单位ms
time: {
type: [String, Number],
default: 0
},
// 时间格式,DD-日,HH-时,mm-分,ss-秒,SSS-毫秒
format: {
type: String,
default: 'HH:mm:ss'
},
// 是否自动开始倒计时
autoStart: {
type: Boolean,
default: true
},
// 是否展示毫秒倒计时
millisecond: {
type: Boolean,
defa... | 2301_77169380/AppruanjianApk | uni_modules/uv-count-down/components/uv-count-down/props.js | JavaScript | unknown | 453 |
// 补0,如1 -> 01
function padZero(num, targetLength = 2) {
let str = `${num}`
while (str.length < targetLength) {
str = `0${str}`
}
return str
}
const SECOND = 1000
const MINUTE = 60 * SECOND
const HOUR = 60 * MINUTE
const DAY = 24 * HOUR
export function parseTimeData(time) {
const days = Math... | 2301_77169380/AppruanjianApk | uni_modules/uv-count-down/components/uv-count-down/utils.js | JavaScript | unknown | 1,735 |
<template>
<view
class="uv-count-down"
:style="[$uv.addStyle(customStyle)]">
<slot>
<text class="uv-count-down__text">{{ formattedTime }}</text>
</slot>
</view>
</template>
<script>
import mpMixin from '@/uni_modules/uv-ui-tools/libs/mixin/mpMixin.js'
import mixin from '@/uni_modules/uv-ui-tools/libs/mi... | 2301_77169380/AppruanjianApk | uni_modules/uv-count-down/components/uv-count-down/uv-count-down.vue | Vue | unknown | 4,827 |
export default {
props: {
// 开始的数值,默认从0增长到某一个数
startVal: {
type: [String, Number],
default: 0
},
// 要滚动的目标数值,必须
endVal: {
type: [String, Number],
default: 0
},
// 滚动到目标数值的动画持续时间,单位为毫秒(ms)
duration: {
type: [String, Number],
default: 2000
},
// 设置数值后是否自动开始滚动
autoplay: {
type: ... | 2301_77169380/AppruanjianApk | uni_modules/uv-count-to/components/uv-count-to/props.js | JavaScript | unknown | 1,160 |
<template>
<text
class="uv-count-num"
:style="[{
fontSize: $uv.addUnit(fontSize),
fontWeight: bold ? 'bold' : 'normal',
color: color
},$uv.addStyle(customStyle)]"
>{{ displayValue }}</text>
</template>
<script>
import mpMixin from '@/uni_modules/uv-ui-tools/libs/mixin/mpMixin.js'
import mixin from '... | 2301_77169380/AppruanjianApk | uni_modules/uv-count-to/components/uv-count-to/uv-count-to.vue | Vue | unknown | 5,952 |
export default {
props: {
value: {
type: [String, Number],
default: ''
},
modelValue: {
type: [String, Number],
default: ''
},
// 是否打开组件
show: {
type: Boolean,
default: false
},
// 是否展示顶部的操作栏
showToolbar: {
type: Boolean,
default: true
},
// 顶部标题
title: {
type: String... | 2301_77169380/AppruanjianApk | uni_modules/uv-datetime-picker/components/uv-datetime-picker/props.js | JavaScript | unknown | 2,539 |
<template>
<uv-picker
ref="picker"
:closeOnClickOverlay="closeOnClickOverlay"
:closeOnClickConfirm="closeOnClickConfirm"
:columns="columns"
:title="title"
:itemHeight="itemHeight"
:showToolbar="showToolbar"
:visibleItemCount="visibleItemCount"
:defaultIndex="innerDefaultIndex"
:cancelText="cancelTe... | 2301_77169380/AppruanjianApk | uni_modules/uv-datetime-picker/components/uv-datetime-picker/uv-datetime-picker.vue | Vue | unknown | 13,327 |
export default {
props: {
// 是否虚线
dashed: {
type: Boolean,
default: false
},
// 是否细线
hairline: {
type: Boolean,
default: true
},
// 是否以点替代文字,优先于text字段起作用
dot: {
type: Boolean,
default: false
},
// 内容文本的位置,left-左边,center-中间,right-右边
textPosition: {
type: String,
default: 'c... | 2301_77169380/AppruanjianApk | uni_modules/uv-divider/components/uv-divider/props.js | JavaScript | unknown | 755 |
<template>
<view
class="uv-divider"
:style="[$uv.addStyle(customStyle)]"
@tap="click"
>
<uv-line
:color="lineColor"
:customStyle="leftLineStyle"
:hairline="hairline"
:dashed="dashed"></uv-line>
<text
v-if="dot"
class="uv-divider__dot"
>●</text>
<text
v-else-if="text"
class="... | 2301_77169380/AppruanjianApk | uni_modules/uv-divider/components/uv-divider/uv-divider.vue | Vue | unknown | 3,242 |
<template>
<uv-sticky :disabled="!isSticky">
<view ref="dropDownRef" class="uv-drop-down" :style="[$uv.addStyle(customStyle)]">
<slot></slot>
</view>
</uv-sticky>
</template>
<script>
import mpMixin from '@/uni_modules/uv-ui-tools/libs/mixin/mpMixin.js';
import mixin from '@/uni_modules/uv-ui-tools/libs/mixi... | 2301_77169380/AppruanjianApk | uni_modules/uv-drop-down/components/uv-drop-down/uv-drop-down.vue | Vue | unknown | 3,639 |
<template>
<view class="uv-drop-down-item" @click="clickHandler">
<uv-text :text="label" :size="getTextStyle.size" :color="getTextStyle.color" lines="1" :custom-style="{marginRight: '10rpx',maxWidth:'200rpx'}"></uv-text>
<uv-icon :name="getDownIcon.name" :size="getDownIcon.size" :color="getDownIcon.color" v-if="[1... | 2301_77169380/AppruanjianApk | uni_modules/uv-drop-down/components/uv-drop-down-item/uv-drop-down-item.vue | Vue | unknown | 4,268 |
<template>
<view class="uv-drop-down-popup">
<uv-transition :show="show" mode="fade" :duration="300" :custom-style="overlayStyle" @click="clickOverlay">
<view class="uv-dp__container" ref="uvDPContainer" :style="{height: `${height}px`}" @click.stop="blockClick">
<view class="uv-dp__container__list" ref="uvDPL... | 2301_77169380/AppruanjianApk | uni_modules/uv-drop-down/components/uv-drop-down-popup/uv-drop-down-popup.vue | Vue | unknown | 6,389 |
export default {
props: {
// 内置图标名称,或图片路径,建议绝对路径
icon: {
type: String,
default: ''
},
// 提示文字
text: {
type: String,
default: ''
},
// 文字颜色
textColor: {
type: String,
default: '#c0c4cc'
},
// 文字大小
textSize: {
type: [String, Number],
default: 14
},
// 图标的颜色
iconColor: ... | 2301_77169380/AppruanjianApk | uni_modules/uv-empty/components/uv-empty/props.js | JavaScript | unknown | 1,013 |
<template>
<view
class="uv-empty"
:style="[emptyStyle]"
v-if="show"
>
<uv-icon
v-if="!isImg"
:name="mode === 'message' ? 'chat' : `empty-${mode}`"
:size="iconSize"
:color="iconColor"
margin-top="14"
></uv-icon>
<image
v-else
:style="{
width: $uv.addUnit(width),
heigh... | 2301_77169380/AppruanjianApk | uni_modules/uv-empty/components/uv-empty/uv-empty.vue | Vue | unknown | 3,954 |
export default {
props: {
// 当前form的需要验证字段的集合
model: {
type: Object,
default: () => ({})
},
// 验证规则
rules: {
type: [Object, Function, Array],
default: () => ({})
},
// 有错误时的提示方式,message-提示信息,toast-进行toast提示
// border-bottom-下边框呈现红色,none-无提示
errorType: {
type: String,
default: 'messa... | 2301_77169380/AppruanjianApk | uni_modules/uv-form/components/uv-form/props.js | JavaScript | unknown | 940 |
<template>
<view class="uv-form">
<slot />
</view>
</template>
<script>
import mpMixin from '@/uni_modules/uv-ui-tools/libs/mixin/mpMixin.js'
import mixin from '@/uni_modules/uv-ui-tools/libs/mixin/mixin.js'
import props from "./props.js";
import Schema from "./valid.js";
// 去除警告信息
Schema.warning = function(... | 2301_77169380/AppruanjianApk | uni_modules/uv-form/components/uv-form/uv-form.vue | Vue | unknown | 7,213 |
function _extends() {
_extends = Object.assign || function (target) {
for (let i = 1; i < arguments.length; i++) {
const source = arguments[i]
for (const key in source) {
if (Object.prototype.hasOwnProperty.call(source, key)) {
target[key] = sourc... | 2301_77169380/AppruanjianApk | uni_modules/uv-form/components/uv-form/valid.js | JavaScript | unknown | 38,962 |
export default {
props: {
// input的label提示语
label: {
type: String,
default: ''
},
// 绑定的值
prop: {
type: String,
default: ''
},
// 是否显示表单域的下划线边框
borderBottom: {
type: [Boolean],
default: false
},
// label的位置,left-左边,top-上边
labelPosition: {
type: String,
default: ''
},
/... | 2301_77169380/AppruanjianApk | uni_modules/uv-form/components/uv-form-item/props.js | JavaScript | unknown | 875 |
<template>
<view class="uv-form-item">
<view
class="uv-form-item__body"
@tap="clickHandler"
:style="[$uv.addStyle(customStyle), {
flexDirection: (labelPosition || parentData.labelPosition) === 'left' ? 'row' : 'column'
}]"
>
<!-- 微信小程序中,将一个参数设置空字符串,结果会变成字符串"true" -->
<slot name="label">
<... | 2301_77169380/AppruanjianApk | uni_modules/uv-form/components/uv-form-item/uv-form-item.vue | Vue | unknown | 6,046 |
export default {
props: {
// 背景颜色(默认transparent)
bgColor: {
type: String,
default: 'transparent'
},
// 分割槽高度,单位px(默认20)
height: {
type: [String, Number],
default: 20
},
// 与上一个组件的距离
marginTop: {
type: [String, Number],
default: 0
},
// 与下一个组件的距离
marginBottom: {
type: [String,... | 2301_77169380/AppruanjianApk | uni_modules/uv-gap/components/uv-gap/props.js | JavaScript | unknown | 454 |
<template>
<view class="uv-gap" :style="[gapStyle]"></view>
</template>
<script>
import mpMixin from '@/uni_modules/uv-ui-tools/libs/mixin/mpMixin.js'
import mixin from '@/uni_modules/uv-ui-tools/libs/mixin/mixin.js'
import props from './props.js';
/**
* gap 间隔槽
* @description 该组件一般用于内容块之间的用一个灰色块隔开的场景,方便用户风格统... | 2301_77169380/AppruanjianApk | uni_modules/uv-gap/components/uv-gap/uv-gap.vue | Vue | unknown | 1,375 |
export default {
props: {
// 分成几列
col: {
type: [String, Number],
default: 3
},
// 是否显示边框
border: {
type: Boolean,
default: false
},
// 宫格对齐方式,表现为数量少的时候,靠左,居中,还是靠右
align: {
type: String,
default: 'left'
},
...uni.$uv?.props?.grid
}
} | 2301_77169380/AppruanjianApk | uni_modules/uv-grid/components/uv-grid/props.js | JavaScript | unknown | 346 |
<template>
<view
class="uv-grid"
ref='uv-grid'
:style="[gridStyle]"
>
<slot />
</view>
</template>
<script>
import mpMixin from '@/uni_modules/uv-ui-tools/libs/mixin/mpMixin.js'
import mixin from '@/uni_modules/uv-ui-tools/libs/mixin/mixin.js'
import props from './props.js';
/**
* grid 宫格布局
* ... | 2301_77169380/AppruanjianApk | uni_modules/uv-grid/components/uv-grid/uv-grid.vue | Vue | unknown | 2,919 |
export default {
props: {
// 宫格的name
name: {
type: [String, Number, null],
default: null
},
// 背景颜色
bgColor: {
type: String,
default: 'transparent'
},
...uni.$uv?.props?.gridItem
}
} | 2301_77169380/AppruanjianApk | uni_modules/uv-grid/components/uv-grid-item/props.js | JavaScript | unknown | 224 |
<template>
<!-- #ifndef APP-NVUE -->
<view
class="uv-grid-item"
hover-class="uv-grid-item--hover-class"
:hover-stay-time="200"
@tap="clickHandler"
:class="classes"
:style="[itemStyle]"
>
<slot />
</view>
<!-- #endif -->
<!-- #ifdef APP-NVUE -->
<view
class="uv-grid-item"
... | 2301_77169380/AppruanjianApk | uni_modules/uv-grid/components/uv-grid-item/uv-grid-item.vue | Vue | unknown | 6,871 |
export default {
'uvicon-level': 'e68f',
'uvicon-checkbox-mark': 'e659',
'uvicon-folder': 'e694',
'uvicon-movie': 'e67c',
'uvicon-star-fill': 'e61e',
'uvicon-star': 'e618',
'uvicon-phone-fill': 'e6ac',
'uvicon-phone': 'e6ba',
'uvicon-apple-fill': 'e635',
'uvicon-backspace': 'e64d',
'uvicon-attach': 'e640',
... | 2301_77169380/AppruanjianApk | uni_modules/uv-icon/components/uv-icon/icons.js | JavaScript | unknown | 4,750 |
export default {
props: {
// 图标类名
name: {
type: String,
default: ''
},
// 图标颜色,可接受主题色
color: {
type: String,
default: '#606266'
},
// 字体大小,单位px
size: {
type: [String, Number],
default: '16px'
},
// 是否显示粗体
bold: {
type: Boolean,
default: false
},
// 点击图标的时候传递事件出去的index(... | 2301_77169380/AppruanjianApk | uni_modules/uv-icon/components/uv-icon/props.js | JavaScript | unknown | 1,701 |
<template>
<view
class="uv-icon"
@tap="clickHandler"
:class="['uv-icon--' + labelPos]"
>
<image
class="uv-icon__img"
v-if="isImg"
:src="name"
:mode="imgMode"
:style="[imgStyle, $uv.addStyle(customStyle)]"
></image>
<text
v-else
class="uv-icon__icon"
:class="uClasses"
... | 2301_77169380/AppruanjianApk | uni_modules/uv-icon/components/uv-icon/uv-icon.vue | Vue | unknown | 7,703 |
export default {
props: {
// 图片地址
src: {
type: String,
default: ''
},
// 裁剪模式
mode: {
type: String,
default: 'aspectFill'
},
// 宽度,单位任意
width: {
type: [String, Number],
default: '300'
},
// 高度,单位任意
height: {
type: [String, Number],
default: '225'
},
// 图片形状,circle-圆形,s... | 2301_77169380/AppruanjianApk | uni_modules/uv-image/components/uv-image/props.js | JavaScript | unknown | 1,941 |
<template>
<uv-transition
v-if="show"
:show="show"
mode="fade"
:duration="fade ? duration : 0"
:cell-child="cellChild"
:custom-style="wrapStyle"
>
<view
class="uv-image"
:class="[`uv-image--${elIndex}`]"
@tap="onClick"
:style="[wrapStyle, backgroundStyle]"
>
<image
v-if="!isError &&... | 2301_77169380/AppruanjianApk | uni_modules/uv-image/components/uv-image/uv-image.vue | Vue | unknown | 9,683 |
export default {
props: {
// 列表锚点文本内容
text: {
type: [String, Number],
default: ''
},
// 列表锚点文字颜色
color: {
type: String,
default: '#606266'
},
// 列表锚点文字大小,单位默认px
size: {
type: [String, Number],
default: 14
},
// 列表锚点背景颜色
bgColor: {
type: String,
default: '#dedede'
},
//... | 2301_77169380/AppruanjianApk | uni_modules/uv-index-list/components/uv-index-anchor/props.js | JavaScript | unknown | 527 |
<template>
<!-- #ifdef APP-NVUE -->
<header>
<!-- #endif -->
<view
:class="['uv-index-anchor',{'uv-index-anchor-sticky': parentData.sticky}]"
:ref="`uv-index-anchor-${text}`"
:style="{
height: $uv.addUnit(height),
backgroundColor: bgColor
}"
>
<text
class="uv-index-anchor__text"
:style="{... | 2301_77169380/AppruanjianApk | uni_modules/uv-index-list/components/uv-index-anchor/uv-index-anchor.vue | Vue | unknown | 2,736 |
<template>
<!-- #ifdef APP-NVUE -->
<cell ref="uv-index-item">
<!-- #endif -->
<view
class="uv-index-item"
:id="`uv-index-item-${id}`"
:class="[`uv-index-item-${id}`]"
>
<slot />
</view>
<!-- #ifdef APP-NVUE -->
</cell>
<!-- #endif -->
</template>
<script>
import mpMixin from '@/uni_modules/... | 2301_77169380/AppruanjianApk | uni_modules/uv-index-list/components/uv-index-item/uv-index-item.vue | Vue | unknown | 2,131 |
export default {
props: {
// 右边锚点非激活的颜色
inactiveColor: {
type: String,
default: '#606266'
},
// 右边锚点激活的颜色
activeColor: {
type: String,
default: '#5677fc'
},
// 索引字符列表,数组形式
indexList: {
type: Array,
default: () => []
},
// 是否开启锚点自动吸顶
sticky: {
type: Boolean,
default: true
... | 2301_77169380/AppruanjianApk | uni_modules/uv-index-list/components/uv-index-list/props.js | JavaScript | unknown | 539 |
<template>
<view class="uv-index-list">
<!-- #ifdef APP-NVUE -->
<list
:scrollTop="scrollTop"
enable-back-to-top
:offset-accuracy="1"
:style="{
maxHeight: $uv.addUnit(scrollViewHeight,'px')
}"
@scroll="scrollHandler"
ref="uvList"
>
<cell ref="header">
<slot name="header" />
</c... | 2301_77169380/AppruanjianApk | uni_modules/uv-index-list/components/uv-index-list/uv-index-list.vue | Vue | unknown | 13,961 |
export default {
props: {
value: {
type: [String, Number],
default: ''
},
modelValue: {
type: [String, Number],
default: ''
},
// 输入框类型
// number-数字输入键盘,app-vue下可以输入浮点数,app-nvue和小程序平台下只能输入整数
// idcard-身份证输入键盘,微信、支付宝、百度、QQ小程序
// digit-带小数点的数字键盘,App的nvue页面、微信、支付宝、百度、头条、QQ小程序
// text-文本输入键盘
... | 2301_77169380/AppruanjianApk | uni_modules/uv-input/components/uv-input/props.js | JavaScript | unknown | 4,324 |
<template>
<view class="uv-input" :class="inputClass" :style="[wrapperStyle]">
<view class="uv-input__content">
<view class="uv-input__content__prefix-icon">
<slot name="prefix">
<uv-icon
v-if="prefixIcon"
:name="prefixIcon"
size="18"
... | 2301_77169380/AppruanjianApk | uni_modules/uv-input/components/uv-input/uv-input.vue | Vue | unknown | 13,127 |
export default {
props: {
// 键盘的类型,number-数字键盘,card-身份证键盘,car-车牌号键盘
mode: {
type: String,
default: 'number'
},
// 是否显示键盘的"."符号
dotDisabled: {
type: Boolean,
default: false
},
// 是否显示顶部工具条
tooltip: {
type: Boolean,
default: true
},
// 是否显示工具条中间的提示
showTips: {
type: Boolean,
... | 2301_77169380/AppruanjianApk | uni_modules/uv-keyboard/components/uv-keyboard/props.js | JavaScript | unknown | 1,955 |
<template>
<uv-popup
ref="keyboardPopup"
mode="bottom"
:overlay="overlay"
:closeOnClickOverlay="closeOnClickOverlay"
:safeAreaInsetBottom="safeAreaInsetBottom"
:zIndex="zIndex"
:customStyle="{ backgroundColor: 'rgb(214, 218, 220)' }"
@change="popupChange"
>
<view class="uv-keyboard">
<slot /... | 2301_77169380/AppruanjianApk | uni_modules/uv-keyboard/components/uv-keyboard/uv-keyboard.vue | Vue | unknown | 5,723 |
export default {
props: {
// 是否打乱键盘按键的顺序
random: {
type: Boolean,
default: false
},
// 输入一个中文后,是否自动切换到英文
autoChange: {
type: Boolean,
default: false
},
// 被禁用的键
disKeys: {
type: Array,
default: ()=>[]
},
// 是否自定义abc
customabc: {
type: Boolean,
default: false
}
}
} | 2301_77169380/AppruanjianApk | uni_modules/uv-keyboard/components/uv-keyboard-car/props.js | JavaScript | unknown | 390 |
<template>
<view
class="uv-keyboard"
@touchmove.stop.prevent="noop"
>
<view
v-for="(group, i) in abc ? engKeyBoardList : areaList"
:key="i"
class="uv-keyboard__button"
:index="i"
:class="[i + 1 === 4 && 'uv-keyboard__button--center']"
>
<view
v-if="i === 3"
class="uv-keyboard__button... | 2301_77169380/AppruanjianApk | uni_modules/uv-keyboard/components/uv-keyboard-car/uv-keyboard-car.vue | Vue | unknown | 8,969 |
export default {
props: {
// 键盘的类型,number-数字键盘,card-身份证键盘
mode: {
type: String,
default: 'number'
},
// 是否显示键盘的"."符号
dotDisabled: {
type: Boolean,
default: false
},
// 是否打乱键盘按键的顺序
random: {
type: Boolean,
default: false
}
}
} | 2301_77169380/AppruanjianApk | uni_modules/uv-keyboard/components/uv-keyboard-number/props.js | JavaScript | unknown | 335 |
<template>
<view
class="uv-keyboard"
@touchmove.stop.prevent="noop"
>
<view
class="uv-keyboard__button-wrapper"
v-for="(item, index) in numList"
:key="index"
>
<view
class="uv-keyboard__button-wrapper__button"
:style="[itemStyle(index)]"
@tap="keyboardClick(item)"
hover-class="uv-h... | 2301_77169380/AppruanjianApk | uni_modules/uv-keyboard/components/uv-keyboard-number/uv-keyboard-number.vue | Vue | unknown | 6,600 |
export default {
props: {
color: {
type: String,
default: '#d6d7d9'
},
// 长度,竖向时表现为高度,横向时表现为长度,可以为百分比,带px单位的值等
length: {
type: [String, Number],
default: '100%'
},
// 线条方向,col-竖向,row-横向
direction: {
type: String,
default: 'row'
},
// 是否显示细边框
hairline: {
type: Boolean,
defaul... | 2301_77169380/AppruanjianApk | uni_modules/uv-line/components/uv-line/props.js | JavaScript | unknown | 709 |
<template>
<view
class="uv-line"
:style="[lineStyle]"
>
</view>
</template>
<script>
import mpMixin from '@/uni_modules/uv-ui-tools/libs/mixin/mpMixin.js'
import mixin from '@/uni_modules/uv-ui-tools/libs/mixin/mixin.js'
import props from './props.js';
/**
* line 线条
* @description 此组件一般用于显示一根线条,用于... | 2301_77169380/AppruanjianApk | uni_modules/uv-line/components/uv-line/uv-line.vue | Vue | unknown | 2,364 |
export default {
props: {
// 激活部分的颜色
activeColor: {
type: String,
default: '#19be6b'
},
inactiveColor: {
type: String,
default: '#ececec'
},
// 进度百分比,数值
percentage: {
type: [String, Number],
default: 0
},
// 是否在进度条内部显示百分比的值
showText: {
type: Boolean,
default: true
},
// ... | 2301_77169380/AppruanjianApk | uni_modules/uv-line-progress/components/uv-line-progress/props.js | JavaScript | unknown | 507 |
<template>
<view
class="uv-line-progress"
:style="[$uv.addStyle(customStyle)]"
>
<view
class="uv-line-progress__background"
ref="uv-line-progress__background"
:style="[{
backgroundColor: inactiveColor,
height: $uv.addUnit($uv.getPx(height))
}]"
>
</view>
<view
clas... | 2301_77169380/AppruanjianApk | uni_modules/uv-line-progress/components/uv-line-progress/uv-line-progress.vue | Vue | unknown | 3,553 |
export default {
props: {
// 文字颜色
color: {
type: String,
default: ''
},
// 字体大小,单位px
fontSize: {
type: [String, Number],
default: 14
},
// 是否显示下划线
underLine: {
type: Boolean,
default: false
},
// 要跳转的链接
href: {
type: String,
default: ''
},
// 小程序中复制到粘贴板的提示语
mpTips: {... | 2301_77169380/AppruanjianApk | uni_modules/uv-link/components/uv-link/props.js | JavaScript | unknown | 712 |
<template>
<text
class="uv-link"
@tap.stop="openLink"
:style="[linkStyle, $uv.addStyle(customStyle)]"
>{{text}}</text>
</template>
<script>
import mpMixin from '@/uni_modules/uv-ui-tools/libs/mixin/mpMixin.js'
import mixin from '@/uni_modules/uv-ui-tools/libs/mixin/mixin.js'
import props from './pr... | 2301_77169380/AppruanjianApk | uni_modules/uv-link/components/uv-link/uv-link.vue | Vue | unknown | 2,681 |
<template>
<!-- #ifndef APP-NVUE -->
<view
class="uv-list"
:style="[$uv.addStyle(customStyle)]"
>
<view
v-if="border"
class="uv-list--border-top"
:style="[{ 'background-color': borderColor }]"
></view>
<slot />
<view
v-if="border"
class="uv-list--border-bottom"
:style="[{ 'backgrou... | 2301_77169380/AppruanjianApk | uni_modules/uv-list/components/uv-list/uv-list.vue | Vue | unknown | 3,082 |
<template>
<!-- #ifdef APP-NVUE -->
<cell :keep-scroll-position="keepScrollPosition">
<!-- #endif -->
<view
:class="{ 'uv-list-item--disabled': disabled }"
:style="[$uv.addStyle(customStyle),{'background-color':customStyle.backgroundColor?customStyle.backgroundColor:'#fff'}]"
:hover-class="(!clickable ... | 2301_77169380/AppruanjianApk | uni_modules/uv-list/components/uv-list-item/uv-list-item.vue | Vue | unknown | 13,019 |
export default {
props: {
// 组件状态,loadmore-加载前的状态,loading-加载中的状态,nomore-没有更多的状态
status: {
type: String,
default: 'loadmore'
},
// 组件背景色
bgColor: {
type: String,
default: 'transparent'
},
// 是否显示加载中的图标
icon: {
type: Boolean,
default: true
},
// 字体大小
fontSize: {
type: [String, ... | 2301_77169380/AppruanjianApk | uni_modules/uv-load-more/components/uv-load-more/props.js | JavaScript | unknown | 1,768 |
<template>
<view
class="uv-loadmore"
:style="[{
backgroundColor: bgColor,
marginBottom: $uv.addUnit(marginBottom),
marginTop: $uv.addUnit(marginTop),
height: $uv.addUnit(height),
},
$uv.addStyle(customStyle)]"
>
<uv-line
length="140rpx"
:color="lineColor"
:hairline=... | 2301_77169380/AppruanjianApk | uni_modules/uv-load-more/components/uv-load-more/uv-load-more.vue | Vue | unknown | 4,922 |
export default {
props: {
// 是否显示组件
show: {
type: Boolean,
default: true
},
// 颜色
color: {
type: String,
default: '#909193'
},
// 提示文字颜色
textColor: {
type: String,
default: '#909193'
},
// 文字和图标是否垂直排列
vertical: {
type: Boolean,
default: false
},
// 模式选择,circle-圆形,spinn... | 2301_77169380/AppruanjianApk | uni_modules/uv-loading-icon/components/uv-loading-icon/props.js | JavaScript | unknown | 1,183 |
<template>
<view
class="uv-loading-icon"
:style="[$uv.addStyle(customStyle)]"
:class="[vertical && 'uv-loading-icon--vertical']"
v-if="show"
>
<view
v-if="!webviewHide"
class="uv-loading-icon__spinner"
:class="[`uv-loading-icon__spinner--${mode}`]"
ref="ani"
:style="{
color: color,
wi... | 2301_77169380/AppruanjianApk | uni_modules/uv-loading-icon/components/uv-loading-icon/uv-loading-icon.vue | Vue | unknown | 11,835 |
export default {
props: {
// 提示内容
loadingText: {
type: [String, Number],
default: ''
},
// 文字上方用于替换loading动画的图片
image: {
type: String,
default: ''
},
// 加载动画的模式,circle-圆形,spinner-花朵形,semicircle-半圆形
loadingMode: {
type: String,
default: 'circle'
},
// 是否加载中
loading: {
type: Bo... | 2301_77169380/AppruanjianApk | uni_modules/uv-loading-page/components/uv-loading-page/props.js | JavaScript | unknown | 978 |
<template>
<view class="uv-loading-page uv-flex-column" v-if="showLoading" :style="[loadingPageStyle]">
<image v-if="image!=''" :src="image" class="uv-loading-page__img" mode="widthFit" :style="[{
width: $uv.addUnit(iconSize),
height: $uv.addUnit(iconSize)
}]"></image>
<uv-loading-icon v-else :mode="loadin... | 2301_77169380/AppruanjianApk | uni_modules/uv-loading-page/components/uv-loading-page/uv-loading-page.vue | Vue | unknown | 3,161 |
export default {
props: {
// 标题
title: {
type: [String],
default: ''
},
// 弹窗内容
content: {
type: String,
default: ''
},
// 确认文案
confirmText: {
type: String,
default: '确认'
},
// 取消文案
cancelText: {
type: String,
default: '取消'
},
// 是否显示确认按钮
showConfirmButton: {
type... | 2301_77169380/AppruanjianApk | uni_modules/uv-modal/components/uv-modal/props.js | JavaScript | unknown | 1,618 |
<template>
<uv-popup
ref="modalPopup"
mode="center"
:zoom="zoom"
:zIndex="zIndex"
:customStyle="{
borderRadius: '6px',
overflow: 'hidden',
marginTop: `-${$uv.addUnit(negativeTop)}`
}"
:closeOnClickOverlay="closeOnClickOverlay"
:safeAreaInsetBottom="false"
:duration="400"
@change="popupC... | 2301_77169380/AppruanjianApk | uni_modules/uv-modal/components/uv-modal/uv-modal.vue | Vue | unknown | 6,761 |
export default {
props: {
// 是否开启顶部安全区适配
safeAreaInsetTop: {
type: Boolean,
default: true
},
// 固定在顶部时,是否生成一个等高元素,以防止塌陷
placeholder: {
type: Boolean,
default: false
},
// 是否固定在顶部
fixed: {
type: Boolean,
default: true
},
// 是否显示下边框
border: {
type: Boolean,
default: false
... | 2301_77169380/AppruanjianApk | uni_modules/uv-navbar/components/uv-navbar/props.js | JavaScript | unknown | 1,564 |
<template>
<view class="uv-navbar">
<view
class="uv-navbar__placeholder"
v-if="fixed && placeholder"
:style="{
height: $uv.addUnit($uv.getPx(height) + $uv.sys().statusBarHeight,'px'),
}"
></view>
<view :class="[fixed && 'uv-navbar--fixed']">
<image class="uv-navbar--bgimg" :src="bgColor" :mode... | 2301_77169380/AppruanjianApk | uni_modules/uv-navbar/components/uv-navbar/uv-navbar.vue | Vue | unknown | 6,727 |
<template>
<uv-overlay
:show="!isConnected"
:zIndex="zIndex"
@touchmove.stop.prevent="noop"
:customStyle="{
backgroundColor: '#fff',
display: 'flex',
justifyContent: 'center',
}"
>
<view
class="uv-no-network"
>
<uv-icon
:name="image"
size="150"
imgMode="width... | 2301_77169380/AppruanjianApk | uni_modules/uv-no-network/components/uv-no-network/uv-no-network.vue | Vue | unknown | 6,178 |
export default {
props: {
// 显示的内容,字符串
text: {
type: [Array],
default: ''
},
// 是否显示左侧的音量图标
icon: {
type: [String, Boolean, null],
default: 'volume'
},
// 通告模式,link-显示右箭头,closable-显示右侧关闭图标
mode: {
type: String,
default: ''
},
// 文字颜色,各图标也会使用文字颜色
color: {
type: String,
defa... | 2301_77169380/AppruanjianApk | uni_modules/uv-notice-bar/components/uv-column-notice/props.js | JavaScript | unknown | 1,411 |
<template>
<view
class="uv-notice"
@tap="clickHandler"
>
<slot name="icon">
<view
class="uv-notice__left-icon"
v-if="icon"
>
<uv-icon
:name="icon"
:color="color"
size="19"
></uv-icon>
</view>
</slot>
<swiper
:disable-touch="disableTouch"
:vertical="step ? false ... | 2301_77169380/AppruanjianApk | uni_modules/uv-notice-bar/components/uv-column-notice/uv-column-notice.vue | Vue | unknown | 4,475 |
export default {
props: {
// 显示的内容,数组
text: {
type: [Array, String],
default: () => []
},
// 通告滚动模式,row-横向滚动,column-竖向滚动
direction: {
type: String,
default: 'row'
},
// direction = row时,是否使用步进形式滚动
step: {
type: Boolean,
default: false
},
// 是否显示左侧的音量图标
icon: {
type: [String, ... | 2301_77169380/AppruanjianApk | uni_modules/uv-notice-bar/components/uv-notice-bar/props.js | JavaScript | unknown | 1,657 |
<template>
<view
class="uv-notice-bar"
v-if="show"
:style="[{
backgroundColor: bgColor
}, $uv.addStyle(customStyle)]"
>
<template v-if="direction === 'column' || (direction === 'row' && step)">
<uv-column-notice
:color="color"
:bgColor="bgColor"
:text="text"
:mode="mode"
:step="ste... | 2301_77169380/AppruanjianApk | uni_modules/uv-notice-bar/components/uv-notice-bar/uv-notice-bar.vue | Vue | unknown | 3,598 |
export default {
props: {
// 显示的内容,字符串
text: {
type: String,
default: ''
},
// 是否显示左侧的音量图标
icon: {
type: [String, Boolean, null],
default: 'volume'
},
// 通告模式,link-显示右箭头,closable-显示右侧关闭图标
mode: {
type: String,
default: ''
},
// 文字颜色,各图标也会使用文字颜色
color: {
type: String,
defau... | 2301_77169380/AppruanjianApk | uni_modules/uv-notice-bar/components/uv-row-notice/props.js | JavaScript | unknown | 849 |
<template>
<view
class="uv-notice"
@tap="clickHandler"
>
<slot name="icon">
<view
class="uv-notice__left-icon"
v-if="icon"
>
<uv-icon
:name="icon"
:color="color"
size="19"
></uv-icon>
</view>
</slot>
<view
class="uv-notice__content"
ref="uv-notice__content"
>
... | 2301_77169380/AppruanjianApk | uni_modules/uv-notice-bar/components/uv-row-notice/uv-row-notice.vue | Vue | unknown | 9,714 |
export default {
props: {
// 到顶部的距离
top: {
type: [String, Number],
default: 0
},
// type主题,primary,success,warning,error
type: {
type: String,
default: 'primary'
},
// 字体颜色
color: {
type: String,
default: '#ffffff'
},
// 背景颜色
bgColor: {
type: String,
default: ''
},
// ... | 2301_77169380/AppruanjianApk | uni_modules/uv-notify/components/uv-notify/props.js | JavaScript | unknown | 774 |
<template>
<uv-transition
mode="slide-top"
:customStyle="containerStyle"
:show="open"
>
<view
class="uv-notify"
:class="[`uv-notify--${tmpConfig.type}`]"
:style="[backgroundColor, $uv.addStyle(customStyle)]"
>
<uv-status-bar v-if="tmpConfig.safeAreaInsetTop"></uv-status-bar>
<view class="uv-n... | 2301_77169380/AppruanjianApk | uni_modules/uv-notify/components/uv-notify/uv-notify.vue | Vue | unknown | 6,221 |
export default {
props: {
value: {
type: [String, Number],
default: 0
},
modelValue: {
type: [String, Number],
default: 0
},
// 步进器标识符,在change回调返回
name: {
type: [String, Number],
default: ''
},
// 最小值
min: {
type: [String, Number],
default: 1
},
// 最大值
max: {
type: [S... | 2301_77169380/AppruanjianApk | uni_modules/uv-number-box/components/uv-number-box/props.js | JavaScript | unknown | 2,176 |
<template>
<view class="uv-number-box">
<view
class="uv-number-box__slot"
@tap.stop="clickHandler('minus')"
@touchstart="onTouchStart('minus')"
@touchend.stop="clearTimeout"
v-if="showMinus && $slots.minus"
>
<slot name="minus" />
</view>
<view
v-else-if="showMinus"
class="uv-num... | 2301_77169380/AppruanjianApk | uni_modules/uv-number-box/components/uv-number-box/uv-number-box.vue | Vue | unknown | 12,423 |
export default {
props: {
// 是否显示遮罩
show: {
type: Boolean,
default: false
},
// 层级z-index
zIndex: {
type: [String, Number],
default: 10070
},
// 遮罩的过渡时间,单位为ms
duration: {
type: [String, Number],
default: 300
},
// 不透明度值,当做rgba的第四个参数
opacity: {
type: [String, Number],
defau... | 2301_77169380/AppruanjianApk | uni_modules/uv-overlay/components/uv-overlay/props.js | JavaScript | unknown | 432 |
<template>
<uv-transition
:show="show"
mode="fade"
custom-class="uv-overlay"
:duration="duration"
:custom-style="overlayStyle"
@click="clickHandler"
@touchmove.stop.prevent="clear"
>
<slot />
</uv-transition>
</template>
<script>
import mpMixin from '@/uni_modules/uv-ui-tools/libs/mixin/mpMixi... | 2301_77169380/AppruanjianApk | uni_modules/uv-overlay/components/uv-overlay/uv-overlay.vue | Vue | unknown | 2,360 |
<template>
<view :id="attrs.id" :class="'_block _'+name+' '+attrs.class" :style="attrs.style">
<block v-for="(n, i) in childs" v-bind:key="i">
<!-- 图片 -->
<!-- 占位图 -->
<image v-if="n.name==='img'&&!n.t&&((opts[1]&&!ctrl[i])||ctrl[i]<0)" class="_img" :style="n.attrs.style" :src="ctrl[i]<0?opts[2]... | 2301_77169380/AppruanjianApk | uni_modules/uv-parse/components/uv-parse/node/node.vue | Vue | unknown | 15,826 |
/**
* @fileoverview html 解析器
*/
// 配置
const config = {
// 信任的标签(保持标签名不变)
trustTags: makeMap('a,abbr,ad,audio,b,blockquote,br,code,col,colgroup,dd,del,dl,dt,div,em,fieldset,h1,h2,h3,h4,h5,h6,hr,i,img,ins,label,legend,li,ol,p,q,ruby,rt,source,span,strong,sub,sup,table,tbody,td,tfoot,th,thead,tr,title,ul,video'),
... | 2301_77169380/AppruanjianApk | uni_modules/uv-parse/components/uv-parse/parser.js | JavaScript | unknown | 40,032 |
<template>
<view id="_root" :class="(selectable?'_select ':'')+'_root'" :style="containerStyle">
<slot v-if="!nodes[0]" />
<!-- #ifndef APP-PLUS-NVUE -->
<node v-else :childs="nodes" :opts="[lazyLoad,loadingImg,errorImg,showImgMenu,selectable]" name="span" />
<!-- #endif -->
<!-- #ifdef APP-PLUS-N... | 2301_77169380/AppruanjianApk | uni_modules/uv-parse/components/uv-parse/uv-parse.vue | Vue | unknown | 14,559 |
'use strict'
// 等待初始化完毕
document.addEventListener('UniAppJSBridgeReady', () => {
document.body.onclick = function () {
return uni.postMessage({
data: {
action: 'onClick'
}
})
}
uni.postMessage({
data: {
action: 'onJSBridgeReady'
... | 2301_77169380/AppruanjianApk | uni_modules/uv-parse/static/app-plus/uv-parse/js/handler.js | JavaScript | unknown | 6,590 |
<head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"><style>body,html{width:100%;height:100%;overflow:hidden}body{margin:0}video{width:300px;height:225px}img{max-width:100%;-webkit-touch-callout:none}@keyframes show{0%{opacity:0}... | 2301_77169380/AppruanjianApk | uni_modules/uv-parse/static/app-plus/uv-parse/local.html | HTML | unknown | 520 |
/**
* hsb 转 rgb
* @param {Object} hsb 颜色模式 H(hues)表示色相,S(saturation)表示饱和度,B(brightness)表示亮度
*/
export function hsbToRgb(hsb) {
let rgb = {};
let h = hsb.h;
let s = hsb.s * 255 / 100;
let v = hsb.b * 255 / 100;
if (s == 0) {
rgb.r = rgb.g = rgb.b = v;
} else {
let t1 = v;
let t2 = ((255 - s) * v) / 255;
... | 2301_77169380/AppruanjianApk | uni_modules/uv-pick-color/components/uv-pick-color/colors.js | JavaScript | unknown | 2,953 |
export default {
props: {
// 颜色选择器初始颜色
color: {
type: Object,
default: () => {
return { r: 0, g: 0, b: 0, a: 0 }
}
},
// 预制颜色
prefabColor: {
type: Array,
default: () => []
},
// 是否允许点击遮罩关闭
closeOnClickOverlay: {
type: Boolean,
default: true
},
// 顶部标题
title: {
type: St... | 2301_77169380/AppruanjianApk | uni_modules/uv-pick-color/components/uv-pick-color/props.js | JavaScript | unknown | 785 |
<template>
<!-- #ifndef APP-NVUE -->
<uv-popup
ref="pickerColorPopup"
mode="bottom"
:close-on-click-overlay="closeOnClickOverlay"
@change="popupChange">
<view class="uv-pick-color">
<uv-toolbar
:show="showToolbar"
:cancelColor="cancelColor"
:confirmColor="confirmColor"
:cancelText="cance... | 2301_77169380/AppruanjianApk | uni_modules/uv-pick-color/components/uv-pick-color/uv-pick-color.vue | Vue | unknown | 14,089 |
export default {
props: {
// 是否展示顶部的操作栏
showToolbar: {
type: Boolean,
default: true
},
// 顶部标题
title: {
type: String,
default: ''
},
// 弹窗圆角
round: {
type: [String, Number],
default: 0
},
// 对象数组,设置每一列的数据
columns: {
type: Array,
default: () => []
},
// 是否显示加载中状态
load... | 2301_77169380/AppruanjianApk | uni_modules/uv-picker/components/uv-picker/props.js | JavaScript | unknown | 1,814 |
<template>
<uv-popup
ref="pickerPopup"
mode="bottom"
:round="round"
:close-on-click-overlay="closeOnClickOverlay"
@change="popupChange"
>
<view class="uv-picker">
<uv-toolbar
v-if="showToolbar"
:cancelColor="cancelColor"
:confirmColor="confirmColor"
:cancelText="cancelText"
:confirm... | 2301_77169380/AppruanjianApk | uni_modules/uv-picker/components/uv-picker/uv-picker.vue | Vue | unknown | 10,172 |
// #ifdef H5
export default {
name: 'Keypress',
props: {
disable: {
type: Boolean,
default: false
}
},
mounted () {
const keyNames = {
esc: ['Esc', 'Escape'],
tab: 'Tab',
enter: 'Enter',
space: [' ', 'Spacebar'],
up: ['Up', 'ArrowUp'],
left: ['Left', '... | 2301_77169380/AppruanjianApk | uni_modules/uv-popup/components/uv-popup/keypress.js | JavaScript | unknown | 1,119 |
<template>
<view
v-if="showPopup"
class="uv-popup"
:class="[popupClass, isDesktop ? 'fixforpc-z-index' : '']"
:style="[{zIndex: zIndex}]"
>
<view @touchstart="touchstart">
<!-- 遮罩层 -->
<uv-overlay
key="1"
v-if="maskShow && overlay"
:show="showTrans"
:duration="duration"
:custom-... | 2301_77169380/AppruanjianApk | uni_modules/uv-popup/components/uv-popup/uv-popup.vue | Vue | unknown | 12,598 |
export const cacheImageList = []; | 2301_77169380/AppruanjianApk | uni_modules/uv-qrcode/components/uv-qrcode/cache.js | JavaScript | unknown | 33 |
const isWeex = typeof WXEnvironment !== 'undefined';
const isWeexIOS = isWeex && /ios/i.test(WXEnvironment.platform);
const isWeexAndroid = isWeex && !isWeexIOS;
import GLmethod from '../context-webgl/GLmethod';
const GCanvasModule =
(typeof weex !== 'undefined' && weex.requireModule) ? (weex.requireModule('gcanv... | 2301_77169380/AppruanjianApk | uni_modules/uv-qrcode/components/uv-qrcode/gcanvas/bridge/bridge-weex.js | JavaScript | unknown | 7,461 |
class FillStyleLinearGradient {
constructor(x0, y0, x1, y1) {
this._start_pos = { _x: x0, _y: y0 };
this._end_pos = { _x: x1, _y: y1 };
this._stop_count = 0;
this._stops = [0, 0, 0, 0, 0];
}
addColorStop = function (pos, color) {
if (this._stop_count < 5 && 0.0 <= p... | 2301_77169380/AppruanjianApk | uni_modules/uv-qrcode/components/uv-qrcode/gcanvas/context-2d/FillStyleLinearGradient.js | JavaScript | unknown | 504 |
class FillStylePattern {
constructor(img, pattern) {
this._style = pattern;
this._img = img;
}
}
export default FillStylePattern; | 2301_77169380/AppruanjianApk | uni_modules/uv-qrcode/components/uv-qrcode/gcanvas/context-2d/FillStylePattern.js | JavaScript | unknown | 154 |
class FillStyleRadialGradient {
constructor(x0, y0, r0, x1, y1, r1) {
this._start_pos = { _x: x0, _y: y0, _r: r0 };
this._end_pos = { _x: x1, _y: y1, _r: r1 };
this._stop_count = 0;
this._stops = [0, 0, 0, 0, 0];
}
addColorStop(pos, color) {
if (this._stop_count < 5 ... | 2301_77169380/AppruanjianApk | uni_modules/uv-qrcode/components/uv-qrcode/gcanvas/context-2d/FillStyleRadialGradient.js | JavaScript | unknown | 515 |
import FillStylePattern from './FillStylePattern';
import FillStyleLinearGradient from './FillStyleLinearGradient';
import FillStyleRadialGradient from './FillStyleRadialGradient';
import GImage from '../env/image.js';
import {
ArrayBufferToBase64,
Base64ToUint8ClampedArray
} from '../env/tool.js';
export default cl... | 2301_77169380/AppruanjianApk | uni_modules/uv-qrcode/components/uv-qrcode/gcanvas/context-2d/RenderingContext.js | JavaScript | unknown | 17,416 |
export default class WebGLActiveInfo {
className = 'WebGLActiveInfo';
constructor({
type, name, size
}) {
this.type = type;
this.name = name;
this.size = size;
}
} | 2301_77169380/AppruanjianApk | uni_modules/uv-qrcode/components/uv-qrcode/gcanvas/context-webgl/ActiveInfo.js | JavaScript | unknown | 212 |
import {getTransferedObjectUUID} from './classUtils';
const name = 'WebGLBuffer';
function uuid(id) {
return getTransferedObjectUUID(name, id);
}
export default class WebGLBuffer {
className = name;
constructor(id) {
this.id = id;
}
static uuid = uuid;
uuid() {
return uuid(... | 2301_77169380/AppruanjianApk | uni_modules/uv-qrcode/components/uv-qrcode/gcanvas/context-webgl/Buffer.js | JavaScript | unknown | 337 |