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
e9f4f8ee
Commit
e9f4f8ee
authored
Jan 11, 2024
by
tangfh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
+
parent
e0fce7f3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
base-list.vue
pages/template/base-list.vue
+4
-3
base-tab.vue
pages/template/base-tab.vue
+4
-1
No files found.
pages/template/base-list.vue
View file @
e9f4f8ee
...
...
@@ -20,8 +20,8 @@
<uni-load-more
:status=
"loadMoreStatus"
:icon-size=
"16"
v-if=
"detail || items.length > 0"
:content-text=
"loadMoreViewContentText"
/>
</scroll-view>
<view
class=
"com-v
iew-bottom"
:style=
"
{paddingBottom: bottomBtnPaddingBottom}
">
<
text
class=
"text-bottom-btn"
@
click=
"onBottomBtnClick"
>
{{
btnText
}}
</text
>
<view
class=
"com-v
-bottom-btn-parent
"
>
<
c-button-1
:ui=
"bottomBtnUI"
@
onClick=
"onBottomBtnClick"
></c-button-1
>
</view>
</view>
</
template
>
...
...
@@ -78,7 +78,7 @@
this
.
refresh
();
},
onNavBarLeftClick
()
{
u
ni
.
navigateBack
();
u
til
.
navigateBack
();
},
onClickTitleRightIcon
()
{
console
.
log
(
"click..."
);
...
...
@@ -105,6 +105,7 @@
refresh
()
{
let
_this
=
this
;
setTimeout
(()
=>
{
_this
.
refreshFlag
=
true
;
_this
.
refresherTriggered
=
true
;
},
35
);
},
...
...
pages/template/base-tab.vue
View file @
e9f4f8ee
...
...
@@ -36,7 +36,9 @@
</swiper-item>
</swiper>
<text
class=
"text-bottom-btn center active2"
@
click=
"onAddEmployeeBtnClick"
>
添加店员
</text>
<view
class=
"com-v-bottom-btn-parent"
>
<c-button-1
:ui=
"bottomBtnUI"
@
onClick=
"onBottomBtnClick"
></c-button-1>
</view>
<c-pop-passcard-filter
ref=
"filter"
@
onEnsureBtnClick=
"onFilterEnsureBtnClick"
></c-pop-passcard-filter>
</view>
...
...
@@ -155,6 +157,7 @@
refresh
()
{
var
tab
=
this
.
tabBars
[
this
.
tabIndex
];
setTimeout
(()
=>
{
tab
.
content
.
refreshFlag
=
true
;
tab
.
content
.
refreshing
=
true
;
},
35
)
},
...
...
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