diff --git a/pages/stock/list.vue b/pages/stock/list.vue index c8fca21..7e8f535 100644 --- a/pages/stock/list.vue +++ b/pages/stock/list.vue @@ -49,16 +49,19 @@ display:flex; align-items: center; text{ - &:first-child{ + &.type{ flex-shrink: 0; font-size:20rpx; color:#FBA83C; } - &:nth-child(2){ + &.name{ margin-left:20rpx; font-size:20rpx; color:#707070; } + &.specs{ + margin-left:auto; + } } } } @@ -115,56 +118,6 @@ } } } - .dPicker{ - .stock-picker{ - display:flex; - flex-direction: column; - justify-content: space-evenly; - padding:0 20rpx; - &>.info{ - display:flex; - align-items: center; - text{ - &:first-child{ - color:#fff; - background:#10C176; - height:40rpx; - min-width:80rpx; - text-align: center; - line-height: 40rpx; - border-radius: 0 20rpx 0 20rpx; - margin-right:10rpx; - padding:0 6rpx; - font-size:24rpx; - } - &:nth-child(2){ - &:after{ - content:"("attr(data-unit)")"; - color:#999; - font-size:18rpx; - line-height: 40rpx; - margin-left:6rpx; - } - } - &:nth-child(3){ - margin-left:auto; - color:#F34848; - font-size:20rpx; - } - } - } - &>.company{ - font-size:24rpx; - display: flex; - text{ - color:var(--c); - &:first-child{ - flex-shrink: 0; - } - } - } - } - } }