Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
U
uni-app-base
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tangfh
uni-app-base
Commits
8582d391
Commit
8582d391
authored
Mar 19, 2024
by
tangfh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
m
parent
e9f4f8ee
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
11 deletions
+15
-11
base-list.vue
pages/template/base-list.vue
+5
-3
base-page.vue
pages/template/base-page.vue
+4
-3
base-tab.vue
pages/template/base-tab.vue
+6
-5
No files found.
pages/template/base-list.vue
View file @
8582d391
...
...
@@ -32,10 +32,12 @@
import
util
from
'./../../utils/util.js'
export
default
{
data
()
{
let
option
=
{
navBar
:
JSON
.
parse
(
JSON
.
stringify
(
constant
.
navBar
))
}
option
.
navBar
.
title
=
"标题"
return
{
option
:
{
navBar
:
JSON
.
parse
(
JSON
.
stringify
(
constant
.
navBar
)),
},
option
:
option
,
navBarHeight
:
0
,
scrollViewHeight
:
1000
,
refresherEnabled
:
true
,
...
...
pages/template/base-page.vue
View file @
8582d391
...
...
@@ -30,10 +30,11 @@
import
util
from
'./../../utils/util.js'
export
default
{
data
()
{
let
option
=
{
navBar
:
JSON
.
parse
(
JSON
.
stringify
(
constant
.
navBar
))
}
option
.
navBar
.
title
=
"标题"
return
{
option
:
{
navBar
:
JSON
.
parse
(
JSON
.
stringify
(
constant
.
navBar
)),
},
navBarHeight
:
0
,
scrollViewHeight
:
1000
,
refresherEnabled
:
true
,
...
...
pages/template/base-tab.vue
View file @
8582d391
...
...
@@ -2,7 +2,7 @@
<view
class=
"content"
>
<!-- [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"
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"
@
onClickTitleRightIcon=
"onClickTitleRightIcon"
@
onClickTitleRightIcon2=
"onClickTitleRightIcon2"
>
</uni-nav-bar>
...
...
@@ -36,9 +36,7 @@
</swiper-item>
</swiper>
<view
class=
"com-v-bottom-btn-parent"
>
<c-button-1
:ui=
"bottomBtnUI"
@
onClick=
"onBottomBtnClick"
></c-button-1>
</view>
<text
class=
"text-bottom-btn center active2"
@
click=
"onAddEmployeeBtnClick"
>
添加店员
</text>
<c-pop-passcard-filter
ref=
"filter"
@
onEnsureBtnClick=
"onFilterEnsureBtnClick"
></c-pop-passcard-filter>
</view>
...
...
@@ -102,8 +100,11 @@
iooItem
},
// 2. 注册组件
data
()
{
let
option
=
{
navBar
:
JSON
.
parse
(
JSON
.
stringify
(
constant
.
navBar
))
}
option
.
navBar
.
title
=
"标题"
return
{
title
:
'装修物料进场单'
,
navBarHeight
:
0
,
refresherTriggered
:
false
,
loadMoreViewShow
:
false
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment