Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
kus-admin
Project
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
Иван Кубота
kus-admin
Commits
f7e9b5d9
Commit
f7e9b5d9
authored
Feb 01, 2020
by
talequale
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wip
parent
daa88dcf
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
standard1.jpg
public/uploads/images/standard1.jpg
+0
-0
InfoCard.jsx
src/view/cmp/infoCard/InfoCard.jsx
+3
-1
StandardCard.jsx
src/view/cmp/standardCard/StandardCard.jsx
+5
-1
No files found.
public/uploads/images/standard1.jpg
0 → 100644
View file @
f7e9b5d9
14.3 KB
src/view/cmp/infoCard/InfoCard.jsx
View file @
f7e9b5d9
import
'./infoCard.scss'
;
import
'./infoCard.scss'
;
import
Button
from
"../button/Button"
;
import
Button
from
"../button/Button"
;
import
ProductCard
from
'../productCard/ProductCard.jsx'
;
import
ProductCard
from
'../productCard/ProductCard.jsx'
;
import
StandardCard
from
'../standardCard/StandardCard.jsx'
;
import
Back
from
'/svg/arr-back.svg'
;
import
Back
from
'/svg/arr-back.svg'
;
import
Arr
from
'/svg/arr.svg'
;
import
Arr
from
'/svg/arr.svg'
;
...
@@ -17,7 +18,8 @@ const InfoCard = D.declare('view.cmp.InfoCard', (cfg) => {
...
@@ -17,7 +18,8 @@ const InfoCard = D.declare('view.cmp.InfoCard', (cfg) => {
</
div
>
</
div
>
</
div
>
</
div
>
<
div
className=
"info-card__body"
>
<
div
className=
"info-card__body"
>
<
ProductCard
/>
{
/*<ProductCard/>*/
}
<
StandardCard
/>
</
div
>
</
div
>
<
div
className=
"info-card__footer"
>
<
div
className=
"info-card__footer"
>
<
Button
class=
{
"button info-card__link"
}
><
Back
width=
"17"
height=
"11"
/><
span
>
Предыдущая карточка
</
span
></
Button
>
<
Button
class=
{
"button info-card__link"
}
><
Back
width=
"17"
height=
"11"
/><
span
>
Предыдущая карточка
</
span
></
Button
>
...
...
src/view/cmp/standardCard/StandardCard.jsx
View file @
f7e9b5d9
...
@@ -3,7 +3,11 @@ import Format from '../../cmp/format/Format.jsx';
...
@@ -3,7 +3,11 @@ import Format from '../../cmp/format/Format.jsx';
const
StandardCard
=
D
.
declare
(
'view.cmp.StandardCard'
,
()
=>
{
const
StandardCard
=
D
.
declare
(
'view.cmp.StandardCard'
,
()
=>
{
return
<
div
class=
"standard-card"
>
return
<
div
class=
"standard-card"
>
<
div
className=
"standard-card__image"
>
<
div
className=
"standard-card__image"
>
<
img
src=
"/uploads/images/standard1.jpg"
alt=
""
/>
</
div
>
<
div
className=
"standard-card__text"
>
<
Format
>
Текст карточки.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi lacinia augue quam, in
dapibus nulla ullamcorper nec.
</
Format
>
</
div
>
</
div
>
</
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