/* #ifdef H5 */ body { background: #333 !important; } page { min-height: 100%; } a { text-decoration: none; } /** * 页面宽度最大800px、并居中 */ page, iframe, .uni-page-head, .uni-tabbar, .open-location, .home-top-nav-content, .search-content-fixed, .trn-nav-top, .goods-buy-nav, .popup-bottom, .popup-top, .quick-movable-container, .online-service-movable-container, .bottom-fixed, .buy-nav, .plugins-popupscreen .content, .cart-buy-nav { max-width: 800px !important; margin: 0 auto !important; } .trn-nav-top, .goods-buy-nav, .nav-more-view, .quick-movable-container, .online-service-movable-container, .buy-nav, .cart-buy-nav { left: auto !important; } iframe, .bottom-fixed { right: 0 !important; } .web-html-content iframe { width: 100% !important; max-height: 500rpx !important; } /** * 隐藏导航栏内容、仅展示返回按钮 */ uni-page-head { position: absolute; margin-top: -999999px; z-index: 99; } .uni-page-head-bd { display: none !important; } .uni-page-head-btn { position: fixed; left: auto; bottom: 70px; background: rgba(0, 0, 0, 0.6); box-shadow: 0 0 10px rgb(0 0 0 / 30%); margin: 0 0 0 10px; border-radius: 50px; width: 31px; height: 31px; text-align: center; padding: 2px 3px 0 0; } .uni-page-head-btn .uni-btn-icon { color: #fff !important; } .uni-app--showtabbar uni-page-wrapper, uni-page-head[uni-page-head-type=default]~uni-page-wrapper { height: calc(100% - var(--window-bottom)) !important; } /* #endif */ /** * 公共样式、框架样式覆盖 */ page { background: #f5f5f5; color: #4a4a4a; } input[type="text"], input[type="number"], input[type="idcard"], input[type="digit"], textarea { -webkit-appearance: none; border-radius: 5px; box-sizing: border-box; } page, textarea, .a-textarea-control textarea { font-size: 28rpx; } button:after, button:before { border: 0; border-radius: 0; } /** * 模块分割间距 */ .spacing { padding-top: 20rpx; } .spacing-10 { padding-top: 10rpx; } .spacing-mb { margin-bottom: 20rpx; } .spacing-mt { margin-top: 20rpx; } /** * 常用样式 */ .max-w { max-width: 100%; } .max-h { max-height: 100%; } .min-w { min-width: 100%; } .min-h { min-height: 100%; } .fl { float: left; } .fr { float: right; } .wh-auto { width: 100% !important; } .ht-auto { height: 100% !important; } .tc { text-align: center; } .tl { text-align: left; } .tr { text-align: right; } .oh { overflow: hidden; } .dis-none { display: none !important; } .dis-block { display: block !important; } .dis-inline { display: inline !important; } .dis-inline-block { display: inline-block !important; } .va-m { vertical-align: middle; } .pf { position: fixed; } .pa { position: absolute; } .pr { position: relative; } .bs-bb { box-sizing: border-box; } .radius-0 { border-radius: 0 !important; } .radius { border-radius: 10rpx !important; } .round { border-radius: 50rpx !important; } .circle { border-radius: 50% !important; } .fw-b { font-weight: bold; } .auto { margin: 0 auto; } .lh-0 { line-height: 0 !important; } .cp { /* #ifdef H5 */ cursor: pointer; /* #endif */ } /** * 透明度 */ .opacity-min { opacity: 0.3; } .opacity { opacity: 0.5; } .opacity-max { opacity: 0.8; } /** * 底部浮动 */ .bottom-fixed { position: fixed; left: 0; bottom: 0; border: none; width: 100%; box-sizing: border-box; z-index: 2; } /** * 页面底部浮动、增加底部边距 */ .page-bottom-fixed { padding-bottom: 120rpx !important; } /** * 主要类样式 */ .margin-main { margin: 20rpx; } .margin-top-main { margin-top: 20rpx; } .margin-right-main { margin-right: 20rpx; } .margin-bottom-main { margin-bottom: 20rpx; } .margin-left-main { margin-left: 20rpx; } .margin-horizontal-main { margin-left: 20rpx; margin-right: 20rpx; } .margin-vertical-main { margin-top: 20rpx; margin-bottom: 20rpx; } .padding-main { padding: 20rpx; } .padding-top-main { padding-top: 20rpx; } .padding-right-main { padding-right: 20rpx; } .padding-bottom-main { padding-bottom: 20rpx; } .padding-left-main { padding-left: 20rpx; } .padding-horizontal-main { padding-left: 20rpx; padding-right: 20rpx; } .padding-vertical-main { padding-top: 20rpx; padding-bottom: 20rpx; } .border-radius-main { border-radius: 20rpx; } .border-radius-left-main { border-top-left-radius: 20rpx; border-bottom-left-radius: 20rpx; } .border-radius-right-main { border-top-right-radius: 20rpx; border-bottom-right-radius: 20rpx; } /** * 价格 */ .sales-price { color: #f40; font-weight: bold; font-size: 28rpx; } .original-price { color: #999; font-size: 24rpx; text-decoration: line-through; } /** * 边框 灰色(四边)、红色、黄色、绿色、灰色、无边线 */ .br { border: 1px solid #f7f7f7 !important; } .br-b { border-bottom: 1px solid #f7f7f7 !important; } .br-t { border-top: 1px solid #f7f7f7 !important; } .br-l { border-left: 1px solid #f7f7f7 !important; } .br-r { border-right: 1px solid #f7f7f7 !important; } .br-red { border:1px solid #f00 !important; } .br-yellow { border: 1px solid #f6c133 !important; } .br-green { border: 1px solid #1AAD19 !important; } .br-gray { border: solid 1px #d6d6d6 !important; } .br-blue { border: solid 1px #2196F3 !important; } .br-0 { border: 0 !important; box-shadow: none; } /** * 虚线边框、灰色(四边)、红色、黄色、绿色、灰色 */ .br-dashed { border: dashed 1px #f7f7f7 !important; } .br-b-dashed { border-bottom: dashed 1px #f7f7f7 !important; } .br-t-dashed { border-top: dashed 1px #f7f7f7 !important; } .br-l-dashed { border-left: dashed 1px #f7f7f7 !important; } .br-r-dashed { border-right: dashed 1px #f7f7f7 !important; } .br-dashed-red { border: dashed 1px #f00 !important; } .br-dashed-yellow { border: dashed 1px #f6c133 !important; } .br-dashed-green { border: dashed 1px #1AAD19 !important; } .br-dashed-gray { border: dashed 1px #d6d6d6 !important; } /** * 统一颜色 * 文本基础色、白色、黑色、灰色、浅灰色、红色、黄色、绿色、蓝色 */ .cr-base { color: #666 !important; } .cr-white { color: #fff !important; } .cr-black { color: #000 !important; } .cr-gray { color: #888 !important; } .cr-grey { color: #9A9A9A !important; } .cr-grey-white { color: #e7e7e7 !important; } .cr-red { color: #f00 !important; } .cr-yellow { color: #f6c133 !important; } .cr-green { color: #1AAD19 !important; } .cr-blue { color: #2196F3 !important; } /** * 统一背景色 * 白色、绿色、红色、黄色、灰色 */ .bg-white { background-color: #fff !important; } .bg-green { background-color: #1AAD19 !important; } .bg-red { background-color: #E64340 !important; } .bg-yellow { background-color: #f6c133 !important; } .bg-gray { background-color: #d6d6d6 !important; } .bg-base { background-color: #f5f5f5 !important; } .bg-blue { background-color: #2196F3 !important; } button[disabled].bg-white { background-color: #fdfdfd !important; color: #ccc !important; } button[disabled].bg-green { background-color: #94de94 !important; color: #d5f5d5 !important; } button[disabled].bg-red { background-color: #ffbaba !important; color: #ffdfdf !important; } button[disabled].bg-yellow { background-color: #fff1cb !important; color: #fbd777 !important; } button[disabled].bg-gray { background-color: #ececec !important; color: #ababab !important; } /** * 兼容底部横线底部内边距 */ .bottom-line-exclude { padding-bottom: calc(env(safe-area-inset-bottom) - 40rpx); } /** * 表单 */ .form-container .form-gorup { padding: 20rpx; margin-bottom: 20rpx; border-radius: 20rpx; } .form-container .form-gorup .form-gorup-item-left { float: left; padding-right: 20rpx; } .form-container .form-gorup .form-gorup-item-right { float: right; padding-left: 20rpx; border-left: 1px solid #f7f7f7; } .form-container .form-gorup .form-gorup-item-left, .form-container .form-gorup .form-gorup-item-right { width: calc(50% - 20rpx - 1px); } .form-container .form-gorup-submit { padding: 20rpx 0; } .form-container .form-gorup:not(.form-gorup-submit) { background: #fff; } .form-container .form-gorup-title { margin-bottom: 5rpx; font-weight: 500; } .form-container .form-group-tips, .form-container .form-group-tips-must { margin-left: 20rpx; font-size: 24rpx; color: #ccc; } .form-container .form-group-tips-must { color: #f00; } .form-container .form-gorup input, .form-container .form-gorup textarea, .form-container .form-gorup .picker { border-radius: 0; width: 100%; box-sizing: border-box; font-size: 28rpx; } .form-container .form-gorup input, .form-container .form-gorup .picker, .form-container .form-gorup .radio-gorup { height: 70rpx; line-height: 70rpx; } .form-container .form-gorup textarea { padding: 0; height: 150rpx !important; margin-top: 20rpx; } .form-container .form-gorup-text { padding: 20rpx 10rpx; } .form-container .form-gorup .switch { margin: 30rpx 0 20rpx 0; } .form-container .form-gorup .radio-gorup .radio radio { transform: scale(0.7); } .form-container .form-gorup .radio-gorup .radio:not(:last-child) { margin-right: 50rpx; } /** * 表单图片上传 */ .form-container-upload .form-gorup-title { margin-bottom: 20rpx; } .form-container-upload .form-upload-data .item { margin: 10rpx 10rpx 0 0; position: relative; } .form-container-upload .form-upload-data .delete-icon { position: absolute; top: 0; right: 0; color: #e5e5e5; background-color: #d9534f; padding: 5rpx 18rpx; font-size: 36rpx; border: 1px solid #eee; border-radius: 50rpx; line-height: 44rpx; z-index: 1; } .form-container-upload .form-upload-data image { width: 150rpx; height: 150rpx; padding: 5rpx; border: 1px solid #eee; display: block; border-radius: 10rpx; } .form-container-upload .upload-icon { margin-top: 10rpx; width: 160rpx; height: 160rpx; border: 1px dashed #e9e9e9; display: block; border-radius: 10rpx; } /** * 通知、公告 */ .notice-content { background: #ffffeb url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAKN0lEQVR4Xu1beZAcZRX/vZ7NTn9DWJAjQKIYpKRSoqJCuHJMLwkQNjvdJEoIIMHSotRgIaIErJICpDwoCBYUFKApwYgp2Jhjejabg4Tt3oTEKkhREg4NxVUqQjgEEqZ7j+ln9exOT3dPz/bsJrs7hPSf813v/b7fe+/73vuG8Cn/6FOuPw4BcIgBY4xAT3vz6QXHuVCSSE+2Gs+PtjhjZgLcdknClvc8DNCVRaWZ90oSnZnMGP8YTRDGBADOnTfJdpxlIMwJKMv8R6GZ3zuoAchnm6eBHJ1AR4UVZWY9pZnaQQuAnW2ey3BWgkhEKcngXEo11YMOAGZIVk65npjvAJFUTcFaGWDpM08CS0tAfCKDbk+pxt+GC9qI+wBrjTKZE/w4gc6sEJJ5N4hOKf1eKwMsXdkMYNbAuD4Gfp5SjbuGA8KIAtCdS89zHFoOwvgIe19JxDcC0qseADX6AEtXXgIwxT8nA+0i2biQLtz08VCAGBEAuO3URit57FIi/KhSGGaAbhaq8SveMOMEuyfxZpkBaE+pRiZOASurfBvEywEKyM/ATlHAbJpnfBA3R6n9gAPQT3msJeC0CMq7sX5RMmOsLYb+EABgrBOa0VqL8PZaZbYj8QoCHRsKpS/Khd5mmr99Ty3zHFAAijsDPBBFeTDvArEm1K7XvB0fJgO88euU4+0CVgKYHlSWd8gZczoRnDgQagKAOxXZ3oezq01GjPHMfA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UrChIujH1bwy5LEWri8zRVhMOgEa1wWVnt6Bhxy7/w+h80vycnk1LhXYzU9kalVEGaQlVN+SozfhnbCdWF5CdLlSbUz64W5ypxgIAzWsq6dm9nCLK32H5AYeAsNmJpqMdzS2KDfAQWgtJJLR3awlghHB1d3q7S4vVTJGajflUtjoXPAYJIPlM7dx5GBx9XM+KAhQbMbWzt3xinvto8IAO7E7nM5SLzR/xK07JnxmNyEK5HHMYEXIsxVj8J+ZdzzARxpFQGByrVbzk9IlB7Kk/sRA8AVmJ+YfYSd73schIqKL8DrielaJrzsC1k1AWDpyi4AoToAv4oCzRLzDPeJT83fiAJQBKHtkoQl77mbQNdWSMV4JXBcjbkNeiamh0I1Y53chIXUbOyrWfOBjiMOQEkgO5v+IRPuDz9vDQhcIwDFAinzUoAmMuG24T6UHlEfELUTxSIFO20gaqyyU7EJkaHucFz/UWNAIEIwu/8Y6U9TBb+DHwBXX7t9+he4kFhfGSGin8jE7eL+tI86A0rCFiOE1dfuf+gsEc9PZkw36zNq35gB0B8hzhF2MvkHECYx4cFwvm40UBhTAEZDwbg1DgEQh9DB3v5/c3FujBE8RpQAAAAASUVORK5CYII=') no-repeat 20rpx 12rpx; background-size: 34rpx; color: #ffa106; border: 1px solid #faebd2; line-height: 38rpx; padding: 10rpx 20rpx 10rpx 66rpx; font-size: 26rpx; border-radius: 20rpx; } .notice-content-blue { background: #def2fd; border: 1px solid #cfeeff; color: #1490d2; padding: 10rpx 20rpx; font-size: 26rpx; border-radius: 22rpx; } /** * 箭头符号 */ .arrow-right { background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAA+klEQVRYR+3WsWrDMBAG4P/eotCQLlk73UGfq6O3BgLNEsg7JQQPZ7ADfos8gAeBijYTAsnpREJBXmX0f/7RCRNe/NCL81EBtYH/1YCq/gK4iMiu1PSYGlDVloi+AOyZ+bsEwgQYx/FtmqYDgFUphAmQvniOiDFuRaTxNGEGlEZkAWaIFsCHp4lsQEIMw7AIIRw9CBfgGgFgzcw/ljPhBtxoohGR7aOIIoC+799DCCciWsYYnwvwhKeWXA14w12AEuHZgFLhWYCS4WbAPDxn5m+NpukQquqZiD49V+81wgToum6TfkiYef/oRXPvPRPg3mY56xVQG6gN/AEiuagh/yEjYQAAAABJRU5ErkJggg=='); background-size: 38rpx 38rpx; background-repeat: no-repeat; background-position: center right; } .arrow-bottom { background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABRklEQVRYR+2UsUrFMBSGT9LBN3AQR4vQNO0gPoA6Cy5XZ1ddfZbr6nwdXFwVH8AlJacg2cTFN7BLjkQQwtW2STvcJRlL8/8fX3LCYMOLbbgfEkAykAwkA4MGEHEhhLif81gZY3bzPP/oy+gFQMSCiJCIjqSUL1MgjDFbXdd9AcB1WZbL/zIGDWitVwCwmAKhlNrOsuyTMYYAcC6EaKMB3IZfCMbYiRDiOcQEIu4RkRkrd1lBU+CZOJVSPg5BNE1zwDl/DSkPBvBNENGFlNIdzZ+FiMdE9BRaHgXgQ1hrL6uquvMJ2rY9s9Y+xJRHA/gQnPOroihu3Tc3rkS0ii2fBLB2MW8A4H1q+WQAH+InZGTUhi5t0BT0BWitDQDsMMYO++Z8bGxnAbhwpdR+XddvY0XRT/HUwNh9sw3EFq7/nwCSgWQgGfgGWR6PIRYTYskAAAAASUVORK5CYII='); background-size: 38rpx 38rpx; background-repeat: no-repeat; background-position: center right; } /** * 信息提示、加载页面图片 */ .data-loding image { width: 120rpx; height: 120rpx; background-size: 80% 80% !important; } /** * 元素漂出可视页面 */ .drift { position: fixed; left: -1000px; } /** * 导航分割 */ .spacing-nav-title { height: 80rpx; line-height: 80rpx; } .spacing-nav-title .text-wrapper { display: inline-block; font-size: 36rpx; font-weight: bold; color: #333; } /** * 关键字标签展示 */ .word-list .word-icon:not(:last-child) { margin-right: 20rpx; } .word-list image { max-width: 100%; margin: 0 auto; } /** * 文字超出部分使用省略号 */ .single-text { -o-text-overflow: ellipsis; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; max-width: 100%; } .multi-text { max-width: 100%; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-height: 76rpx; line-height: 38rpx; font-size: 28rpx; white-space: initial; } /** * 基础导航 */ .nav-base { height: 80rpx; line-height: 80rpx; } .nav-base .item { /* #ifdef H5 */ cursor: pointer; /* #endif */ } /** * 滚动标签高度 */ .scroll-box { height: 100vh; } /** * 存在基础导航 */ .scroll-box-ece-nav { height: calc(100vh - 80rpx); } /** * 滚动水平左右滑动 */ .scroll-view-horizontal { white-space: nowrap; box-sizing: border-box; width: 100%; } /** * 滚动水平左右滑动内容宽度处理 */ .rolling-horizontal .scroll-view-horizontal { width: calc(100% + 20rpx); } /** * 公共操作栏按钮样式 */ .item-operation button:not(:first-child) { margin-left: 20rpx; } .item-operation button { padding: 0 35rpx; height: 58rpx; line-height: 58rpx; display: inline-flex; } /** * 单页预览 */ .single-page-top { padding-top: 110rpx; } /** * 上一篇、下一篇 */ .last-next-data navigator { width: calc(100% - 120rpx); } /** * 商品列表 */ .goods-list .cart-badge-icon { top: -18rpx; right: 8rpx; } .goods-list .right-cart-icon { bottom: 8rpx; right: 20rpx; } .goods-list .error-msg { position: absolute; top: 0; left: 0; background: rgb(253 253 253 / 60%); z-index: 1; filter: blur(0.3px); } .goods-data-grid-list .item .error-msg, .goods-data-rolling-list .item .error-msg { border-bottom-left-radius: 0 !important; border-bottom-right-radius: 0 !important; } /** * 商品列表 - 列表 */ .goods-data-list .error-msg, .goods-data-list .goods-img { width: 190rpx !important; height: 190rpx !important; } .goods-data-list .base { width: calc(100% - 220rpx); } .goods-data-list .base .base-bottom { bottom: 20rpx; right: 20rpx; width: calc(100% - 260rpx); } .goods-data-list .error-msg { top: 20rpx; left: 20rpx; line-height: 190rpx; } /* * 商品列表 - 滚动 */ .goods-data-rolling-list swiper { height: 390rpx !important; } .goods-data-rolling-list .item .error-msg, .goods-data-rolling-list .item .goods-img { height: 240rpx !important; } .goods-data-rolling-list .item .error-msg { line-height: 240rpx; } /** * 商品列表 - 九方格 */ .goods-data-grid-list .item { width: calc(50% - 10rpx); float: left; padding-bottom: 10rpx; margin-bottom: 20rpx; } .goods-data-grid-list .item:nth-of-type(2n + 1) { margin-right: 10rpx; } .goods-data-grid-list .item:nth-of-type(2n) { margin-left: 10rpx; } .goods-data-grid-list .item .error-msg, .goods-data-grid-list .item .goods-img { height: 380rpx !important; } .goods-data-grid-list .item .error-msg { line-height: 380rpx; }