仿互站小程序
This commit is contained in:
34
vant/cell/index.js
Normal file
34
vant/cell/index.js
Normal file
@@ -0,0 +1,34 @@
|
||||
var e = require("../mixins/link");
|
||||
|
||||
(0, require("../common/component").VantComponent)({
|
||||
classes: [ "title-class", "label-class", "value-class", "right-icon-class", "hover-class" ],
|
||||
mixins: [ e.link ],
|
||||
props: {
|
||||
title: null,
|
||||
value: null,
|
||||
icon: String,
|
||||
size: String,
|
||||
label: String,
|
||||
center: Boolean,
|
||||
isLink: Boolean,
|
||||
required: Boolean,
|
||||
clickable: Boolean,
|
||||
titleWidth: String,
|
||||
customStyle: String,
|
||||
arrowDirection: String,
|
||||
useLabelSlot: Boolean,
|
||||
hidden: {
|
||||
type: Boolean,
|
||||
value: !1
|
||||
},
|
||||
border: {
|
||||
type: Boolean,
|
||||
value: !0
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
onClick: function(e) {
|
||||
this.$emit("click", e.detail), this.jumpLink();
|
||||
}
|
||||
}
|
||||
});
|
Reference in New Issue
Block a user