diff --git a/src/assets/scss/modules/management/categoryMain.scss b/src/assets/scss/modules/management/categoryMain.scss index 0335afef..e5135aad 100644 --- a/src/assets/scss/modules/management/categoryMain.scss +++ b/src/assets/scss/modules/management/categoryMain.scss @@ -4,90 +4,154 @@ width: 100%; background: #ffffff; border-radius: 5px; - padding: 35px 0; - - .div_tip { - font-size: 24px; - font-family: PingFang SC; - font-weight: bold; - color: #333333; - margin-left: 42px; - } - .div_room_bar { - box-sizing: border-box; - margin-top: 5px; - height: calc(100vh - 230px); - } + padding: 35px 0 15px; +} +.div_tip { + font-size: 24px; + font-family: PingFang SC; + font-weight: bold; + color: #333333; + margin-left: 42px; +} +.div_list { + box-sizing: border-box; + margin-top: 5px; + height: calc(100vh - 210px); +} - .div_room { - // height: calc(88vh - 40px); - // margin-top: 9px; +.div_all_list { + height: calc(100vh - 260px); +} + +.div_room { + // height: calc(88vh - 40px); + // margin-top: 9px; + display: flex; + flex-wrap: wrap; + justify-content: flex-start; + margin-left: 42px; + // margin: 0 21px 0 21px; + + .item { + width: 340px; + height: 120px; + background: #ffffff; + box-shadow: 0px 0px 17px 3px #eaeaea; + border-radius: 6px; + margin: 15px 25px 15px 0; display: flex; - flex-wrap: wrap; - justify-content: flex-start; - margin-left: 42px; - // margin: 0 21px 0 21px; - - .item { - width: 340px; - height: 120px; - background: #ffffff; - box-shadow: 0px 0px 17px 3px #eaeaea; - border-radius: 6px; - margin-top: 30px; - display: flex; + position: relative; - .item_category { + .item_category { + width: 100%; + display: flex; + align-items: center; + padding: 17px 16px; + > img { + width: 86px; + height: 86px; + } + .item_content { + margin-left: 16px; + width: 100%; + text-align: left; display: flex; - align-items: center; - padding: 17px 16px; - > img { - width: 86px; - height: 86px; + flex-direction: column; + justify-content: flex-start; + + .item_count { + font-size: 28px; + font-family: PingFang SC; + font-weight: bold; + color: #333333; } - .item_content { - margin-left: 16px; - text-align: left; + .item_row2 { + margin-top: 21px; + display: flex; + justify-content: space-between; + + .row_left { + font-size: 20px; + font-family: PingFang SC; + font-weight: 500; + color: #202020; + } - .item_count { - margin-top: 29px; - font-size: 28px; + .row_right { + margin: 5px 10px 0 0; + font-size: 16px; font-family: PingFang SC; - font-weight: bold; - color: #333333; + font-weight: 500; + text-decoration: underline; + color: #00a7a9; + cursor: pointer; } } } - .item_add { + > span { + margin-left: 16px; + font-size: 24px; + } + } + + .item_add { + cursor: pointer; + font-size: 24px; + font-family: PingFang SC; + font-weight: 500; + color: #333333; + display: flex; + align-items: center; + padding: 17px 16px; + + > img { + width: 86px; + height: 86px; + } + + > span { font-size: 24px; font-family: PingFang SC; font-weight: 500; color: #333333; - line-height: 350px; - display: flex; - align-items: center; - padding: 17px 16px; - - > img { - width: 86px; - height: 86px; - } - > span { - font-size: 24px; - font-family: PingFang SC; - font-weight: 500; - color: #333333; - line-height: 350px; - margin-left: 16px; - } + margin-left: 16px; } } + + .icon_circle { + cursor: pointer; + position: absolute; + top: -10px; + right: -10px; + height: 23px; + width: 23px; + background-color: #ffffff; + border-radius: 50%; + border: 1px solid #a5a5a5; + } + + .icon_sel { + cursor: pointer; + background-color: #6bb9f8; + border: 1px solid #6bb9f8; + } } +} + +.div_room::after { + content: ''; + flex: 1; +} + +.div_btn { + margin-top: 15px; + display: flex; + width: 100%; + justify-content: center; - .div_room::after { - content: ''; - flex: 1; + .btn_right { + margin-left: 50px; } } diff --git a/src/views/modules/base/category/addCategory.vue b/src/views/modules/base/category/addCategory.vue new file mode 100644 index 00000000..f84c1a51 --- /dev/null +++ b/src/views/modules/base/category/addCategory.vue @@ -0,0 +1,202 @@ + + + + + + + \ No newline at end of file diff --git a/src/views/modules/base/category/main.vue b/src/views/modules/base/category/main.vue index b647612e..10a35729 100644 --- a/src/views/modules/base/category/main.vue +++ b/src/views/modules/base/category/main.vue @@ -1,50 +1,64 @@ @@ -294,87 +171,6 @@ export default { scoped > - -