mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-07 07:35:06 +08:00
uni-app引入使用uView
This commit is contained in:
30
yudao-ui-app/uni_modules/uview-ui/libs/config/props/image.js
Normal file
30
yudao-ui-app/uni_modules/uview-ui/libs/config/props/image.js
Normal file
@ -0,0 +1,30 @@
|
||||
/*
|
||||
* @Author : LQ
|
||||
* @Description :
|
||||
* @version : 1.0
|
||||
* @Date : 2021-08-20 16:44:21
|
||||
* @LastAuthor : LQ
|
||||
* @lastTime : 2021-08-20 17:01:51
|
||||
* @FilePath : /u-view2.0/uview-ui/libs/config/props/image.js
|
||||
*/
|
||||
export default {
|
||||
// image组件
|
||||
image: {
|
||||
src: '',
|
||||
mode: 'aspectFill',
|
||||
width: '300',
|
||||
height: '225',
|
||||
shape: 'square',
|
||||
radius: 0,
|
||||
lazyLoad: true,
|
||||
showMenuByLongpress: true,
|
||||
loadingIcon: 'photo',
|
||||
errorIcon: 'error-circle',
|
||||
showLoading: true,
|
||||
showError: true,
|
||||
fade: true,
|
||||
webp: false,
|
||||
duration: 500,
|
||||
bgColor: '#f3f4f6'
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user