vimo-dt
Version:
A Vue2.x UI Project For Mobile & HyBrid
25 lines (23 loc) • 569 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = {
props: {
color: String,
mode: {
type: String,
default: function _default() {
return this.$config && this.$config.get('mode', 'ios') || 'ios';
}
}
},
computed: {
modeClass: function modeClass() {
return this.componentName + ' ' + this.componentName + '-' + this.mode;
},
colorClass: function colorClass() {
return this.color ? this.componentName + '-' + this.mode + '-' + this.color : '';
}
}
};