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
5ea87c78
Commit
5ea87c78
authored
Mar 25, 2021
by
罗超
Browse files
Options
Browse Files
Download
Plain Diff
111
parents
1dac7281
033b1315
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
10 deletions
+17
-10
index.vue
pages/index/index.vue
+3
-2
list.vue
pages/kotra/carrier/list.vue
+14
-8
No files found.
pages/index/index.vue
View file @
5ea87c78
...
...
@@ -18,7 +18,7 @@
<u-icon
name=
"arrow-left"
size=
"44"
></u-icon>
</view>
</view>
<
!--
<view
@
click=
'yj'
style=
"width: 200px;height: 50px;"
>
活动
</view>
--
>
<
view
@
click=
'yj'
style=
"width: 200px;height: 50px;"
>
活动
</view
>
<u-tabs
v-if=
"myPageData.home_pages && myPageData.home_pages.navs.length > 1"
name=
"name"
:list=
"myPageData.home_pages.navs"
:is-scroll=
"true"
:active-color=
"mainColor"
:current=
"active"
:bar-width=
"80"
:font-size=
"32"
:bold=
"false"
@
change=
"changeHandler"
></u-tabs>
<template
v-for=
"(item, i) in myPageData.home_pages.navs"
>
...
...
@@ -1133,7 +1133,8 @@
yj
(){
uni
.
navigateTo
({
url
:
'/pages/blindDate/message'
url
:
'/pages/kotra/identification'
// url: '/pages/kotra/carrier/list'
})
}
},
...
...
pages/kotra/carrier/list.vue
View file @
5ea87c78
<
template
>
<div
style=
"background-color: #f6f6f6;
height: 100vh;padding-bottom: 65px; overflow: hidden;
"
>
<div
style=
"background-color: #f6f6f6;
overflow: hidden;"
:style=
"
{height:contentHeight+'px'}
">
<view
style=
"padding:5px 10px;"
>
<u-search
placeholder=
"搜索载体名称"
:focus=
"false"
:show-action=
"false"
:clearabled=
"true"
radius=
"40"
v-model=
"searchKey"
@
search=
"searchHandler"
@
custom=
"searchHandler"
bg-color=
"#FFF"
></u-search>
...
...
@@ -10,9 +10,9 @@
:current=
"active"
@
change=
"changeHandler"
:show-bar=
"true"
:activeFontSize=
"34"
:bold=
"true"
height=
"100"
duration=
"0"
font-size=
"28"
></u-tabs>
</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>
</div>
</div>
-->
</view>
<u-empty
v-if=
"dataList.length == 0"
text=
"暂无数据"
mode=
"list"
class=
"noBox"
></u-empty>
<view
style=
"height: calc(100% - 101px);"
v-if=
"dataList.length > 0"
>
...
...
@@ -29,7 +29,7 @@
height:100%;
border-radius: 10rpx 10rpx 0 0;
"
mode=
'aspectFill'
:src=
"item.BannerList[0]"
/>
:src=
"item.BannerList[0]"
/>
</view>
</view>
<div
class=
"good-info"
>
...
...
@@ -94,7 +94,7 @@
Developers
:
""
,
StartOpenTime
:
""
,
EndOpenTime
:
""
,
ProjectType
:
1
,
ProjectType
:
0
,
OrderBy
:
0
},
loading
:
false
,
...
...
@@ -105,13 +105,15 @@
loading
:
"努力加载中"
,
nomore
:
"没有更多了"
,
},
contentHeight
:
0
};
},
onLoad
(
options
)
{
if
(
options
&&
options
.
id
){
this
.
msg
.
ProjectType
=
options
.
id
}
let
c
=
this
.
$uiConfig
.
is_bang
?
78
:
50
;
this
.
contentHeight
=
this
.
$utils
.
calcContentHeight
(
c
)
+
40
;
this
.
getTypeList
()
},
created
()
{
...
...
@@ -133,8 +135,12 @@
this
.
request2
(
parms
,
(
res
)
=>
{
if
(
res
.
resultCode
==
1
)
{
// this.pageCount = res.data.pageCount
this
.
typeList
=
res
.
data
if
(
this
.
msg
.
ProjectType
==
1
){
this
.
typeList
.
push
({
Id
:
0
,
Name
:
"全部"
})
this
.
typeList
.
concat
(
res
.
data
)
if
(
this
.
msg
.
ProjectType
==
0
){
}
else
{
//指定跳入分类
...
...
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