index.wxss 1.55 KB
Newer Older
李嘉林 committed
1
@import "/static/font/common_icon.wxss";
李嘉林 committed
2 3 4 5 6 7
.flex{
  display: flex;
}
image{
  width: 100%;
}
李嘉林 committed
8 9 10 11 12 13 14
.goodsList{
  font-size: 32rpx;
  position: relative;
}
.goodsList .heap-wrap{
  padding: 20rpx;
}
李嘉林 committed
15 16 17
.goods-item{
  box-sizing: border-box;
}
李嘉林 committed
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
.tops{
  justify-content: space-between;
  align-items: center;
  position: relative;
}
.tops .left{
  align-items: center;
}
.tops .img{
  width: 60rpx;
  height: 60rpx;
  margin-right: 20rpx;
}
.tops .title{
  font-weight: bold;
  color: #333;
  font-size: 36rpx;
}
.moreTop{
  position: absolute;
  right: 10px;
  text-align: right;
  font-size: 13px;
  color: #6b6b6b;
}
李嘉林 committed
43
.moreTop .jt,.moreBottom .jt{
李嘉林 committed
44 45 46 47 48 49 50 51 52
  display: inline-block;
  border-top: 1px solid;
  border-right: 1px solid;
  width: 10px;
  height: 10px;
  -webkit-transform: rotate(-135deg);
  transform: rotate(405deg);
  margin-left: 0px;
}
李嘉林 committed
53 54 55 56 57 58
.moreBottom {
  font-size: 13px;
  text-align: center;
  padding-top: 0.54em;
  color: #6b6b6b;
}
李嘉林 committed
59 60 61
.goodsItem-list{
  flex-wrap: wrap;
}
62
.goodsItem-list .goods-item{
李嘉林 committed
63
  box-sizing: border-box;
李嘉林 committed
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88
}
.goods-across{
  overflow-y: hidden;
  overflow-X: auto;
  white-space: nowrap;
  padding-bottom: 10rpx;
  display: flex;
  align-items: flex-start;
}
.goods-across .prev-btn,.goods-across .next-btn{
  position: absolute;
  top: 50%;
  z-index: 99;
  opacity: 0.5;
}
.goods-across .prev-btn text,.goods-across .next-btn text{
  font-size: 60rpx;
}
.goods-across .prev-btn{
  left: 10px;
  transform: rotate(180deg);
}
.goods-across .next-btn{
  right: 10px;
}
89
.goods-across .goods-item{
李嘉林 committed
90 91 92
  flex-shrink: 0;
  display: inline-block;
  box-sizing: border-box;
李嘉林 committed
93
}