diff --git a/src/api/inquiryMachine.js b/src/api/inquiryMachine.js index adf5008..30dbe41 100644 --- a/src/api/inquiryMachine.js +++ b/src/api/inquiryMachine.js @@ -81,6 +81,14 @@ export function FetchInitBookDetailsByGrids(params) { }) } +// 根据书架和架位查看层架位 +export function FetchShelfGridByShelfIdAndGridShelf(params) { + return request({ + url: 'api/queryDeviceAPI/getShelfGridByShelfIdAndGridShelf' + '?' + qs.stringify(params, { indices: false }), + method: 'get' + }) +} + // 图书详情 export function FetchInitBookDetailsSearchInto(params) { return request({ @@ -126,5 +134,6 @@ export default { FetchInitBookDetailsByGrids, FetchInitHotBookList, FetchInitHotShelfList, - FetchBookDetaisByBookRecNo + FetchBookDetaisByBookRecNo, + FetchShelfGridByShelfIdAndGridShelf } diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss index 8d28072..e983acc 100644 --- a/src/assets/styles/index.scss +++ b/src/assets/styles/index.scss @@ -562,7 +562,7 @@ align-items: center; color: #0C0E1E; background-color: #fff; - margin-bottom: 20px; + // margin-bottom: 20px; h4{ flex: 1; } diff --git a/src/assets/styles/style.scss b/src/assets/styles/style.scss index 4cd9f79..de2cbc0 100644 --- a/src/assets/styles/style.scss +++ b/src/assets/styles/style.scss @@ -178,3 +178,25 @@ ul{ } } } + +.swiper-title{ + font-size: 22px; + color: #545B65; + .swiper-wrapper{ + margin: 10px 0; + border-bottom: 1px solid #EDEFF3; + } +} +.swiper-slide-title { + width: auto !important; + margin-right: 20px; + cursor: pointer; + .tab-name { + padding: 10px; + &.active { + padding-bottom: 10px; + color: #0348F3; + border-bottom: 3px solid #0348F3; + } + } +} diff --git a/src/views/girdList.vue b/src/views/girdList.vue index 89c8e2c..b1e3f17 100644 --- a/src/views/girdList.vue +++ b/src/views/girdList.vue @@ -91,9 +91,31 @@ -