page { background: #F5F5F5; background: #F5F5F5; } .container { padding: 40rpx 30rpx; background: #F5F5F5; margin-top: -10px; border-radius: 10px 10px 0px 0px; } .container::-webkit-scrollbar { display: none; } .linear-mask { position: fixed; bottom: 0; right: 0; width: 100%; height: 50%; background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0)); pointer-events: none; opacity: 1; transition: ease all 0.3s; z-index: 2; } .mask-hidden { opacity: 0; } .mall-logo { position: fixed; bottom: 15px; right: 25px; width: 80px; height: auto; pointer-events: none; z-index: 999; } .search-con { position: fixed; bottom: 0; right: 0; width: 100%; height: 100%; background: rgba(255, 255, 255, 0.8); z-index: 9999; } .no-record { width: calc(100% - 80rpx); margin: 40rpx 0 0 60rpx; } .sc-con { width: calc(100% - 80rpx); line-height: 60rpx; height: 60rpx; border: 1px solid #808080; border-radius: 30rpx; margin: 20rpx 0 0 40rpx; background: #fff; position: relative; } .sc-con input { width: 90%; background: none; border: none; padding-left: 30rpx; font-size: 24rpx; color: #000; line-height: 40rpx; height: 56rpx; } .sc-con image { width: 40rpx; height: 40rpx; display: inline-block; position: absolute; top: 50%; transform: translateY(-50%); right: 20rpx; } .header { background-color: #fff; /* padding-left: 46rpx; padding-right: 46rpx; */ margin-top: 0; padding: 12rpx 0 22rpx; left: 30rpx; } .fixed { position: fixed; padding-left: 30rpx; padding-right: 30rpx; left: 0; width: 100vw; z-index: 999; } .header .ul { display: flex; align-items: baseline; overflow-x: auto; overflow-y: hidden } .header .ul .li { flex: 0 0 auto; text-align: center; color: #131D34; font-size: 30rpx; font-weight: bold; padding: 10rpx; } .header .ul .li:not(:last-child) { margin-right: 42rpx; } .header .ul .li image { width: 80rpx; height: 80rpx; margin-bottom: 14rpx; display: block; } .header .ul .active { font-size: 36rpx; position: relative; } .header .ul .active text { z-index: 2; position: relative; } .header .ul .active::after { content: ''; position: absolute; bottom: 10rpx; left: 0; right: 0; height: 20rpx; background: linear-gradient(90deg, #ED5D18 0%, rgba(237, 93, 24, 0) 100%); border-radius: 10px; z-index: 1; } .search { /* margin: 0 46rpx; */ position: relative; /* box-shadow: 0 2px 2px #fff; */ z-index: 99; height: 80rpx; border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 4px; background: #fff; } .search view:not(.clear) { background: none; width: 80%; border: none; padding-left: 20rpx; font-size: 24rpx; color: #fff; line-height: 24rpx; vertical-align: middle; } .search input { box-sizing: border-box; color: rgba(0, 0, 0, 0.3); height: 100%; width: 100%; padding: 0 70rpx 0 70rpx; position: relative; z-index: 999; border-radius: 4px; font-size: 14px; border: none; } .search .icon { width: 28rpx; height: 28rpx; display: inline-block; position: absolute; top: 50%; transform: translateY(-50%); left: 28rpx; } .clear { width: 30px; height: 30px; display: inline-block; position: absolute; top: 50%; transform: translateY(-50%); right: 4px; padding: 10px; z-index: 9999999; } .clear image { display: block; width: 100%; height: 100%; } .body { z-index: 11; position: relative; padding: 0 0 22rpx; overflow: hidden; width: 100%; font-size: 0; } .body::-webkit-scrollbar { display: none } .body .ul { position: relative; width: 100%; font-size: 0; z-index: 1; overflow: hidden; } .body .li { padding: 20rpx 30rpx; margin-bottom: 20rpx; background: #FFFFFF; box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.1); border-radius: 4px; display: flex; } .ctp { flex: none; position: relative; border-radius: 4px; overflow: hidden; } .ctp image:not(.icon){ width: 160rpx; height: 160rpx; } .ctp .icon { right: 6px; bottom: 6px; width: 20px; height: 20px; position: absolute; } .body .li .count { position: absolute; width: 90rpx; height: 28rpx; background: rgba(0, 0, 0, 0.3); opacity: 1; border-radius: 14rpx; right: 22rpx; top: 288rpx; font-size: 18rpx; font-weight: 400; /* line-height: 28rpx; */ color: #fff; text-align: center; padding: 7rpx; padding-left: 31rpx; line-height: 20rpx; overflow: hidden; box-sizing: border-box; } .body .li .count image { position: absolute; left: 0; top: 0; width: 24rpx; height: 14rpx; left: 7rpx; top: 8rpx; } .item-content { padding-left: 20rpx; display: flex; flex-direction: column; justify-content: space-around; flex: none; width: calc(100% - 180rpx); } .body .li .b-title { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; } .body .li .b-title text:nth-child(1) { font-size: 16px; font-weight: 500; color: #333333; line-height: 22px; text-overflow:ellipsis; white-space:nowrap; display: block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; } .body .li .b-title view:nth-child(2) { line-height: 20px; overflow:hidden; text-overflow:ellipsis; display: block; white-space:nowrap; display: flex; align-items: center; overflow:hidden; } .body .li .b-title view:nth-child(2) text { overflow: hidden; text-overflow: ellipsis; font-size: 14px; font-weight: 400; color: #646566; white-space: nowrap; display: block; } .body .li .b-title view image { height: 14px; width: 14px; flex: none; margin-right: 5px; } .body .li .b-info { margin-top: 16rpx; display: flex; align-items: center; justify-content: space-between; } .body .li .b-info text { font-size: 11px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #969799; line-height: 16px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .loading image { content: ''; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 15px; height: 15px; box-sizing: border-box; animation: example 1s linear infinite; } /* 动画代码 */ @keyframes example { from {transform: translate(-50%, -50%) rotateZ(0);} to {transform: translate(-50%, -50%) rotateZ(360deg);} } .item-content { flex: 1; } .loadText { position: relative; height: 80rpx; font-size: 12px; color: rgb(160,160,160); text-align: center; margin-top: 20px; } .body .li .b-info view { /* width: 50%; */ } .body .li .b-info view:first-child text{ text-align: left; } .body .li .b-info view:last-child text{ text-align: right; } .body .li .b-info text.xxxx { color: #FF7701; } .body .li .b-info text:nth-child(2) { margin-left: 12rpx; } .unbrand { margin-top: 180rpx; text-align: center; } .unbrand image { display: inline-block; width: 250rpx; height: 274rpx; } .unbrand .text { color: #666C7D; font-size: 30rpx; margin-top: 40rpx; } .banner { margin: 16rpx 0 38rpx; position: relative; } .banner swiper { height: 296rpx; } .banner .swiper-item image, .banner .swiper-item { width: 100%; height: 100%; } .banner .swiper-item { border-radius: 4px; overflow: hidden } .dots { position: absolute; bottom: 8rpx; left: 50%; transform: translateX(-50%); z-index: 2; } .dots view { display: inline-block; width: 4px; height: 4px; background: #FFFFFF; border-radius: 2px; opacity: 0.5; margin: 0 4rpx } .dots view.dotactive { width: 8px; opacity: 1; } .hotcateg { margin-bottom: 40rpx; } .hotcateg .title { font-size: 30rpx; font-weight: bold; line-height: 44rpx; color: #131D34; margin-bottom: 14rpx; padding: 0 46rpx; } .hotcateg .swiper-item { margin: 0 10rpx; position: relative; border-radius: 4px; overflow: hidden; width: calc(100% - 20rpx); height: 100%; } .hotcateg .swiper-item image { width: 100%; height: 100%; } .hotcateg .swiper-item view { position: absolute; bottom: 0; left: 0; right: 0; padding: 8rpx 24rpx; font-size: 22rpx; color: #fff; background-color: rgba(0, 0, 0, 0.4); text-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16); } .bgimg { position: fixed; left: 0; top: 0; width: 100vw; height: 690rpx; z-index: -9; } .bgimg image { width: 100%; height: 100%; } .page-title { position: fixed; box-sizing: content-box; padding-right: 32rpx; padding-left: 30rpx; font-size: 32rpx; left: 0; top: 0; width: 100vw; overflow: hidden; display: flex; align-items: center; z-index: 99; background-size: 100vw 690rpx; background-position: 0 0; } .page-title navigator { display: block; max-width: 65%; display: flex; align-items: center; } .page-title navigator text { display: block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; } .search-layer { position: fixed; left: 0; right: 0; height: 69px; z-index: 99; padding: 10px 15px 30px; background-size: 100vw 690rpx; } .page-title image { flex: 0 0 auto; background: rgb(180, 180, 180); width: 30px; height: 30px; border-radius: 50%; margin-right: 10rpx; vertical-align: top; } .page-title text { position: relative; color: #fff; z-index: 1; display: inline-block; font-size: 18px; font-family: PingFangSC-Semibold, PingFang SC; font-weight: 600; color: #FFFFFF; line-height: 25px; } .zxczxc { position: absolute; left: 0; width: 100%; display: flex; flex-direction: column; }