日照项目的居民端小程序
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.

42 lines
868 B

"use strict";
Component({
properties: {
menuList: {
type: Array,
value: [
{
name: "",
value: "",
},
],
},
currMenu: {
type: String,
value: "",
},
tabPionts: {
type: Boolean,
value: false,
},
tabAlign: {
type: String,
value: "left",
},
},
data: {},
lifetimes: {
ready: function () {
this.init();
},
},
methods: {
init: function () {
console.log("顶部tab切换组件初始化完成");
},
shiftMenu: function (e) {
var val = e.target.dataset.val;
this.triggerEvent("shift", { value: val });
},
},
});