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
shenshaokai
jinfa-platform
Commits
60888b07
Commit
60888b07
authored
Apr 28, 2022
by
许佳敏
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix-0418-style' into 'v2-220418'
fix: 修复进货单代客下单页面样式问题 See merge request linkseeks-design/pro-platform!576
parents
ace0a4ea
7aee21b1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
8 deletions
+20
-8
index.less
...saction/saleOrder/agentPurchaseOrder/commodity/index.less
+17
-3
index.less
...n/saleOrder/agentPurchaseOrder/commodityDetail/index.less
+1
-3
index.tsx
...on/saleOrder/agentPurchaseOrder/commodityDetail/index.tsx
+2
-2
No files found.
src/pages/transaction/saleOrder/agentPurchaseOrder/commodity/index.less
View file @
60888b07
...
@@ -6,6 +6,13 @@
...
@@ -6,6 +6,13 @@
// background-color: #F7F8FA;
// background-color: #F7F8FA;
:global {
:global {
.mall_search_box {
overflow: hidden;
.ant-input {
background-color: #ffffff!important;
}
}
.image_box {
.image_box {
position: relative;
position: relative;
display: inline-block;
display: inline-block;
...
@@ -50,6 +57,12 @@
...
@@ -50,6 +57,12 @@
max-width: 1200px;
max-width: 1200px;
// margin: 0 auto;
// margin: 0 auto;
:global {
.filter_category .ant-tree-title a {
color: #303133!important;
}
}
.commodity_main {
.commodity_main {
flex: 1;
flex: 1;
margin-left: 16px;
margin-left: 16px;
...
@@ -60,6 +73,7 @@
...
@@ -60,6 +73,7 @@
:global {
:global {
.ant-pagination-item {
.ant-pagination-item {
background-color: #FFF!important;
&:hover,
&:hover,
&:active {
&:active {
...
@@ -72,17 +86,17 @@
...
@@ -72,17 +86,17 @@
}
}
.ant-pagination-item-active {
.ant-pagination-item-active {
background-color: @mainColor;
background-color: @mainColor
!important
;
border-color: @mainColor;
border-color: @mainColor;
&:hover {
&:hover {
&>a {
&>a {
color: #ffffff
!important;
color: #ffffff!important;
}
}
}
}
&>a {
&>a {
color: #ffffff;
color: #ffffff
!important
;
}
}
}
}
}
}
...
...
src/pages/transaction/saleOrder/agentPurchaseOrder/commodityDetail/index.less
View file @
60888b07
...
@@ -232,8 +232,6 @@
...
@@ -232,8 +232,6 @@
justify-content: center;
justify-content: center;
align-items: center;
align-items: center;
font-size: 14px;
font-size: 14px;
color: @mainColor;
background-color: #EBF9F6;
cursor: pointer;
cursor: pointer;
border-radius: 4px;
border-radius: 4px;
border: none;
border: none;
...
@@ -248,7 +246,7 @@
...
@@ -248,7 +246,7 @@
}
}
&.buy {
&.buy {
background-color: @mainColor;
background-color: @mainColor
!important
;
color: #FFF;
color: #FFF;
}
}
...
...
src/pages/transaction/saleOrder/agentPurchaseOrder/commodityDetail/index.tsx
View file @
60888b07
...
@@ -489,11 +489,11 @@ const CommodityDetail: React.FC = (props: any) => {
...
@@ -489,11 +489,11 @@ const CommodityDetail: React.FC = (props: any) => {
if
(
currentSku
&&
currentSku
.
stockNum
>
0
)
{
if
(
currentSku
&&
currentSku
.
stockNum
>
0
)
{
return
(
return
(
<>
<>
<
Button
disabled=
{
!
inAreaState
}
className=
{
cx
(
styles
.
product_info_btn_item
,
styles
.
buy
)
}
onClick=
{
()
=>
handleAddToPurchase
()
}
>
<
Button
type=
"primary"
disabled=
{
!
inAreaState
}
className=
{
cx
(
styles
.
product_info_btn_item
)
}
onClick=
{
()
=>
handleAddToPurchase
()
}
>
<
IconFont
type=
"icon-xiadan"
/>
<
IconFont
type=
"icon-xiadan"
/>
<
span
>
{
getMessage
(
'commodityDetail.index.AddPurchaseOrder'
)
}
</
span
>
<
span
>
{
getMessage
(
'commodityDetail.index.AddPurchaseOrder'
)
}
</
span
>
</
Button
>
</
Button
>
<
Button
disabled=
{
!
inAreaState
}
className=
{
cx
(
styles
.
product_info_btn_item
,
styles
.
add
)
}
onClick=
{
()
=>
history
.
push
(
'/memberCenter/order/saleOrder/agentPurchaseOrder/commodity'
)
}
>
<
Button
className=
{
cx
(
styles
.
product_info_btn_item
,
styles
.
add
)
}
onClick=
{
()
=>
history
.
push
(
'/memberCenter/order/saleOrder/agentPurchaseOrder/commodity'
)
}
>
<
span
>
{
getMessage
(
'commodityDetail.index.selectCommodity'
)
}
</
span
>
<
span
>
{
getMessage
(
'commodityDetail.index.selectCommodity'
)
}
</
span
>
</
Button
>
</
Button
>
</>
</>
...
...
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