Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
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
viitto
mallapp
Commits
3d7940bc
Commit
3d7940bc
authored
Mar 25, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
93e8f53e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
list.vue
pages/kotra/brand/list.vue
+7
-6
No files found.
pages/kotra/brand/list.vue
View file @
3d7940bc
<
template
>
<
template
>
<div
style=
"background-color: #f6f6f6;height: 100vh;padding-bottom: 50px;overflow: hidden;
"
>
<div
:style=
"
{'background-color': '#f6f6f6','height': contentHeight+'px','overflow': 'hidden'}
">
<view
style=
"padding:5px 10px;"
>
<view
style=
"padding:5px 10px;"
>
<u-search
placeholder=
"搜索品牌名称"
:focus=
"false"
:show-action=
"false"
:clearabled=
"true"
radius=
"40"
v-model=
"msg.BrandName"
<u-search
placeholder=
"搜索品牌名称"
:focus=
"false"
:show-action=
"false"
:clearabled=
"true"
radius=
"40"
v-model=
"msg.BrandName"
@
search=
"searchHandler"
@
custom=
"searchHandler"
bg-color=
"#FFF"
></u-search>
@
search=
"searchHandler"
@
custom=
"searchHandler"
bg-color=
"#FFF"
></u-search>
...
@@ -10,9 +10,9 @@
...
@@ -10,9 +10,9 @@
:current=
"active"
@
change=
"changeHandler"
:show-bar=
"true"
:activeFontSize=
"34"
:bold=
"true"
height=
"100"
:current=
"active"
@
change=
"changeHandler"
:show-bar=
"true"
:activeFontSize=
"34"
:bold=
"true"
height=
"100"
duration=
"0"
font-size=
"28"
></u-tabs>
duration=
"0"
font-size=
"28"
></u-tabs>
</view>
</view>
<div
style=
"width: 64rpx;height: 48rpx;display: table-cell; vertical-align: middle;text-align: right;"
>
<
!--
<
div
style=
"width: 64rpx;height: 48rpx;display: table-cell; vertical-align: middle;text-align: right;"
>
<u-icon
name=
"filter-o"
color=
"#111"
size=
"42"
></u-icon>
<u-icon
name=
"filter-o"
color=
"#111"
size=
"42"
></u-icon>
</div>
</div>
-->
</view>
</view>
<u-empty
v-if=
"g.length == 0"
text=
"暂无内容"
mode=
"list"
></u-empty>
<u-empty
v-if=
"g.length == 0"
text=
"暂无内容"
mode=
"list"
></u-empty>
<view
style=
"height: calc(100% - 101px);padding:2px 10px;"
v-if=
"g.length > 0"
>
<view
style=
"height: calc(100% - 101px);padding:2px 10px;"
v-if=
"g.length > 0"
>
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
:margin-bottom=
"20"
:margin-bottom=
"20"
bg-color=
"#f6f6f6"
bg-color=
"#f6f6f6"
/>
/>
<
view
style=
"width: 100%;height: 30px;"
></view
>
<
!--
<view
style=
"width: 100%;height: 30px;"
></view>
--
>
</scroll-view>
</scroll-view>
</view>
</view>
<tabbars></tabbars>
<tabbars></tabbars>
...
@@ -89,7 +89,7 @@
...
@@ -89,7 +89,7 @@
page_count
:
1
,
page_count
:
1
,
status
:
"loadmore"
,
status
:
"loadmore"
,
g
:
[],
g
:
[],
contentHeight
:
0
,
};
};
},
},
onLoad
(
options
)
{
onLoad
(
options
)
{
...
@@ -105,7 +105,8 @@
...
@@ -105,7 +105,8 @@
uni
.
setNavigationBarTitle
({
uni
.
setNavigationBarTitle
({
title
:
'品牌列表'
,
title
:
'品牌列表'
,
});
});
let
c
=
this
.
$uiConfig
.
is_bang
?
78
:
50
;
this
.
contentHeight
=
this
.
$utils
.
calcContentHeight
(
c
)
+
40
;
},
},
methods
:
{
methods
:
{
...
...
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