download.css 3.21 KB
* {
  margin: 0;
  padding: 0;
}

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


/* 绑定||验证 */

.layout {
  font-size: 0.14rem;
  color: #333;
  padding: 0.2rem;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.layout .text {
  margin-bottom: 0.25rem;
}

.layout .form {
  padding-top: 0.25rem;
}

.layout .input-box {
  display: flex;
  align-items: center;
  height: 0.34rem;
  margin-bottom: 0.28rem;
}

.layout .input-icon {
  width: 0.54rem;
  height: 100%;
}

.layout .input-icon img {
  width: 0.20rem;
  height: 0.20rem;
}

.layout .input-box .input {
  position: relative;
  width: calc(100% - 0.75rem);
  height: 100%;
  box-sizing: border-box;
  border-bottom: 0.002rem solid #CCCCCC;
  display: flex;
  justify-content: space-between;
}

.layout .input-box .input input {
  height: calc(100% - 0.01rem);
  border: none;
  outline: none;
  font-size: 0.14rem;
}

.layout .input-box .input .input-btn {
  width: 0.8rem;
  justify-content: flex-end;
  font-size: 0.12rem;
}

.layout .input-box .input .input-btn,
.validate-tips {
  color: #FF7F04;
}

.layout .input-box .input .input-btn.count-down {
  color: #CCCCCC;
}

.validate-tips {
  display: none;
  position: absolute;
  right: 0;
  bottom: -0.21rem;
  font-size: 0.12rem;
}

.done {
  width: 2.93rem;
  height: 0.4rem;
  background: linear-gradient(270deg, #00C7AC 0%, #00D8B0 100%);
  border-radius: 0.2rem;
  margin: 0.5rem auto 0.11rem;
  color: #fff;
  font-size: 0.16rem;
  letter-spacing: 0.05rem;
}

.done a {
  width: 100%;
  height: 100%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.tips {
  width: 2.93rem;
  font-size: 0.12rem;
  color: #999;
  margin: 0 auto;
}


/* 重置弹框样式 */

.mask_content {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 1.5rem;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.7);
  padding: 0.075rem 0;
  border-radius: 0.06rem;
  z-index: 1004;
  box-shadow: 0 0 1.3rem rgba(0, 0, 0, 0.26);
  margin-left: 0;
}

.mask_content p {
  text-align: center;
  margin: 0 0.15rem;
  display: block;
  color: #fff;
  font-size: 0.12rem;
}


/* 下载页面 */

.layout .success {
  width: 0.84rem;
  height: 0.78rem;
  margin: 0.4rem auto 0.2rem;
}

.file {
  margin: 0.4rem auto;
  width: 3.35rem;
  background: rgba(216, 216, 216, .15);
  border-radius: 0.04rem;
  display: flex;
  align-items: center;
}

.file-icon {
  width: 0.71rem;
  height: 0.71rem;
}

.file-icon img {
  width: 0.3rem;
  height: 0.3rem;
}

.file-name {
  width: calc(100% - 0.91rem);
}

.download {
  position: fixed;
  margin: 0;
  bottom: 0.4rem;
  left: 50%;
  transform: translateX(-50%);
}

#loading {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
}

.loading {
  position: absolute;
  width: 1rem;
  height: 1rem;
  z-index: 9999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 0.04rem;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading img {
  width: 0.32rem;
  height: 0.32rem;
  animation: loading 2s infinite;
}

@keyframes loading {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}