Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
max_android_panel
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Zhang Xin
max_android_panel
Commits
f3304357
Commit
f3304357
authored
Sep 28, 2018
by
Zhang Xin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix rem bug
parent
5b862bed
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
83 additions
and
30 deletions
+83
-30
client/components/CommonComponent/ButtonComponent/index.css
+1
-1
client/components/CommonComponent/SkuInfoComponent/index.css
+6
-0
client/components/RecoveryComponent/RecoverySecondPage/RecoverySecondPage.jsx
+1
-1
client/components/ReplenishComponent/ReplenishScanPage/ReplenishScanPage.jsx
+7
-1
client/components/ReplenishComponent/ReplenishSkuPage/ReplenishSkuPage.jsx
+18
-15
client/containers/HomePageContainer/HomePageContainer.jsx
+10
-4
client/containers/ReplenishContainer/index.css
+2
-2
client/css/color.css
+4
-0
client/css/common.css
+19
-5
client/css/font.css
+13
-0
client/env/development.js
+2
-1
No files found.
client/components/CommonComponent/ButtonComponent/index.css
View file @
f3304357
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
.buttonComponent
{
.buttonComponent
{
width
:
2.3333333333333335rem
;
width
:
2.3333333333333335rem
;
height
:
0.6666666666666666rem
;
height
:
0.6666666666666666rem
;
border
:
2px
solid
#e5e5e5
;
border
:
2px
solid
transparent
;
background-color
:
#ffffff
;
background-color
:
#ffffff
;
line-height
:
0.6666666666666666rem
;
line-height
:
0.6666666666666666rem
;
text-align
:
center
;
text-align
:
center
;
...
...
client/components/CommonComponent/SkuInfoComponent/index.css
View file @
f3304357
...
@@ -8,6 +8,9 @@
...
@@ -8,6 +8,9 @@
/*.skuInfoComponent .shelfInfo{*/
/*.skuInfoComponent .shelfInfo{*/
/*line-height: 50px;*/
/*line-height: 50px;*/
/*flex: 1;*/
/*flex: 1;*/
/*white-space: nowrap;*/
/*overflow: hidden;*/
/*text-overflow: ellipsis;*/
/*}*/
/*}*/
/*.skuInfoComponent .img{*/
/*.skuInfoComponent .img{*/
/*width: 200px;*/
/*width: 200px;*/
...
@@ -39,6 +42,9 @@
...
@@ -39,6 +42,9 @@
.skuInfoComponent
.shelfInfo
{
.skuInfoComponent
.shelfInfo
{
line-height
:
0.4166666666666667rem
;
line-height
:
0.4166666666666667rem
;
flex
:
1
;
flex
:
1
;
white-space
:
nowrap
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
}
}
.skuInfoComponent
.img
{
.skuInfoComponent
.img
{
width
:
1.6666666666666667rem
;
width
:
1.6666666666666667rem
;
...
...
client/components/RecoveryComponent/RecoverySecondPage/RecoverySecondPage.jsx
View file @
f3304357
...
@@ -39,7 +39,7 @@ export default class RecoverySecondPage extends React.Component{
...
@@ -39,7 +39,7 @@ export default class RecoverySecondPage extends React.Component{
wrongSku
(){
wrongSku
(){
//货道商品不符
//货道商品不符
let
{
showPopup
,
hidePopup
}
=
this
.
props
;
let
{
showPopup
,
hidePopup
}
=
this
.
props
;
let
btnDom1
=
<
Button
btnContainer=
{
"recoveryPopInfoWrongSkuBtn1 font32"
}
key=
{
"recoveryContainerShelfWrong1"
}
text=
{
"货品不符"
}
option=
{
this
.
uploadWrongSku
}
/>
let
btnDom1
=
<
Button
btnContainer=
{
"recoveryPopInfoWrongSkuBtn1 font32
bordere5e5e5
"
}
key=
{
"recoveryContainerShelfWrong1"
}
text=
{
"货品不符"
}
option=
{
this
.
uploadWrongSku
}
/>
let
btnDom2
=
<
Button
btnContainer=
{
"recoveryPopInfoWrongSkuBtn2 backff775c colfff font32"
}
key=
{
"recoveryContainerShelfWrong2"
}
text=
{
"关闭窗口"
}
option=
{
hidePopup
}
/>
let
btnDom2
=
<
Button
btnContainer=
{
"recoveryPopInfoWrongSkuBtn2 backff775c colfff font32"
}
key=
{
"recoveryContainerShelfWrong2"
}
text=
{
"关闭窗口"
}
option=
{
hidePopup
}
/>
let
popDom
=
let
popDom
=
<
PopModel
popupTitle=
{
"遇到问题-货品不符"
}
classContainer=
{
"recoveryPopInfo"
}
>
<
PopModel
popupTitle=
{
"遇到问题-货品不符"
}
classContainer=
{
"recoveryPopInfo"
}
>
...
...
client/components/ReplenishComponent/ReplenishScanPage/ReplenishScanPage.jsx
View file @
f3304357
...
@@ -123,10 +123,16 @@ export default class ReplenishScanPage extends React.Component{
...
@@ -123,10 +123,16 @@ export default class ReplenishScanPage extends React.Component{
getOtherHeader
(){
getOtherHeader
(){
let
{
headerInfo
}
=
this
.
props
;
let
{
headerInfo
}
=
this
.
props
;
let
{
taskInfo
=
{}}
=
headerInfo
;
let
{
taskInfo
=
{}}
=
headerInfo
;
let
btnStyle
=
{
display
:
'inline-block'
,
float
:
'right'
,
transform
:
'translateY(20%)'
,
position
:
'relative'
};
return
<
div
className=
{
"otherHeader replenishScanQrcodeHeader font32 clearfix colfff "
}
>
return
<
div
className=
{
"otherHeader replenishScanQrcodeHeader font32 clearfix colfff "
}
>
<
i
className=
{
"iconfont middle icon font50 icon-circle-left circleIcon fl"
}
onClick=
{
()
=>
this
.
goBack
.
bind
(
this
)(
1
)
}
/>
<
i
className=
{
"iconfont middle icon font50 icon-circle-left circleIcon fl"
}
onClick=
{
()
=>
this
.
goBack
.
bind
(
this
)(
1
)
}
/>
<
span
className=
{
"middle"
}
>
任务目标:将
{
taskInfo
.
area
||
""
}
区补货箱中的货品扫码后放到货架上
</
span
>
<
span
className=
{
"middle"
}
>
任务目标:将
{
taskInfo
.
area
||
""
}
区补货箱中的货品扫码后放到货架上
</
span
>
<
Button
btnContainer=
{
"barcodeInputBarcode font32 backff775c colfff"
}
key=
{
"barcodeInputBarcode"
}
style=
{
{
display
:
'inline-block'
}
}
text=
{
"扫描结束"
}
option=
{
this
.
handleScanOver
}
/>
<
Button
btnContainer=
{
"barcodeInputBarcode font32 backff775c colfff"
}
key=
{
"barcodeInputBarcode"
}
style=
{
btnStyle
}
text=
{
"扫描结束"
}
option=
{
this
.
handleScanOver
}
/>
</
div
>
</
div
>
}
}
...
...
client/components/ReplenishComponent/ReplenishSkuPage/ReplenishSkuPage.jsx
View file @
f3304357
...
@@ -71,7 +71,7 @@ export default class ReplenishSkuPage extends React.Component{
...
@@ -71,7 +71,7 @@ export default class ReplenishSkuPage extends React.Component{
{
this
.
getSkuInfo
()
}
{
this
.
getSkuInfo
()
}
<
div
className=
{
"btn pageBtn"
}
>
<
div
className=
{
"btn pageBtn"
}
>
<
div
className=
{
"tips colff775c font30"
}
onClick=
{
()
=>
this
.
getPage
(
2
)
}
>
遇到问题?
</
div
>
<
div
className=
{
"tips colff775c font30"
}
onClick=
{
()
=>
this
.
getPage
(
2
)
}
>
遇到问题?
</
div
>
<
Button
btnContainer=
{
"replenishPageBtn1 font32
"
}
key=
{
"replenishPageBtn1"
}
text=
{
'扫描
工作结束'
}
option=
{
this
.
handleScanOver
}
/>
<
Button
btnContainer=
{
"replenishPageBtn1 font32
bordere5e5e5"
}
key=
{
"replenishPageBtn1"
}
text=
{
'补货
工作结束'
}
option=
{
this
.
handleScanOver
}
/>
<
Button
btnContainer=
{
"replenishPageBtn2 font32 colfff backff775c"
}
key=
{
"replenishPageBtn2"
}
text=
{
'扫描下一个'
}
option=
{
this
.
handleScanQrcode
}
/>
<
Button
btnContainer=
{
"replenishPageBtn2 font32 colfff backff775c"
}
key=
{
"replenishPageBtn2"
}
text=
{
'扫描下一个'
}
option=
{
this
.
handleScanQrcode
}
/>
</
div
>
</
div
>
</
div
>
</
div
>
...
@@ -83,7 +83,7 @@ export default class ReplenishSkuPage extends React.Component{
...
@@ -83,7 +83,7 @@ export default class ReplenishSkuPage extends React.Component{
console
.
log
(
"扫描结束"
)
console
.
log
(
"扫描结束"
)
//货道商品不符
//货道商品不符
let
{
showPopup
,
hidePopup
}
=
this
.
props
;
let
{
showPopup
,
hidePopup
}
=
this
.
props
;
let
btnDom1
=
<
Button
btnContainer=
{
"replenishHandleScanOverBtn1 font32"
}
key=
{
"replenishHandleScanOverBtn1"
}
text=
{
"继续扫描"
}
option=
{
hidePopup
}
/>
let
btnDom1
=
<
Button
btnContainer=
{
"replenishHandleScanOverBtn1 font32
bordere5e5e5
"
}
key=
{
"replenishHandleScanOverBtn1"
}
text=
{
"继续扫描"
}
option=
{
hidePopup
}
/>
let
btnDom2
=
<
Button
btnContainer=
{
"replenishHandleScanOverBtn2 backff775c colfff font32"
}
key=
{
"replenishHandleScanOverBtn2"
}
text=
{
"确认扫描完毕"
}
option=
{
this
.
scanOver
}
/>
let
btnDom2
=
<
Button
btnContainer=
{
"replenishHandleScanOverBtn2 backff775c colfff font32"
}
key=
{
"replenishHandleScanOverBtn2"
}
text=
{
"确认扫描完毕"
}
option=
{
this
.
scanOver
}
/>
let
popDom
=
let
popDom
=
<
PopModel
popupTitle=
{
"补货结束确认"
}
classContainer=
{
"replenishPopInfo"
}
>
<
PopModel
popupTitle=
{
"补货结束确认"
}
classContainer=
{
"replenishPopInfo"
}
>
...
@@ -167,9 +167,9 @@ export default class ReplenishSkuPage extends React.Component{
...
@@ -167,9 +167,9 @@ export default class ReplenishSkuPage extends React.Component{
<
div
className=
{
"pagebox"
}
>
<
div
className=
{
"pagebox"
}
>
<
div
className=
{
"btn pageBtn"
}
>
<
div
className=
{
"btn pageBtn"
}
>
<
div
className=
{
"tips col000 font40"
}
>
补货过程中您是否遇到了如下问题?
</
div
>
<
div
className=
{
"tips col000 font40"
}
>
补货过程中您是否遇到了如下问题?
</
div
>
<
Button
btnContainer=
{
"replenishQuestionPageBtn1 replenishQuestionPageBtn font32"
}
key=
{
"replenishQuestionPageBtn1"
}
text=
{
'种类不符'
}
option=
{
()
=>
this
.
getPage
(
3
)
}
/>
<
Button
btnContainer=
{
"replenishQuestionPageBtn1 replenishQuestionPageBtn font32
bordere5e5e5
"
}
key=
{
"replenishQuestionPageBtn1"
}
text=
{
'种类不符'
}
option=
{
()
=>
this
.
getPage
(
3
)
}
/>
<
Button
btnContainer=
{
"replenishQuestionPageBtn2 replenishQuestionPageBtn font32"
}
key=
{
"replenishQuestionPageBtn2"
}
text=
{
'货道已满'
}
option=
{
()
=>
this
.
getPage
(
4
)
}
/>
<
Button
btnContainer=
{
"replenishQuestionPageBtn2 replenishQuestionPageBtn font32
bordere5e5e5
"
}
key=
{
"replenishQuestionPageBtn2"
}
text=
{
'货道已满'
}
option=
{
()
=>
this
.
getPage
(
4
)
}
/>
<
Button
btnContainer=
{
"replenishQuestionPageBtn3 replenishQuestionPageBtn font32"
}
key=
{
"replenishQuestionPageBtn3"
}
text=
{
'货品损坏'
}
option=
{
()
=>
this
.
getPage
(
5
)
}
/>
<
Button
btnContainer=
{
"replenishQuestionPageBtn3 replenishQuestionPageBtn font32
bordere5e5e5
"
}
key=
{
"replenishQuestionPageBtn3"
}
text=
{
'货品损坏'
}
option=
{
()
=>
this
.
getPage
(
5
)
}
/>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
...
@@ -179,6 +179,7 @@ export default class ReplenishSkuPage extends React.Component{
...
@@ -179,6 +179,7 @@ export default class ReplenishSkuPage extends React.Component{
getWrongSku
(){
getWrongSku
(){
let
{
headerInfo
,
showPopup
,
hidePopup
}
=
this
.
props
;
let
{
headerInfo
,
showPopup
,
hidePopup
}
=
this
.
props
;
let
{
taskList
=
{},
taskInfo
=
{}}
=
headerInfo
;
let
{
taskList
=
{},
taskInfo
=
{}}
=
headerInfo
;
let
marginTop
=
UTILPATH
.
getRemByPx
(
20
)
return
(
return
(
<
div
className=
{
"replenishWrongSkuPage commonPage"
}
>
<
div
className=
{
"replenishWrongSkuPage commonPage"
}
>
<
div
className=
{
"title font40 col333 pageTitle"
}
>
<
div
className=
{
"title font40 col333 pageTitle"
}
>
...
@@ -187,15 +188,15 @@ export default class ReplenishSkuPage extends React.Component{
...
@@ -187,15 +188,15 @@ export default class ReplenishSkuPage extends React.Component{
</
div
>
</
div
>
<
div
className=
{
"pagebox"
}
>
<
div
className=
{
"pagebox"
}
>
<
div
className=
{
"wrongSkuIcon"
}
>
<
div
className=
{
"wrongSkuIcon"
}
>
<
i
className=
{
"iconfont icon-exclamation font1
5
0 colf5a623"
}
/>
<
i
className=
{
"iconfont icon-exclamation font1
1
0 colf5a623"
}
/>
</
div
>
</
div
>
<
div
className=
{
"tips col000 font40"
}
>
请再次仔细确认货道中的货品是否相符?
</
div
>
<
div
className=
{
"tips col000 font40"
}
>
请再次仔细确认货道中的货品是否相符?
</
div
>
<
div
className=
{
"skuInfo"
}
>
<
div
className=
{
"skuInfo"
}
>
<
div
className=
{
"text font28 col333"
}
>
待补货品信息:
</
div
>
<
div
className=
{
"text font28 col333"
}
>
待补货品信息:
</
div
>
<
SkuInfoComponent
showPopup=
{
showPopup
}
hidePopup=
{
hidePopup
}
style=
{
{
display
:
"flex"
,
marginTop
:
"20px"
,
padding
:
"0"
}
}
skuInfo=
{
taskList
}
/>
<
SkuInfoComponent
showPopup=
{
showPopup
}
hidePopup=
{
hidePopup
}
style=
{
{
display
:
"flex"
,
marginTop
:
marginTop
,
padding
:
"0"
}
}
skuInfo=
{
taskList
}
/>
</
div
>
</
div
>
<
div
className=
{
"btn pageBtn"
}
>
<
div
className=
{
"btn pageBtn"
}
>
<
Button
btnContainer=
{
"replenishWrongSkuBtn backff775c colfff font32"
}
key=
{
"replenishWrongSkuBtn"
}
text=
{
'货品不符'
}
option=
{
this
.
handleWrongSkuQuestion
}
/>
<
Button
btnContainer=
{
"replenishWrongSkuBtn backff775c colfff font32
bordere5e5e5
"
}
key=
{
"replenishWrongSkuBtn"
}
text=
{
'货品不符'
}
option=
{
this
.
handleWrongSkuQuestion
}
/>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
...
@@ -205,6 +206,7 @@ export default class ReplenishSkuPage extends React.Component{
...
@@ -205,6 +206,7 @@ export default class ReplenishSkuPage extends React.Component{
overflowShelf
(){
overflowShelf
(){
let
{
headerInfo
,
showPopup
,
hidePopup
}
=
this
.
props
;
let
{
headerInfo
,
showPopup
,
hidePopup
}
=
this
.
props
;
let
{
taskList
=
{}}
=
headerInfo
;
let
{
taskList
=
{}}
=
headerInfo
;
let
marginTop
=
UTILPATH
.
getRemByPx
(
20
)
return
(
return
(
<
div
className=
{
"replenishOverflowShelfPage replenishWrongSkuPage commonPage"
}
>
<
div
className=
{
"replenishOverflowShelfPage replenishWrongSkuPage commonPage"
}
>
<
div
className=
{
"title font40 col333 pageTitle"
}
>
<
div
className=
{
"title font40 col333 pageTitle"
}
>
...
@@ -213,12 +215,12 @@ export default class ReplenishSkuPage extends React.Component{
...
@@ -213,12 +215,12 @@ export default class ReplenishSkuPage extends React.Component{
</
div
>
</
div
>
<
div
className=
{
"pagebox"
}
>
<
div
className=
{
"pagebox"
}
>
<
div
className=
{
"wrongSkuIcon"
}
>
<
div
className=
{
"wrongSkuIcon"
}
>
<
i
className=
{
"iconfont icon-exclamation font1
5
0 colf5a623"
}
/>
<
i
className=
{
"iconfont icon-exclamation font1
1
0 colf5a623"
}
/>
</
div
>
</
div
>
<
div
className=
{
"tips col000 font40"
}
>
请再次仔细确认货道中是否已放满货品
</
div
>
<
div
className=
{
"tips col000 font40"
}
>
请再次仔细确认货道中是否已放满货品
</
div
>
<
div
className=
{
"skuInfo"
}
>
<
div
className=
{
"skuInfo"
}
>
<
div
className=
{
"text font28 col333"
}
>
待补货品信息:
</
div
>
<
div
className=
{
"text font28 col333"
}
>
待补货品信息:
</
div
>
<
SkuInfoComponent
showPopup=
{
showPopup
}
hidePopup=
{
hidePopup
}
style=
{
{
display
:
"flex"
,
marginTop
:
"20px"
,
padding
:
"0"
}
}
skuInfo=
{
taskList
}
/>
<
SkuInfoComponent
showPopup=
{
showPopup
}
hidePopup=
{
hidePopup
}
style=
{
{
display
:
"flex"
,
marginTop
:
marginTop
,
padding
:
"0"
}
}
skuInfo=
{
taskList
}
/>
</
div
>
</
div
>
<
div
className=
{
"btn pageBtn"
}
>
<
div
className=
{
"btn pageBtn"
}
>
<
Button
btnContainer=
{
"replenishWrongSkuBtn backff775c colfff font32"
}
key=
{
"replenishWrongSkuBtn"
}
text=
{
'货道已满'
}
option=
{
this
.
handleOverflowShelfQuestion
}
/>
<
Button
btnContainer=
{
"replenishWrongSkuBtn backff775c colfff font32"
}
key=
{
"replenishWrongSkuBtn"
}
text=
{
'货道已满'
}
option=
{
this
.
handleOverflowShelfQuestion
}
/>
...
@@ -231,6 +233,7 @@ export default class ReplenishSkuPage extends React.Component{
...
@@ -231,6 +233,7 @@ export default class ReplenishSkuPage extends React.Component{
getBadSku
(){
getBadSku
(){
let
{
headerInfo
}
=
this
.
props
;
let
{
headerInfo
}
=
this
.
props
;
let
{
taskList
=
{}}
=
headerInfo
;
let
{
taskList
=
{}}
=
headerInfo
;
let
marginTop
=
UTILPATH
.
getRemByPx
(
20
)
return
(
return
(
<
div
className=
{
"replenishBadSkuPage replenishWrongSkuPage commonPage"
}
>
<
div
className=
{
"replenishBadSkuPage replenishWrongSkuPage commonPage"
}
>
<
div
className=
{
"title font40 col333 pageTitle"
}
>
<
div
className=
{
"title font40 col333 pageTitle"
}
>
...
@@ -239,12 +242,12 @@ export default class ReplenishSkuPage extends React.Component{
...
@@ -239,12 +242,12 @@ export default class ReplenishSkuPage extends React.Component{
</
div
>
</
div
>
<
div
className=
{
"pagebox"
}
>
<
div
className=
{
"pagebox"
}
>
<
div
className=
{
"wrongSkuIcon"
}
>
<
div
className=
{
"wrongSkuIcon"
}
>
<
i
className=
{
"iconfont icon-exclamation font1
5
0 colf5a623"
}
/>
<
i
className=
{
"iconfont icon-exclamation font1
1
0 colf5a623"
}
/>
</
div
>
</
div
>
<
div
className=
{
"tips col000 font40"
}
>
此货品是否已经损坏,不能进行售卖
</
div
>
<
div
className=
{
"tips col000 font40"
}
>
此货品是否已经损坏,不能进行售卖
</
div
>
<
div
className=
{
"skuInfo"
}
>
<
div
className=
{
"skuInfo"
}
>
<
div
className=
{
"text font28 col333"
}
>
待补货品信息:
</
div
>
<
div
className=
{
"text font28 col333"
}
>
待补货品信息:
</
div
>
<
SkuInfoComponent
style=
{
{
display
:
"flex"
,
marginTop
:
"20px"
,
padding
:
"0"
}
}
skuInfo=
{
taskList
}
/>
<
SkuInfoComponent
style=
{
{
display
:
"flex"
,
marginTop
:
marginTop
,
padding
:
"0"
}
}
skuInfo=
{
taskList
}
/>
</
div
>
</
div
>
<
div
className=
{
"btn pageBtn"
}
>
<
div
className=
{
"btn pageBtn"
}
>
<
Button
btnContainer=
{
"replenishWrongSkuBtn backff775c colfff font32"
}
key=
{
"replenishWrongSkuBtn"
}
text=
{
'是的'
}
option=
{
this
.
handleBadSkuQuestion
}
/>
<
Button
btnContainer=
{
"replenishWrongSkuBtn backff775c colfff font32"
}
key=
{
"replenishWrongSkuBtn"
}
text=
{
'是的'
}
option=
{
this
.
handleBadSkuQuestion
}
/>
...
@@ -261,7 +264,7 @@ export default class ReplenishSkuPage extends React.Component{
...
@@ -261,7 +264,7 @@ export default class ReplenishSkuPage extends React.Component{
let
btnDom1
=
<
Button
btnContainer=
{
"replenishQuestionPopupBtn font32 backff775c colfff "
}
key=
{
"replenishQuestionPopupBtn2"
}
text=
{
"已放回"
}
option=
{
()
=>
this
.
putInBox
(
CONFIG
.
taskErrorType
.
WRONGSKU
)
}
/>
let
btnDom1
=
<
Button
btnContainer=
{
"replenishQuestionPopupBtn font32 backff775c colfff "
}
key=
{
"replenishQuestionPopupBtn2"
}
text=
{
"已放回"
}
option=
{
()
=>
this
.
putInBox
(
CONFIG
.
taskErrorType
.
WRONGSKU
)
}
/>
let
popDom
=
let
popDom
=
<
PopModel
popupTitle=
{
"遇到问题-货品不符解决办法"
}
classContainer=
{
"replenishQuestionPopup"
}
>
<
PopModel
popupTitle=
{
"遇到问题-货品不符解决办法"
}
classContainer=
{
"replenishQuestionPopup"
}
>
<
div
className=
{
"text font
4
0 col000"
}
>
<
div
className=
{
"text font
3
0 col000"
}
>
<
p
>
1、请将刚才扫描的货品转放到物流回收箱内带回
</
p
>
<
p
>
1、请将刚才扫描的货品转放到物流回收箱内带回
</
p
>
<
p
>
2、若
{
taskInfo
.
area
||
""
}
区补货箱内还有此货品也都放到物流回收箱带回
</
p
>
<
p
>
2、若
{
taskInfo
.
area
||
""
}
区补货箱内还有此货品也都放到物流回收箱带回
</
p
>
<
p
>
3、放完后请开始补其他货品
</
p
>
<
p
>
3、放完后请开始补其他货品
</
p
>
...
@@ -279,7 +282,7 @@ export default class ReplenishSkuPage extends React.Component{
...
@@ -279,7 +282,7 @@ export default class ReplenishSkuPage extends React.Component{
let
btnDom1
=
<
Button
btnContainer=
{
"replenishQuestionPopupBtn font32 backff775c colfff "
}
key=
{
"replenishQuestionPopupBtn1"
}
text=
{
"已放回"
}
option=
{
()
=>
this
.
putInBox
(
CONFIG
.
taskErrorType
.
OVERSHELF
)
}
/>
let
btnDom1
=
<
Button
btnContainer=
{
"replenishQuestionPopupBtn font32 backff775c colfff "
}
key=
{
"replenishQuestionPopupBtn1"
}
text=
{
"已放回"
}
option=
{
()
=>
this
.
putInBox
(
CONFIG
.
taskErrorType
.
OVERSHELF
)
}
/>
let
popDom
=
let
popDom
=
<
PopModel
popupTitle=
{
"遇到问题-货道已满解决办法"
}
classContainer=
{
"replenishQuestionPopup"
}
>
<
PopModel
popupTitle=
{
"遇到问题-货道已满解决办法"
}
classContainer=
{
"replenishQuestionPopup"
}
>
<
div
className=
{
"text font
4
0 col000"
}
>
<
div
className=
{
"text font
3
0 col000"
}
>
<
p
>
1、请将刚才扫描的货品转放到物流回收箱内带回
</
p
>
<
p
>
1、请将刚才扫描的货品转放到物流回收箱内带回
</
p
>
<
p
>
2、若
{
taskInfo
.
area
||
""
}
区补货箱内还有此货品也都放到物流回收箱带回
</
p
>
<
p
>
2、若
{
taskInfo
.
area
||
""
}
区补货箱内还有此货品也都放到物流回收箱带回
</
p
>
<
p
>
3、继续扫描其它种类货品
</
p
>
<
p
>
3、继续扫描其它种类货品
</
p
>
...
@@ -296,7 +299,7 @@ export default class ReplenishSkuPage extends React.Component{
...
@@ -296,7 +299,7 @@ export default class ReplenishSkuPage extends React.Component{
let
btnDom1
=
<
Button
btnContainer=
{
"replenishQuestionPopupBtn font32 backff775c colfff "
}
key=
{
"replenishQuestionPopupBtn1"
}
text=
{
"已放回"
}
option=
{
()
=>
this
.
putInBox
(
CONFIG
.
taskErrorType
.
BADSKU
)
}
/>
let
btnDom1
=
<
Button
btnContainer=
{
"replenishQuestionPopupBtn font32 backff775c colfff "
}
key=
{
"replenishQuestionPopupBtn1"
}
text=
{
"已放回"
}
option=
{
()
=>
this
.
putInBox
(
CONFIG
.
taskErrorType
.
BADSKU
)
}
/>
let
popDom
=
let
popDom
=
<
PopModel
popupTitle=
{
"遇到问题-货品破损解决办法"
}
classContainer=
{
"replenishQuestionPopup"
}
>
<
PopModel
popupTitle=
{
"遇到问题-货品破损解决办法"
}
classContainer=
{
"replenishQuestionPopup"
}
>
<
div
className=
{
"text font
4
0 col000"
}
style=
{
{
textAlign
:
"center"
,
paddingLeft
:
"0"
}
}
>
<
div
className=
{
"text font
3
0 col000"
}
style=
{
{
textAlign
:
"center"
,
paddingLeft
:
"0"
}
}
>
<
p
>
请将刚才扫描的货品放到物流回收箱内带回
</
p
>
<
p
>
请将刚才扫描的货品放到物流回收箱内带回
</
p
>
</
div
>
</
div
>
<
div
className=
{
"btn"
}
>
<
div
className=
{
"btn"
}
>
...
...
client/containers/HomePageContainer/HomePageContainer.jsx
View file @
f3304357
...
@@ -18,7 +18,13 @@ export default class HomePageContainer extends React.Component{
...
@@ -18,7 +18,13 @@ export default class HomePageContainer extends React.Component{
let
props
=
this
.
props
;
let
props
=
this
.
props
;
let
{
headerInfo
=
{}}
=
props
;
let
{
headerInfo
=
{}}
=
props
;
let
{
taskInfo
=
{}}
=
headerInfo
;
let
{
taskInfo
=
{}}
=
headerInfo
;
let
buttonStyle
=
{
background
:
'#ff775c'
,
margin
:
"0 auto"
,
marginTop
:
'77px'
};
let
marginTop
=
UTILPATH
.
getRemByPx
(
77
);
let
marginTop50
=
UTILPATH
.
getRemByPx
(
50
);
let
marginTop20
=
UTILPATH
.
getRemByPx
(
20
);
let
padding
=
UTILPATH
.
getRemByPx
(
8
);
let
marginTop160
=
UTILPATH
.
getRemByPx
(
160
);
let
imgStyle
=
taskInfo
.
area
?
{
marginTop
:
marginTop160
}
:
{};
let
buttonStyle
=
{
background
:
'#ff775c'
,
margin
:
"0 auto"
,
marginTop
:
marginTop
};
return
(
return
(
<
div
>
<
div
>
<
HeaderComponent
<
HeaderComponent
...
@@ -26,12 +32,12 @@ export default class HomePageContainer extends React.Component{
...
@@ -26,12 +32,12 @@ export default class HomePageContainer extends React.Component{
headerInfo=
{
headerInfo
}
headerInfo=
{
headerInfo
}
/>
/>
<
div
className=
{
"homeContainer"
}
>
<
div
className=
{
"homeContainer"
}
>
<
img
className=
{
"homeIcon"
}
src=
{
UTILPATH
.
localImg
.
homePage
}
alt=
""
/>
<
img
className=
{
"homeIcon"
}
style=
{
imgStyle
}
src=
{
UTILPATH
.
localImg
.
homePage
}
alt=
""
/>
{
{
taskInfo
.
area
?
<
div
className=
{
'homeWelcom font30 clo333'
}
style=
{
{
marginTop
:
'50px'
}
}
>
欢迎来到
<
span
className=
"homeArea font50 colff775c"
style=
{
{
padding
:
'0 8px'
}
}
>
{
taskInfo
.
area
||
''
}
</
span
>
区
</
div
>
taskInfo
.
area
?
<
div
className=
{
'homeWelcom font30 clo333'
}
style=
{
{
marginTop
:
marginTop50
}
}
>
欢迎来到
<
span
className=
"homeArea font50 colff775c"
style=
{
{
padding
:
`0 ${padding}`
}
}
>
{
taskInfo
.
area
||
''
}
</
span
>
区
</
div
>
:
null
:
null
}
}
<
div
className=
{
"homeText font42"
}
style=
{
{
fontWeight
:
'800'
,
marginTop
:
'20px'
}
}
>
下午好, 你辛苦了!
</
div
>
<
div
className=
{
"homeText font42"
}
style=
{
{
fontWeight
:
'800'
,
marginTop
:
marginTop20
}
}
>
下午好, 你辛苦了!
</
div
>
<
Button
text=
{
'开始工作'
}
btnContainer=
{
'colfff font30'
}
style=
{
buttonStyle
}
option=
{
this
.
start
.
bind
(
this
)
}
/>
<
Button
text=
{
'开始工作'
}
btnContainer=
{
'colfff font30'
}
style=
{
buttonStyle
}
option=
{
this
.
start
.
bind
(
this
)
}
/>
</
div
>
</
div
>
</
div
>
</
div
>
...
...
client/containers/ReplenishContainer/index.css
View file @
f3304357
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
/*.replenishSkuInfo .skuInfo img{*/
/*.replenishSkuInfo .skuInfo img{*/
/*width: 100%;*/
/*width: 100%;*/
/*height:
auto
;*/
/*height:
100%
;*/
/*}*/
/*}*/
...
@@ -114,7 +114,7 @@
...
@@ -114,7 +114,7 @@
}
}
.replenishSkuInfo
.skuInfo
img
{
.replenishSkuInfo
.skuInfo
img
{
width
:
100%
;
width
:
100%
;
height
:
auto
;
height
:
100%
;
}
}
.replenishSkuInfo
.skuInfo
.skuPos
{
.replenishSkuInfo
.skuInfo
.skuPos
{
line-height
:
0.38333333333333336rem
;
line-height
:
0.38333333333333336rem
;
...
...
client/css/color.css
View file @
f3304357
...
@@ -38,4 +38,7 @@
...
@@ -38,4 +38,7 @@
}
}
.backff775c
{
.backff775c
{
background-color
:
#ff775c
!important
;
background-color
:
#ff775c
!important
;
}
.bordere5e5e5
{
border-color
:
#e5e5e5
!important
;
}
}
\ No newline at end of file
client/css/common.css
View file @
f3304357
...
@@ -50,17 +50,31 @@ body,.ant-modal-mask , .ant-modal-wrap ,.totalClass,.storeManagerQrcodeComponent
...
@@ -50,17 +50,31 @@ body,.ant-modal-mask , .ant-modal-wrap ,.totalClass,.storeManagerQrcodeComponent
box-sizing
:
border-box
;
box-sizing
:
border-box
;
transform
:
translateX
(
5%
);
transform
:
translateX
(
5%
);
}
}
/*.commonPage .pageTitle{*/
/*width: 100%;*/
/*background: #e0e0e0;*/
/*line-height: 100px;*/
/*white-space: nowrap;*/
/*margin: 50px 0;*/
/*position: relative;*/
/*border-top-right-radius: 10px;*/
/*border-top-left-radius: 10px;*/
/*}*/
.commonPage
.pageTitle
{
.commonPage
.pageTitle
{
width
:
100%
;
width
:
100%
;
background
:
#e0e0e0
;
background
:
#e0e0e0
;
/* border: 2px solid #e5e5e5; */
/* border: 2px solid #e5e5e5;
line-height
:
100px
;
*/
line-height
:
0.8333333333333334rem
;
white-space
:
nowrap
;
white-space
:
nowrap
;
margin
:
50px
0
;
margin
:
0.4166666666666667rem
0
;
position
:
relative
;
position
:
relative
;
border-top-right-radius
:
10px
;
border-top-right-radius
:
0.08333333333333333rem
;
border-top-left-radius
:
10px
;
border-top-left-radius
:
0.08333333333333333rem
;
}
}
.commonPage
.pagebox
{
.commonPage
.pagebox
{
flex
:
1
;
flex
:
1
;
width
:
100%
;
width
:
100%
;
...
...
client/css/font.css
View file @
f3304357
...
@@ -29,6 +29,7 @@ body{
...
@@ -29,6 +29,7 @@ body{
@value
font70
:
70px
;
@value
font70
:
70px
;
@value
font90
:
90px
;
@value
font90
:
90px
;
@value
font100
:
100px
;
@value
font100
:
100px
;
@value
font110
:
110px
;
@value
font150
:
150px
;
@value
font150
:
150px
;
.font10
{
.font10
{
...
@@ -255,6 +256,18 @@ body{
...
@@ -255,6 +256,18 @@ body{
font-size
:
calc
(
var
(
--font3
)
*
font100
*
var
(
--base
))
!important
;
font-size
:
calc
(
var
(
--font3
)
*
font100
*
var
(
--base
))
!important
;
}
}
.font110
{
font-size
:
calc
(
font110
*
var
(
--base
))
!important
;
}
[
data-dpr
=
"2"
]
.font110
{
font-size
:
calc
(
var
(
--font2
)
*
font110
*
var
(
--base
))
!important
;
}
[
data-dpr
=
"3"
]
.font110
{
font-size
:
calc
(
var
(
--font3
)
*
font110
*
var
(
--base
))
!important
;
}
.font150
{
.font150
{
font-size
:
calc
(
font150
*
var
(
--base
))
!important
;
font-size
:
calc
(
font150
*
var
(
--base
))
!important
;
}
}
...
...
client/env/development.js
View file @
f3304357
...
@@ -2,6 +2,6 @@
...
@@ -2,6 +2,6 @@
* Created by ruibing on 16/11/2.
* Created by ruibing on 16/11/2.
*/
*/
module
.
exports
=
{
module
.
exports
=
{
domain
:
'http://192.168.10.
128:8080
/web/'
,
domain
:
'http://192.168.10.
88:8080/maxbox
/web/'
,
uploadImg
:
'https://preprod.mjitech.com/static/uploadTrouble'
uploadImg
:
'https://preprod.mjitech.com/static/uploadTrouble'
}
}
\ 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