仿互站小程序

This commit is contained in:
Drawfans
2020-06-09 16:17:23 +08:00
commit 7bfd53851e
321 changed files with 22890 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
(0, require("../common/component").VantComponent)({
relation: {
type: "descendant",
name: "goods-action-button",
linked: function(n) {
this.children.push(n);
},
unlinked: function(n) {
this.children = this.children.filter(function(e) {
return e !== n;
});
}
},
beforeCreate: function() {
this.children = [];
},
props: {
safeAreaInsetBottom: {
type: Boolean,
value: !0
}
}
});