index.wxss 858 Bytes
Newer Older
程智春 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
/* static/nativeComponents/PhotoGallery/index.wxss */
@import "/static/font/common_icon.wxss";
.photo-gallery{
  width: 100%;
  font-size: 32rpx;
  box-sizing: border-box;
}
.textH{
  text-align: center;
  font-weight: bold;
}
.imgcontent{
  width: 100%;
  text-align: center;
}
.imgcontent image{
  width: 100%;
  display: block;
}

.across {
  position: relative;
}
.ul{
  overflow-x: auto;
  white-space: nowrap;
  width: 100%;
}
.ul .li{
  display: inline-block;
  flex: 1
}
.ul .li image{
  width: 100%;
  vertical-align: middle;
}
.prev-btn,.next-btn{
  width: 60rpx;
    height: 60rpx;
    position: absolute;
    top: 50%;
    margin-top: -30rpx;
    z-index: 99;
    opacity: .3;
}
.prev-btn i,.next-btn i {
  font-size: 60rpx;
}
.next-btn{
  right:10rpx;
}
.prev-btn{
  left:10rpx;
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg)
}