.mainPage{
  background: #fff;
  &>div.flex-item{
    &>div{
      width: 100%;
      position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
      overflow-y: scroll;
      -webkit-overflow-scrolling: touch;
      transform: translateZ(0);
      -webkit-transform: translateZ(0);
      >h4{
        width: 100%;
        line-height: .3rem;
        font-size: .16rem;
        text-indent: .2rem;
        margin-top: .15rem;
      }
      .list{
        >div{
          margin: 0 .2rem;
          >ul{
            width: 100%;
            position: relative;
            overflow: hidden;
            >li{
              padding: .09rem 0;
              border-bottom: .01rem solid #eee;
              span{
                line-height: .24rem;
                font-size: .14rem;
              }
              >div{
                margin-right: .1rem;
                >div{
                  width: 100%;
                  position: relative;
                  overflow: hidden;
                  span{
                    width: 100%;
                    display: block;
                    overflow: hidden;
                    white-space: nowrap;
                    text-overflow: ellipsis;
                  }
                }
              }
            }
          }
        }
      }
      .selectTicket{
        padding: .15rem 0;
        border-bottom: .01rem solid #eee;
        >div{
          >div{
            >div{
              width: 100%;
              position: relative;
              overflow: hidden;
              >span{
                width: 100%;
                display: block;
                line-height: .32rem;
                font-size: .16rem;
                font-weight: bolder;
              }
            }
          }
          >*{
            line-height: .26rem;
            font-size: .13rem;
            margin-left: .1rem;
          }
          >div{
            margin-left: 0;
          }
        }
        >div:nth-child(2){
          >div{
            >div{
              >span{
                line-height: .26rem;
                font-size: .13rem;
                color: #666;
                font-weight: normal;
              }
            }
          }
          >span{
            color: #ccc;
          }
        }
      }
      .agreement{
        margin-top: .1rem;
        padding: .1rem 0;
        border-bottom: .01rem solid #eee;
        >span{
          font-weight: bolder;
          line-height: .32rem;
          font-size: .16rem;
        }
        >div{
          >div{
            >div{
              width: 100%;
              position: relative;
              overflow: hidden;
              >span{
                width: 100%;
                display: block;
                line-height: .3rem;
                font-size: .13rem;
                color: #fb3f19;
              }
            }
          }
        }
        i{
          font-size: .2rem;
          line-height: .3rem;
          color: #ccc;
          &.active{
            color: #fb3f19;
          }
        }
      }
      .protocol{
        padding: .1rem 0;
        >*{
          line-height: .2rem;
          font-size: .12rem;
          color: #666;
          text-align: justify;
        }
      }
    }
  }
  &>div.flex-h{
    padding: .1rem 0;
    background: #fff;
    position: relative;
    z-index: 100;
    box-shadow: 0 0 .2rem .02rem rgba(0,0,0,.05);
    div{
      vertical-align: middle;
      span{
        width: 100%;
        display: inline-block;
        text-indent: .2rem;
        text-decoration: line-through;
        font-size: .11rem;
        em{
          font-size: .18rem;
        }
        &:only-child{
          line-height: .4rem;
          text-decoration: none;
        }
        &+span{
          color: #fc6243;
          font-size: .11rem;
          text-decoration: none;
        }
      }
    }
    &>a{
      line-height: .4rem;
      padding: 0 .6rem;
      border-radius: .4rem;
      color: #fff;
      font-size: .15rem;
      margin-right: .2rem;
      background: #fc6243;
    }
  }
  .layer{
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 100;
    background: rgba(0,0,0,.5);
    display: none;
    &.show{
      display: block;
    }
    >div{
      width: 100%;
      position: absolute;
      left: 0;
      bottom: 0;
      overflow: hidden;
      background: #fff;
      border-radius: .1rem .1rem 0 0;
      .top{
        width: 100%;
        position: relative;
        overflow: hidden;
        text-align: right;
        margin-top: .1rem;
        padding-bottom: .1rem;
        i{
          margin-right: .1rem;
          font-size: .2rem;
          color: #666;
        }
      }
      >.body{
        width: 100%;
        position: relative;
        overflow: visible;
        >div{
          margin: 0 .2rem;
          position: relative;
          overflow: visible;
          >div{
            width: 100%;
            max-height: 3rem;
            position: relative;
            overflow-x: visible;
            overflow-y: scroll;
            -webkit-overflow-scrolling: touch;
            transform: translateZ(0);
            -webkit-transform: translateZ(0);
            ul{
              li{
                margin: .1rem auto 0;
                position: relative;
                >i{
                  display: none;
                  font-size: .2rem;
                  color: #fd684a;
                  position: absolute;
                  right: .1rem;
                  top: .1rem;
                  z-index: 110;
                }
                &.active{
                  >i{
                    display: block;
                  }
                }
              }
            }
          }
        }
      }
      >a{
        width: 100%;
        display: block;
        line-height: .5rem;
        text-align: center;
        color: #fff;
        font-size: .15rem;
        background: #fc6243;
      }
    }
  }
}