common.wxss 2.48 KB
/* common  */

image {
  width: 100%;
  height: 100%;
  vertical-align: top;
}

.pull-left {
  float: left;
}

.y-center {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.x-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.pull-right {
  float: right;
}

.clearfix::after {
  content: '';
  display: block;
  clear: both;
}

.before-none::before {
  display: none !important;
}

.after-none::after {
  display: none !important;
}

.inline {
  display: inline-block !important;
  vertical-align: middle;
}

.hidden {
  display: none;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

.flex-row {
  display: flex;
  flex-direction: row;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-hide {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.text-bold {
  font-weight: bold;
}

.mt-16 {
  margin-top: 16rpx;
}

.mt-20 {
  margin-top: 20rpx;
}

.fixed-box {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99;
}

.box-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes fadeToggle {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.isFullSucreen {
  padding-bottom: 34px !important;
}

.isFullSucreen-bottom {
  bottom: 34px !important;
}

.nothing-text {
  text-align: center;
  font-size: 28rpx;
  color: #333;
  padding: 60rpx 0;
}
.follow-text{
  color: #999;
}
.follow-text, .follow-btn {
  position: absolute;
  right: 40rpx;
  font-size: 24rpx;
}

.follow-btn {
  color: #ff634e;
  width: 118rpx;
  height: 42rpx;
  line-height: 42rpx;
  border: 1rpx solid #ff634e;
  border-radius: 25rpx;
  text-align: center;
}

.null {
  text-align: center;
  font-size: 28rpx;
  color: #666;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -80%);
}

.null image {
  width: 160rpx;
  height: 160rpx;
  margin-bottom: 18rpx;
}

.tabbar {
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2;
}
/* 按钮点击样式 demo》 withdraw页面 */
.btn-on-leave {
  position: relative;
  overflow: hidden;

}

.btn-on-leave::after {
  position: absolute;
  top: 0;
  left: 0;
  content: '';
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,.1);
  display: block;
}