|
|
@ -14,6 +14,7 @@ |
|
|
|
margin-bottom:20rpx; |
|
|
|
text{ |
|
|
|
&:first-child{ |
|
|
|
flex-shrink: 0; |
|
|
|
font-size:20rpx; |
|
|
|
color:#fff; |
|
|
|
background:#10C176; |
|
|
@ -28,10 +29,17 @@ |
|
|
|
font-weight: bold; |
|
|
|
} |
|
|
|
&:nth-child(3){ |
|
|
|
flex-shrink: 0; |
|
|
|
color:#999; |
|
|
|
font-size: 20rpx; |
|
|
|
margin-left:6rpx; |
|
|
|
} |
|
|
|
&:nth-child(4){ |
|
|
|
flex-shrink: 0; |
|
|
|
color:#10C176; |
|
|
|
font-size: 24rpx; |
|
|
|
margin-left: auto; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
&>.name{ |
|
|
@ -78,7 +86,7 @@ |
|
|
|
<scroll-view scroll-y @scrollotower="search"> |
|
|
|
<view class="card" v-for="(v,k) in list" :key="k"> |
|
|
|
<view class="info"> |
|
|
|
<text>{{v.goodsType}}</text> <text>{{v.substanceName}}</text> <text>({{v.specDescribe}})</text> |
|
|
|
<text>{{v.goodsType}}</text> <text class="over">{{v.substanceName}}</text> <text>({{v.specDescribe}})</text> <text>剩余{{v.surplus}}{{v.unit}}</text> |
|
|
|
</view> |
|
|
|
<view class="name"> |
|
|
|
<text>{{v.goodsDetailType}}</text> <text class="over">{{v.supplier}}</text> |
|
|
|