@font-face {
  font-family: "font1";
  src: url(../font/DMSans-Bold.ttf);
}

@font-face {
  font-family: "font2";
  src: url(../font/DMSans-Medium.ttf);
}

@font-face {
  font-family: "font3";
  src: url(../font/DMSans-Regular.ttf);
}

.font1 {
  font-family: "font1";
}

.font2 {
  font-family: "font2";
}

.font3 {
  font-family: "font3";
}

body {
  height: 100%;
  background-color: #f5f7f5;
}

.page {
  padding-bottom: 75px;
  padding-top: 74px;
}

.user {
  font-size: 14px;
  font-family: "font2";
  color: rgba(23, 43, 77, 0.8);
  text-align: center;
  margin-top: 11px;
}

.user > p {
  font-size: 20px;
  font-family: "font1";
  color: #172b4d;
}

/* 头部 */
.head {
  width: 100%;
  box-sizing: border-box;
  padding: 20px 20px 14px 20px;
  background-color: #fff;
  position: fixed;
  top: 0;
  z-index: 9;
}

.head_img {
  height: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  position: relative;
}

.logo {
  width: 48px;
  height: 40px;
}

.headline {
  font-size: 16px;
  font-family: "font1";
  color: #172b4d;
}

.table {
  color: #ffffff;
  font-size: 16px;
  font-family: "font3";
}

.activity {
  position: absolute;
  top: 8px;
  right: 50px;
}

.gift {
  position: absolute;
  right: 5px;
  bottom: 6px;
  width: 13px;
  height: 14px;
}

.service,
.share_to,
.arrows {
  width: 24px;
  height: 24px;
}

/* 有未读信息小圆点出现，否则隐藏 */
.activity::after{
  content: '';
  display: inline-block;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background-color: #FF4B32;
  position: absolute;
  right: -3px;
  bottom: 1px;
  z-index: 11;
}

/* 底部导航 */
.base_nav {
  width: 100%;
  height: 75px;
  background-color: #fff;
  display: flex;
  justify-content: space-around;
  position: fixed;
  bottom: 0;
  z-index: 9;
  box-shadow: 0 -2px 3px 0 rgba(0, 0, 0, 0.10);
}

.nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: "font3";
  margin-top: 15px;
}

.nav > .crown {
  position: absolute;
  top: -15px;
  width: 48px;
  height: 52px;
  z-index: -1;
}

.nav_img {
  width: 24px;
  height: 24px;
}

.home_img {
  width: 42px;
  height: 42px;
  margin-top: -8px;
}

.nav > span {
  display: block;
  width: 60px;
  text-align: center;
  font-size: 12px;
  margin-top: 1px;
  color: #c1c7d0;
}

.nav .nav_select {
  font-family: "font2";
  color: #46AB5D;
}

.nav > .payment {
  margin-top: -1px;
}

.current {
  width: 48px;
  height: 54px;
  margin-top: -31px;
}

/* 遮罩层 */
.mask {
  background-color: rgba(9, 30, 66, .5);
  height: 100%;
  width: 100%;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 10;
}

/* 错误提示*/
.error,.success {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 325px;
  border: 0;
  border-radius: 100px;
  font-size: 14px;
  font-family: "font1";
  text-align: center;
  color: #ffffff;
  background-color: #ff3333;
  padding: 15px 0;
  opacity: 0.9;
  z-index: 12;
}

.error > p {
  width: 88%;
  margin: auto;
  word-wrap: break-word;
}


/* 成功提示*/
.success{
   background-color: #46ab5d;
}

.success > p {
  width: 88%;
  margin: auto;
  word-wrap: break-word;
}




/* 轮播图 */
.slideshow {
  height: 106px;
  width: 100%;
  margin: auto;
  box-sizing: border-box;
  position: relative;
  margin-top: 11px;
}

.swiper {
  width: 100%;
  height: 100%;
  position: relative;
}

.swiper-slide {
  background-position: center;
  background-size: cover;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 106px;
}

.swiper-pagination {
  text-align: center;
}

.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  bottom: 2px !important;
  left: 8px;
  width: 100%;
}

.swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-pagination-horizontal.swiper-pagination-bullets
  .swiper-pagination-bullet {
  margin: 0px 5px !important;
}

:root {
  --swiper-theme-color: #fff !important;
}

.swiper-pagination-bullet {
  width: 7px !important;
  height: 7px !important;
  background-color: #0cdaa0;
}