Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
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
黄庭坚
jinfa-platform
Commits
b1f6a656
Commit
b1f6a656
authored
Jan 04, 2021
by
Bill
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' into test
parents
1509e360
7f395123
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
8 deletions
+14
-8
index.tsx
src/pages/home/components/LatestAnnounces/index.tsx
+12
-5
list.less
src/pages/lxMall/purchaseOnline/list.less
+2
-3
No files found.
src/pages/home/components/LatestAnnounces/index.tsx
View file @
b1f6a656
...
...
@@ -56,15 +56,22 @@ const LatestAnnouces: React.FC = () => {
setVisible
(
true
)
setCurrnetNotice
(
row
)
}
const
length
=
data
.
length
;
return
(
<
div
className=
{
styles
.
announces
}
>
<
div
className=
{
styles
.
header
}
>
<
div
className=
{
styles
.
title
}
>
最新公告
</
div
>
<
div
className=
{
styles
.
nextOrPreview
}
>
<
Button
onClick=
{
handlePrev
}
icon=
{
<
LeftOutlined
/>
}
className=
{
styles
.
prev
}
disabled=
{
pagination
.
current
<=
1
}
></
Button
>
<
Button
onClick=
{
handleNext
}
icon=
{
<
RightOutlined
/>
}
disabled=
{
pagination
.
current
*
5
>=
totalCount
}
></
Button
>
</
div
>
{
length
>=
6
?
(
<
div
className=
{
styles
.
nextOrPreview
}
>
<
Button
onClick=
{
handlePrev
}
icon=
{
<
LeftOutlined
/>
}
className=
{
styles
.
prev
}
disabled=
{
pagination
.
current
<=
1
}
></
Button
>
<
Button
onClick=
{
handleNext
}
icon=
{
<
RightOutlined
/>
}
disabled=
{
pagination
.
current
*
5
>=
totalCount
}
></
Button
>
</
div
>
)
:
null
}
</
div
>
<
div
className=
{
styles
.
body
}
>
{
...
...
src/pages/lxMall/purchaseOnline/list.less
View file @
b1f6a656
...
...
@@ -66,7 +66,7 @@
.quoted_price_btn {
width: 140px;
height: 32px;
background-color:
#D32F2F
;
background-color:
var(--mall_main_color)
;
color: #ffffff;
font-size: 14px;
text-align: center;
...
...
@@ -183,4 +183,4 @@
}
}
}
\ No newline at end of file
}
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