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
b709991a
Commit
b709991a
authored
Mar 25, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
fca1022d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
10 deletions
+26
-10
list.vue
pages/kotra/carrier/list.vue
+8
-7
firstShop.vue
pages/kotra/firstShop/firstShop.vue
+18
-3
No files found.
pages/kotra/carrier/list.vue
View file @
b709991a
<
template
>
<div
style=
"background-color: #f6f6f6;height: 100vh;padding-bottom:
90
px; overflow: hidden;"
>
<div
style=
"background-color: #f6f6f6;height: 100vh;padding-bottom:
65
px; overflow: hidden;"
>
<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>
...
...
@@ -114,7 +114,7 @@
Developers
:
""
,
StartOpenTime
:
""
,
EndOpenTime
:
""
,
ProjectType
:
0
,
ProjectType
:
1
,
OrderBy
:
0
},
loading
:
false
,
...
...
@@ -154,13 +154,13 @@
if
(
res
.
resultCode
==
1
)
{
// this.pageCount = res.data.pageCount
this
.
typeList
=
res
.
data
if
(
this
.
msg
.
ProjectType
==
0
){
this
.
msg
.
ProjectType
=
this
.
typeList
[
0
].
Id
if
(
this
.
msg
.
ProjectType
==
1
){
}
else
{
//指定跳入分类
this
.
typeList
.
map
((
x
,
i
)
=>
{
if
(
x
.
Id
==
this
.
msg
.
ProjectType
){
this
.
active
=
i
;
return
}
})
}
...
...
@@ -177,7 +177,8 @@
this
.
request2
(
parms
,
(
res
)
=>
{
this
.
loading
=
false
;
if
(
res
.
resultCode
==
1
)
{
this
.
dataList
=
res
.
data
.
pageData
this
.
dataList
=
this
.
dataList
.
concat
(
res
.
data
.
pageData
);
this
.
pageCount
=
res
.
data
.
pageCount
if
(
this
.
pageCount
==
1
)
{
this
.
status
=
"nomore"
;
}
...
...
@@ -188,7 +189,7 @@
this
.
active
=
i
;
this
.
msg
.
ProjectType
=
this
.
typeList
[
i
].
Id
;
this
.
msg
.
pageIndex
=
1
;
this
.
g
=
[];
this
.
dataList
=
[];
this
.
getCarrierPageList
()
},
openGood
(
id
,
type
)
{
...
...
pages/kotra/firstShop/firstShop.vue
View file @
b709991a
...
...
@@ -361,13 +361,28 @@
title
:
'提交成功'
,
icon
:
'none'
});
uni
.
reLaunch
({
url
:
"/pages/kotra/firstShop/list"
,
})
setTimeout
(()
=>
{
this
.
showTemplate
(
res
.
data
)
},
500
)
}
}
);
},
//显示模板
showTemplate
(
template
)
{
uni
.
requestSubscribeMessage
({
tmplIds
:
template
,
complete
(){
uni
.
reLaunch
({
url
:
"/pages/kotra/firstShop/list"
,
})
},
})
},
deletebtn
(){
//删除
this
.
request2
(
{
...
...
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