|
|
@ -91,17 +91,11 @@ |
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<!-- <ul style="display: flex; justify-content: flex-start; padding: 20px; margin-top: 20px;"> |
|
|
|
<li v-for="(item,index) in rackOptions" :key="index" style=" background-color: red; padding: 0 10px; margin-right: 10px;">{{ item.name }}</li> |
|
|
|
</ul> --> |
|
|
|
|
|
|
|
<ul class="change-layer"> |
|
|
|
<li v-for="(item,index) in rackOptions" :key="index" :class="{ 'active': layerVal === index+1 }" @click="changeShelfGetGrid(parseInt(item.name))">{{ item.name }}</li> |
|
|
|
</ul> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<BookDetails ref="bookDetailsRef" /> |
|
|
|
</div> |
|
|
|
</template> |
|
|
@ -210,7 +204,6 @@ export default { |
|
|
|
|
|
|
|
this.getInitBookDetailsByGrids(this.shelfAllGridData) |
|
|
|
|
|
|
|
// this.getBillByShelfIdAndGridShelf(this.shelfAllGridData) |
|
|
|
this.initSwiper() |
|
|
|
}).catch(() => { |
|
|
|
}) |
|
|
@ -458,37 +451,6 @@ export default { |
|
|
|
background-size: 100% 100%; |
|
|
|
} |
|
|
|
} |
|
|
|
// .book-item{ |
|
|
|
// position: relative; |
|
|
|
// display: inline-block; |
|
|
|
// width: 42px; |
|
|
|
// height: 120px; |
|
|
|
// margin-top: 18px; |
|
|
|
// background: url('~@/assets/images/shelf03.png') no-repeat left top; |
|
|
|
// background-size: 100% 100%; |
|
|
|
// margin-left: -15px; |
|
|
|
// cursor: pointer; |
|
|
|
// span.book-name{ |
|
|
|
// position: absolute; |
|
|
|
// left: 15px; |
|
|
|
// top: 16px; |
|
|
|
// display: block; |
|
|
|
// height: 90px; |
|
|
|
// font-size: 12px; |
|
|
|
// writing-mode:vertical-rl; |
|
|
|
// overflow: hidden; |
|
|
|
// white-space: nowrap; |
|
|
|
// text-overflow: ellipsis; |
|
|
|
// } |
|
|
|
// &.red-active{ |
|
|
|
// background: url('~@/assets/images/shelf05.png') no-repeat left top; |
|
|
|
// background-size: 100% 100%; |
|
|
|
// } |
|
|
|
// &.blue-active{ |
|
|
|
// background: url('~@/assets/images/shelf06.png') no-repeat left top; |
|
|
|
// background-size: 100% 100%; |
|
|
|
// } |
|
|
|
// } |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|