仿互站小程序

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/mixins/link.js Normal file
View File

@@ -0,0 +1,21 @@
Object.defineProperty(exports, "__esModule", {
value: !0
});
exports.link = Behavior({
properties: {
url: String,
linkType: {
type: String,
value: "navigateTo"
}
},
methods: {
jumpLink: function() {
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "url", t = this.data[e];
t && wx[this.data.linkType]({
url: t
});
}
}
});