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
fca1022d
Commit
fca1022d
authored
Mar 25, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
3409077f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
45 additions
and
8 deletions
+45
-8
list.vue
pages/kotra/brand/list.vue
+20
-3
list.vue
pages/kotra/carrier/list.vue
+25
-5
No files found.
pages/kotra/brand/list.vue
View file @
fca1022d
...
...
@@ -92,6 +92,12 @@
};
},
onLoad
(
options
)
{
if
(
options
&&
options
.
id
){
this
.
msg
.
BrandClassId
=
options
.
id
}
this
.
GetBrandClassList
()
},
created
()
{
this
.
mainColor
=
this
.
$uiConfig
.
mainColor
;
},
...
...
@@ -99,7 +105,7 @@
uni
.
setNavigationBarTitle
({
title
:
'品牌列表'
,
});
this
.
GetBrandClassList
()
},
methods
:
{
...
...
@@ -111,7 +117,17 @@
(
res
)
=>
{
if
(
res
.
resultCode
==
1
)
{
this
.
typeList
=
res
.
data
this
.
msg
.
BrandClassId
=
this
.
typeList
[
0
].
ID
if
(
this
.
msg
.
BrandClassId
==
0
){
this
.
msg
.
BrandClassId
=
this
.
typeList
[
0
].
ID
}
else
{
//指定跳入分类
this
.
typeList
.
map
((
x
,
i
)
=>
{
if
(
x
.
ID
==
this
.
msg
.
BrandClassId
){
this
.
active
=
i
;
return
}
})
}
}
}
);
...
...
@@ -202,7 +218,7 @@
bottom
:
0
;
right
:
0
;
width
:
100%
;
height
:
100%
;
height
:
338
rpx
;
overflow
:
hidden
;
}
...
...
@@ -220,6 +236,7 @@
.good_study_two
.good-info
{
padding
:
15
rpx
;
height
:
112
rpx
;
}
.good_study_two
.good-info
.good-name
{
...
...
pages/kotra/carrier/list.vue
View file @
fca1022d
...
...
@@ -114,7 +114,7 @@
Developers
:
""
,
StartOpenTime
:
""
,
EndOpenTime
:
""
,
ProjectType
:
""
,
ProjectType
:
0
,
OrderBy
:
0
},
loading
:
false
,
...
...
@@ -127,10 +127,17 @@
},
};
},
onLoad
(
options
)
{
if
(
options
&&
options
.
id
){
this
.
msg
.
ProjectType
=
options
.
id
}
this
.
getTypeList
()
},
created
()
{
this
.
mainColor
=
this
.
$uiConfig
.
mainColor
;
this
.
getTypeList
()
this
.
getCarrierPageList
()
},
mounted
()
{
uni
.
setNavigationBarTitle
({
...
...
@@ -145,10 +152,21 @@
}
this
.
request2
(
parms
,
(
res
)
=>
{
if
(
res
.
resultCode
==
1
)
{
this
.
pageCount
=
res
.
data
.
pageCount
//
this.pageCount = res.data.pageCount
this
.
typeList
=
res
.
data
if
(
this
.
msg
.
ProjectType
==
0
){
this
.
msg
.
ProjectType
=
this
.
typeList
[
0
].
Id
}
else
{
//指定跳入分类
this
.
typeList
.
map
((
x
,
i
)
=>
{
if
(
x
.
Id
==
this
.
msg
.
ProjectType
){
this
.
active
=
i
;
return
}
})
}
}
})
this
.
getCarrierPageList
()
},
// 获取载体分页列表
getCarrierPageList
(){
...
...
@@ -168,7 +186,9 @@
},
changeHandler
(
i
)
{
this
.
active
=
i
;
this
.
msg
.
ProjectType
=
i
this
.
msg
.
ProjectType
=
this
.
typeList
[
i
].
Id
;
this
.
msg
.
pageIndex
=
1
;
this
.
g
=
[];
this
.
getCarrierPageList
()
},
openGood
(
id
,
type
)
{
...
...
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