Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
marketing
Overview
Overview
Details
Activity
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
marketing-web
marketing
Commits
a4b494a3
Commit
a4b494a3
authored
Mar 25, 2021
by
陈羽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update:更新样式
parent
f444dfc3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
3 deletions
+14
-3
index.vue
src/views/sign/index.vue
+3
-1
list.vue
src/views/sign/list.vue
+11
-2
No files found.
src/views/sign/index.vue
View file @
a4b494a3
...
...
@@ -12,7 +12,9 @@ export default {
},
created
()
{
this
.
$store
.
commit
(
'mutations_breadcrumb'
,
[{
name
:
'门店签到'
,
path
:
'/signIn'
}]);
this
.
$store
.
commit
(
'aside_handler'
,
false
);
this
.
$nextTick
(
_
=>
{
this
.
$store
.
commit
(
'aside_handler'
,
true
);
});
}
};
</
script
>
src/views/sign/list.vue
View file @
a4b494a3
...
...
@@ -34,6 +34,7 @@
<el-table-column
:show-overflow-tooltip=
"true"
align=
"left"
prop=
"prizeTxt"
label=
"签到福利"
></el-table-column>
<el-table-column
:show-overflow-tooltip=
"true"
align=
"left"
prop=
"storeName"
label=
"签到门店"
></el-table-column>
</el-table>
<dm-pagination
v-show=
"tableList.length"
background
class=
"dm-pagination"
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
:current-page=
"pageParams.currentPage"
:page-sizes=
"[20, 40, 60, 80]"
:page-size=
"pageParams.pageSize"
layout=
"total, sizes, prev, pager, next"
:total=
"total"
></dm-pagination>
</section>
</template>
...
...
@@ -48,7 +49,7 @@ export default {
projectName
:
'gic-web'
,
pageParams
:
{
currentPage
:
1
,
pageSize
:
1
0
pageSize
:
2
0
},
total
:
0
,
tableList
:
[],
...
...
@@ -106,7 +107,15 @@ export default {
this
.
refresh
();
},
formatDateTimeByType
}
},
handleSizeChange
(
val
)
{
this
.
pageParams
.
pageSize
=
val
;
this
.
fetch
();
},
handleCurrentChange
(
val
)
{
this
.
pageParams
.
currentPage
=
val
;
this
.
fetch
();
},
};
</
script
>
<
style
lang=
"scss"
scoped
>
...
...
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