@charset "UTF-8"; /** *相关初始化 */ /*重置uni-checkbox样式开始*/ uni-checkbox .uni-checkbox-input{ border-radius: 50% !important; } uni-checkbox .uni-checkbox-input:hover { border-color: #FE5261 !important; } uni-checkbox .uni-checkbox-input.uni-checkbox-input-checked{ background-color: #FE5261 !important; border: 1px solid #FE5261 !important; color: #fff !important; } checkbox .wx-checkbox-input { border-radius: 50% !important; } checkbox .wx-checkbox-input:hover { border-color: #FE5261 !important; } checkbox .wx-checkbox-input.wx-checkbox-input-checked { background-color: #FE5261 !important; border: 1px solid #FE5261 !important; color: #fff !important; } /*重置uni-checkbox样式结束*/ .font-color-lightred{ color:#FE5261 !important; } .font-color-white{ color: #fff !important; } .font-color-red { color: #FE5261 !important; } .font-color-green{ color: #00c17b !important; } .bg-color-lightred{ background-color:#FE5261 !important; } .bg-color-green{ background-color: #00c17b !important; } .bg-color-red { background-color: #FE5261 !important; } .nav-bg-color-red{ background-color: #FE5261 !important; } .icon-color { color: #FE5261; } .cart-color { color: #FE5261 !important; border: 1px solid #FE5261 !important; } /* padding20 */ .padding20 { padding: 0.2*100rpx; } /* pad20 */ .pad20 { padding: 0 0.2*100rpx; } /* padding30 */ .padding30 { padding: 0.3*100rpx; } /*pad30 */ .pad30 { padding: 0 0.3*100rpx; } /* layout */ .acea-row { display: flex; flex-wrap: wrap; /* 辅助类 */ } .acea-row.row-middle { align-items: center; } .acea-row.row-top { align-items: flex-start; } .acea-row.row-bottom { align-items: flex-end; } .acea-row.row-center { justify-content: center; } .acea-row.row-right { justify-content: flex-end; } .acea-row.row-left { justify-content: flex-start; } .acea-row.row-between { justify-content: space-between; } .acea-row.row-around { justify-content: space-around; } .acea-row.row-column-around { flex-direction: column; justify-content: space-around; } .acea-row.row-column { flex-direction: column; } .acea-row.row-column-between { flex-direction: column; justify-content: space-between; } /* 上下左右垂直居中 */ .acea-row.row-center-wrapper { align-items: center; justify-content: center; } /* 上下两边居中对齐 */ .acea-row.row-between-wrapper { align-items: center; justify-content: space-between; } /* 轮播图 */ .slider-banner { position: relative; width: 100%; /* height:750rpx; */ overflow: hidden; } .slider-banner{ } .slider-banner .swiper-container { height: 100%; } .slider-banner image{ display: block; width: 100%; height: 100%; } .start { width: 1.22*100rpx; height: 0.3*100rpx; background-image: url("~@/static/images/start.png"); background-repeat: no-repeat; background-size: 1.22*100rpx auto; } .start.star5 { background-position: 0 0.03*100rpx; } .start.star4 { background-position: 0 -0.3*100rpx; } .start.star3 { background-position: 0 -0.7*100rpx; } .start.star2 { background-position: 0 -1.05*100rpx; } .start.star1 { background-position: 0 -1.4*100rpx; } .start.star0 { background-position: 0 -1.75*100rpx; } /* 单选框和多选框 */ .checkbox-wrapper { position: relative; } .checkbox-wrapper input { display: none; } .checkbox-wrapper .icon { position: absolute; left: 0; top: 50%; display: inline-block; width: 18px; height: 18px; border: 1px solid #cccccc; border-radius: 50%; transform: translate(0, -50%); } .checkbox-wrapper input:checked + .icon { background-color: #e93323; border-color: #e93323; background-image: url("/static/images/enter.png"); background-size: 0.21*100rpx 0.15*100rpx; background-repeat: no-repeat; background-position: center center; } .Loads { height: 0.8*100rpx; font-size: 0.25*100rpx; color: #000; } .Loads .iconfont { font-size: 0.3*100rpx; margin-right: 0.1*100rpx; height: 0.32*100rpx; line-height: 0.32*100rpx; } /*加载动画*/ @keyframes load { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } .loadingpic { animation: load 3s linear 1s infinite; } .loading { animation: load linear 1s infinite; } .page-v4{ background: #F5F5FA; } .bold{ font-weight: bold; } .tc{ text-align: center; } // flex布局 .flex { display: flex; } .flex-wrap { flex-wrap: wrap; } .flex-col { flex-direction: column; } .flex-0 { flex-shrink: 0; } .jc-start { justify-content: flex-start; } .jc-end { justify-content: flex-end; } .jc-center { justify-content: center; } .jc-around { justify-content: space-around; } .jc-between { justify-content: space-between; } .ai-start { align-items: flex-start; } .ai-end { align-items: flex-end; } .ai-center { align-items: center; }