index.wxss 966 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
/* static/nativeComponents/PopUp/index.wxss */
.pop-up{
  font-size: 20rpx;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 5000;
  width: 100%;
  height: 100%;
}
.shade {
  opacity: 0.7;
  background-color: #000;
  width: 100vw;
  height: 100vh;
}
.content{
  z-index: 5001;
  width: 80%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
HouTiZhuo committed
24 25 26
  display: flex;
  flex-direction: column;
  justify-content: center;
程智春 committed
27 28
}
.content image{
HouTiZhuo committed
29 30
  width: 100%;
  height: 100%;
程智春 committed
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
}
.content .back{
  width: 48rpx;
  height: 48rpx;
}
.content .back em{
  display: block;
  width: 100%;
  height: 4rpx;
  background-color: #fff;
  margin-top: 20rpx;
  box-shadow: 0 0 1rpx #fff;
}
em:nth-child(1) {
  transform: translateY(0em) rotate(45deg);
}
em:nth-child(2) {
  transform: translateY(-1.2em) rotate(-45deg);
}

.back-bottom {
程智春 committed
52 53
  margin: 0 auto ;
  padding-top: 40rpx;
程智春 committed
54 55 56 57 58 59
}
.back-top {
      position: absolute;
      top: 20rpx;
      right: 24rpx;
    }