|
|
@ -40,6 +40,7 @@ |
|
|
|
margin-bottom:20rpx; |
|
|
|
text{ |
|
|
|
&:first-child{ |
|
|
|
flex-shrink: 0; |
|
|
|
color:#fff; |
|
|
|
background:#10C176; |
|
|
|
height:40rpx; |
|
|
@ -50,16 +51,15 @@ |
|
|
|
margin-right:10rpx; |
|
|
|
padding:0 6rpx; |
|
|
|
} |
|
|
|
&:nth-child(2){ |
|
|
|
&:after{ |
|
|
|
content:"("attr(data-unit)")"; |
|
|
|
&:nth-child(3){ |
|
|
|
flex-shrink: 0; |
|
|
|
color:#999; |
|
|
|
font-size:20rpx; |
|
|
|
line-height: 40rpx; |
|
|
|
margin-left:6rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
&:nth-child(3){ |
|
|
|
&:nth-child(4){ |
|
|
|
flex-shrink: 0; |
|
|
|
margin-left:auto; |
|
|
|
color:#F34848; |
|
|
|
font-size:24rpx; |
|
|
@ -132,7 +132,8 @@ |
|
|
|
<view class="card item" v-for="(v,k) in list" :key="k"> |
|
|
|
<view class="info"> |
|
|
|
<text>{{v.agriculturalGoods}}</text> |
|
|
|
<text :data-unit="v.specDescribe">{{v.substanceName}}</text> |
|
|
|
<text class="over">{{v.substanceName}}</text> |
|
|
|
<text v-if="searchVal.substanceType=='nz'">({{v.specDescribe}})</text> |
|
|
|
<text v-if="v.replenishment">补货量≥{{v.replenishment}}{{v.unit}}</text> |
|
|
|
</view> |
|
|
|
<view class="company"> |
|
|
|