| | |
| | | <b class="clear-searching" @click="clearSearch">重置</b> |
| | | </p> |
| | | </div> |
| | | <div ref="mid" style="height:100%;overflow-y:auto;"> |
| | | |
| | | <div id="searchMid" class="mid"> |
| | | <div ref="mid" style="height:100%;"> |
| | | <div class="left-selection" v-if="VideoPhotoData.uploadDiaplay"> |
| | | <upload-img ref="uploadImg" @labelDisabled="disabled"></upload-img> |
| | | </div> |
| | | <div id="searchMid" class="mid" :style="{width: VideoPhotoData.uploadDiaplay ? 'calc(100% - 315px)' : '100%'}"> |
| | | |
| | | <div |
| | | class="right-section" |
| | | |
| | | ref="scrollContain" |
| | | :style="VideoPhotoData.uploadDiaplay ? 'calc(100% - 315px)' : 'width:100%'" |
| | | |
| | | > |
| | | <Card |
| | | v-for="(item, index) in VideoPhotoData.cards" |
| | |
| | | @detailsClick="getDetails($event, index)" |
| | | @addToBase="toAdd" |
| | | ></Card> |
| | | </div> |
| | | <div class="foot"> |
| | | <el-pagination |
| | | :current-page="VideoPhotoData.page" |
| | |
| | | :total="VideoPhotoData.total" |
| | | ></el-pagination> |
| | | </div> |
| | | </div> |
| | | |
| | | </div> |
| | | |
| | | </div> |
| | |
| | | .mid { |
| | | //width: 100%; |
| | | //height: 100%; |
| | | padding: 10px; |
| | | padding: 5px; |
| | | overflow: auto; |
| | | position: relative; |
| | | .my-card { |
| | |
| | | } |
| | | </style> |
| | | <style lang="scss" scoped> |
| | | .left-selection { |
| | | width: 300px; |
| | | height: 100%; |
| | | float: left; |
| | | margin-right: 15px; |
| | | } |
| | | #searchMid { |
| | | height: 100%; |
| | | box-sizing: border-box; |
| | | .el-loading-mask { |
| | | .el-loading-spinner { |
| | | width: 100%; |
| | |
| | | } |
| | | } |
| | | } |
| | | .left-selection { |
| | | width: 300px; |
| | | height: 100%; |
| | | float: left; |
| | | margin-right: 15px; |
| | | } |
| | | |
| | | .right-section { |
| | | //width: calc(100% - 315px); |
| | | height: 100%; |