新增营销系统、分销系统、会员功能、门店、提现功能

This commit is contained in:
Shaw
2024-02-08 21:01:37 +08:00
parent 68b3f2dcc3
commit 17c043348a
1398 changed files with 81279 additions and 56269 deletions

View File

@ -1,9 +1,9 @@
## 1.0.32023-08-24
1. 修复在nvue不能换行的问题
## 1.0.22023-05-24
1. 去掉多余的data-index属性避免警告
## 1.0.12023-05-16
1. 优化组件依赖,修改后无需全局引入,组件导入即可使用
2. 优化部分功能
## 1.0.02023-05-10
uv-text 文本组件
## 1.0.22023-05-24
1. 去掉多余的data-index属性避免警告
## 1.0.12023-05-16
1. 优化组件依赖,修改后无需全局引入,组件导入即可使用
2. 优化部分功能
## 1.0.02023-05-10
uv-text 文本组件

View File

@ -1,113 +1,113 @@
export default {
props: {
// 主题颜色
type: {
type: String,
default: ''
},
// 是否显示
show: {
type: Boolean,
default: true
},
// 显示的值
text: {
type: [String, Number],
default: ''
},
// 前置图标
prefixIcon: {
type: String,
default: ''
},
// 后置图标
suffixIcon: {
type: String,
default: ''
},
// 文本处理的匹配模式
// text-普通文本price-价格phone-手机号name-姓名date-日期link-超链接
mode: {
type: String,
default: ''
},
// mode=link下配置的链接
href: {
type: String,
default: ''
},
// 格式化规则
format: {
type: [String, Function],
default: ''
},
// mode=phone时点击文本是否拨打电话
call: {
type: Boolean,
default: true
},
// 小程序的打开方式
openType: {
type: String,
default: ''
},
// 是否粗体默认normal
bold: {
type: Boolean,
default: false
},
// 是否块状
block: {
type: Boolean,
default: false
},
// 文本显示的行数,如果设置,超出此行数,将会显示省略号
lines: {
type: [String, Number],
default: ''
},
// 文本颜色
color: {
type: String,
default: '#303133'
},
// 字体大小
size: {
type: [String, Number],
default: 15
},
// 图标的样式
iconStyle: {
type: [Object, String],
default: () => ({
fontSize: '15px'
})
},
// 文字装饰,下划线,中划线等,可选值 none|underline|line-through
decoration: {
type: String,
default: 'none'
},
// 外边距,对象、字符串,数值形式均可
margin: {
type: [Object, String, Number],
default: 0
},
// 文本行高
lineHeight: {
type: [String, Number],
default: ''
},
// 文本对齐方式可选值left|center|right
align: {
type: String,
default: 'left'
},
// 文字换行可选值break-word|normal|anywhere
wordWrap: {
type: String,
default: 'normal'
},
...uni.$uv?.props?.text
}
export default {
props: {
// 主题颜色
type: {
type: String,
default: ''
},
// 是否显示
show: {
type: Boolean,
default: true
},
// 显示的值
text: {
type: [String, Number],
default: ''
},
// 前置图标
prefixIcon: {
type: String,
default: ''
},
// 后置图标
suffixIcon: {
type: String,
default: ''
},
// 文本处理的匹配模式
// text-普通文本price-价格phone-手机号name-姓名date-日期link-超链接
mode: {
type: String,
default: ''
},
// mode=link下配置的链接
href: {
type: String,
default: ''
},
// 格式化规则
format: {
type: [String, Function],
default: ''
},
// mode=phone时点击文本是否拨打电话
call: {
type: Boolean,
default: true
},
// 小程序的打开方式
openType: {
type: String,
default: ''
},
// 是否粗体默认normal
bold: {
type: Boolean,
default: false
},
// 是否块状
block: {
type: Boolean,
default: false
},
// 文本显示的行数,如果设置,超出此行数,将会显示省略号
lines: {
type: [String, Number],
default: ''
},
// 文本颜色
color: {
type: String,
default: '#303133'
},
// 字体大小
size: {
type: [String, Number],
default: 15
},
// 图标的样式
iconStyle: {
type: [Object, String],
default: () => ({
fontSize: '15px'
})
},
// 文字装饰,下划线,中划线等,可选值 none|underline|line-through
decoration: {
type: String,
default: 'none'
},
// 外边距,对象、字符串,数值形式均可
margin: {
type: [Object, String, Number],
default: 0
},
// 文本行高
lineHeight: {
type: [String, Number],
default: ''
},
// 文本对齐方式可选值left|center|right
align: {
type: String,
default: 'left'
},
// 文字换行可选值break-word|normal|anywhere
wordWrap: {
type: String,
default: 'normal'
},
...uni.$uv?.props?.text
}
}

View File

@ -1,215 +1,215 @@
<template>
<view
class="uv-text"
:class="[]"
v-if="show"
:style="{
margin: margin,
justifyContent: align === 'left' ? 'flex-start' : align === 'center' ? 'center' : 'flex-end'
}"
@tap="clickHandler"
>
<text
:class="['uv-text__price', type && `uv-text__value--${type}`]"
v-if="mode === 'price'"
:style="[valueStyle]"
></text
>
<view class="uv-text__prefix-icon" v-if="prefixIcon">
<uv-icon
:name="prefixIcon"
:customStyle="$uv.addStyle(iconStyle)"
></uv-icon>
</view>
<uv-link
v-if="mode === 'link'"
:text="value"
:href="href"
underLine
></uv-link>
<template v-else-if="openType && isMp">
<button
class="uv-reset-button uv-text__value"
:style="[valueStyle]"
:openType="openType"
@getuserinfo="onGetUserInfo"
@contact="onContact"
@getphonenumber="onGetPhoneNumber"
@error="onError"
@launchapp="onLaunchApp"
@opensetting="onOpenSetting"
:lang="lang"
:session-from="sessionFrom"
:send-message-title="sendMessageTitle"
:send-message-path="sendMessagePath"
:send-message-img="sendMessageImg"
:show-message-card="showMessageCard"
:app-parameter="appParameter"
>
{{ value }}
</button>
</template>
<text
v-else
class="uv-text__value"
:style="[valueStyle]"
:class="[
type && `uv-text__value--${type}`,
lines && `uv-line-${lines}`
]"
>{{ value }}</text
>
<view class="uv-text__suffix-icon" v-if="suffixIcon">
<uv-icon
:name="suffixIcon"
:customStyle="$uv.addStyle(iconStyle)"
></uv-icon>
</view>
</view>
</template>
<script>
import value from './value.js'
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 button from '@/uni_modules/uv-ui-tools/libs/mixin/button.js'
import openType from '@/uni_modules/uv-ui-tools/libs/mixin/openType.js'
import props from './props.js'
/**
* Text 文本
* @description 此组件集成了文本类在项目中的常用功能,包括状态,拨打电话,格式化日期,*替换,超链接...等功能。 您大可不必在使用特殊文本时自己定义text组件几乎涵盖您能使用的大部分场景。
* @tutorial https://www.uvui.cn/components/loading.html
* @property {String} type 主题颜色
* @property {Boolean} show 是否显示(默认 true
* @property {String | Number} text 显示的值
* @property {String} prefixIcon 前置图标
* @property {String} suffixIcon 后置图标
* @property {String} mode 文本处理的匹配模式 text-普通文本price-价格phone-手机号name-姓名date-日期link-超链接
* @property {String} href mode=link下配置的链接
* @property {String | Function} format 格式化规则
* @property {Boolean} call mode=phone时点击文本是否拨打电话默认 false
* @property {String} openType 小程序的打开方式
* @property {Boolean} bold 是否粗体默认normal默认 false
* @property {Boolean} block 是否块状(默认 false
* @property {String | Number} lines 文本显示的行数,如果设置,超出此行数,将会显示省略号
* @property {String} color 文本颜色(默认 '#303133'
* @property {String | Number} size 字体大小(默认 15
* @property {Object | String} iconStyle 图标的样式 (默认 {fontSize: '15px'}
* @property {String} decoration 文字装饰,下划线,中划线等,可选值 none|underline|line-through默认 'none'
* @property {Object | String | Number} margin 外边距,对象、字符串,数值形式均可(默认 0
* @property {String | Number} lineHeight 文本行高
* @property {String} align 文本对齐方式可选值left|center|right默认 'left'
* @property {String} wordWrap 文字换行可选值break-word|normal|anywhere默认 'normal'
* @event {Function} click 点击触发事件
* @example <uv-text text="我用十年青春,赴你最后之约"></uv-text>
*/
export default {
name: 'uv-text',
emits: ['click'],
// #ifdef MP
mixins: [mpMixin, mixin, value, button, openType, props],
// #endif
// #ifndef MP
mixins: [mpMixin, mixin, value, props],
// #endif
computed: {
valueStyle() {
const style = {
textDecoration: this.decoration,
fontWeight: this.bold ? 'bold' : 'normal',
wordWrap: this.wordWrap,
fontSize: this.$uv.addUnit(this.size)
};
!this.type && (style.color = this.color);
this.isNvue && this.lines && (style.lines = this.lines);
this.isNvue && this.mode != 'price' && !this.prefixIcon && !this.suffixIcon && (style.flex = 1);
this.lineHeight && (style.lineHeight = this.$uv.addUnit(this.lineHeight));
!this.isNvue && this.block && (style.display = 'block');
return this.$uv.deepMerge(style, this.$uv.addStyle(this.customStyle));
},
isNvue() {
let nvue = false
// #ifdef APP-NVUE
nvue = true
// #endif
return nvue
},
isMp() {
let mp = false
// #ifdef MP
mp = true
// #endif
return mp
}
},
data() {
return {}
},
methods: {
clickHandler() {
// 如果为手机号模式,拨打电话
if (this.call && this.mode === 'phone') {
uni.makePhoneCall({
phoneNumber: this.text
})
}
this.$emit('click')
}
}
}
</script>
<style lang="scss" scoped>
$show-lines: 1;
$show-reset-button: 1;
@import '@/uni_modules/uv-ui-tools/libs/css/variable.scss';
@import '@/uni_modules/uv-ui-tools/libs/css/components.scss';
@import '@/uni_modules/uv-ui-tools/libs/css/color.scss';
.uv-text {
@include flex(row);
align-items: center;
flex-wrap: nowrap;
flex: 1;
/* #ifndef APP-NVUE */
width: 100%;
/* #endif */
&__price {
font-size: 14px;
color: $uv-content-color;
}
&__value {
font-size: 14px;
@include flex;
color: $uv-content-color;
flex-wrap: wrap;
// flex: 1;
text-overflow: ellipsis;
align-items: center;
&--primary {
color: $uv-primary;
}
&--warning {
color: $uv-warning;
}
&--success {
color: $uv-success;
}
&--info {
color: $uv-info;
}
&--error {
color: $uv-error;
}
&--main {
color: $uv-main-color;
}
&--content {
color: $uv-content-color;
}
&--tips {
color: $uv-tips-color;
}
&--light {
color: $uv-light-color;
}
}
}
<template>
<view
class="uv-text"
:class="[]"
v-if="show"
:style="{
margin: margin,
justifyContent: align === 'left' ? 'flex-start' : align === 'center' ? 'center' : 'flex-end'
}"
@tap="clickHandler"
>
<text
:class="['uv-text__price', type && `uv-text__value--${type}`]"
v-if="mode === 'price'"
:style="[valueStyle]"
></text
>
<view class="uv-text__prefix-icon" v-if="prefixIcon">
<uv-icon
:name="prefixIcon"
:customStyle="$uv.addStyle(iconStyle)"
></uv-icon>
</view>
<uv-link
v-if="mode === 'link'"
:text="value"
:href="href"
underLine
></uv-link>
<template v-else-if="openType && isMp">
<button
class="uv-reset-button uv-text__value"
:style="[valueStyle]"
:openType="openType"
@getuserinfo="onGetUserInfo"
@contact="onContact"
@getphonenumber="onGetPhoneNumber"
@error="onError"
@launchapp="onLaunchApp"
@opensetting="onOpenSetting"
:lang="lang"
:session-from="sessionFrom"
:send-message-title="sendMessageTitle"
:send-message-path="sendMessagePath"
:send-message-img="sendMessageImg"
:show-message-card="showMessageCard"
:app-parameter="appParameter"
>
{{ value }}
</button>
</template>
<text
v-else
class="uv-text__value"
:style="[valueStyle]"
:class="[
type && `uv-text__value--${type}`,
lines && `uv-line-${lines}`
]"
>{{ value }}</text
>
<view class="uv-text__suffix-icon" v-if="suffixIcon">
<uv-icon
:name="suffixIcon"
:customStyle="$uv.addStyle(iconStyle)"
></uv-icon>
</view>
</view>
</template>
<script>
import value from './value.js'
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 button from '@/uni_modules/uv-ui-tools/libs/mixin/button.js'
import openType from '@/uni_modules/uv-ui-tools/libs/mixin/openType.js'
import props from './props.js'
/**
* Text 文本
* @description 此组件集成了文本类在项目中的常用功能,包括状态,拨打电话,格式化日期,*替换,超链接...等功能。 您大可不必在使用特殊文本时自己定义text组件几乎涵盖您能使用的大部分场景。
* @tutorial https://www.uvui.cn/components/loading.html
* @property {String} type 主题颜色
* @property {Boolean} show 是否显示(默认 true
* @property {String | Number} text 显示的值
* @property {String} prefixIcon 前置图标
* @property {String} suffixIcon 后置图标
* @property {String} mode 文本处理的匹配模式 text-普通文本price-价格phone-手机号name-姓名date-日期link-超链接
* @property {String} href mode=link下配置的链接
* @property {String | Function} format 格式化规则
* @property {Boolean} call mode=phone时点击文本是否拨打电话默认 false
* @property {String} openType 小程序的打开方式
* @property {Boolean} bold 是否粗体默认normal默认 false
* @property {Boolean} block 是否块状(默认 false
* @property {String | Number} lines 文本显示的行数,如果设置,超出此行数,将会显示省略号
* @property {String} color 文本颜色(默认 '#303133'
* @property {String | Number} size 字体大小(默认 15
* @property {Object | String} iconStyle 图标的样式 (默认 {fontSize: '15px'}
* @property {String} decoration 文字装饰,下划线,中划线等,可选值 none|underline|line-through默认 'none'
* @property {Object | String | Number} margin 外边距,对象、字符串,数值形式均可(默认 0
* @property {String | Number} lineHeight 文本行高
* @property {String} align 文本对齐方式可选值left|center|right默认 'left'
* @property {String} wordWrap 文字换行可选值break-word|normal|anywhere默认 'normal'
* @event {Function} click 点击触发事件
* @example <uv-text text="我用十年青春,赴你最后之约"></uv-text>
*/
export default {
name: 'uv-text',
emits: ['click'],
// #ifdef MP
mixins: [mpMixin, mixin, value, button, openType, props],
// #endif
// #ifndef MP
mixins: [mpMixin, mixin, value, props],
// #endif
computed: {
valueStyle() {
const style = {
textDecoration: this.decoration,
fontWeight: this.bold ? 'bold' : 'normal',
wordWrap: this.wordWrap,
fontSize: this.$uv.addUnit(this.size)
};
!this.type && (style.color = this.color);
this.isNvue && this.lines && (style.lines = this.lines);
this.isNvue && this.mode != 'price' && !this.prefixIcon && !this.suffixIcon && (style.flex = 1);
this.lineHeight && (style.lineHeight = this.$uv.addUnit(this.lineHeight));
!this.isNvue && this.block && (style.display = 'block');
return this.$uv.deepMerge(style, this.$uv.addStyle(this.customStyle));
},
isNvue() {
let nvue = false
// #ifdef APP-NVUE
nvue = true
// #endif
return nvue
},
isMp() {
let mp = false
// #ifdef MP
mp = true
// #endif
return mp
}
},
data() {
return {}
},
methods: {
clickHandler() {
// 如果为手机号模式,拨打电话
if (this.call && this.mode === 'phone') {
uni.makePhoneCall({
phoneNumber: this.text
})
}
this.$emit('click')
}
}
}
</script>
<style lang="scss" scoped>
$show-lines: 1;
$show-reset-button: 1;
@import '@/uni_modules/uv-ui-tools/libs/css/variable.scss';
@import '@/uni_modules/uv-ui-tools/libs/css/components.scss';
@import '@/uni_modules/uv-ui-tools/libs/css/color.scss';
.uv-text {
@include flex(row);
align-items: center;
flex-wrap: nowrap;
flex: 1;
/* #ifndef APP-NVUE */
width: 100%;
/* #endif */
&__price {
font-size: 14px;
color: $uv-content-color;
}
&__value {
font-size: 14px;
@include flex;
color: $uv-content-color;
flex-wrap: wrap;
// flex: 1;
text-overflow: ellipsis;
align-items: center;
&--primary {
color: $uv-primary;
}
&--warning {
color: $uv-warning;
}
&--success {
color: $uv-success;
}
&--info {
color: $uv-info;
}
&--error {
color: $uv-error;
}
&--main {
color: $uv-main-color;
}
&--content {
color: $uv-content-color;
}
&--tips {
color: $uv-tips-color;
}
&--light {
color: $uv-light-color;
}
}
}
</style>

View File

@ -1,87 +1,87 @@
import { func, date, url } from '@/uni_modules/uv-ui-tools/libs/function/test.js'
import { error, timeFormat, priceFormat } from '@/uni_modules/uv-ui-tools/libs/function/index.js'
export default {
computed: {
// 经处理后需要显示的值
value() {
const {
text,
mode,
format,
href
} = this
// 价格类型
if (mode === 'price') {
// 如果text不为金额进行提示
if (!/^\d+(\.\d+)?$/.test(text)) {
error('金额模式下text参数需要为金额格式');
}
// 进行格式化判断用户传入的format参数为正则或者函数如果没有传入format则使用默认的金额格式化处理
if (func(format)) {
// 如果用户传入的是函数,使用函数格式化
return format(text)
}
// 如果format非正则非函数则使用默认的金额格式化方法进行操作
return priceFormat(text, 2)
} if (mode === 'date') {
// 判断是否合法的日期或者时间戳
!date(text) && error('日期模式下text参数需要为日期或时间戳格式')
// 进行格式化判断用户传入的format参数为正则或者函数如果没有传入format则使用默认的格式化处理
if (func(format)) {
// 如果用户传入的是函数,使用函数格式化
return format(text)
} if (format) {
// 如果format非正则非函数则使用默认的时间格式化方法进行操作
return timeFormat(text, format)
}
// 如果没有设置format则设置为默认的时间格式化形式
return timeFormat(text, 'yyyy-mm-dd')
} if (mode === 'phone') {
// 判断是否合法的手机号
// !mobile(text) && error('手机号模式下text参数需要为手机号码格式')
if (func(format)) {
// 如果用户传入的是函数,使用函数格式化
return format(text)
} if (format === 'encrypt') {
// 如果format为encrypt则将手机号进行星号加密处理
return `${text.substr(0, 3)}****${text.substr(7)}`
}
return text
} if (mode === 'name') {
// 判断是否合法的字符粗
!(typeof (text) === 'string') && error('姓名模式下text参数需要为字符串格式')
if (func(format)) {
// 如果用户传入的是函数,使用函数格式化
return format(text)
} if (format === 'encrypt') {
// 如果format为encrypt则将姓名进行星号加密处理
return this.formatName(text)
}
return text
} if (mode === 'link') {
// 判断是否合法的字符粗
!url(href) && error('超链接模式下href参数需要为URL格式')
return text
}
return text
}
},
methods: {
// 默认的姓名脱敏规则
formatName(name) {
let value = ''
if (name.length === 2) {
value = name.substr(0, 1) + '*'
} else if (name.length > 2) {
let char = ''
for (let i = 0, len = name.length - 2; i < len; i++) {
char += '*'
}
value = name.substr(0, 1) + char + name.substr(-1, 1)
} else {
value = name
}
return value
}
}
}
import { func, date, url } from '@/uni_modules/uv-ui-tools/libs/function/test.js'
import { error, timeFormat, priceFormat } from '@/uni_modules/uv-ui-tools/libs/function/index.js'
export default {
computed: {
// 经处理后需要显示的值
value() {
const {
text,
mode,
format,
href
} = this
// 价格类型
if (mode === 'price') {
// 如果text不为金额进行提示
if (!/^\d+(\.\d+)?$/.test(text)) {
error('金额模式下text参数需要为金额格式');
}
// 进行格式化判断用户传入的format参数为正则或者函数如果没有传入format则使用默认的金额格式化处理
if (func(format)) {
// 如果用户传入的是函数,使用函数格式化
return format(text)
}
// 如果format非正则非函数则使用默认的金额格式化方法进行操作
return priceFormat(text, 2)
} if (mode === 'date') {
// 判断是否合法的日期或者时间戳
!date(text) && error('日期模式下text参数需要为日期或时间戳格式')
// 进行格式化判断用户传入的format参数为正则或者函数如果没有传入format则使用默认的格式化处理
if (func(format)) {
// 如果用户传入的是函数,使用函数格式化
return format(text)
} if (format) {
// 如果format非正则非函数则使用默认的时间格式化方法进行操作
return timeFormat(text, format)
}
// 如果没有设置format则设置为默认的时间格式化形式
return timeFormat(text, 'yyyy-mm-dd')
} if (mode === 'phone') {
// 判断是否合法的手机号
// !mobile(text) && error('手机号模式下text参数需要为手机号码格式')
if (func(format)) {
// 如果用户传入的是函数,使用函数格式化
return format(text)
} if (format === 'encrypt') {
// 如果format为encrypt则将手机号进行星号加密处理
return `${text.substr(0, 3)}****${text.substr(7)}`
}
return text
} if (mode === 'name') {
// 判断是否合法的字符粗
!(typeof (text) === 'string') && error('姓名模式下text参数需要为字符串格式')
if (func(format)) {
// 如果用户传入的是函数,使用函数格式化
return format(text)
} if (format === 'encrypt') {
// 如果format为encrypt则将姓名进行星号加密处理
return this.formatName(text)
}
return text
} if (mode === 'link') {
// 判断是否合法的字符粗
!url(href) && error('超链接模式下href参数需要为URL格式')
return text
}
return text
}
},
methods: {
// 默认的姓名脱敏规则
formatName(name) {
let value = ''
if (name.length === 2) {
value = name.substr(0, 1) + '*'
} else if (name.length > 2) {
let char = ''
for (let i = 0, len = name.length - 2; i < len; i++) {
char += '*'
}
value = name.substr(0, 1) + char + name.substr(-1, 1)
} else {
value = name
}
return value
}
}
}

View File

@ -1,89 +1,89 @@
{
"id": "uv-text",
"displayName": "uv-text 文本 全面兼容vue3+2、app、h5、小程序等多端",
"version": "1.0.3",
"description": "此组件集成了文本类在项目中的常用功能,包括状态,拨打电话,格式化日期,*替换,超链接...等功能。 您大可不必在使用特殊文本时自己定义text组件涵盖您能使用的大部分场景。",
"keywords": [
"uv-text",
"uvui",
"uv-ui",
"text",
"文本"
],
"repository": "",
"engines": {
"HBuilderX": "^3.1.0"
},
"dcloudext": {
"type": "component-vue",
"sale": {
"regular": {
"price": "0.00"
},
"sourcecode": {
"price": "0.00"
}
},
"contact": {
"qq": ""
},
"declaration": {
"ads": "无",
"data": "插件不采集任何数据",
"permissions": "无"
},
"npmurl": ""
},
"uni_modules": {
"dependencies": [
"uv-ui-tools",
"uv-icon",
"uv-link"
],
"encrypt": [],
"platforms": {
"cloud": {
"tcb": "y",
"aliyun": "y"
},
"client": {
"Vue": {
"vue2": "y",
"vue3": "y"
},
"App": {
"app-vue": "y",
"app-nvue": "y"
},
"H5-mobile": {
"Safari": "y",
"Android Browser": "y",
"微信浏览器(Android)": "y",
"QQ浏览器(Android)": "y"
},
"H5-pc": {
"Chrome": "y",
"IE": "y",
"Edge": "y",
"Firefox": "y",
"Safari": "y"
},
"小程序": {
"微信": "y",
"阿里": "y",
"百度": "y",
"字节跳动": "y",
"QQ": "y",
"钉钉": "u",
"快手": "u",
"飞书": "u",
"京东": "u"
},
"快应用": {
"华为": "u",
"联盟": "u"
}
}
}
}
{
"id": "uv-text",
"displayName": "uv-text 文本 全面兼容vue3+2、app、h5、小程序等多端",
"version": "1.0.3",
"description": "此组件集成了文本类在项目中的常用功能,包括状态,拨打电话,格式化日期,*替换,超链接...等功能。 您大可不必在使用特殊文本时自己定义text组件涵盖您能使用的大部分场景。",
"keywords": [
"uv-text",
"uvui",
"uv-ui",
"text",
"文本"
],
"repository": "",
"engines": {
"HBuilderX": "^3.1.0"
},
"dcloudext": {
"type": "component-vue",
"sale": {
"regular": {
"price": "0.00"
},
"sourcecode": {
"price": "0.00"
}
},
"contact": {
"qq": ""
},
"declaration": {
"ads": "无",
"data": "插件不采集任何数据",
"permissions": "无"
},
"npmurl": ""
},
"uni_modules": {
"dependencies": [
"uv-ui-tools",
"uv-icon",
"uv-link"
],
"encrypt": [],
"platforms": {
"cloud": {
"tcb": "y",
"aliyun": "y"
},
"client": {
"Vue": {
"vue2": "y",
"vue3": "y"
},
"App": {
"app-vue": "y",
"app-nvue": "y"
},
"H5-mobile": {
"Safari": "y",
"Android Browser": "y",
"微信浏览器(Android)": "y",
"QQ浏览器(Android)": "y"
},
"H5-pc": {
"Chrome": "y",
"IE": "y",
"Edge": "y",
"Firefox": "y",
"Safari": "y"
},
"小程序": {
"微信": "y",
"阿里": "y",
"百度": "y",
"字节跳动": "y",
"QQ": "y",
"钉钉": "u",
"快手": "u",
"飞书": "u",
"京东": "u"
},
"快应用": {
"华为": "u",
"联盟": "u"
}
}
}
}
}

View File

@ -1,17 +1,17 @@
## Text 文本
> **组件名uv-text**
此组件集成了文本类在项目中的常用功能,包括状态,拨打电话,格式化日期,*替换,超链接...等功能。 您大可不必在使用特殊文本时自己定义text组件涵盖您能使用的大部分场景。
# <a href="https://www.uvui.cn/components/text.html" target="_blank">查看文档</a>
### [更多插件请关注uv-ui组件库](https://ext.dcloud.net.cn/plugin?name=uv-ui)
<a href="https://ext.dcloud.net.cn/plugin?name=uv-ui" target="_blank">
![image](https://mp-a667b617-c5f1-4a2d-9a54-683a67cff588.cdn.bspapp.com/uv-ui/banner.png)
</a>
## Text 文本
> **组件名uv-text**
此组件集成了文本类在项目中的常用功能,包括状态,拨打电话,格式化日期,*替换,超链接...等功能。 您大可不必在使用特殊文本时自己定义text组件涵盖您能使用的大部分场景。
# <a href="https://www.uvui.cn/components/text.html" target="_blank">查看文档</a>
### [更多插件请关注uv-ui组件库](https://ext.dcloud.net.cn/plugin?name=uv-ui)
<a href="https://ext.dcloud.net.cn/plugin?name=uv-ui" target="_blank">
![image](https://mp-a667b617-c5f1-4a2d-9a54-683a67cff588.cdn.bspapp.com/uv-ui/banner.png)
</a>
#### 如使用过程中有任何问题反馈或者您对uv-ui有一些好的建议欢迎加入uv-ui官方交流群<a href="https://www.uvui.cn/components/addQQGroup.html" target="_blank">官方QQ群</a>