/* subpages/goodscar/goodscar.wxss */ .category-empty { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; align-self: center; position: fixed; top: 50%; left: 50%; transform: translateX(-50%)translateY(-50%); } .category-empty image { width: 180rpx; height: 120rpx; } .category-empty .hint { margin-top: 30rpx; font-size: 32rpx; } .goods-item { display: flex; flex-direction: row; padding: 10rpx; margin-top: 10rpx; } .check { width: 48rpx; height: 48rpx; min-width: 48rpx; min-height: 48rpx; max-height: 48rpx; max-width: 48rpx; } .goods { display: flex; flex-direction: row; justify-content: flex-start; margin-left: 20rpx; } .goods-img { width: 180rpx; height: 160rpx; } .goods-content { margin: 0rpx 10rpx; flex: 1; } .goods-name { font-size: 32rpx; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; } .goods-unit-price { font-size: 40rpx; color: #9f1512; margin-top: 10rpx; } .goods-standard { margin-top: 10rpx; font-size: 32rpx; border: 1rpx solid #9f1512; border-radius: 3rpx; color: #9f1512; width: fit-content; max-width: fit-content; padding: 0rpx 10rpx; } .goods-type-box { display: flex; flex-direction: row; justify-content: space-around; align-items: center; margin-top: 20rpx; } .goods-type-box image { width: 48rpx; height: 48rpx; } .goods-type { color: #9f1512; font-size: 25rpx; border: 1rpx solid #9f1512; padding: 0rpx 10rpx; text-align: center; } .goods-type:last-child { margin-left: 20rpx; } .type-box { display: flex; flex-direction: row; width: 50%; justify-content: flex-start; align-items: center; } .add-del-box { display: flex; flex-direction: row; align-items: center; justify-content: center; } .add-del-box .txt { font-size: 35rpx; padding: 0rpx 15rpx; } .control-box { width: 50%; display: flex; flex-direction: row; justify-content: space-around; } .bottom-box { display: flex; flex-direction: column; background: white; position: fixed; bottom: 0; left: 0; width: 100%; } .goods-price { color: #9f1512; font-size: 40rpx; } .bottom-content { display: flex; flex-direction: row; justify-content: space-between; align-items: center; margin: 25rpx; } .bottom-price { display: flex; flex-direction: row; justify-content: flex-start; align-items: baseline; color: #e70606; text-align: center; font-weight: bold; } .price-icon { font-size: 30rpx; } .price-content { font-size: 55rpx; } .icon-btn { display: flex; flex-direction: row; justify-content: center; align-items: center; } .car-icon { display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 30rpx; } .car-icon image { width: 48rpx; height: 48rpx; align-items: center; align-self: center; margin-left: 25rpx; margin-top: 10rpx; } .car { display: flex; flex-direction: row; align-items: center; justify-content: center; } .car-num { position: relative; right: 10rpx; top: -10rpx; background: #e70606; color: white; width: 48rpx; height: 48rpx; border-radius: 50%; text-align: center; display: flex; flex-direction: column; justify-content: center; align-items: center; font-size: 25rpx; } .car-add { background: linear-gradient(to right bottom, rgb(245, 74, 74), rgb(221, 5, 5) 70px); color: white; padding: 15rpx; border-radius: 10rpx; margin-left: 20rpx; font-size: 32rpx; }