/* 基础样式设置 */
body,
html {
  height: 100%;
  width: 100vw;
}
blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}
ol,
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
a {
  text-decoration: none;
}
img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  vertical-align: middle;
}
*,
::before,
::after {
  border-width: 0;
  border-style: solid;
  border-color: theme('borderColor.DEFAULT', currentColor);
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  outline: 0;
  border: none;
}
body {
  position: relative;
  margin: 0 auto;
  width: 100vw;
  font-size: 15px;
  color: #64748b;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  font-family: PingFangSC-Regular, Helvetica Neue, Helvetica, Arial, sans-serif, Tahoma, 'Lucida Grande', Verdana, 'Microsoft Yahei';
}
/* 定义屏幕尺寸 */
/* 定义颜色 */
/* 定义阴影 */
/* 定义圆角 */
/* 定义全局尺寸变量 */
/* 定义"添加"按钮背景色 */
/* 定义模态框背景色 */
body {
  background: #f1f5f9;
}
body #advertisment {
  width: 100%;
  height: auto;
  display: flex;
  position: relative;
  top: 1.5vw;
  left: -2.5vw;
  padding: 0 60px;
}
body #advertisment img {
  width: 33%;
  border-radius: 0.8vw;
  margin: 0 1vw;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}
body #advertisment img:hover {
  transform: scale(1.05, 1.05);
  -ms-transform: scale(1.05, 1.05);
  /* IE 9 */
  -moz-transform: scale(1.05, 1.05);
  /* Firefox */
  -webkit-transform: scale(1.05, 1.05);
  /* Safari 和 Chrome */
  -o-transform: scale(1.05, 1.05);
  /* Opera */
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
}
body #search {
  width: 100vw;
  position: relative;
  top: 4vw;
  display: flex;
  justify-content: center;
}
body #search #search-text {
  width: 60vw;
  height: 40px;
  border-radius: 40px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
  padding-left: 20px;
  color: #64748b;
}
body #search #search-btn {
  width: 40px;
  height: 40px;
  position: absolute;
  right: 21vw;
  background: #fff;
  cursor: pointer;
}
body #container {
  width: 100vw;
  position: relative;
  top: 6vw;
}
body #container .label {
  width: 100%;
  height: 28px;
  padding: 0 60px;
  display: flex;
  position: relative;
}
body #container .label img {
  width: 26px;
  height: 26px;
}
body #container .label span {
  height: 28px;
  line-height: 28px;
  margin-left: 15px;
}
body #container .unopened,
body #container .school-app {
  margin-top: 20px;
}
body #container .app-list {
  position: relative;
  top: 10px;
  display: flex;
  flex-wrap: wrap;
  padding: 0 60px;
}
body #container .app-list li {
  position: relative;
  width: 242px;
  height: 70px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
  margin: 12px 10px;
  cursor: pointer;
}
body #container .app-list li:hover {
  transform: scale(1.05, 1.05);
  -ms-transform: scale(1.05, 1.05);
  /* IE 9 */
  -moz-transform: scale(1.05, 1.05);
  /* Firefox */
  -webkit-transform: scale(1.05, 1.05);
  /* Safari 和 Chrome */
  -o-transform: scale(1.05, 1.05);
  /* Opera */
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
  z-index: 9999;
}
body #container .app-list li .content {
  display: flex;
  position: relative;
  height: 50px;
}
body #container .app-list li .content img {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  margin: 16px 10px 0 15px;
}
body #container .app-list li .content div {
  width: 180px;
  height: 70px;
  color: #475569;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
body #container .app-list li .content div p {
  width: 180px;
  height: 20px;
  line-height: 20px;
  white-space: nowrap;
  /*强制文本一行显示*/
  overflow: hidden;
  /*超出元素默认宽度内容隐藏*/
  text-overflow: ellipsis;
  /*使用省略号代表有内容未显示*/
}
body #container .app-list li .content div p:nth-child(2) {
  font-size: 10px;
  color: #94a3b8;
}
body #container .app-list li .content .add {
  color: #60a5fa;
}
body #container .app-list li .btn-list {
  width: 40%;
  position: absolute;
  top: 20%;
  right: 5%;
  display: flex;
  visibility: hidden;
  flex-direction: column;
  justify-content: center;
  padding: 8px 6px;
  border-radius: 4px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  background-color: #fff;
}
body #container .app-list li .btn-list div {
  width: 100%;
  height: 22px;
  line-height: 22px;
  text-align: center;
  font-size: 12px;
  margin: 3px 0;
  cursor: pointer;
}
body #container .app-list li .btn-list div:hover {
  background-color: #dbeafe;
  color: #3b82f6;
}
div:hover body #container .app-list li .btn-list {
  visibility: visible;
}
body #container .app-list li .btn-list:hover {
  visibility: visible;
}
body #container .app-list li .visible {
  visibility: visible;
}
body #container .app-list li .hidden {
  visibility: hidden;
}
body #container .app-list .app-list-item:hover > .btn-list {
  visibility: visible;
}
body #container .footer {
  width: 100vw;
  height: 4vw;
  position: relative;
}
body #pop-window {
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  overflow: hidden;
}
body #pop-window #qr-code-preview {
  width: 256px;
  height: 300px;
  border-radius: 6px;
  background-color: #f1f5f9;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
body #pop-window #qr-code-preview #pop-close-btn {
  width: 22px;
  height: 22px;
  line-height: 22px;
  border-radius: 50%;
  border: #94a3b8 solid 1px;
  color: #94a3b8;
  font-size: 30px;
  position: absolute;
  right: 0%;
  top: 3%;
  transform: translateX(-50%);
  text-align: center;
  background-color: transparent;
  cursor: pointer;
}
body #pop-window #qr-code-preview span {
  width: 100%;
  height: 70px;
  line-height: 1.5vw;
  display: block;
  position: relative;
  top: 16px;
  padding: 0 65px;
  color: #3b82f6;
  text-align: center;
}
body #pop-window #qr-code-preview #qr-code {
  width: 100%;
  height: 230px;
  background-color: #fff;
  display: block;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  position: relative;
  padding: 16px 28px;
}
@media (min-width: 800px) {
  body #advertisment {
    left: -3.2vw;
  }
  body #container .app-list .app-list-item {
    width: 196px;
  }
  body #container .app-list .app-list-item .content div {
    width: 130px;
  }
  body #container .app-list .app-list-item .content div p {
    width: 130px;
  }
}
@media (min-width: 768px) {
  body #advertisment {
    left: -3.2vw;
  }
  body #container .app-list .app-list-item {
    width: 196px;
  }
  body #container .app-list .app-list-item .content div {
    width: 130px;
  }
  body #container .app-list .app-list-item .content div p {
    width: 130px;
  }
}
@media (min-width: 1024px) {
  body #advertisment {
    left: -3.2vw;
  }
  body #container .app-list .app-list-item {
    width: 202px;
  }
  body #container .app-list .app-list-item .content div {
    width: 132px;
  }
  body #container .app-list .app-list-item .content div p {
    width: 132px;
  }
}
@media (min-width: 1280px) {
  body #advertisment {
    left: -3vw;
  }
  body #container .app-list .app-list-item {
    width: 212px;
  }
  body #container .app-list .app-list-item .content div {
    width: 142px;
  }
  body #container .app-list .app-list-item .content div p {
    width: 142px;
  }
}
@media (min-width: 1366px) {
  body #advertisment {
    left: -3vw;
  }
  body #container .app-list .app-list-item {
    width: 228px;
  }
  body #container .app-list .app-list-item .content div {
    width: 162px;
  }
  body #container .app-list .app-list-item .content div p {
    width: 162px;
  }
}
@media (min-width: 1440px) {
  body #advertisment {
    left: -3vw;
  }
  body #container .app-list .app-list-item {
    width: 240px;
  }
  body #container .app-list .app-list-item .content div {
    width: 172px;
  }
  body #container .app-list .app-list-item .content div p {
    width: 172px;
  }
}
@media (min-width: 1536px) {
  body #advertisment {
    left: -2.7vw;
  }
  body #container .app-list .app-list-item {
    width: 258px;
  }
  body #container .app-list .app-list-item .content div {
    width: 188px;
  }
  body #container .app-list .app-list-item .content div p {
    width: 188px;
  }
}
@media (min-width: 1600px) {
  body #advertisment {
    left: -2.7vw;
  }
  body #container .app-list .app-list-item {
    width: 234px;
  }
  body #container .app-list .app-list-item .content div {
    width: 168px;
  }
  body #container .app-list .app-list-item .content div p {
    width: 168px;
  }
}
@media (min-width: 1920px) {
  body #advertisment {
    left: -0.8vw;
  }
  body #container .app-list .app-list-item {
    width: 234px;
  }
  body #container .app-list .app-list-item .content div {
    width: 168px;
  }
  body #container .app-list .app-list-item .content div p {
    width: 168px;
  }
}
