You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iot/projects/gateway/src/main/resources/static/pages/home.html.js

19 lines
612 B

var home = Vue.component('home', function (resolve, reject) {
axios.get("/pages/home.html").then(function (response) {
resolve({
template: response.data,
data() {
return {
name: 'home'
};
},
mounted: function () {
$('.weui-tabbar__item').on('click', function () {
$(this).addClass('weui-bar__item_on').siblings('.weui-bar__item_on').removeClass('weui-bar__item_on');
});
},
methods: {
}
})
});
});