Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pptist
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
pptist
Commits
3af372a2
Commit
3af372a2
authored
Nov 24, 2023
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
76f7919c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
Index.vue
src/views/Market/Index.vue
+8
-3
No files found.
src/views/Market/Index.vue
View file @
3af372a2
...
...
@@ -64,8 +64,8 @@
</div>
</div>
</div>
<div
style=
"height: 750px;overflow: auto;"
>
<div
class=
"q-mt-lg row wrap bg-white rounded"
style=
"padding: 30px 10px 0 10px;"
>
<div
style=
"height: 750px;overflow: auto;"
:loading=
"loading"
>
<div
v-if=
"dataList.length>0"
class=
"q-mt-lg row wrap bg-white rounded"
style=
"padding: 30px 10px 0 10px;"
>
<
template
v-for=
"(item,index) in dataList"
>
<div
class=
"MarketIndexListBox"
>
<div
class=
"MarketIndexList bg-white rounded"
@
click=
"goToTemplate(item)"
>
...
...
@@ -77,7 +77,8 @@
</div>
</
template
>
</div>
<div
class=
"q-mt-lg row"
style=
"justify-content: center;"
>
<div
v-else
class=
"q-mt-lg bg-white rounded"
style=
"padding: 30px 10px 30px 10px;text-align: center;color: #909399;"
>
暂无数据
</div>
<div
v-if=
"dataList.length>0"
class=
"q-mt-lg row"
style=
"justify-content: center;"
>
<!-- hide-on-single-page -->
<el-pagination
background
...
...
@@ -127,6 +128,7 @@
pageCount
:
0
,
//总页数
})
const
loading
=
ref
(
false
as
any
)
const
searchData
=
ref
({}
as
any
)
searchData
.
value
=
inject
(
injectKeyTemplate
)
const
marketStore
=
useScreenStore
()
...
...
@@ -174,6 +176,7 @@
* 获取模板市场分页列表
*/
const
queryTemplateBySearchHandler
=
async
()
=>
{
loading
.
value
=
true
try
{
let
pageRes
=
await
ConfigService
.
GetTemplagePageAsync
(
queryObj
);
if
(
pageRes
.
data
.
resultCode
==
1
)
{
...
...
@@ -181,7 +184,9 @@
queryObj
.
totalCount
=
pageRes
.
data
.
data
.
count
;
queryObj
.
pageCount
=
pageRes
.
data
.
data
.
pageCount
;
}
loading
.
value
=
false
}
catch
(
error
)
{
loading
.
value
=
false
}
}
const
handleSizeChange
=
(
val
:
number
)
=>
{
...
...
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