| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140 |
- page {
- background: #f4f4f4;
- height: 100%;
- }
- .fixed-box{
- display: flex;
- justify-content: space-between;
- position: fixed;
- top: 0;
- left: 0;
- width: 100%;
- background: #fff;
- padding: 16rpx 24rpx;
- box-sizing: border-box;
- z-index: 9;
- }
- .fixed-box .fixed-item{
- font-weight: bold;
- font-size: 32rpx;
- color: #AAAAAA;
- }
- .fixed-box .fixed-item.active{
- color: #222222;
- position: relative;
- }
- .fixed-box .fixed-item.active::after{
- display: block;
- content: '';
- position: absolute;
- bottom: -12rpx;
- left: calc(50% - 20rpx);
- width: 40rpx;
- height: 8rpx;
- background: #006CE8;
- border-radius: 6rpx 6rpx 6rpx 6rpx;
- }
- image {
- width: 100%;
- height: 100%;
- }
- .container {
- height: auto;
- padding-bottom: 110rpx;
- }
- .swiper-con {
- position: relative;
- }
- .swiper {
- height: 750rpx;
- width: 100%;
- }
- .swiper image {
- height: 750rpx;
- width: 100%;
- }
- .video-container {
- position: relative;
- display: flex;
- flex-direction: column;
- width: 100%;
- height: 750rpx;
- justify-content: center;
- align-items: center;
- background: #000;
- z-index: 10;
- }
- .video-container video {
- display: block;
- width: 100%;
- }
- .play-btn {
- position: absolute;
- left: 50%;
- bottom: 8%;
- padding: 2rpx;
- background: rgba(255, 255, 255, 0.75);
- border-radius: 50rpx;
- color: #000;
- font-size: 24rpx;
- text-align: center;
- transform: translateX(-50%);
- display: flex;
- justify-content: space-between;
- align-items: center;
- z-index: 5;
- }
- .play-icon {
- width: 50rpx;
- height: 50rpx;
- }
- .play-text {
- padding-right: 10rpx;
- margin: 0 10rpx;
- }
- .video-stop {
- padding: 2rpx 8rpx;
- }
- .video-index {
- z-index: 15;
- }
- .content{
- padding: 24rpx;
- background: #F6F6F6;
- /* background: linear-gradient( 180deg, #FFFFFF 0%, #F6F6F6 100%); */
- border-radius: 32rpx 32rpx 0rpx 0rpx;
- margin-top: -20rpx;
- position: relative;
- z-index: 2;
- }
- /** 商品信息 */
- .prod-info {
- padding: 0 20rpx;
- position: relative;
- border-radius: 16rpx;
- }
- .tit-wrap {
- position: relative;
- line-height: 32rpx;
- /* padding-right: 104rpx; */
- text-align: justify;
- }
- .prod-tit {
- line-height: 46rpx;
- font-size: 32rpx;
- color: #222222;
- padding-right: 20rpx;
- font-weight: bold;
- }
- .tit-wrap .col {
- position: absolute;
- top: -90rpx;
- right: 0;
- width: 80rpx;
- color: #666;
- font-size: 24rpx;
- padding-left: 20rpx;
- text-align: center;
- }
- .tit-wrap .col image {
- display: block;
- margin: auto;
- width: 40rpx;
- height: 40rpx;
- }
- .tit-wrap .col::after {
- content: "";
- display: block;
- width: 1px;
- height: auto;
- background: #f1f1f1;
- position: absolute;
- top: 0;
- bottom: 5px;
- left: 0;
- }
- .sub-title{
- font-size: 24rpx;
- color: #AAAAAA;
- margin-top: 16rpx;
- }
- .sales-p {
- height: 44rpx;
- line-height: 44rpx;
- padding: 0 16rpx;
- background: #FFF5E9;
- border-radius: 8rpx 8rpx 8rpx 8rpx;
- border: 1rpx solid #BC9264;
- font-weight: bold;
- font-size: 24rpx;
- color: #BC9264;
- display: inline-block;
- margin-top: 20rpx;
- }
- .prod-price {
- font-size: 30rpx;
- height: 100rpx;
- line-height: 100rpx;
- }
- .price {
- color: #e43130;
- font-size: 26rpx;
- font-weight: 600;
- margin-right: 30rpx;
- font-size: 48rpx;
- }
- .price-num {
- font-size: 48rpx;
- font-weight: 600;
- /* font-weight: 400; */
- }
- .sales {
- color: #999;
- }
- .share-icon {
- position: absolute;
- right: 50rpx;
- top: 50rpx;
- background: none;
- line-height: 40rpx;
- border: none;
- outline: none;
- box-shadow: 0;
- padding: 0;
- }
- .share-icon::after {
- border: none;
- }
- .share-icon image {
- width: 60rpx;
- height: 60rpx;
- }
- .share-text {
- font-size: 26rpx;
- color: #999;
- line-height: 30rpx;
- }
- /* 积分商品价格 */
- .integral-prod-price {
- display: inline-block;
- padding: 10rpx 0 40rpx;
- color: #e43130;
- font-size: 30rpx;
- }
- /** end 商品信息 */
- /* 商品促销活动(优惠 */
- .discount {
- background: #fff;
- position: relative;
- margin-top: 20rpx;
- padding: 28rpx 100rpx;
- }
- .discount-con {
- display: flex;
- flex-direction: column;
- }
- .discount-item {
- display: flex;
- }
- .popup-discount {
- margin: 30rpx 0;
- }
- .popup-discount .discount-item {
- margin-bottom: 10rpx;
- padding-bottom: 8rpx;
- }
- .popup-discount .discount-item:last-child {
- padding-bottom: 8rpx;
- }
- .discount-tag {
- color: #e43130;
- font-size: 20rpx;
- border-radius: 4rpx;
- border: 2rpx solid #e43130;
- margin-right: 10rpx;
- padding: 0 6rpx;
- align-self: center;
- }
- .discount-content {
- font-size: 24rpx;
- flex: 1;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 1;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- /* 商品促销活动(优惠-end*/
- /**优惠券*/
- .coupon {
- padding: 28rpx 100rpx 14rpx 100rpx;
- background: #fff;
- position: relative;
- margin-top: 20rpx;
- }
- .discount .coupon-tit,
- .coupon .coupon-tit {
- position: absolute;
- display: inline-block;
- width: 60rpx;
- left: 20rpx;
- font-size: 24rpx;
- top: 28rpx;
- line-height: 36rpx;
- color: #999;
- }
- .coupon-con .item {
- position: relative;
- display: inline-block;
- vertical-align: top;
- padding: 0 18rpx;
- background: #e43130;
- height: 36rpx;
- line-height: 36rpx;
- color: #fff;
- font-size: 22rpx;
- margin: 0 16rpx 16rpx 0;
- font-family: arial;
- }
- .coupon-con .item:before,
- .coupon-con .item:after {
- content: "";
- display: block;
- width: 0;
- height: 0;
- position: absolute;
- top: 0;
- border: 18rpx solid transparent;
- }
- .coupon-con .item:before {
- left: 0;
- border-left: 4rpx solid #fff;
- }
- .coupon-con .item:after {
- right: 0;
- border-right: 4rpx solid #fff;
- }
- .coupon .num {
- position: absolute;
- right: 80rpx;
- width: 80rpx;
- top: 28rpx;
- text-align: right;
- font-size: 24rpx;
- color: #999;
- line-height: 36rpx;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- font-family: arial;
- }
- .more {
- position: absolute;
- right: 20rpx;
- width: 60rpx;
- top: 10rpx;
- text-align: right;
- font-size: 40rpx;
- color: #999;
- letter-spacing: 1px;
- }
- /* 已选 */
- .sku {
- padding: 20rpx;
- background: #fff;
- margin-top: 20rpx;
- position: relative;
- line-height: 48rpx;
- }
- .sku-tit {
- position: absolute;
- display: inline-block;
- width: 60rpx;
- left: 20rpx;
- font-size: 24rpx;
- top: 20rpx;
- color: #999;
- }
- .sku-con {
- margin: 0 80rpx;
- white-space: nowrap;
- text-overflow: ellipsis;
- overflow: hidden;
- font-size: 28rpx;
- font-weight: bold;
- }
- /** 评价*/
- .cmt-wrap {
- background: #fff;
- margin-top: 20rpx;
- position: relative;
- line-height: 48rpx;
- }
- .cmt-tit {
- font-size: 32rpx;
- position: relative;
- border-bottom: 1px solid #ddd;
- padding: 20rpx;
- display: flex;
- justify-content: space-between;
- }
- .cmt-t {
- font-size: 32rpx;
- color: #222222;
- font-weight: bold;
- }
- .cmt-good {
- color: #FF4D3A;
- font-size: 24rpx;
- }
- .cmt-count {
- position: absolute;
- right: 20rpx;
- top: 20rpx;
- font-size: 24rpx;
- color: #666;
- }
- .cmt-more {
- width: 10rpx;
- height: 10rpx;
- border-top: 2rpx solid #FF4D3A;
- border-right: 2rpx solid #FF4D3A;
- transform: rotate(45deg);
- margin-left: 10rpx;
- display: inline-block;
- }
- .cmt-cont {
- padding: 0 20rpx;
- }
- .cmt-tag {
- position: relative;
- padding: 14px 3px 0 0;
- margin: 0;
- border-radius: 8rpx;
- }
- .cmt-tag text {
- margin: 0 6px 10px 0;
- background: #F0F0F0;
- display: inline-block;
- padding: 0 10px;
- height: 25px;
- border-radius: 3px;
- line-height: 25px;
- font-size: 12px;
- font-family: -apple-system, Helvetica, sans-serif;
- color: #666;
- }
- .cmt-tag text.selected {
- color: #fff;
- background: #006CE8;
- }
- .cmt-item {
- position: relative;
- padding: 10px 0;
- }
- .cmt-item::after {
- content: "";
- height: 0;
- display: block;
- border-bottom: 1px solid #ddd;
- position: absolute;
- left: 0;
- right: 0;
- bottom: 0;
- border-bottom-color: #e5e5e5;
- }
- .cmt-user {
- line-height: 25px;
- margin-bottom: 8px;
- font-size: 12px;
- }
- .cmt-user-info {
- display: flex;
- align-items: center;
- width: 400rpx;
- }
- .cmt-user .user-img {
- width: 25px;
- height: 25px;
- border-radius: 50%;
- vertical-align: middle;
- }
- .cmt-user .nickname {
- margin-left: 10px;
- display: inline-block;
- color: #333;
- max-width: 8.2em;
- height: 25px;
- line-height: 27px;
- }
- .cmt-user .stars {
- display: flex;
- margin-left: 3px;
- }
- .cmt-user .stars image {
- width: 35rpx;
- height: 35rpx;
- }
- .cmt-user .date {
- float: right;
- color: #999;
- margin-left: -60px;
- }
- .cmt-cnt {
- overflow: hidden;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-line-clamp: 3;
- -webkit-box-orient: vertical;
- position: relative;
- line-height: 1.5;
- font-size: 14px;
- margin: 5px 0;
- word-break: break-all;
- max-height: 126px;
- }
- .cmt-attr {
- height: 85px;
- width: 100%;
- white-space: nowrap;
- }
- .cmt-attr .img-wrap {
- width: 85px;
- height: 85px;
- display: inline-block;
- }
- .cmt-attr image {
- display: inline-block;
- width: 80px;
- height: 80px;
- margin-right: 5px;
- margin-bottom: 5px;
- border-radius: 2px;
- background: #f3f3f3;
- }
- .cmt-more-v {
- text-align: center;
- background-color: #fff;
- font-size: 12px;
- }
- .cmt-more-v text {
- height: 25px;
- line-height: 25px;
- font-size: 12px;
- text-align: center;
- color: #333;
- padding: 0px 10px;
- margin: 10px 0;
- border: 1px solid #ccc;
- border-radius: 40px;
- display: inline-block;
- }
- /** 评价弹窗 */
- .cmt-popup {
- position: fixed;
- top: 0;
- bottom: 0;
- left: 0;
- right: 0;
- z-index: 5;
- background-color: #fff;
- padding-bottom: 98rpx;
- }
- .cmt-popup .cmt-cont {
- height: calc(100% - 80rpx);
- overflow: auto;
- }
- .cmt-popup .cmt-cnt {
- -webkit-line-clamp: 20;
- max-height: 500px;
- }
- .cmt-reply {
- font-size: 14px;
- border-top: 1px dashed #ddd;
- padding: 5px 0;
- }
- .cmt-reply .reply-tit {
- color: #e43130;
- }
- .cmt-reply .reply-content {
- word-wrap: break-word;
- }
- .cmt-popup .load-more {
- font-size: 14px;
- padding: 20px;
- text-align: center;
- margin-bottom: 10px;
- }
- .cmt-popup .load-more text {
- border: 1px solid #ddd;
- padding: 5px 10px;
- border-radius: 10px;
- color: #666;
- }
- /** 店铺 */
- .shop-box {
- margin: 20rpx 0;
- background: #fff;
- padding: 20rpx;
- }
- /* .shopbox-head {
- padding-bottom: 24rpx;
- } */
- .shop-logo {
- display: inline-block;
- width: 80rpx;
- height: 80rpx;
- background: #fff;
- margin-right: 20rpx;
- vertical-align: middle;
- }
- .shop-logo image{
- border-radius: 16rpx;
- }
- .shop-name,
- .self-operate {
- display: inline-block;
- vertical-align: middle;
- }
- .shop-name {
- font-size: 30rpx;
- font-weight: bold;
- }
- .self-operate {
- width: 112rpx;
- height: 36rpx;
- background: #FF4D3A;
- border-radius: 8rpx 8rpx 8rpx 8rpx;
- font-size: 24rpx;
- color: #FFFFFF;
- text-align: center;
- /* padding: 5rpx 15rpx; */
- margin-left: 15rpx;
- }
- .swiper-box{
- padding: 20rpx;
- background: #fff;
- margin-top: 20rpx;
- border-radius: 16rpx;
- }
- .swiper-box .tab-box{
- display: flex;
- }
- .swiper-box .tab-box .tab{
- font-size: 32rpx;
- color: #222222;
- padding-bottom: 18rpx;
- margin-right: 48rpx;
- }
- .swiper-box .tab-box .tab.active{
- position: relative;
- font-weight: bold;
- font-size: 32rpx;
- color: #222222;
- }
- .swiper-box .tab-box .tab.active::after{
- content: '';
- display: block;
- position: absolute;
- left: calc(50% - 20rpx);
- bottom: 0;
- width: 40rpx;
- height: 8rpx;
- background: #006CE8;
- border-radius: 8rpx 8rpx 8rpx 8rpx;
- }
- /* 粉丝&商品 */
- .shop-situation {
- margin: 25rpx 0;
- }
- .situation-item {
- display: inline-block;
- width: 49%;
- border-right: 1rpx solid #e4e4e4;
- text-align: center;
- }
- .situation-item:last-child {
- border: none;
- }
- .situation-item-num {
- font-size: 32rpx;
- line-height: 2em;
- }
- .situation-item-txt {
- font-size: 23rpx;
- color: #999;
- }
- /* 收藏店铺&进入店铺 */
- .handle-shop-item {
- display: inline-block;
- width: 48%;
- margin-right: 20rpx;
- border: 1rpx solid #e4e4e4;
- border-radius: 8rpx;
- padding: 10rpx 0;
- text-align: center;
- }
- .handle-shop-item:last-child {
- margin: 0;
- }
- .handle-shop-icon {
- display: inline-block;
- width: 40rpx;
- height: 40rpx;
- margin-right: 10rpx;
- }
- .handle-shop-icon>image {
- width: 100%;
- height: 100%;
- vertical-align: middle;
- }
- .handle-txt {
- font-size: 28rpx;
- vertical-align: middle;
- }
- /** 商品详情 */
- .prod-detail {
- background: #fff;
- margin-top: 20rpx;
- position: relative;
- line-height: 48rpx;
- overflow: hidden;
- padding: 20rpx 0;
- }
- rich-text {
- width: 100% !important;
- }
- .det-tit {
- width: 300rpx;
- }
- .detail-tit {
- font-size: 32rpx;
- position: relative;
- border-bottom: 1px solid #ddd;
- padding: 20rpx;
- }
- .prod-detail image {
- width: 750rpx !important;
- display: block;
- }
- rich-text image {
- width: 100% !important;
- }
- img {
- width: 100% !important;
- display: block;
- }
- /** end 商品详情 */
- /** 底部按钮 */
- .cart-footer {
- position: fixed;
- bottom: 0;
- left: 0;
- width: 100%;
- display: flex;
- align-items: center;
- flex-direction: row nowrap;
- height: 110rpx;
- z-index: 3;
- box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.05);
- background: #fff;
- }
- .cart-footer .btn {
- position: relative;
- display: flex;
- flex-grow: 1;
- justify-content: center;
- align-items: center;
- width: 0;
- background-color: #fff;
- font-size: 28rpx;
- flex-flow: column;
- }
- .cart-footer .btn.icon {
- flex-grow: 0;
- flex-shrink: 0;
- width: 90rpx;
- font-size: 23rpx;
- color: #666;
- }
- .cart-footer .btn.icon image {
- width: 54rpx;
- height: 54rpx;
- }
- .cart-footer .btn.cart {
- border: 2rpx solid #ddd;
- font-weight: bold;
- font-size: 28rpx;
- color: #006CE8;
- margin: 0 12rpx;
- text-align: center;
- }
- .cart-footer .btn.buy {
- background: #006CE8;
- color: #fff;
- margin-right: 12rpx;
- font-size: 28rpx;
- text-align: center;
- }
- .cart-radius {
- border-radius: 60rpx;
- height: 2.8em;
- line-height: 2.8em;
- }
- .cart-footer.gray .btn.cart,
- .cart-footer.gray .btn.buy {
- display: block;
- background: #ddd;
- }
- .cart-footer .btn .badge {
- position: absolute;
- top: 3rpx;
- left: 55rpx;
- display: inline-block;
- width: 28rpx;
- height: 28rpx;
- border-radius: 14rpx;
- background-color: #e43130;
- text-align: center;
- line-height: 28rpx;
- font-size: 18rpx;
- color: #fff;
- }
- /* .cart-footer .btn .badge-1 {
- width: 36rpx;
- } */
- .cart-footer .btn .badge-2 {
- width: 48rpx;
- left: 52rpx;
- }
- /** end 底部按钮 */
- .contact-btn-box{
- position: relative;
- }
- .contact-btn{
- position: absolute;
- top: 0;
- left: 6rpx;
- height: 90rpx;
- width: 80rpx;
- text-align: center;
- background-color: transparent;
- }
- .contact-btn::after{
- border: none;
- }
- /* 积分 底部按钮 */
- .ex-integral-foot {
- position: fixed;
- bottom: 0;
- left: 0;
- width: 100%;
- display: flex;
- flex-direction: row nowrap;
- color: #fff;
- z-index: 4;
- box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.05);
- }
- .ex-integral-btn {
- box-sizing: border-box;
- width: 100%;
- margin: 20rpx;
- padding: 1em 0;
- background: #e43130;
- color: #fff;
- text-align: center;
- font-size: 30rpx;
- line-height: 1em;
- border-radius: 8rpx;
- }
- /** 【拼团】底部按钮 */
- .foot-box {
- margin-top: 100rpx;
- }
- .footer {
- position: fixed;
- bottom: 0;
- width: 100%;
- box-sizing: border-box;
- height: 100rpx;
- background: #fff;
- /* box-shadow: 10rpx 0 10rpx 0 #f0f0f0; */
- display: flex;
- align-items: center;
- }
- .foot-btn {
- position: relative;
- display: inline-block;
- width: 100rpx;
- font-size: 23rpx;
- color: #666;
- text-align: center;
- padding-top: 6rpx;
- background: #fff;
- }
- .foot-btn>image {
- display: block;
- width: 54rpx;
- height: 54rpx;
- margin: 0 auto;
- }
- .buy-btn {
- display: inline-block;
- font-size: 30rpx;
- /* height: 100rpx;
- line-height: 105rpx; */
- vertical-align: top;
- width: 34.3%;
- color: #fff;
- text-align: center;
- }
- .alone-buy {
- background: #fd7d46;
- margin: 0 12rpx;
- }
- .group-buy {
- background: #e43130;
- margin-right: 12rpx;
- }
- /* 购物车数量显示 */
- .badge {
- position: absolute;
- top: 10rpx;
- left: 50rpx;
- display: inline-block;
- width: 28rpx;
- height: 28rpx;
- border-radius: 14rpx;
- background-color: #e43130;
- text-align: center;
- line-height: 28rpx;
- font-size: 18rpx;
- color: #fff;
- }
- /* .badge-1 {
- width: 36rpx;
- } */
- .badge-2 {
- width: 48rpx;
- left: 52rpx;
- }
- /** end 底部按钮 */
- /** 优惠券弹窗 **/
- .popup-hide {
- position: fixed;
- top: 0;
- bottom: 0;
- left: 0;
- right: 0;
- z-index: 5;
- background-color: rgba(0, 0, 0, 0.3);
- }
- .popup-box {
- position: absolute;
- bottom: 0;
- width: 100%;
- min-height: 375px;
- max-height: 475px;
- overflow: hidden;
- background-color: #fff;
- }
- .popup-tit {
- position: relative;
- height: 46px;
- line-height: 46px;
- padding-left: 10px;
- font-size: 16px;
- color: #333;
- background-color: #f7f7f7;
- }
- .close {
- color: #aaa;
- border-radius: 12px;
- line-height: 20px;
- text-align: center;
- height: 20px;
- width: 20px;
- font-size: 18px;
- padding: 1px;
- top: 16rpx;
- right: 10px;
- position: absolute;
- }
- .close::before {
- content: "\2716";
- }
- .popup-cnt {
- max-height: 429px;
- overflow: auto;
- padding: 0 10px;
- }
- /** 规格弹窗**/
- .pup-sku {
- position: fixed;
- top: 0;
- bottom: 0;
- left: 0;
- right: 0;
- z-index: 6;
- background-color: rgba(0, 0, 0, 0.3);
- }
- .pup-sku-main {
- position: absolute;
- bottom: 0;
- width: 100%;
- min-height: 375px;
- max-height: 475px;
- background-color: #fff;
- }
- .pup-sku-header {
- position: relative;
- font-size: 16px;
- color: #333;
- padding: 20rpx 20rpx;
- background-color: #fff;
- border-bottom: 1rpx solid #f2f2f2;
- padding-top: 35rpx;
- }
- .pup-sku-img {
- display: inline-block;
- width: 27%;
- height: 180rpx;
- vertical-align: middle;
- border-radius: 10rpx;
- }
- .pup-sku-img image {
- display: block;
- width: 180rpx;
- height: 100%;
- }
- .pup-sku-prod {
- display: inline-block;
- width: 70%;
- vertical-align: middle;
- padding-left: 10rpx;
- }
- .prod-title {
- font-size: 28rpx;
- display: -webkit-box;
- -webkit-line-clamp: 1;
- /*设定显示行数*/
- -webkit-box-orient: vertical;
- word-break: break-all;
- overflow: hidden;
- text-overflow: ellipsis;
- max-width: 100%;
- margin: 15rpx 0;
- }
- .pup-sku-price {
- display: inline-block;
- height: 1.5em;
- line-height: 1.5em;
- color: #e43130;
- font-size: 26rpx;
- }
- .group-sku-pri {
- display: flex;
- align-items: center;
- }
- .pup-sku-price-int {
- font-size: 38rpx;
- }
- .pup-sku-prop {
- display: block;
- font-size: 26rpx;
- color: #333;
- line-height: 1.4em;
- padding-right: 10px;
- margin-top: 16rpx;
- display: -webkit-box;
- -webkit-line-clamp: 1;
- /*设定显示行数*/
- -webkit-box-orient: vertical;
- word-break: break-all;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- .pup-sku-prop text:first-child {
- color: #999;
- }
- .pup-sku-body {
- box-sizing: border-box;
- padding-bottom: 100px;
- overflow: auto;
- }
- .pup-sku-area {
- max-height: 480rpx;
- overflow-y: scroll;
- }
- .pup-sku-area .sku-kind {
- font-size: 12px;
- margin: 0 10px;
- height: 40px;
- line-height: 40px;
- color: #000;
- font-weight: bold;
- }
- .pup-sku-area .sku-choose {
- overflow: hidden;
- margin-bottom: 3px;
- }
- .sku-choose-item {
- display: inline-block;
- min-width: 100rpx;
- max-width: 540rpx;
- padding: 0 16rpx;
- overflow: hidden;
- height: 50rpx;
- line-height: 50rpx;
- text-align: center;
- margin-left: 10px;
- margin-bottom: 10px;
- border-radius: 30rpx;
- color: #333;
- background-color: #f7f7f7;
- font-size: 14px;
- border: 1px solid #aaa;
- }
- .sku-choose-item.active {
- background-color: #006CE8;
- color: #fff;
- border: 1px solid #006CE8 !important;
- }
- .sku-choose-item.gray {
- background-color: #f9f9f9;
- color: #ddd;
- }
- .sku-choose-item.dashed {
- border: 1px dashed #ccc;
- }
- .pup-sku-count {
- padding: 0 20rpx;
- font-size: 24rpx;
- margin: 10rpx 0;
- }
- .pup-sku-count .count-name {
- height: 31px;
- line-height: 31px;
- width: 100rpx;
- color: #000;
- font-weight: bold;
- }
- .pup-sku-count .num-wrap {
- position: relative;
- z-index: 0;
- width: 110px;
- float: right;
- vertical-align: middle;
- display: flex;
- }
- .num-wrap .minus,
- .num-wrap .plus {
- position: relative;
- max-width: 30px;
- min-width: 30px;
- height: 30px;
- line-height: 30px;
- background: #f7f7f7;
- text-align: center;
- }
- .num-wrap .minus {
- border-top-left-radius: 3px;
- border-bottom-left-radius: 3px;
- }
- .num-wrap .plus {
- border-top-right-radius: 3px;
- border-bottom-right-radius: 3px;
- }
- .num-wrap .row {
- border-radius: 20px;
- position: absolute;
- top: 50%;
- left: 50%;
- margin-left: -7px;
- margin-top: -1px;
- width: 14px;
- height: 2px;
- background-color: #ccc;
- }
- .num-wrap .col {
- border-radius: 20px;
- position: absolute;
- top: 50%;
- left: 50%;
- margin-left: -1px;
- margin-top: -7px;
- width: 2px;
- height: 14px;
- background-color: #999;
- }
- .pup-sku-count .text-wrap {
- position: relative;
- width: 45px;
- z-index: 0;
- margin: 0 1px;
- }
- .pup-sku-count .text-wrap input {
- height: 30px;
- width: 100%;
- color: #333;
- background: #fff;
- font-size: 12px;
- text-align: center;
- border: none;
- background: #f7f7f7;
- }
- .pup-sku-footer {
- position: fixed;
- bottom: 0;
- left: 0;
- width: 100%;
- display: flex;
- flex-direction: row nowrap;
- height: 110rpx;
- z-index: 6;
- justify-content: center;
- /* box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.05); */
- }
- .pup-sku-footer.gray .btn,
- .pup-sku-footer.gray .btn,
- .pup-sku-footer .btn {
- position: relative;
- display: flex;
- flex-grow: 1;
- justify-content: center;
- align-items: center;
- background-color: #fff;
- font-size: 30rpx;
- flex-flow: column;
- border-radius: 60rpx;
- height: 2.8em;
- width: 45%;
- margin: 0 15rpx;
- }
- .pup-sku-footer .btn.cart {
- border: 2rpx solid #ddd;
- color: #006CE8;
- }
- .pup-sku-footer .btn.buy {
- background: #006CE8;
- color: #fff;
- }
- .pup-sku-footer.gray .btn.cart {
- background: #ddd;
- }
- .pup-sku-footer.gray .btn.buy {
- background: #ddd;
- }
- /* 悬浮按钮 */
- .suspension-box {
- position: fixed;
- top: 920rpx;
- right: 40rpx;
- z-index: 2;
- }
- .scroll-top {
- top: 780rpx;
- }
- .suspension-btn {
- display: flex;
- justify-content: center;
- align-items: center;
- text-align: center;
- width: 80rpx;
- height: 80rpx;
- border-radius: 50%;
- background: #fff;
- border: 1rpx solid #ccc;
- margin-top: 30rpx;
- }
- button.btn-type {
- background: #fff;
- padding: 0;
- margin: 0;
- margin-top: 30rpx;
- }
- button.btn-type::after {
- border: 0;
- }
- .suspension-btn image {
- display: block;
- width: 40rpx;
- height: 40rpx;
- }
- /* 赚字浮层 */
- .promo-con .earn {
- background: rgba(230, 55, 58, 0.9);
- box-shadow: 1px 2px 6px rgba(78, 78, 78, 0.4);
- color: #fff;
- border-radius: 50%;
- width: 80rpx;
- height: 80rpx;
- font-size: 32rpx;
- margin: auto;
- text-align: center;
- line-height: 80rpx;
- }
- /* /悬浮按钮 */
- /*分享弹窗 */
- .promo-share {
- position: fixed;
- top: 0;
- left: 0;
- background: rgba(0, 0, 0, 0.7);
- width: 100%;
- height: 100%;
- z-index: 99;
- }
- .promo-tit {
- padding-top: 40rpx;
- font-size: 24rpx;
- text-align: center;
- margin-left: 80rpx;
- }
- .promo-main {
- background: #fff;
- position: absolute;
- bottom: 0rpx;
- width: 100%;
- height: 500rpx;
- z-index: 99;
- }
- .promo-icons-close image {
- width: 45rpx;
- height: 45rpx;
- /* border-radius: 55%; */
- float: right;
- padding-right: 20rpx;
- padding-top: 20rpx;
- }
- .promo-desc {
- margin-left: 73rpx;
- width: 600rpx;
- text-align: center;
- }
- .promo-desc text {
- padding: 20rpx;
- font-size: 20rpx;
- color: #999;
- line-height: 34rpx;
- display: inline-block;
- }
- .promo-icons {
- font-size: 20rpx;
- color: #666;
- display: flex;
- justify-content: space-around;
- padding: 10rpx 150rpx;
- }
- .promo-icons image {
- width: 75rpx;
- height: 75rpx;
- border-radius: 50%;
- }
- .promo-img1 {
- display: flex;
- flex-flow: column;
- align-items: center;
- line-height: 75rpx;
- font-size: 22rpx;
- background: none;
- border: 0;
- margin: 0;
- padding: 0;
- }
- .promo-img1::after {
- border: 0;
- }
- .promo-btn {
- font-size: 28rpx;
- width: 90%;
- height: 80rpx;
- border: 1px #e5e5e5 solid;
- text-align: center;
- line-height: 80rpx;
- margin-left: 40rpx;
- }
- /** 二维码弹窗 */
- .code-popup {
- position: fixed;
- top: 0;
- left: 0;
- background: rgba(0, 0, 0, 0.7);
- width: 100%;
- height: 100%;
- z-index: 9;
- }
- .code-main {
- margin: auto;
- left: 0;
- right: 0;
- top: 0;
- bottom: 0;
- position: fixed;
- width: 500rpx;
- height: 700rpx;
- }
- .close-png {
- width: 50rpx;
- height: 50rpx;
- margin-top: -10rpx;
- }
- .code-v {
- padding: 20rpx;
- border-radius: 6rpx;
- background: #fff;
- }
- .wx-code {
- width: 460rpx;
- height: 460rpx;
- }
- .close-v {
- text-align: right;
- height: 60rpx;
- }
- .code-txt {
- margin-top: 20rpx;
- text-align: center;
- color: #fff;
- font-size: 28rpx;
- background: #3a86b9;
- border-radius: 6rpx;
- height: 80rpx;
- line-height: 80rpx;
- }
- /** 二维码弹窗 end */
- /* 倒计时栏 */
- .countdown-box {
- width: 100%;
- height: 85rpx;
- line-height: 85rpx;
- /* background: #e92121; */
- background: #e43130;
- color: #fff;
- padding: 0 30rpx;
- box-sizing: border-box;
- }
- .second-kill {
- font-size: 33rpx;
- }
- .countdown-content {
- float: right;
- font-size: 28rpx;
- height: 85rpx;
- line-height: 85rpx;
- text-align: left;
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
- .countdown-tips {
- font-size: 24rpx;
- opacity: 0.8;
- margin-right: 10rpx;
- }
- .countdown-time {
- font-size: 24rpx;
- padding-top: 5rpx;
- }
- /* 价格 */
- .goods-price {
- padding: 15rpx 0;
- border-bottom: 1px solid #f3f3f3;
- }
- .current-price {
- display: flex;
- align-items: center;
- color: #e43130;
- font-size: 34rpx;
- /* margin-right: 15rpx; */
- vertical-align: middle;
- }
- .original {
- font-size: 26rpx;
- color: #888888;
- margin-top: 15rpx;
- }
- .original-price {
- font-size: 26rpx;
- text-decoration: line-through;
- color: #999999;
- margin-left: 10rpx;
- }
- /* 拼团价格 */
- .condition {
- font-size: 24rpx;
- border: 1rpx solid red;
- padding: 2rpx 10rpx;
- vertical-align: middle;
- }
- /* 拼团详情 */
- .spell-infor {
- border-top: 20rpx solid #f7f7f7;
- font-size: 28rpx;
- padding: 20rpx;
- background: #fff;
- }
- .spell-infor-title {
- font-size: 26rxp;
- }
- .spell-infor-content {
- position: relative;
- padding-top: 20rpx;
- padding-bottom: 20rpx;
- border-bottom: 1rpx solid #f2f2f2;
- }
- .head-img {
- display: inline-block;
- width: 70rpx;
- height: 70rpx;
- margin-right: 15rpx;
- vertical-align: bottom;
- border-radius: 50%;
- }
- .head-img>image {
- border-radius: 50%;
- }
- .spell-msg {
- display: inline-block;
- vertical-align: top;
- font-size: 24rpx;
- }
- .spell-text {
- padding-top: 10rpx;
- color: #aaa;
- }
- .red-font {
- color: #e43130;
- }
- .join-group {
- position: absolute;
- right: 10rpx;
- bottom: 30rpx;
- color: #e43130;
- border: 1rpx solid #e43130;
- padding: 10rpx 15rpx;
- font-size: 24rpx;
- }
- .rules {
- position: relative;
- font-size: 24rpx;
- padding-top: 20rpx;
- }
- .rules-text02 {
- float: right;
- font-size: 23rpx;
- color: #aaa;
- padding-right: 30rpx;
- }
- .right-arrow {
- position: absolute;
- right: 5rpx;
- top: 20rpx;
- display: inline-block;
- width: 20rpx;
- height: 20rpx;
- }
- .act-price-con {
- border: 1px solid #e4393c;
- margin-left: 20rpx;
- padding: 2rpx 5rpx;
- border-radius: 3rpx;
- }
- /* 列表为空 */
- .empty {
- margin-top: 100rpx;
- text-align: cneter;
- }
- .empty-icon {
- display: block;
- width: 80rpx;
- height: 80rpx;
- margin: 0 auto;
- margin-bottom: 20rpx;
- }
- .empty-icon>image {
- width: 100%;
- height: 100%;
- }
- .empty-text {
- font-size: 28rpx;
- text-align: center;
- color: #999;
- line-height: 2em;
- }
- .text-block{
- display: flex;
- align-items: center;
- justify-content: center;
- margin-top: 28rpx;
- margin-bottom: 20rpx;
- }
- .text-block .icon{
- width: 26rpx;
- height: 26rpx;
- }
- .text-block .title{
- font-weight: bold;
- font-size: 36rpx;
- color: #006CE8;
- padding: 0 12rpx;
- }
- .prod-content {
- text-align: justify;
- display: flex;
- justify-content: space-between;
- }
- .left,
- .right {
- display: inline-block;
- vertical-align: top;
- width: 344rpx;
- }
- .swiper-prod{
- margin-top: 24rpx;
- min-height: 424rpx;
- }
- .swiper-prod.h844{
- min-height: 844rpx;
- }
- .swiper-prod .wx-swiper-dots {
- position: absolute; /* 绝对定位,基于swiper容器 */
- bottom: 0; /* 距离底部20px(垂直位置核心) */
- }
- .swiper-prod .swiper-item{
- display: grid;
- /* 列规则:5列等宽(1fr 代表"剩余空间等份分配") */
- grid-template-columns: repeat(3, 1fr);
- /* 行列间距:10rpx(小程序常用 rpx 适配多端) */
- gap: 20rpx;
- /* 容器内边距:避免网格贴边 */
- align-items: start;
- }
- .swiper-prod .item{
- width: 204rpx;
- border: 2rpx solid #F0F0F0;
- border-radius: 16rpx;
- }
- .swiper-prod .item .item-img{
- width: 100%;
- vertical-align: bottom;
- }
- .swiper-prod .item .item-title{
- font-weight: bold;
- font-size: 24rpx;
- color: #222222;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- overflow: hidden;
- padding: 0 20rpx;
- margin-top: 20rpx;
- height: 60rpx;
- }
- .swiper-prod .item .price-box{
- display: flex;
- align-items: center;
- justify-content: space-between;
- margin-right: 8rpx;
- margin-top: 20rpx;
- padding: 0 20rpx;
- }
- .swiper-prod .item .price-box .num{
- width: 24rpx;
- height: 24rpx;
- line-height: 24rpx;
- text-align: center;
- background: #FF4D3A;
- border-radius: 50%;
- font-size: 20rpx;
- color: #FFFFFF;
- position: absolute;
- top: -12rpx;
- right: -6rpx;
- }
- .swiper-prod .item .price-box .name-price{
- font-weight: bold;
- font-size: 32rpx;
- color: #FF4D3A;
- }
- .prod-content .item {
- background-color: #fff;
- /* margin-top: 20rpx; */
- margin-bottom: 14rpx;
- display: inline-block;
- width: 344rpx;
- border-radius: 16rpx;
- overflow: hidden;
- padding-bottom: 16rpx;
- position: relative;
- }
- .prod-content .item .sell-out-box{
- position: absolute;
- top: 0;
- left: 0;
- border-radius: 16rpx;
- width: 344rpx;
- height: 100%;
- background: rgba(255,255,255,0.6);
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .prod-content .item .sell-out-text{
- width: 156rpx;
- height: 156rpx;
- line-height: 156rpx;
- border-radius: 50%;
- text-align: center;
- background: rgba(0,0,0,0.6);
- font-size: 28rpx;
- color: #FFFFFF;
- }
- .prod-content .heart {
- display: flex;
- align-items: center;
- justify-content: space-between;
- margin-right: 8rpx;
- margin-top: 20rpx;
- }
- .prod-content .name-price {
- display: flex;
- align-items: center;
- font-weight: 800;
- font-size: 36rpx;
- color: #FF4D3A;
- }
- .prod-content .num-box{
- display: flex;
- align-items: center;
- }
- .prod-content .num-box .btn{
- font-size: 20rpx;
- width: 44rpx;
- height: 44rpx;
- text-align: center;
- }
- .prod-content .num-box .num{
- width: 80rpx;
- height: 44rpx;
- background: #FFFFFF;
- text-align: center;
- line-height: 40rpx;
- font-size: 24rpx ;
- color: #222222;
- border-bottom: 2rpx solid #F0F0F0;
- border-top: 2rpx solid #F0F0F0;
- box-sizing: border-box;
- }
- .prod-content .item-img {
- width: 100%;
- vertical-align: bottom;
- }
- .prod-content .item-title {
- font-weight: bold;
- font-size: 28rpx;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- overflow: hidden;
- font-family: 'PingFang SC-Medium';
- color: #1e1e1e;
- padding: 0 20rpx;
- /* height: 40rpx; */
- line-height: 40rpx;
- /* background-color: turquoise; */
- }
- .prod-content .item .name {
- padding: 0 15rpx;
- margin-top: 20rpx;
- padding-bottom: 10rpx;
- align-items: center;
- font-size: 22rpx;
- font-family: 'PingFang SC-Medium';
- }
- .prod-content .item-title-box {
- display: flex;
- position: relative;
- z-index: 2;
- }
- .tips {
- height: 60rpx;
- line-height: 60rpx;
- text-align: center;
- font-size: 24rpx;
- color: #AAAAAA;
- }
- .loading-box{
- text-align: center;
- line-height: 80rpx;
- height: 80rpx;
- }
- .none .van-empty__description{
- margin-top: -30rpx;
- }
- /* 动画容器:全屏覆盖,不影响下层交互 */
- .animation-wrap {
- position: fixed;
- top: 0;
- left: 0;
- width: 100vw;
- height: 100vh;
- pointer-events: none;
- z-index: 9999;
- }
- /* 抛物线小图标样式 */
- .move-x {
- animation:
- moveX .5s linear forwards; /* X轴匀速 */
-
- }
- .move-y{
- animation: moveY .5s cubic-bezier(0.5, -0.5, 1, 1) forwards;
- }
- /* 核心抛物线动画:贝塞尔曲线轨迹 */
- @keyframes moveX {
- from {
- transform: translateX(0);
- }
- to {
- transform: translateX(var(--endX));
- }
- }
- /* 核心抛物线动画:贝塞尔曲线轨迹 */
- @keyframes moveY {
- from {
- transform: translateY(0);
- opacity: 1;
- }
- to {
- transform: translateY(var(--endY));
- opacity: 0;
- }
- }
- .intro-box{
- display: flex;
- background: #FFFFFF;
- border-radius: 16rpx 16rpx 16rpx 16rpx;
- padding: 24rpx 20rpx 24rpx 0;
- margin-top: 20rpx;
- position: relative;
- }
- .intro-box .intro-item{
- flex: 1;
- border-right: 2rpx solid #F0F0F0;
- padding-left: 20rpx;
- /* text-align: center; */
- }
- .intro-box .intro-item:last-child{
- border-right: none;
- }
- .intro-box .intro-item .title{
- font-weight: 800;
- font-size: 28rpx;
- color: #222222;
- text-emphasis: emphasis;
- }
- .intro-box .more{
- position: absolute;
- width: 20rpx;
- height: 20rpx;
- top: calc(50% - 10rpx);
- right: 20rpx;
- }
- .intro-box .intro-item .desc{
- font-size: 24rpx;
- color: #AAAAAA;
- margin-top: 16rpx;
- }
|