-
-
-
- Min. Points
-
+
+
+ Voucher & Gift Card
+
-
Max. Points
-
+
+ {data.map((item, index) => {
+ return ( this.setState({isOpened: true, data: item})} key={index} span={6}>
+
+ )
+ })}
+
-
Category
-
-
-
-
-
-
+
this.setState({isOpened: false})}
+ onCancel={() => this.setState({isOpened: false})}
+ />
diff --git a/src/common/pages/Vouchers/style.scss b/src/common/pages/Vouchers/style.scss
index 6d4e533..57971c8 100644
--- a/src/common/pages/Vouchers/style.scss
+++ b/src/common/pages/Vouchers/style.scss
@@ -1,67 +1,31 @@
.setting {
- margin-top: 35px;
- .container {
- padding: 25px;
-
- .ant-card {
- background: #fff;
- border-radius: 0;
- font-size: 12px;
- position: relative;
- overflow: hidden;
- transition: all .3s;
- }
- .ant-card-head {
- height: 48px;
- line-height: 48px;
- background: #fff;
- border-bottom: 0 solid #e9e9e9;
- padding: 0 24px;
- }
- .ant-card:hover {
- box-shadow: 4px 4px 40px rgba(0, 0, 0, .05);
- border-color: transparent;
- }
- .ant-card-body-dashboard {
- padding: 10px;
- }
- }
-
-
- .label-form {
- font-size: 14px;
- line-height: 30px;
- color: rgb(153, 153, 153);
- text-shadow: rgb(255, 255, 255) 0px 1px 0px;
- margin-bottom: -8px;
- }
-
- .backgroundImage {
- height: 182px;
- background-image: url('/assets/images/material3.jpg');
- background-position: center;
- background-size: cover;
- cursor: pointer;
- min-height: 75px;
- position: relative;
- width: 100%;
- }
-
+ margin-left: auto;
+ margin-right: auto;
+ margin-top: 20vh;
+ max-width: 70vw;
+ p.pageTitle{
+ font-size: 1.5rem;
}
-
- .photo-title{
- font-size: 1.25em;
- font-weight: 400;
- margin-left: 12px;
- margin-top: 10px;
- margin-bottom: 0;
- }
-
- .box-upload{
+
+ .itemCard{
+ background-color: #eee;
+ border: #ccc 1px solid;
width: 100%;
- height: 500px;
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+ margin-bottom: 10px;
+ cursor: pointer;
}
-
-
-
-
\ No newline at end of file
+
+ .imageCard{
+ width: 120px;
+ }
+
+ .titleCard{
+ text-align: center;
+ margin-top: 10px;
+ margin-bottom: -10px;
+ }
+}