.floatRight { // float: right; } // 淡化文字 .desalinate { font-size: 12px; font-weight: 400; color: #666; } .redWord { font-weight: normal; color: red; } //图片居中对齐 img { vertical-align: middle; } //按钮选中颜色 .buleBtn { background: #24A9FF!important; } .bgcWhite { background: #fff!important; } p { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .relative { position: relative; } .wordColor { color: #51d9ca; } .displayFlex { display: flex; justify-content: space-between; } .noScroll { overflow: hidden; } .vantLoadingBox { position: relative; width: 100%; } .vantLoading { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); } .van-toast { // font-size: 12px !important; width: 70% !important; } // 字体导入 @font-face { font-family: "ALi Regular"; src: // 数黑体 url("../assets/fonts/Alimama_ShuHeiTi_Bold.woff2") format("woff2"), url("../assets/fonts/Alimama_ShuHeiTi_Bold.woff") format("woff"), url("../assets/fonts/Alimama_ShuHeiTi_Bold.ttf") format("ttf"), } * { font-family: "ALi Regular","Heiti", "Simsun", "Helvetica Neue", Helvetica, Arial, sans-serif; } @media screen and (max-width: 320px) { /* 根据实际情况修改字体大小和元素宽度 */ html { // -webkit-text-size-adjust: none !important; // font-size: 8px; .floatRight { margin-left: 5px!important; } .moveLayer { img { display: none; } } .listItemBr { display: none; } } }