.product-bg{width:100%;height:460rpx;position:relative;}.product-bg swiper{width:100%;height:100%;position:relative;}.product-bg .slide-image{width:100%;height:100%;}.product-bg .pages{position:absolute;background-color:#fff;height:34rpx;padding:0 10rpx;border-radius:3rpx;right:30rpx;bottom:30rpx;line-height:34rpx;font-size:24rpx;color:#050505;}
将幻灯片的高度设置改到你需要的值,但是如果你上传的是方形图片,系统只缩放高度比例,所以方形图片会有压扁的感觉,各个参数都改过对比,目前还没有找到能自动按图片比例缩放的或裁剪的方法,希望大神能跟帖探讨
2016
{{like_count}}
{{collect_count}}
{{item.user_info.nickname ? item.user_info.nickname : item.user_name}}
作者 管理员 企业
{{itemf.name}}
{{itemc.user_info.nickname}}
{{itemc.user_name}}
回复 {{itemc.comment_user_info.nickname}}
{{itemf.name}}