.location{ display: flex; justify-content: space-between; align-items: center; padding: 40rpx 25rpx 20rpx 25rpx; background-color: #ffffff; .l_left { font-size: 24rpx; } .l_right{ color:#636363; font-size: 24rpx; span{ color: #229293; font-weight: bold; } } } .store { position: relative; display: flex; justify-content: flex-start; align-items: center; padding: 15rpx; border-radius: 0 0 30rpx 30rpx; border-top: 5rpx solid #fff; background: #fff; // box-shadow: 0 3rpx 10rpx rgb(0 0 0 / 60%); .cover { width: 90rpx; height: 90rpx; margin: 15rpx; // background: #46a9a4; image { width: 100%; height: 100%; border-radius: 50%; border: 5rpx solid #fff; box-shadow: 5rpx 5rpx 15rpx rgb(0 0 0 / 80%); } } .storeInfo { // display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; margin-left: 20rpx; font-size: 26rpx; color: #000000; // text-shadow: -2rpx 2rpx 0 #333, 2rpx 2rpx 0 #333, 2rpx -2rpx 0 #333, -2rpx -2rpx 0 #333; .mobile { margin: 10rpx 0; } } .shopCart { position: absolute; right: 30rpx; width: 96rpx; height: 96rpx; padding: 15rpx; border-radius: 50%; border: 5rpx solid #1976d2; background: #fff; box-shadow: 0 5rpx 10rpx rgb(0 0 0 / 60%); .total { content: ''; position: absolute; top: -10rpx; right: -10rpx; width: 40rpx; height: 40rpx; border-radius: 50%; color: #fff; font-size: 24rpx; text-align: center; line-height: 40rpx; background: #f00; } image { width: 100%; height: 100%; } } } .swiper { margin: 20rpx; height: 300rpx; .slide-image { width: 100%; height: 98%; margin-bottom: 20rpx; border-radius: 10rpx; } } .cate_info { .cate_container { // height: calc(100vh - 420rpx); display: flex; .left_menu { width: 180rpx; background: #fff; .left_content { width: 180rpx; background: #f4f4f4; color: #aaaaaa; .left_item { font-size: 30rpx; // font-weight: 600; height: 112rpx; display: flex; align-items: center; justify-content: center; position: relative; border-bottom: 2rpx solid #f6f6f6; .post_asb { position: absolute; top: 4px; right: 0px; font-size: 60rpx; color: #FF5722; } } .active { color: #000000; // text-shadow: -2rpx 2rpx 0 #333, 2rpx 2rpx 0 #333, 2rpx -2rpx 0 #333, -2rpx -2rpx 0 #333; background: #ffffff; border-left: 10rpx solid #46a9a4; margin-left: 10rpx; } } } .right_list { .loading { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; } // height: calc(100vh - 320rpx); ::-webkit-scrollbar { width: 0; height: 0; color: transparent; } .right_content { // width: calc(100vw - 210rpx); padding-bottom: 50rpx; margin: 0 auto; margin-top: -5rpx; .title { position: relative; width: 100%; height: 60rpx; margin: 10rpx 0; text-align: center; line-height: 60rpx; &::before, &::after { content: ''; position: absolute; top: 29rpx; width: 30%; height: 2rpx; border: 1rpx solid #bbb; // background: #bbb; } &::before { left: 20rpx; } &::after { right: 20rpx; } } .right_item { display: flex; align-items: center; padding: 20rpx 10rpx; margin: 0 15rpx; margin-top: 10rpx; box-shadow: 0 0 8px #e0e0e0; border-radius: 10rpx; background: #fff; .image { width: 120rpx; height: 120rpx; flex-shrink: 0; } .li_right { font-size: 32rpx; flex: 1; margin-left: 20rpx; .name { margin-bottom: 10rpx; width: 300rpx; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; word-break: break-all; } .li_desc { color: #989898; margin-bottom: 10rpx; font-size: 24rpx; text-overflow: -o-ellipsis-lastline; overflow: hidden; //溢出内容隐藏 text-overflow: ellipsis; //文本溢出部分用省略号表示 display: -webkit-box; //特别显示模式 -webkit-line-clamp: 2; //行数 line-clamp: 2; -webkit-box-orient: vertical; //盒子中内容竖直排列 } .li_num { color: #989898; margin-bottom: 10rpx; font-size: 24rpx; display: flex; justify-content: space-between; .li_desc_row {} } .li_row { display: flex; justify-content: space-between; align-items: center; .price { color: red; display: flex; font-weight: 600; } .count { display: flex; .num { margin-right: 10rpx; color: #6d6d6d; } .tag { background: white; color: #1976D2; font-size: 44rpx; } } .decoration { text-decoration: line-through; color: #989898; margin-left: 10rpx; font-weight: 500; } } } } .right_item:first-child { margin-top: none; } } } } } .shopGoods { position: relative; >.title { width: 100%; height: 80rpx; text-align: center; line-height: 80rpx; box-shadow: 0 5rpx 10rpx rgb(0 0 0 / 30%); z-index: 9; } .goods { .cart_info { width: 93%; background: #ffffff; border-radius: 12rpx; margin: 10rpx auto; display: flex; box-shadow: 0 0 13px #dedede; position: relative; .left_info { width: 40%; display: flex; align-items: center; .radio { margin: 0 10rpx; } .image_box { position: relative; width: 188rpx; height: 188rpx; .image { width: 188rpx; height: 188rpx; border-radius: 16rpx; } .open { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: rgb(31 31 31 / 43%); border-radius: 50%; color: white; padding: 20rpx; text-align: center; font-size: 30rpx; } } } .right_info { display: flex; flex-direction: column; justify-content: space-around; align-items: center; width: 58%; .title { font-size: 28rpx; width: 300rpx; margin: 10rpx 0; font-weight: 700; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; } .desc { font-size: 24rpx; margin-bottom: 10rpx; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; } .down_info { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 20rpx 0; .price { font-size: 34rpx; color: #fd3030; font-weight: 700; } .ipt { color: #333; } .van-stepper { .van-stepper__input { z-index: 0; } } } } .post { position: absolute; right: 4rpx; top: 4rpx; padding: 4rpx 20rpx; background: #2196F3; color: white; border-radius: 6rpx; font-size: 28rpx; } } .delete { background: #e42929; color: #fff; width: 120rpx; height: 100%; text-align: center; line-height: 175rpx; } .bottom { width: 100%; height: 100rpx; } } .cart_down { display: flex; position: fixed; bottom: var(--bottom); z-index: 999; left: 0; width: 100%; background: #ffffff; align-items: center; justify-content: space-between; padding: 0 20rpx; height: 100rpx; box-shadow: 0px -6px 11px #dedede; .cart_left { display: flex; } .cart_right { display: flex; .total_info { margin-right: 20rpx; text-align: center; flex-direction: column; display: flex; justify-content: center; align-items: flex-start; .total_price { font-size: 30rpx; color: #fd3030; font-weight: 600; } .text { font-size: 24rpx; color: #979393; } } .button { width: 140rpx; text-align: center; background: #b3afaf; color: #fff; font-size: 30rpx; border-radius: 36rpx; // font-weight: 700; margin-right: 10rpx; } .active { background: #dd4848; } .actives { background-color: #fff; color: #808080; border: 1px solid #808080 !important; } } } }