Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
shopping-mall
Commits
714e7776
Commit
714e7776
authored
Dec 29, 2020
by
Jiwon Yoon
Browse files
ProductsRegistPage
parent
0a73fd43
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
client/.eslintcache
View file @
714e7776
This diff is collapsed.
Click to expand it.
client/debug.log
0 → 100644
View file @
714e7776
[1229/194441.748:ERROR:directory_reader_win.cc(43)] FindFirstFile: 지정된 경로를 찾을 수 없습니다. (0x3)
client/src/Pages/Payment.js
View file @
714e7776
...
...
@@ -40,7 +40,6 @@ function Payment() {
function
handleClick2
(){
if
(
paymentWay
.
length
!==
0
)
{
setPaymentWay
([])
// paymentWay=[]
}
}
...
...
client/src/Pages/ProductsRegist.js
View file @
714e7776
import
React
,
{
useState
,
useEffect
,
useRef
}
from
'
react
'
;
import
Nav1
from
'
../Components/MainNav
'
;
import
Nav2
from
'
../Components/SubNav
'
;
import
{
Row
,
Col
,
Button
,
Form
,
Container
}
from
'
react-bootstrap
'
;
function
ProductsRegist
()
{
...
...
@@ -8,7 +10,54 @@ function ProductsRegist() {
<
div
>
<
Nav1
/>
<
Nav2
/>
<
Container
>
<
Row
className
=
"
justify-content-md-center
"
>
<
Col
md
=
{
6
}
className
=
"
border m-5 p-3
"
>
<
Form
>
<
Form
.
Group
controlId
=
"
productNameform
"
>
<
Form
.
Label
>
상품명
<
/Form.Label
>
<
Form
.
Control
type
=
"
text
"
placeholder
=
"
상품명
"
/>
<
/Form.Group
>
<
Form
.
Group
controlId
=
"
productAmountform
"
>
<
Form
.
Label
>
수량
<
/Form.Label
>
<
Form
.
Control
type
=
"
text
"
placeholder
=
"
숫자만 입력해주세요
"
/>
<
/Form.Group
>
<
Form
.
Group
controlId
=
"
productPriceform
"
>
<
Form
.
Label
>
가격
<
/Form.Label
>
<
Form
.
Control
type
=
"
text
"
placeholder
=
"
숫자만 입력해주세요
"
/>
<
/Form.Group
>
<
Form
.
Group
>
<
Form
.
Label
>
분류
<
/Form.Label
>
<
Row
>
<
Col
md
=
{
6
}
>
<
Form
.
Control
as
=
"
select
"
placeholder
=
"
상위분류
"
>
<
option
>
Pants
<
/option
>
<
option
>
Skirt
<
/option
>
<
option
>
Outer
<
/option
>
<
/Form.Control
>
<
/Col
>
<
Col
md
=
{
6
}
>
<
Form
.
Control
as
=
"
select
"
placeholder
=
"
하위분류
"
>
<
option
>
긴바지
<
/option
>
<
option
>
반바지
<
/option
>
<
option
>
청바지
<
/option
>
<
/Form.Control
>
<
/Col
>
<
/Row
>
<
/Form.Group
>
<
Form
.
Group
controlId
=
"
productDescriptionform
"
>
<
Form
.
Label
>
상품설명
<
/Form.Label
>
<
Form
.
Control
as
=
"
textarea
"
rows
=
{
3
}
placeholder
=
"
상품을 설명해주세요
"
/>
<
/Form.Group
>
<
Form
.
Group
>
<
Form
.
Label
>
대표이미지
<
/Form.Label
>
<
Form
.
File
id
=
"
productImageform
"
/>
<
/Form.Group
>
<
Button
className
=
"
float-right
"
variant
=
"
primary
"
type
=
"
submit
"
>
등록
<
/Button
>
<
/Form
>
<
/Col
>
<
/Row
>
<
/Container
>
<
/div
>
)
}
...
...
client/src/Pages/ShoppingCart.js
View file @
714e7776
...
...
@@ -12,7 +12,7 @@ function ShoppingCart() {
<
div
>
<
Nav1
/>
<
Nav2
/>
<
Container
className
=
"
justify-content-center
"
>
<
div
className
=
"
justify-content-center
"
>
<
h3
className
=
"
my-5 font-weight-bold text-center
"
style
=
{{
color
:
'
#F2A400
'
}}
>
장바구니
<
/h3
>
<
div
>
<
h4
className
=
"
bg-light font-weight-bold py-3 border-top border-bottom text-center
"
>
주문상품정보
<
/h4
>
...
...
@@ -79,7 +79,7 @@ function ShoppingCart() {
<
div
className
=
"
text-center
"
>
<
Button
className
=
"
px-5
"
>
결제하기
<
/Button
>
<
/div
>
<
/
Container
>
<
/
div
>
<
/div
>
)
...
...
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