yl-view
Version:
一个基于uniapp的ui框架
52 lines • 781 B
JavaScript
export default {
props: {
// 数据源
data: {
type: Array,
default: _ => []
},
name: {
type: String,
default: 'label'
},
img: {
type: String,
default: 'img'
},
rightLabel: {
type: String,
default: 'count'
},
expandLabel: {
type: String,
default: 'expand'
},
idLabel: {
type: String,
default: 'id'
},
itemCustomStyle: {
type: Object,
default: _ => {
return {
padding: '30rpx 0rpx',
fontSize:'34rpx',
borderBottom:`solid 1rpx ${uni.$yl.ylBorder}`
}
}
},
imgStyle: {
type: Object,
default: _ => {
return {
width: '80rpx',
height: '80rpx'
}
}
},
isShowRight:{
type:Boolean,
default:true
}
}
}