Commit 8582d391 authored by tangfh's avatar tangfh

m

parent e9f4f8ee
...@@ -32,10 +32,12 @@ ...@@ -32,10 +32,12 @@
import util from './../../utils/util.js' import util from './../../utils/util.js'
export default { export default {
data() { data() {
let option = {
navBar: JSON.parse(JSON.stringify(constant.navBar))
}
option.navBar.title = "标题"
return { return {
option: { option: option,
navBar: JSON.parse(JSON.stringify(constant.navBar)),
},
navBarHeight: 0, navBarHeight: 0,
scrollViewHeight: 1000, scrollViewHeight: 1000,
refresherEnabled: true, refresherEnabled: true,
......
...@@ -30,10 +30,11 @@ ...@@ -30,10 +30,11 @@
import util from './../../utils/util.js' import util from './../../utils/util.js'
export default { export default {
data() { data() {
let option = {
navBar: JSON.parse(JSON.stringify(constant.navBar))
}
option.navBar.title = "标题"
return { return {
option: {
navBar: JSON.parse(JSON.stringify(constant.navBar)),
},
navBarHeight: 0, navBarHeight: 0,
scrollViewHeight: 1000, scrollViewHeight: 1000,
refresherEnabled: true, refresherEnabled: true,
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<view class="content"> <view class="content">
<!-- [uni-nav-bar 自定义导航栏](https://uniapp.dcloud.net.cn/component/uniui/uni-nav-bar.html) --> <!-- [uni-nav-bar 自定义导航栏](https://uniapp.dcloud.net.cn/component/uniui/uni-nav-bar.html) -->
<uni-nav-bar ref="navBar" class="uni-navi-bar" status-bar="true" :border="false" color="#333333" fixed="true" <uni-nav-bar ref="navBar" class="uni-navi-bar" status-bar="true" :border="false" color="#333333" fixed="true"
left-icon="left" left-text="返回" :title="title" @clickLeft="onNavBarLeftClick" left-icon="left" left-text="返回" :title="option.navBar.title" @clickLeft="onNavBarLeftClick"
:titleRightIcon="tabBars[tabIndex].isNeedFilter ? titleRightIcon : ''" :titleRightIcon2="titleRightIcon2" :titleRightIcon="tabBars[tabIndex].isNeedFilter ? titleRightIcon : ''" :titleRightIcon2="titleRightIcon2"
@onClickTitleRightIcon="onClickTitleRightIcon" @onClickTitleRightIcon2="onClickTitleRightIcon2"> @onClickTitleRightIcon="onClickTitleRightIcon" @onClickTitleRightIcon2="onClickTitleRightIcon2">
</uni-nav-bar> </uni-nav-bar>
...@@ -36,9 +36,7 @@ ...@@ -36,9 +36,7 @@
</swiper-item> </swiper-item>
</swiper> </swiper>
<view class="com-v-bottom-btn-parent"> <text class="text-bottom-btn center active2" @click="onAddEmployeeBtnClick">添加店员</text>
<c-button-1 :ui="bottomBtnUI" @onClick="onBottomBtnClick"></c-button-1>
</view>
<c-pop-passcard-filter ref="filter" @onEnsureBtnClick="onFilterEnsureBtnClick"></c-pop-passcard-filter> <c-pop-passcard-filter ref="filter" @onEnsureBtnClick="onFilterEnsureBtnClick"></c-pop-passcard-filter>
</view> </view>
...@@ -102,8 +100,11 @@ ...@@ -102,8 +100,11 @@
iooItem iooItem
}, // 2. 注册组件 }, // 2. 注册组件
data() { data() {
let option = {
navBar: JSON.parse(JSON.stringify(constant.navBar))
}
option.navBar.title = "标题"
return { return {
title: '装修物料进场单',
navBarHeight: 0, navBarHeight: 0,
refresherTriggered: false, refresherTriggered: false,
loadMoreViewShow: false, loadMoreViewShow: false,
......
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