Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
h5
/
vite-integral
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 75211029
authored
Aug 10, 2022
by
匡雅琴
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
上传
1 parent
b8ac797a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
src/views/home/index.vue
src/views/home/index.vue
View file @
7521102
...
@@ -73,6 +73,7 @@
...
@@ -73,6 +73,7 @@
<div
class=
"nodata-word"
>
暂无积分历史明细
</div>
<div
class=
"nodata-word"
>
暂无积分历史明细
</div>
</div>
</div>
</
template
>
</
template
>
<!-- 有历史数据 -->
<
template
v-else
>
<
template
v-else
>
<template
v-for=
"item in list"
:key=
"item.id"
>
<template
v-for=
"item in list"
:key=
"item.id"
>
<div
class=
"list-content"
>
<div
class=
"list-content"
>
...
@@ -113,6 +114,8 @@ const finished = ref<boolean>(false);
...
@@ -113,6 +114,8 @@ const finished = ref<boolean>(false);
// 跳到登录页面
// 跳到登录页面
const
toLogin
=
()
=>
{
const
toLogin
=
()
=>
{
console
.
log
(
111
);
router
.
push
(
"/login"
);
router
.
push
(
"/login"
);
};
};
...
@@ -214,6 +217,7 @@ onBeforeMount(() => {
...
@@ -214,6 +217,7 @@ onBeforeMount(() => {
width
:
calc
(
100%
-
32px
);
width
:
calc
(
100%
-
32px
);
//
overflow
:
auto
;
//
overflow
:
auto
;
.history-list-top
{
.history-list-top
{
height
:
35px
;
text-align
:
center
;
text-align
:
center
;
padding
:
16px
0
;
padding
:
16px
0
;
.top-img
{
.top-img
{
...
@@ -240,6 +244,7 @@ onBeforeMount(() => {
...
@@ -240,6 +244,7 @@ onBeforeMount(() => {
}
}
}
}
.list-content
{
.list-content
{
height
:
38px
;
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
margin
:
0
20px
;
margin
:
0
20px
;
...
@@ -262,6 +267,7 @@ onBeforeMount(() => {
...
@@ -262,6 +267,7 @@ onBeforeMount(() => {
}
}
&
-right
{
&
-right
{
font-size
:
16px
;
font-size
:
16px
;
line-height
:
38px
;
font-family
:
PingFangSC-Semibold
,
PingFang
SC
;
font-family
:
PingFangSC-Semibold
,
PingFang
SC
;
font-weight
:
600
;
font-weight
:
600
;
color
:
#f37005
;
color
:
#f37005
;
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment