picker.wxss 4.59 KB
.picker-bg{
  position: fixed;
  z-index: 999;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border-top: 1px #eee solid;
  background-color: rgba(0, 0, 0, 0.2);
}

.picker-bg .picker-view{
    position: fixed;
    z-index: 9999;
    width:100%;
    height: 800rpx;
    left:0;
    bottom: 0;
    background-color: white;
}

.picker-view .pickerGoodsInfo{
    display: flex;
    margin-bottom: 50rpx;
}

.picker-view .pickerGoodsInfo .img{
    position: absolute;
    top: -30rpx;
    margin-left: 30rpx;
    width: 164rpx;
    height: 228rpx;
    border:1rpx solid #e0e0e0;
    border-radius: 5rpx;
    /*background-color: red;*/
}

.picker-view .pickerGoodsInfo .placeholder{
    margin-left: 30rpx;
    width: 164rpx;
    height: 180rpx;
}

.picker-view .pickerGoodsInfo .goodPrice{
    display: flex;
    width: 500 rpx;
    margin-left: 20rpx;
    margin-top: 20rpx;
    height: 70rpx;
}

.picker-view .pickerGoodsInfo .goodPrice .realPrice{
  padding-left: 25rpx;
  color: #d0021b;
  line-height: 70rpx;
  font-size: 28rpx;
}

.picker-view .pickerGoodsInfo .goodPrice .price{
  padding-left: 15rpx;
  color: #b0b0b0;
  text-decoration: line-through;
  line-height: 70rpx;
  font-size: 28rpx;
}

.picker-view .goodsColor{
    margin:30rpx;
    display: flex;
    flex-direction: row;
}

.picker-view .goodsColor .title{
    font-size: 28rpx;
    color: #444444;
    text-align: left;
    padding: 20rpx 0;
    width: 60rpx;
    font-weight: bold;
    white-space: nowrap; 
}

.picker-view .goodsColor .list{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  padding-left: 10rpx;
}

.normalItem{
  font-size: 28rpx;
  text-align: center;
  border: 1px solid #444;
  margin: 5px;
  padding: 5px;
  border-radius: 3px;
  min-width: 40rpx;
}

 .disableItem{
  font-size: 28rpx;
  text-align: center;
  border: 1px solid #e0e0e0;
  margin: 5px;
  padding: 5px;
  border-radius: 3px;
  color: #e0e0e0;
  min-width: 40rpx;
}

.selectedItem{
  font-size: 28rpx;
  text-align: center;
  border: 1px solid #d0021b;
  margin: 5px;
  padding: 5px;
  border-radius: 3px;
  color: white;
  background-color: #d0021b;
  min-width: 40rpx;
}

.picker-view .goodsSize{
    margin: 30rpx;
    display: flex;
    flex-direction: row;
}

.picker-view .goodsSize .title{
    font-size: 28rpx;
    color: #444444;
    text-align: left;
    width: 60rpx;
    padding: 20rpx 0;
    font-weight: bold;
    white-space: nowrap;
}

.picker-view .goodsSize .list{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-left: 10rpx;
  flex: 90%;
}

.picker-view .goodsSize .list .item{
  font-size: 28rpx;
  text-align: center;
  border: 1px solid #444;
  margin: 5px;
  padding: 5px;
  border-radius: 3px;
}

.picker-view .goodsCount{
    display: flex;
    margin: 30rpx;
    flex-direction: row;
    flex-wrap: wrap;
    float: left;
    align-items: center;
}

.picker-view .goodsCount .title{
    font-size: 28rpx;
    color: #444444;
    text-align: left;
    padding: 20rpx 0;
    font-weight: bold;
    width: 60rpx;
}

.stepper {
	border: 2rpx solid #e0e0e0;
	border-radius: 6rpx;
	width: 240rpx;
	height: 60rpx;
	margin-left: 20rpx;
  justify-content: space-between;
  display: flex;
  align-items: center;
  flex-direction: row;
}

.buyButton{
    position: absolute;
    width: 100%;
    height: 100rpx;
    bottom: 0;
    background: #d0021b;
    justify-content: space-around;
}

.buyButton .title{
    position: absolute;
    color: white;
    font-size: 34rpx;
    line-height: 50rpx;
    width: 100%;
    text-align: center;
    height: 70rpx;
    bottom: 0;
}

.buyButtonDisable{
    position: absolute;
    width: 100%;
    height: 100rpx;
    bottom: 0;
    background: #b0b0b0;
    justify-content: space-around;
}

.buyButtonDisable .title{
    position: absolute;
    color: white;
    font-size: 34rpx;
    line-height: 50rpx;
    width: 100%;
    text-align: center;
    height: 70rpx;
    bottom: 0;
}

.seperatorLine {
    /*position: absolute;*/
    display: flex;
    width:100%;
    /*margin: 30rpx;*/
    height:1rpx;
    background:#e0e0e0;
}


.reduceNumberBtn {
  width: 70rpx;
  height: 60rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: solid 2rpx #e0e0e0;
}

.addNumberBtn {
  width: 70rpx;
  height: 60rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: solid 2rpx #e0e0e0;
}

.buyNumberText{
	font-family: PingFang-SC;
	font-size: 28rpx;
	text-align: center;
	color: #444444;
  width: 94rpx;
}

.reduceImage {
  width: 24rpx;
  height: 4rpx;
}

.addImage {
  width: 24rpx;
  height: 24rpx;
}

.soldSoonOut {
  font-size: 28rpx;
  color: #d0021b;
  margin-left: 20rpx;
}