仿互站小程序
This commit is contained in:
19
vant/goods-action-icon/index.js
Normal file
19
vant/goods-action-icon/index.js
Normal file
@@ -0,0 +1,19 @@
|
||||
var i = require("../common/component"), n = require("../mixins/link"), e = require("../mixins/button"), o = require("../mixins/open-type");
|
||||
|
||||
(0, i.VantComponent)({
|
||||
classes: [ "icon-class", "text-class" ],
|
||||
mixins: [ n.link, e.button, o.openType ],
|
||||
props: {
|
||||
text: String,
|
||||
dot: Boolean,
|
||||
info: String,
|
||||
icon: String,
|
||||
disabled: Boolean,
|
||||
loading: Boolean
|
||||
},
|
||||
methods: {
|
||||
onClick: function(i) {
|
||||
this.$emit("click", i.detail), this.jumpLink();
|
||||
}
|
||||
}
|
||||
});
|
Reference in New Issue
Block a user