This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
import{defineMixin}from'../../libs/vue'
importdefPropsfrom'../../libs/config/props.js'
exportconstpropsCard=defineMixin({
props:{
// 与屏幕两侧是否留空隙
full:{
type:Boolean,
default:false
},
// 标题
title:{
type:String,
default:''
},
// 标题颜色
titleColor:{
type:String,
default:'#303133'
},
// 标题字体大小
titleSize:{
type:[Number,String],
default:'15px'
},
// 副标题
subTitle:{
type:String,
default:''
},
// 副标题颜色
subTitleColor:{
type:String,
default:'#909399'
},
// 副标题字体大小
subTitleSize:{
type:[Number,String],
default:'13'
},
// 是否显示外部边框,只对full=false时有效(卡片与边框有空隙时)
border:{
type:Boolean,
default:true
},
// 用于标识点击了第几个
index:{
type:[Number,String,Object],
default:''
},
// 用于隔开上下左右的边距,带单位的写法,如:"30px 30px","20px 20px 30px 30px"