123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172 |
- .nav-wrap {
- position: fixed;
- left: 0;
- top: 0;
- z-index: 10;
- width: 100%;
- .nav {
- width: 100%;
- background: rgba(255, 255, 255, 1);
- font-size: 0;
- }
- .nav-item {
- display: inline-block;
- width: 150rpx;
- text-align: center;
- }
- text {
- position: relative;
- left: 0;
- top: 0;
- display: inline-block;
- height: 98rpx;
- line-height: 98rpx;
- color: rgba(51, 51, 51, 1);
- font-size: 28rpx;
- }
- text.active {
- font-weight: 500;
- color: rgba(107, 133, 89, 1);
- }
- text.active:after {
- position: absolute;
- left: -15rpx;
- right: -15rpx;
- bottom: 0;
- content: '';
- height: 4rpx;
- background: rgba(107, 133, 89, 1);
- }
- }
- .main {
- position: absolute;
- left: 0;
- top: 98rpx;
- right: 0;
- bottom: 0;
- width: 100%;
- background: #F6F6F6;
- }
- .list {
- width: 690rpx;
- min-height: 370rpx;
- border-radius: 24rpx;
- overflow: hidden;
- margin: 30rpx auto 0;
- background: rgba(255, 255, 255, 1);
- box-shadow: 0 0 20rpx 0 rgba(0, 0, 0, 0.1);
- }
- .top {
- display: flex;
- justify-content: space-between;
- align-items: center;
- height: 65rpx;
- padding: 0 30rpx 0 25rpx;
- border-bottom: 1rpx solid rgba(231, 231, 231, 1);
- view {
- line-height: 38rpx;
- font-size: 24rpx;
- color: rgba(51, 51, 51, 1);
- }
- .col-0 {
- color: rgba(51, 51, 51, 1);
- }
- .col-1 {
- color: rgba(255, 141, 26, 1);
- }
- .col-2 {
- color: rgba(145, 179, 121, 1);
- }
- .col-3 {
- color: rgba(212, 48, 48, 1);
- }
- }
- .middle {
- display: flex;
- padding: 32rpx 19rpx 34rpx;
- border-bottom: 1rpx solid rgba(231, 231, 231, 1);
- }
- .photo-wrap {
- width: 132rpx;
- height: 134rpx;
- border-radius: 12rpx;
- overflow: hidden;
- image {
- display: block;
- width: 100%;
- height: 100%;
- }
- }
- .name-wrap {
- width: calc(100% - 132rpx);
- padding-left: 21rpx;
- .name {
- width: 100%;
- line-height: 46rpx;
- font-size: 24rpx;
- color: rgba(51, 51, 51, 1);
- word-break: break-all;
- word-wrap: break-word;
- }
- .box {
- display: flex;
- align-items: center;
- margin-top: 33rpx;
- }
- .stock,
- .price {
- line-height: 36rpx;
- font-size: 24rpx;
- color: rgba(153, 153, 153, 1);
- }
- .price {
- margin-left: 20rpx;
- }
- }
- .bottom {
- display: flex;
- justify-content: flex-end;
- align-items: center;
- padding: 23rpx 21rpx 21rpx;
- button {
- width: 127rpx;
- height: 58rpx;
- margin-left: 34rpx;
- border-radius: 29rpx;
- border: 2rpx solid rgba(153, 153, 153, 1);
- font-size: 24rpx;
- color: rgba(153, 153, 153, 1);
- &:nth-of-type(1) {
- margin-left: 0;
- }
- }
- button[type="default"] {
- background-color: transparent;
- }
- }
|