仿互站小程序

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

21
vant/col/index.js Normal file
View File

@@ -0,0 +1,21 @@
(0, require("../common/component").VantComponent)({
relation: {
name: "row",
type: "ancestor"
},
props: {
span: Number,
offset: Number
},
data: {
style: ""
},
methods: {
setGutter: function(t) {
var e = t / 2 + "px", n = t ? "padding-left: " + e + "; padding-right: " + e + ";" : "";
n !== this.data.style && this.set({
style: n
});
}
}
});