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

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,21 +1,21 @@
## 1.0.92023-08-21
1. 修复设置宽高为百分比不生效的BUG
## 1.0.82023-07-24
1. 优化 nvue模式下增加cellChild参数是否在list中cell节点下nvue中cell下建议设置成true
## 1.0.72023-07-02
修复VUE3模式下可能不显示的BUG
## 1.0.62023-07-02
优化修改
## 1.0.52023-06-28
修复duration属性不生效的BUG
## 1.0.42023-05-27
1. 修复可能报错的问题
## 1.0.32023-05-24
1. 去掉template中存在的this.导致头条小程序编译警告
## 1.0.22023-05-23
1. 优化
## 1.0.12023-05-16
1. 优化组件依赖,修改后无需全局引入,组件导入即可使用
2. 优化部分功能
## 1.0.02023-05-10
uv-image 图片
## 1.0.82023-07-24
1. 优化 nvue模式下增加cellChild参数是否在list中cell节点下nvue中cell下建议设置成true
## 1.0.72023-07-02
修复VUE3模式下可能不显示的BUG
## 1.0.62023-07-02
优化修改
## 1.0.52023-06-28
修复duration属性不生效的BUG
## 1.0.42023-05-27
1. 修复可能报错的问题
## 1.0.32023-05-24
1. 去掉template中存在的this.导致头条小程序编译警告
## 1.0.22023-05-23
1. 优化
## 1.0.12023-05-16
1. 优化组件依赖,修改后无需全局引入,组件导入即可使用
2. 优化部分功能
## 1.0.02023-05-10
uv-image 图片

View File

@ -1,95 +1,95 @@
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-圆形square-方形
shape: {
type: String,
default: 'square'
},
// 圆角,单位任意
radius: {
type: [String, Number],
default: 0
},
// 是否懒加载微信小程序、App、百度小程序、字节跳动小程序
lazyLoad: {
type: Boolean,
default: true
},
// 是否开启observer懒加载nvue不生效
observeLazyLoad: {
type: Boolean,
default: false
},
// 开启长按图片显示识别微信小程序码菜单
showMenuByLongpress: {
type: Boolean,
default: true
},
// 加载中的图标,或者小图片
loadingIcon: {
type: String,
default: 'photo'
},
// 加载失败的图标,或者小图片
errorIcon: {
type: String,
default: 'error-circle'
},
// 是否显示加载中的图标或者自定义的slot
showLoading: {
type: Boolean,
default: true
},
// 是否显示加载错误的图标或者自定义的slot
showError: {
type: Boolean,
default: true
},
// 是否需要淡入效果
fade: {
type: Boolean,
default: true
},
// 只支持网络资源,只对微信小程序有效
webp: {
type: Boolean,
default: false
},
// 过渡时间单位ms
duration: {
type: [String, Number],
default: 500
},
// 背景颜色,用于深色页面加载图片时,为了和背景色融合
bgColor: {
type: String,
default: '#f3f4f6'
},
// nvue模式下 是否直接显示在uv-list等cell下面使用就需要设置
cellChild: {
type: Boolean,
default: false
},
...uni.$uv?.props?.image
}
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-圆形square-方形
shape: {
type: String,
default: 'square'
},
// 圆角,单位任意
radius: {
type: [String, Number],
default: 0
},
// 是否懒加载微信小程序、App、百度小程序、字节跳动小程序
lazyLoad: {
type: Boolean,
default: true
},
// 是否开启observer懒加载nvue不生效
observeLazyLoad: {
type: Boolean,
default: false
},
// 开启长按图片显示识别微信小程序码菜单
showMenuByLongpress: {
type: Boolean,
default: true
},
// 加载中的图标,或者小图片
loadingIcon: {
type: String,
default: 'photo'
},
// 加载失败的图标,或者小图片
errorIcon: {
type: String,
default: 'error-circle'
},
// 是否显示加载中的图标或者自定义的slot
showLoading: {
type: Boolean,
default: true
},
// 是否显示加载错误的图标或者自定义的slot
showError: {
type: Boolean,
default: true
},
// 是否需要淡入效果
fade: {
type: Boolean,
default: true
},
// 只支持网络资源,只对微信小程序有效
webp: {
type: Boolean,
default: false
},
// 过渡时间单位ms
duration: {
type: [String, Number],
default: 500
},
// 背景颜色,用于深色页面加载图片时,为了和背景色融合
bgColor: {
type: String,
default: '#f3f4f6'
},
// nvue模式下 是否直接显示在uv-list等cell下面使用就需要设置
cellChild: {
type: Boolean,
default: false
},
...uni.$uv?.props?.image
}
}

View File

@ -1,263 +1,263 @@
<template>
<uv-transition
: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 && observeShow"
:src="src"
:mode="mode"
@error="onErrorHandler"
@load="onLoadHandler"
:show-menuv-by-longpress="showMenuByLongpress"
:lazy-load="lazyLoad"
class="uv-image__image"
:style="[imageStyle]"
></image>
<view
v-if="showLoading && loading"
class="uv-image__loading"
:style="{
borderRadius: shape == 'circle' ? '50%' : $uv.addUnit(radius),
backgroundColor: bgColor,
width: $uv.addUnit(width),
height: $uv.addUnit(height)
}"
>
<slot name="loading">
<uv-icon
:name="loadingIcon"
:width="width"
:height="height"
></uv-icon>
</slot>
</view>
<view
v-if="showError && isError && !loading"
class="uv-image__error"
:style="{
borderRadius: shape == 'circle' ? '50%' : $uv.addUnit(radius),
width: $uv.addUnit(width),
height: $uv.addUnit(height)
}"
>
<slot name="error">
<uv-icon
:name="errorIcon"
:width="width"
:height="height"
></uv-icon>
</slot>
</view>
</view>
</uv-transition>
</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';
/**
* Image 图片
* @description 此组件为uni-app的image组件的加强版在继承了原有功能外还支持淡入动画、加载中、加载失败提示、圆角值和形状等。
* @tutorial https://www.uvui.cn/components/image.html
* @property {String} src 图片地址
* @property {String} mode 裁剪模式,见官网说明 (默认 'aspectFill'
* @property {String | Number} width 宽度单位任意如果为数值则为px单位 (默认 '300'
* @property {String | Number} height 高度单位任意如果为数值则为px单位 (默认 '225'
* @property {String} shape 图片形状circle-圆形square-方形 (默认 'square'
* @property {String | Number} radius 圆角值单位任意如果为数值则为px单位 (默认 0
* @property {Boolean} lazyLoad 是否懒加载仅微信小程序、App、百度小程序、字节跳动小程序有效 (默认 true
* @property {Boolean} showMenuByLongpress 是否开启长按图片显示识别小程序码菜单,仅微信小程序有效 (默认 true
* @property {String} loadingIcon 加载中的图标,或者小图片 (默认 'photo'
* @property {String} errorIcon 加载失败的图标,或者小图片 (默认 'error-circle'
* @property {Boolean} showLoading 是否显示加载中的图标或者自定义的slot (默认 true
* @property {Boolean} showError 是否显示加载错误的图标或者自定义的slot (默认 true
* @property {Boolean} fade 是否需要淡入效果 (默认 true
* @property {Boolean} webp 只支持网络资源,只对微信小程序有效 (默认 false
* @property {String | Number} duration 搭配fade参数的过渡时间单位ms (默认 500
* @property {String} bgColor 背景颜色,用于深色页面加载图片时,为了和背景色融合 (默认 '#f3f4f6' )
* @property {Object} customStyle 定义需要用到的外部样式
* @event {Function} click 点击图片时触发
* @event {Function} error 图片加载失败时触发
* @event {Function} load 图片加载成功时触发
* @example <uv-image width="100%" height="300px" :src="src"></uv-image>
*/
export default {
name: 'uv-image',
emits: ['click', 'load', 'error'],
mixins: [mpMixin, mixin, props],
data() {
return {
// 图片是否加载错误,如果是,则显示错误占位图
isError: false,
// 初始化组件时,默认为加载中状态
loading: true,
// 图片加载完成时去掉背景颜色因为如果是png图片就会显示灰色的背景
backgroundStyle: {},
// 用于fade模式的控制组件显示与否
show: false,
// 是否开启图片出现在可视范围进行加载(另一种懒加载)
observeShow: !this.observeLazyLoad,
elIndex: '',
// 因为props的值无法修改故需要一个中间值
imgWidth: this.width,
// 因为props的值无法修改故需要一个中间值
imgHeight: this.height,
thresholdValue: 50
};
},
watch: {
src: {
immediate: true,
handler(n) {
if (!n) {
// 如果传入null或者''或者false或者undefined标记为错误状态
this.isError = true
} else {
this.isError = false;
this.loading = true;
}
}
}
},
computed: {
wrapStyle() {
let style = {};
// 通过调用addUnit()方法如果有单位如百分比px单位等直接返回如果是纯粹的数值则加上rpx单位
style.width = this.$uv.addUnit(this.imgWidth);
style.height = this.$uv.addUnit(this.imgHeight);
// 如果是显示圆形,设置一个很多的半径值即可
style.borderRadius = this.shape == 'circle' ? '10000px' : this.$uv.addUnit(this.radius)
// 如果设置圆角必须要有hidden否则可能圆角无效
style.overflow = this.radius > 0 ? 'hidden' : 'visible'
return this.$uv.deepMerge(style, this.$uv.addStyle(this.customStyle));
},
imageStyle() {
let style = {};
style.borderRadius = this.shape == 'circle' ? '10000px' : this.$uv.addUnit(this.radius);
// #ifdef APP-NVUE
style.width = this.$uv.addUnit(this.imgWidth);
style.height = this.$uv.addUnit(this.imgHeight);
// #endif
return style;
}
},
created() {
this.elIndex = this.$uv.guid();
this.observer = {}
this.observerName = 'lazyLoadContentObserver'
},
mounted() {
this.show = true;
if (this.observeLazyLoad) this.observerFn();
},
methods: {
// 点击图片
onClick() {
this.$emit('click')
},
// 图片加载失败
onErrorHandler(err) {
this.loading = false
this.isError = true
this.$emit('error', err)
},
// 图片加载完成标记loading结束
onLoadHandler(event) {
if (this.mode == 'widthFix') this.imgHeight = 'auto'
if (this.mode == 'heightFix') this.imgWidth = 'auto'
this.loading = false
this.isError = false
this.$emit('load', event)
this.removeBgColor()
},
// 移除图片的背景色
removeBgColor() {
// 淡入动画过渡完成后将背景设置为透明色否则png图片会看到灰色的背景
this.backgroundStyle = {
backgroundColor: 'transparent'
};
},
// 观察图片是否在可见视口
observerFn() {
// 在需要用到懒加载的页面在触发底部的时候触发tOnLazyLoadReachBottom事件保证所有图片进行加载
this.$nextTick(() => {
uni.$once('onLazyLoadReachBottom', () => {
if (!this.observeShow) this.observeShow = true
})
})
setTimeout(() => {
// #ifndef APP-NVUE
this.disconnectObserver(this.observerName)
const contentObserver = uni.createIntersectionObserver(this)
contentObserver.relativeToViewport({
bottom: this.thresholdValue
}).observe(`.uv-image--${this.elIndex}`, (res) => {
if (res.intersectionRatio > 0) {
// 懒加载状态改变
this.observeShow = true
// 如果图片已经加载,去掉监听,减少性能消耗
this.disconnectObserver(this.observerName)
}
})
this[this.observerName] = contentObserver
// #endif
// #ifdef APP-NVUE
this.observeShow = true;
// #endif
}, 50)
},
disconnectObserver(observerName) {
const observer = this[observerName]
observer && observer.disconnect()
}
}
};
</script>
<style lang="scss" scoped>
@import '@/uni_modules/uv-ui-tools/libs/css/components.scss';
@import '@/uni_modules/uv-ui-tools/libs/css/color.scss';
$uv-image-error-top: 0px !default;
$uv-image-error-left: 0px !default;
$uv-image-error-width: 100% !default;
$uv-image-error-hight: 100% !default;
$uv-image-error-background-color: $uv-bg-color !default;
$uv-image-error-color: $uv-tips-color !default;
$uv-image-error-font-size: 46rpx !default;
.uv-image {
position: relative;
transition: opacity 0.5s ease-in-out;
&__image {
width: 100%;
height: 100%;
}
&__loading,
&__error {
position: absolute;
top: $uv-image-error-top;
left: $uv-image-error-left;
width: $uv-image-error-width;
height: $uv-image-error-hight;
@include flex;
align-items: center;
justify-content: center;
background-color: $uv-image-error-background-color;
color: $uv-image-error-color;
font-size: $uv-image-error-font-size;
}
}
</style>
<template>
<uv-transition
: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 && observeShow"
:src="src"
:mode="mode"
@error="onErrorHandler"
@load="onLoadHandler"
:show-menuv-by-longpress="showMenuByLongpress"
:lazy-load="lazyLoad"
class="uv-image__image"
:style="[imageStyle]"
></image>
<view
v-if="showLoading && loading"
class="uv-image__loading"
:style="{
borderRadius: shape == 'circle' ? '50%' : $uv.addUnit(radius),
backgroundColor: bgColor,
width: $uv.addUnit(width),
height: $uv.addUnit(height)
}"
>
<slot name="loading">
<uv-icon
:name="loadingIcon"
:width="width"
:height="height"
></uv-icon>
</slot>
</view>
<view
v-if="showError && isError && !loading"
class="uv-image__error"
:style="{
borderRadius: shape == 'circle' ? '50%' : $uv.addUnit(radius),
width: $uv.addUnit(width),
height: $uv.addUnit(height)
}"
>
<slot name="error">
<uv-icon
:name="errorIcon"
:width="width"
:height="height"
></uv-icon>
</slot>
</view>
</view>
</uv-transition>
</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';
/**
* Image 图片
* @description 此组件为uni-app的image组件的加强版在继承了原有功能外还支持淡入动画、加载中、加载失败提示、圆角值和形状等。
* @tutorial https://www.uvui.cn/components/image.html
* @property {String} src 图片地址
* @property {String} mode 裁剪模式,见官网说明 (默认 'aspectFill'
* @property {String | Number} width 宽度单位任意如果为数值则为px单位 (默认 '300'
* @property {String | Number} height 高度单位任意如果为数值则为px单位 (默认 '225'
* @property {String} shape 图片形状circle-圆形square-方形 (默认 'square'
* @property {String | Number} radius 圆角值单位任意如果为数值则为px单位 (默认 0
* @property {Boolean} lazyLoad 是否懒加载仅微信小程序、App、百度小程序、字节跳动小程序有效 (默认 true
* @property {Boolean} showMenuByLongpress 是否开启长按图片显示识别小程序码菜单,仅微信小程序有效 (默认 true
* @property {String} loadingIcon 加载中的图标,或者小图片 (默认 'photo'
* @property {String} errorIcon 加载失败的图标,或者小图片 (默认 'error-circle'
* @property {Boolean} showLoading 是否显示加载中的图标或者自定义的slot (默认 true
* @property {Boolean} showError 是否显示加载错误的图标或者自定义的slot (默认 true
* @property {Boolean} fade 是否需要淡入效果 (默认 true
* @property {Boolean} webp 只支持网络资源,只对微信小程序有效 (默认 false
* @property {String | Number} duration 搭配fade参数的过渡时间单位ms (默认 500
* @property {String} bgColor 背景颜色,用于深色页面加载图片时,为了和背景色融合 (默认 '#f3f4f6' )
* @property {Object} customStyle 定义需要用到的外部样式
* @event {Function} click 点击图片时触发
* @event {Function} error 图片加载失败时触发
* @event {Function} load 图片加载成功时触发
* @example <uv-image width="100%" height="300px" :src="src"></uv-image>
*/
export default {
name: 'uv-image',
emits: ['click', 'load', 'error'],
mixins: [mpMixin, mixin, props],
data() {
return {
// 图片是否加载错误,如果是,则显示错误占位图
isError: false,
// 初始化组件时,默认为加载中状态
loading: true,
// 图片加载完成时去掉背景颜色因为如果是png图片就会显示灰色的背景
backgroundStyle: {},
// 用于fade模式的控制组件显示与否
show: false,
// 是否开启图片出现在可视范围进行加载(另一种懒加载)
observeShow: !this.observeLazyLoad,
elIndex: '',
// 因为props的值无法修改故需要一个中间值
imgWidth: this.width,
// 因为props的值无法修改故需要一个中间值
imgHeight: this.height,
thresholdValue: 50
};
},
watch: {
src: {
immediate: true,
handler(n) {
if (!n) {
// 如果传入null或者''或者false或者undefined标记为错误状态
this.isError = true
} else {
this.isError = false;
this.loading = true;
}
}
}
},
computed: {
wrapStyle() {
let style = {};
// 通过调用addUnit()方法如果有单位如百分比px单位等直接返回如果是纯粹的数值则加上rpx单位
style.width = this.$uv.addUnit(this.imgWidth);
style.height = this.$uv.addUnit(this.imgHeight);
// 如果是显示圆形,设置一个很多的半径值即可
style.borderRadius = this.shape == 'circle' ? '10000px' : this.$uv.addUnit(this.radius)
// 如果设置圆角必须要有hidden否则可能圆角无效
style.overflow = this.radius > 0 ? 'hidden' : 'visible'
return this.$uv.deepMerge(style, this.$uv.addStyle(this.customStyle));
},
imageStyle() {
let style = {};
style.borderRadius = this.shape == 'circle' ? '10000px' : this.$uv.addUnit(this.radius);
// #ifdef APP-NVUE
style.width = this.$uv.addUnit(this.imgWidth);
style.height = this.$uv.addUnit(this.imgHeight);
// #endif
return style;
}
},
created() {
this.elIndex = this.$uv.guid();
this.observer = {}
this.observerName = 'lazyLoadContentObserver'
},
mounted() {
this.show = true;
if (this.observeLazyLoad) this.observerFn();
},
methods: {
// 点击图片
onClick() {
this.$emit('click')
},
// 图片加载失败
onErrorHandler(err) {
this.loading = false
this.isError = true
this.$emit('error', err)
},
// 图片加载完成标记loading结束
onLoadHandler(event) {
if (this.mode == 'widthFix') this.imgHeight = 'auto'
if (this.mode == 'heightFix') this.imgWidth = 'auto'
this.loading = false
this.isError = false
this.$emit('load', event)
this.removeBgColor()
},
// 移除图片的背景色
removeBgColor() {
// 淡入动画过渡完成后将背景设置为透明色否则png图片会看到灰色的背景
this.backgroundStyle = {
backgroundColor: 'transparent'
};
},
// 观察图片是否在可见视口
observerFn() {
// 在需要用到懒加载的页面在触发底部的时候触发tOnLazyLoadReachBottom事件保证所有图片进行加载
this.$nextTick(() => {
uni.$once('onLazyLoadReachBottom', () => {
if (!this.observeShow) this.observeShow = true
})
})
setTimeout(() => {
// #ifndef APP-NVUE
this.disconnectObserver(this.observerName)
const contentObserver = uni.createIntersectionObserver(this)
contentObserver.relativeToViewport({
bottom: this.thresholdValue
}).observe(`.uv-image--${this.elIndex}`, (res) => {
if (res.intersectionRatio > 0) {
// 懒加载状态改变
this.observeShow = true
// 如果图片已经加载,去掉监听,减少性能消耗
this.disconnectObserver(this.observerName)
}
})
this[this.observerName] = contentObserver
// #endif
// #ifdef APP-NVUE
this.observeShow = true;
// #endif
}, 50)
},
disconnectObserver(observerName) {
const observer = this[observerName]
observer && observer.disconnect()
}
}
};
</script>
<style lang="scss" scoped>
@import '@/uni_modules/uv-ui-tools/libs/css/components.scss';
@import '@/uni_modules/uv-ui-tools/libs/css/color.scss';
$uv-image-error-top: 0px !default;
$uv-image-error-left: 0px !default;
$uv-image-error-width: 100% !default;
$uv-image-error-hight: 100% !default;
$uv-image-error-background-color: $uv-bg-color !default;
$uv-image-error-color: $uv-tips-color !default;
$uv-image-error-font-size: 46rpx !default;
.uv-image {
position: relative;
transition: opacity 0.5s ease-in-out;
&__image {
width: 100%;
height: 100%;
}
&__loading,
&__error {
position: absolute;
top: $uv-image-error-top;
left: $uv-image-error-left;
width: $uv-image-error-width;
height: $uv-image-error-hight;
@include flex;
align-items: center;
justify-content: center;
background-color: $uv-image-error-background-color;
color: $uv-image-error-color;
font-size: $uv-image-error-font-size;
}
}
</style>

View File

@ -1,89 +1,89 @@
{
"id": "uv-image",
"displayName": "uv-image 图片 全面兼容vue3+2、app、h5、小程序等多端",
"version": "1.0.9",
"description": "uv-image 此组件为uni-app的image组件的加强版在继承了原有功能外增加observer懒加载功能还支持淡入动画、加载中、加载失败提示、圆角值和形状等。",
"keywords": [
"uv-image",
"uvui",
"uv-ui",
"image",
"图片"
],
"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-transition",
"uv-icon"
],
"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-image",
"displayName": "uv-image 图片 全面兼容vue3+2、app、h5、小程序等多端",
"version": "1.0.9",
"description": "uv-image 此组件为uni-app的image组件的加强版在继承了原有功能外增加observer懒加载功能还支持淡入动画、加载中、加载失败提示、圆角值和形状等。",
"keywords": [
"uv-image",
"uvui",
"uv-ui",
"image",
"图片"
],
"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-transition",
"uv-icon"
],
"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,15 +1,15 @@
## Image 图片
> **组件名uv-image**
此组件为`uni-app``image`组件的加强版,在继承了原有功能外,增加`observer`懒加载功能,还支持淡入动画、加载中、加载失败提示、圆角值和形状等。
# <a href="https://www.uvui.cn/components/image.html" target="_blank">查看文档</a>
## [下载完整示例项目](https://ext.dcloud.net.cn/plugin?name=uv-ui)
### [更多插件请关注uv-ui组件库](https://ext.dcloud.net.cn/plugin?name=uv-ui)
![image](https://mp-a667b617-c5f1-4a2d-9a54-683a67cff588.cdn.bspapp.com/uv-ui/banner.png)
#### 如使用过程中有任何问题反馈或者您对uv-ui有一些好的建议欢迎加入uv-ui官方交流群<a href="https://www.uvui.cn/components/addQQGroup.html" target="_blank">官方QQ群</a>
## Image 图片
> **组件名uv-image**
此组件为`uni-app``image`组件的加强版,在继承了原有功能外,增加`observer`懒加载功能,还支持淡入动画、加载中、加载失败提示、圆角值和形状等。
# <a href="https://www.uvui.cn/components/image.html" target="_blank">查看文档</a>
## [下载完整示例项目](https://ext.dcloud.net.cn/plugin?name=uv-ui)
### [更多插件请关注uv-ui组件库](https://ext.dcloud.net.cn/plugin?name=uv-ui)
![image](https://mp-a667b617-c5f1-4a2d-9a54-683a67cff588.cdn.bspapp.com/uv-ui/banner.png)
#### 如使用过程中有任何问题反馈或者您对uv-ui有一些好的建议欢迎加入uv-ui官方交流群<a href="https://www.uvui.cn/components/addQQGroup.html" target="_blank">官方QQ群</a>