* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

a {
    text-decoration: none;
    color: black
}

input {
    outline: none;
}

ul {
    list-style-type: none;
}

html,
body {
    color: #282828;
    font-family: "PingFang SC", "Helvetica Neue", Helvetica, "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑,Arial", "sans-serif";
    font-size: 14px;
    overflow-x: hidden;
}

.yifang-PageLayout {
    background-color: #f7f7f7;
    display: flex;
    flex-direction: column;
}

.yifang-PageLayout header {
    height: 136px;
    background-color: #282828;
    display: flex;
    flex-direction: column;
}

.yifang-PageLayout header .yifang-header {
    background-color: #282828;
    color: #b4b4b4;
    cursor: pointer;
    font-size: 12px;
    height: 40px;
    min-width: 1200px;
    width: auto;
}

.yifang-PageLayout header .yifang-header .yifang-headerCon {
    height: 100%;
    margin: 0 auto;
    overflow: hidden;
    width: 1200px;
    align-items: center;
    justify-content: space-between;
    display: flex;
}

.yifang-PageLayout header .yifang-header .yifang-headerCon a {
    color: #b4b4b4 !important;
    font-size: 12px;
}
.yifang-PageLayout header .yifang-header .yifang-headerCon a:hover{
    color: white;
}
.yifang-PageLayout header .yifang-header .yifang-headerCon .yifang-user {
    display: flex;
    flex-direction: row;
}

.yifang-PageLayout header .yifang-header .yifang-headerCon .yifang-user .item {
    color: #b4b4b4 !important;
    margin-right: 8px;
    padding-left: 8px;
    position: relative;
    display: flex !important;
    flex-direction: row;
    align-items: center !important;
}
.yifang-PageLayout header .yifang-header .yifang-headerCon .yifang-user .item p{
    margin-bottom: 0 !important;
}
.yifang-PageLayout header .yifang-header .yifang-headerCon .yifang-user .item p:hover {
    color: #fff;
}

.yifang-PageLayout header .yifang-header .yifang-headerCon .yifang-user .item+.item:before {
    background-color: hsla(0, 0%, 100%, .11);
    content: " ";
    height: 14px;
    left: 0;
    margin-top: -7px;
    position: absolute;
    top: 50%;
    width: 1px;
}

.yifang-PageLayout header .yifang-header .yifang-headerCon .yifang-user .item.user {
    margin-right: 25px;
}

.yifang-PageLayout header .yifang-header .yifang-headerCon .yifang-user .user .pictrue {
    border-radius: 50%;
    height: 22px;
    margin-right: 8px;
    width: 22px;
}

.yifang-PageLayout header .yifang-header .yifang-headerCon .yifang-user .user .pictrue img {
    border-radius: 50%;
    height: 100%;
    width: 100%;
}

.yifang-PageLayout header .yifang-header .yifang-headerCon .yifang-user .notice .iconfont {
    animation: shock-66ff26d8 3s ease infinite;
    color: #fff;
    font-size: 14px;
    padding: 0 5px 0 2px;
}

.yifang-PageLayout header .yifang-header .yifang-headerCon .yifang-user .cartNum {
    height: 40px;
    line-height: 40px;
    margin-left: 10px;
    text-align: center;
    width: 118px;
    align-items: center;
    background: #3c3c3c;
}

.yifang-PageLayout header .yifang-header .yifang-headerCon .yifang-user .cartNum span {
    margin-right: 7px;
    line-height: 40px;
}

.yifang-PageLayout header .yifang-header .yifang-headerCon .yifang-user .on {
    background: #e93323;
    color: #fff !important;
    opacity: .75;
}

.yifang-PageLayout header .yifang-header .yifang-headerCon .yifang-user .on:hover {
    opacity: 1;
}

.swiper-css-mode>.swiper-wrapper{
    overflow: hidden !important;
}
.swiper {
  width: 100%;
  height: 520px;
  position: relative;
}
.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: #f5f5f5;
}
.swiper-slide img{
    width: 100%;
    height: 100%;
    overflow: hidden;
    object-fit: cover;
}

/* 左右箭头样式 */
.swiper-button-prev, .swiper-button-next {
  color: #333;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.8);
}
/* 分页器样式 */
.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #ccc;
  opacity: 1;
}
.swiper-pagination-bullet-active {
  background: #000;
}

.yifang-PageLayout header .yifang-nav {
    background: #fff;
    height: 96px;
    min-width: 1200px;
    width: auto;
    position: relative;
}

.yifang-PageLayout header .yifang-nav .yifang-navCon {
    height: 100%;
    margin: 0 auto;
    overflow: hidden;
    width: 1200px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.yifang-PageLayout header .yifang-nav .yifang-navCon .yifang-textPic {
    height: 100%;
    align-items: center;
    display: flex;
}

.yifang-PageLayout header .yifang-nav .yifang-navCon .yifang-textPic .logo {
    cursor: pointer;
    height: 60px;
    width: 140px;

}

.yifang-PageLayout header .yifang-nav .yifang-navCon .yifang-textPic .logo img {
    height: 100%;
    width: 100%;
    cursor: pointer;
}

.yifang-PageLayout header .yifang-nav .yifang-navCon .yifang-textPic .list {
    margin-left: 85px;

}

.yifang-PageLayout header .yifang-nav .yifang-navCon .yifang-textPic .list .item {
    cursor: pointer;
    font-size: 16px;
    font-weight: 400;
    margin-right: 9px;
    padding: 15px 10px;
}

.yifang-PageLayout header .yifang-nav .yifang-navCon .yifang-textPic .list .item:hover {
    color: #e93323;
}

.yifang-PageLayout header .yifang-nav .yifang-navCon .yifang-textPic .list .item.active {
    color: #e93323;
}

.yifang-PageLayout header .yifang-nav .yifang-navCon .yifang-search {
    border: 1px solid #e93323;
    border-radius: 2px;
    cursor: pointer;
    height: 40px;
    width: 360px;
    align-items: center;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: auto 0;
}

.yifang-PageLayout header .yifang-nav .yifang-navCon .yifang-search .text {
    color: #c1c1c1;
    padding-left: 14px;
    width: 290px;
    align-items: center;
    display: flex;
}

.yifang-PageLayout header .yifang-nav .yifang-navCon .yifang-search input::placeholder {
    color: #c1c1c1;
}

.yifang-PageLayout header .yifang-nav .yifang-navCon .yifang-search .text .iconfont {
    font-size: 15px;
    margin-right: 5px;
}

.yifang-PageLayout header .yifang-nav .yifang-navCon .yifang-search .text input {
    border: none;
    height: 36px;
    margin-top: -2px;
    outline: none;
    padding-left: 10px;
    width: 250px;
    font: 14px Verdana, Helvetica, Arial, sans-serif;
}

.yifang-PageLayout header .yifang-nav .yifang-navCon .yifang-search .bnt {
    color: #fff;
    height: 40px;
    line-height: 40px;
    text-align: center;
    width: 64px;
    background-color: #e93323;
    cursor: pointer;
}


.yifang-PageLayout .yifang-body {
    height: 0;
    flex: 1;
}

.yifang-PageLayout footer {
    background-color: #f0f0f0;
    margin-top: 40px;
}

.yifang-PageLayout footer .yifang-footerBox {
    margin: 0 auto;
    overflow: hidden;
    width: 1200px;
}

.yifang-PageLayout footer .yifang-footerBox .yifang-Propaganda {
    height: 104px;
    border-bottom: 1px solid #e2e2e2;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.yifang-PageLayout footer .yifang-footerBox .yifang-Propaganda .item {
    display: flex;
    flex-direction: row;
    margin: auto 0;
}

.yifang-PageLayout footer .yifang-footerBox .yifang-Propaganda .item .icon {
    border: 1px solid #707070;
    border-radius: 50%;
    height: 40px;
    line-height: 40px;
    margin-right: 14px;
    width: 40px;
    text-align: center;
}

.yifang-PageLayout footer .yifang-footerBox .yifang-Propaganda .item .icon .iconfont {
    color: #707070;
    font-size: 23px;
}

.yifang-PageLayout footer .yifang-footerBox .yifang-Propaganda .item .text {
    margin: auto 0;
}

.yifang-PageLayout footer .yifang-footerBox .yifang-Link {
    height: 46px;
    border-bottom: 1px solid #e2e2e2;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.yifang-PageLayout footer .yifang-footerBox .yifang-Link span {
    cursor: pointer;
    display: inline-block;
    margin-right: 10px;
}

.yifang-PageLayout footer .yifang-footerBox .yifang-Information {
    height: 122px;
    padding: 30px 0 48px;
    text-align: center;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.yifang-PageLayout footer .yifang-footerBox .yifang-Information .yifang-PhoneAddress {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.yifang-PageLayout footer .yifang-footerBox .yifang-Information .yifang-PhoneAddress .yifang-address {
    margin-left: 40px;
}

.yifang-PageLayout footer .yifang-footerBox .yifang-Information .yifang-CopyrightRecord {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.yifang-PageLayout footer .yifang-footerBox .yifang-Information .yifang-CopyrightRecord div {
    display: flex;
    flex-direction: row;
    margin-left: 10px;
    margin-top: 6px;
}

.yifang-PageLayout footer .yifang-footerBox .yifang-Information .yifang-CopyrightRecord div a {
    margin-left: 10px;
    color: #282828;
}

.yifang-PageLayout footer .yifang-footerBox .yifang-Information .yifang-CopyrightRecord div img {
    border-radius: 50%;
    height: 15px;
    width: 15px;
    margin: auto 0;
}

.yifang-PageLayout footer .yifang-footerBox .yifang-Information .yifang-CopyrightRecord .bottom a {
    margin-left: 5px;
}









/* 新 */
.yifang-footer-block {
    display: none;
}

.yifang-page-footer {
    padding-top: 2px;
    padding-bottom: 2px;
    background: rgba(255, 255, 255, 0.99);
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    z-index: 999;
}

.yifang-page-footer .yifang-foot-item {
    position: relative;
    flex: 1 1 0%;
    font-family: PingFang SC;
    font-size: 14px;
    color: #333;
    height: 40px;
}

.yifang-page-footer .yifang-foot-item a {
    display: flex;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.yifang-page-footer .yifang-foot-item .iconfont {
    display: block;
    height: 20px;
    width: 20px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    font-size: 20px;
}

.yifang-page-footer .yifang-foot-item .txt {
    color: rgb(26, 26, 26);
    margin-top: 2px;
    font-size: 10px;
}

.yifang-page-footer .yifang-foot-item .active {
    color: #e93323;
}

.yifang-sidebarBox {
    background-color: #fff;
    bottom: 15%;
    box-shadow: 0 3px 20px rgba(0, 0, 0, .06);
    cursor: pointer;
    position: fixed;
    top: 50%;
    right: 0;
    width: 70px;
    height: 296px;
    z-index: 99;
    font-size: 12px;
}

.yifang-sidebarBox ul li {
    color: #5c5c5c;
    height: 74px;
    padding: 12px 0;
    position: relative;
    text-align: center;
    width: 100%;
}

.yifang-sidebarBox ul li .sidebarIcon i {
    font-size: 25px;
}

.yifang-sidebarBox ul li p {
    margin-top: 5px;
}

.yifang-sidebarBox ul li::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 1px;
    background-color: #f0f0f0;
    width: 70%;
}

.yifang-sidebarBox ul li:last-child:after {
    display: none;
}

.yifang-sidebarBox ul li:hover {
    color: #e93323;
}

.yifang-sidebarBox .weixin-position {
    position: relative;
}

.yifang-sidebarBox ul li:nth-child(2):hover .weixin {
    display: block;
}

.yifang-sidebarBox .weixin {
    border: 1px solid #eee;
    background-color: #fff;
    position: fixed;
    width: 140px;
    bottom: 20%;
    right: 6%;
    padding: 8px 6px;
    text-align: center;
    margin-top: 6px;
    display: none;
}
.yifang-sidebarBox .weixin .weixinImg{
    width: 126px;
    height: 126px;
}
.yifang-sidebarBox .weixin img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    overflow: hidden;
}

.yifang-sidebarBox .weixin a {
    display: block;
    margin-top: 6px;
    font-size: 14px;
}
.yifang-sidebarBox .weixin div{
    width: 126px;
    height: 126px;
    padding: 5px;
}
.yifang-nav .top-toast{
    gap: 10px;
    width: 400px;
    height: 40px;
    padding: 0 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    background: #f6ffed;
    border: 1px solid #b7eb8f;
    color: #52c41a;
    border-radius: 4px;
    position: relative;
    z-index: 1099 !important;
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.3s ease; 
}
.yifang-nav .top-toast.error{
    background: #fff2f0;
    border: 1px solid #ffccc7;
    color: #ff4d4f;
}
.top-toast.show {
    transform: translateY(0);
    opacity: 1;
}
.toastContainer{
    position: fixed;
    z-index: 1099 !important;
    width: 400px;
    top: 20px;
    left: 474px;
}

.yifang-room{
    display: flex;
  flex-direction: column;
  width: 730px;
  height: 654px;
  border-radius: 10px;
  box-shadow: 1px 1px 15px 0 rgba(0, 0, 0, .1);
  position: fixed;
  top: 20px;
  left: calc(50% - 365px);
  z-index: 1000;
}
.yifang-room .yifang-top{
  width: 100%;
  height: 50px;
  background: linear-gradient(270deg, #1890ff, #3875ea);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 20px;
  padding-right: 15px;
  color: white;
  border-radius: 10px 10px 0 0;
}
.yifang-room .yifang-top .user-img{
  width: 36px;
  height: 36px;
}
.yifang-room .yifang-top .user-img img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  overflow: hidden;
  border-radius: 50%;
}
.yifang-room .yifang-top .user-name{
  flex: 1;
  font-size: 16px;
  margin-left: 15px;
}
.yifang-room .yifang-top .voice,
.yifang-room .yifang-top .yf-ic_close-2,
.yifang-room .yifang-top .yf-ic_horn{
  width: 25px;
  height: 25px;
  text-align: center;
  cursor: pointer;
}
.yifang-room .yifang-under{
  display: flex;
  background-color: #fff;
  height: 100%;
  border-radius: 0 0 10px 10px;
}
.yifang-room .yifang-under .under-left{
  display: flex;
  flex-direction: column;
  border-right: 1px solid #ececec;
  flex: 1;
  height: 100%;
}
.yifang-room .yifang-under .under-left .information{
  flex: 1;
  border-bottom:1px solid #ececec;
}
.yifang-room .yifang-under .under-left .information ul{
  padding: 20px;
  gap: 20px;
}
.yifang-room .yifang-under .under-left .information li{
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}
.yifang-room .yifang-under .under-left .information li .user{
  width: 40px;
  height: 40px;
}
.yifang-room .yifang-under .under-left .information li .msg{
  width: 318px;
  background-color: #f5f5f5;
  border-radius: 10px;
  color: rgba(0, 0, 0, .75);
  font-size: 14px;
  display: flex;
  flex-direction: column;
  padding: 0 13px;
}
.yifang-room .yifang-under .under-left .information li .msg .orderID{
  height: 40px;
  width: 100%;
  height: 40px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
}
.yifang-room .yifang-under .under-left .information li .msg .orderMSG{
  display: flex;
  padding: 10px 0;
}
.yifang-room .yifang-under .under-left .information li .msg .orderMSG .msg-left{
  width: 60px;
  height: 60px;
}
.yifang-room .yifang-under .under-left .information li .msg .orderMSG .msg-left img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  overflow: hidden;
}
.yifang-room .yifang-under .under-left .information li .msg .orderMSG .msg-right{
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 1;
  margin-left: 10px;
}
.yifang-room .yifang-under .under-left .information li .msg .orderMSG .msg-right .msg-name{
  color: #000;
  font-size: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.yifang-room .yifang-under .under-left .information li .msg .orderMSG .msg-right .msg-num{
  color: #999;
  font-size: 12px;
  margin-top: 5px;
}
.yifang-room .yifang-under .under-left .information li .msg .orderMSG .msg-right .msg-price{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 5px;
  height: 19px;
}
.yifang-room .yifang-under .under-left .information li .msg .orderMSG .msg-right .msg-price .price{
  color: red;
  font-size: 14px;
}
.yifang-room .yifang-under .under-left .information li .msg .orderMSG .msg-right .msg-price .msg-detail{
  color: #1890ff;
  font-size: 12px;
  text-align: end;
  cursor: pointer;
}
.yifang-room .yifang-under .under-left .information li .user img{
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
  overflow: hidden;
}

.yifang-room .yifang-under .under-right{
  width: 260px;
  
}
.yifang-room .yifang-under .under-left .send{
  height: 162px;
  display: flex;
  flex-direction: column;
}
.yifang-room .yifang-under .under-left .send .content-left{
  display: flex;
  justify-content: space-between;
  height: 50px;
  padding: 0 20px;
  align-items: center;
  position: relative;
}
.yifang-room .yifang-under .under-left .send .content-left .left{
  display: flex;
  gap: 20px;
}
.yifang-room .yifang-under .under-left .send .send-content{
  display: flex;
  flex-direction: column;
  height: 50px;
  padding-left: 20px;
  padding-right: 20px;
}
.yifang-room .yifang-under .under-left .send .send-content .content-left{
  display: flex;
}
.yifang-room .yifang-under .under-left .send .send-content .content-left .smile,
.yifang-room .yifang-under .under-left .send .send-content .content-left .image{
  width: 22px;
  height: 22px;
  text-align: center;
  cursor: pointer;
}
.yifang-room .yifang-under .under-left .send .send-content .content-left .smile:hover,
.yifang-room .yifang-under .under-left .send .send-content .content-left .image:hover,
.yifang-room .yifang-under .under-left .send .send-content .content-right:hover{
  color: #1890ff;
}
.yifang-room .yifang-under .under-left .send .send-content .content-right{
  font-size: 15px;
  cursor: pointer;
}
.yifang-room .yifang-under .under-left .send .send-input{
  flex: 1;
}
.yifang-room .yifang-under .under-left .send .send-input textarea{
  resize: none;
  outline: none;
  width: 100%;
  height: 100%;
  border: none;
  padding-left: 20px;
  padding-right: 20px;
}
.yifang-room .yifang-under .under-left .send .send-input textarea::placeholder{
  font-size: 14px;
  color: #aaa;
}
.yifang-room .yifang-under .under-left .send .emit{
  height: 46px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 20px;
  padding-right: 20px;
}
.yifang-room .yifang-under .under-left .send .emit button{
  width: 68px;
  height: 26px;
  background-color: #ccc;
  border: none;
  border-radius: 3px;
  color: #fff;
  font-size: 13px;
}

.yifang-room .yifang-under .under-left .send .content-left .left .yf-ic_expression,
.yifang-room .yifang-under .under-left .send .content-left .left .yf-a-ic_picture1{
    color: #333;
    line-height: 1;
    width: 22px;
    height: 22px;
    display: block;
    font-size: 22px;
    cursor: pointer;
}
.yifang-room .yifang-under .under-left .send .content-left .left .yf-a-ic_picture1:hover,
.yifang-room .yifang-under .under-left .send .content-left .left .yf-ic_expression:hover,
.yifang-room .yifang-under .under-left .send .content-left .content-right:hover{
  color: #1890ff;
}
.yifang-room .yifang-under .under-left .send .content-left .emile{
  display: flex;
  width: 390px;
  background-color: #fff;
  border: 1px solid #ececec;
  position: absolute;
  left: 5px;
  bottom: 55px;
  box-shadow: 1px 0 16px 0 rgba(0, 0, 0, .05);
  padding-bottom: 10px;
  height: 240px;
  display: none;
}