/* pages/goods/goods.wxss */ @import "./goods.skeleton.wxss"; page { background: #F8F8F8; } .goods {} swiper { width: 750rpx; height: 750rpx; background: #FFFFFF; } swiper image { width: 750rpx; height: 750rpx; background: #FFFFFF; } .info { margin-top: 20rpx; } .price { font-weight: Bold; font-size: 40rpx; color: #D1222C; } .prodName { font-weight: 500; font-size: 32rpx; color: #0D0D0D; line-height: 48rpx; } .simpleTitle { font-weight: 400; font-size: 24rpx; color: #424242; line-height: 48rpx; } .desc { font-weight: 400; font-size: 20rpx; color: #A2A2A2; line-height: 40rpx; } .number { flex: 1; text-align: right; } .number view:first-child { flex: auto; display: inline-block; /* width: 38rpx; height: 38rpx; border-radius: 50%; border: 1px solid #373737; text-align: center; */ font-size: 38rpx; vertical-align: middle; margin-right: 10rpx; } .number input { display: inline-block; width: 60rpx; height: 38rpx; vertical-align: middle; background: #F8F8F8; font-size: 25rpx; padding: 0 10rpx; box-sizing: border-box; text-align: center; line-height: 38rpx; font-size: 20rpx; color: #000000; } .number view:last-child { display: inline-block; /* width: 38rpx; */ /* height: 38rpx; border-radius: 50%; */ /* border: 1px solid #373737; */ /* text-align: center; */ line-height: 38rpx; font-size: 38rpx; vertical-align: middle; margin-left: 10rpx; } .goodsInfo .cell { line-height: 40rpx !important; min-height: 40rpx !important; } .goodsInfo .cell .cellText { flex: 1; font-weight: 400 !important; font-size: 20rpx !important; color: #A2A2A2 !important; line-height: 40rpx !important; height: 40rpx !important; } .cartBtn { position: fixed; width: 100%; left: 0; bottom: 0; width: 750rpx; height: 128rpx; background: #FFFFFF; display: flex; flex-flow: row; align-items: center; justify-content: space-between; align-content: center; padding-left: 60rpx; padding-right: 24rpx; box-sizing: border-box; z-index: 999; } .cartTip { position: relative; } .cartTip .icon-gouwuche3 { display: inline-block; font-size: 50rpx; } .badge { position: absolute; top: -14rpx; right: -16rpx; min-width: 30rpx; height: 30rpx; background: #D20101; border-radius: 50%; color: #FFFFFF; font-weight: 500; font-size: 16rpx; line-height: 14rpx; text-align: center; padding: 10rpx; box-sizing: border-box; } .addCart { width: 568rpx; height: 94rpx; background: #00BC8A; border-radius: 8rpx; font-weight: 500; font-size: 36rpx; color: #FFFFFF; line-height: 94rpx; text-align: center; }