| | |
| | | <u-icon name="close" size="20"></u-icon> |
| | | </div> |
| | | <div class="preview_content"> |
| | | <u-swiper :list="list" :autoplay="false" :height="300" bgColor="rgba(0,0,0,0)" :current="current"></u-swiper> |
| | | <u-swiper :list="list" :current="current"></u-swiper> |
| | | </div> |
| | | </div> |
| | | </template> |
| | |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | .preview { |
| | | position: fixed; |
| | | top: 0; |
| | | left: 0; |
| | | width: 100%; |
| | | height: 100%; |
| | | background: rgba(0, 0, 0, 0.8); |
| | | z-index: 9999; |
| | | .preview_close { |
| | | position: fixed; |
| | | right: 50rpx; |
| | | top: 50rpx; |
| | | width: 70rpx; |
| | | height: 70rpx; |
| | | border-radius: 50%; |
| | | background: #B2B2B2; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | z-index: 99999; |
| | | } |
| | | .preview_content::v-deep { |
| | | position: relative; |
| | | top: 50%; |
| | | left: 0; |
| | | transform: translate(0, -50%); |
| | | .u-swiper { |
| | | width: 100%; |
| | | height: 300rpx !important; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | } |
| | | } |
| | | } |
| | | |
| | | </style> |