Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
bh_face_counter
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
黄天晨
bh_face_counter
Commits
393df976
Commit
393df976
authored
Mar 18, 2021
by
zeven
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/zhonghao'
parents
007c4fd2
4b226c29
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
OrderDetailMini.js
src/components/OrderDetailMini.js
+11
-3
config.js
src/utils/config.js
+1
-1
No files found.
src/components/OrderDetailMini.js
View file @
393df976
...
...
@@ -92,10 +92,15 @@ class OrderDetailMini extends Component {
)}
<
/View
>
<
View
style
=
{
styles
.
TdStyle
}
>
<
Text
style
=
{
styles
.
TdText
}
>
{
NP
.
round
(
item
.
num
,
0
).
toFixed
(
0
)}
<
/Text
>
{
item
.
num
?
(
<
Text
style
=
{
styles
.
TdText
}
>
{
NP
.
round
(
item
.
num
,
0
).
toFixed
(
0
)}
<
/Text
>
)
:
(
<
Text
style
=
{
styles
.
TdText
}
>
0
<
/Text
>
)}
<
/View
>
<
View
style
=
{
styles
.
TdStyle
}
>
{
item
.
price
?
(
{
item
.
num
?
(
item
.
price
?
(
<
Text
style
=
{
styles
.
TdText
}
>
{
NP
.
round
(
item
.
price
*
item
.
num
,
2
).
toFixed
(
2
)}
<
/Text
>
...
...
@@ -103,7 +108,10 @@ class OrderDetailMini extends Component {
<
Text
style
=
{
styles
.
TdText
}
>
{
NP
.
round
(
item
.
prePrice
*
item
.
num
,
2
).
toFixed
(
2
)}
<
/Text
>
)}
)
)
:
(
<
Text
style
=
{
styles
.
TdText
}
>
0.00
<
/Text
>
)
}
<
/View
>
<
/View
>
);
...
...
src/utils/config.js
View file @
393df976
...
...
@@ -2,7 +2,7 @@ const app = ''; // eg: .25h/.eg
export
const
isProd
=
process
.
env
.
NODE_ENV
===
'production'
;
export
const
host
=
isProd
?
`https://api
${
app
}
.vs-u.com`
:
'http://192.168.88.
171
:7001'
;
:
'http://192.168.88.
88
:7001'
;
export
const
login
=
`https://m
${
app
}
.vs-u.com`
;
export
const
qrHost
=
login
;
export
const
imgUrl
=
'http://barcod.oss-cn-shenzhen.aliyuncs.com/images/'
;
...
...
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