-
-
+
+ {hasPrevPage && (
+
+ )}
+
{paginatedKeywords.map((keyword, index) => (
- {keyword.keywd}
+
+ {keyword.keywd}
+
))}
-
-
-
- PREV
-
-
+ {hasNextPage && (
+ = recommandedKeywords?.length}
- >
- NEXT
-
-
+ />
+ )}
);
}
diff --git a/com.twin.app.shoptime/src/views/SearchPanel/SearchPanel.module.less b/com.twin.app.shoptime/src/views/SearchPanel/SearchPanel.module.less
index 988aa7b9..07c4846f 100644
--- a/com.twin.app.shoptime/src/views/SearchPanel/SearchPanel.module.less
+++ b/com.twin.app.shoptime/src/views/SearchPanel/SearchPanel.module.less
@@ -5,5 +5,60 @@
background-color: @BG_COLOR_01;
width: 100%;
height: 100%;
- .flex(@direction: row);
+
+ > section {
+ display: flex;
+ justify-content: center;
+ flex-direction: column;
+ }
+
+ .input {
+ width: 880px;
+ margin: 0 auto 180px;
+ }
+
+ .arrow {
+ position: absolute;
+ top: 59%;
+ }
+
+ .arrowLeft {
+ left: 60px;
+ }
+
+ .arrowRight {
+ right: 60px;
+ }
+
+ .keywordsGrid {
+ display: grid;
+ grid-template-columns: repeat(3, 1fr);
+ grid-gap: 80px;
+ width: 100%;
+ place-items: center;
+ padding: 0 233px;
+
+ .keywordBox {
+ width: 390px;
+ height: 97px;
+ border-radius: 10px;
+ box-shadow: 0 4px 8px 0 rgba(2, 3, 3, 0.2);
+ border: 1px solid #999;
+ background-color: #f5f5f5;
+ color: #333;
+ font-family: @baseFontBold;
+ font-size: 40px;
+
+ > div {
+ overflow: unset;
+ }
+
+ &:focus-within {
+ box-shadow: 0 0 50px 0 rgba(11, 8, 8, 0.5);
+ border: 4px solid #c70850;
+ color: #c70850;
+ background-color: #f5f5f5;
+ }
+ }
+ }
}