no message

SPY×FAMILY
鹿和sa0ChunLuyu 3 years ago
parent e236e3a6f8
commit 4d6d975fde

@ -1,3 +1,7 @@
## 1.3.62022-06-30
- 修复 组件示例中插槽用法无法显示内容的bug
## 1.3.52022-05-24
- 新增 stat 属性 可开启统计title 上报 仅使用了title 属性且项目开启了uni统计生效
## 1.3.42022-01-24
- 更新 组件示例
## 1.3.32022-01-24

@ -64,6 +64,7 @@
* @property {Boolean} fixed = [true|false] 是否固定顶部
* @property {Boolean} statusBar = [true|false] 是否包含状态栏
* @property {Boolean} shadow = [true|false] 导航栏下是否有阴影
* @property {Boolean} stat 是否开启统计标题上报
* @event {Function} clickLeft 左侧按钮点击时触发
* @event {Function} clickRight 右侧按钮点击时触发
* @event {Function} clickTitle 中间标题点击时触发
@ -135,6 +136,10 @@
type: [Number, String],
default: 60
},
stat: {
type: [Boolean, String],
default: ''
}
},
computed: {
themeBgColor() {
@ -170,7 +175,7 @@
}
},
mounted() {
if (uni.report && this.title !== '') {
if (uni.report && this.stat && this.title !== '') {
uni.report('title', this.title)
}
},
@ -240,7 +245,7 @@
}
.uni-navbar__header-btns {
/* #ifndef APP-NVUE */
/* #ifndef APP-NVUE */
overflow: hidden;
display: flex;
/* #endif */
@ -279,7 +284,7 @@
/* #ifndef APP-NVUE */
display: flex;
/* #endif */
flex: 1;
flex: 1;
padding: 0 10px;
overflow: hidden;
}
@ -340,4 +345,4 @@
//
.uni-dark {}
</style>
</style>

@ -1,7 +1,7 @@
{
"id": "uni-nav-bar",
"displayName": "uni-nav-bar 自定义导航栏",
"version": "1.3.4",
"version": "1.3.6",
"description": "自定义导航栏组件,主要用于头部导航。",
"keywords": [
"uni-ui",

Loading…
Cancel
Save