Commit 9e502756 authored by 谢卓城's avatar 谢卓城

完善:1.打包忽略文件.

parent 04f73af2
......@@ -14,16 +14,16 @@ Component({
leftIcon: String,
titleOpcity: {
type: Number,
value: 1
value: 1,
},
opcity: {
type: Number,
value: 0
value: 0,
},
iconOpcity: {
type: Number,
value: 0
}
value: 0,
},
},
externalClasses: ["super-class"],
data: {
......@@ -32,14 +32,13 @@ Component({
navBarHeight: 0, // 导航栏高度 = navBar + 状态栏高度
menuBotton: 0, // 胶囊距底部间距(保持底部间距一致)
menuRight: 0, // 胶囊距右方间距(方保持左、右间距一致)
menuHeight: 0 // 胶囊高度(自定义内容可与胶囊高度保证一致)
menuHeight: 0, // 胶囊高度(自定义内容可与胶囊高度保证一致)
},
pageLifetimes: {
// 组件所在页面的生命周期函数
show: function() {
show: function () {
this.setNavBarInfo();
}
},
},
methods: {
/**
......@@ -52,14 +51,14 @@ Component({
menuHeight: app.globalData.menuHeight, // 胶囊高度(自定义内容可与胶囊高度保证一致)
navBar: app.globalData.customBarHeight - app.globalData.statusBarHeight,
navBarHeight: app.globalData.customBarHeight,
top: app.globalData.menuBottonTop
top: app.globalData.menuBottonTop,
});
},
// 这里是一个自定义方法
tagAction(e) {
console.log(e);
var eventOption = { }; // 触发事件的选项
var eventOption = {}; // 触发事件的选项
this.triggerEvent("tagClick", eventOption);
}
}
},
},
});
{
"description": "项目配置文件",
"packOptions": {
"ignore": []
"ignore": [
{
"type": "folder",
"value": "miniprogram_npm/nmaxios/README.md"
}
]
},
"setting": {
"urlCheck": true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment