|
@ -63,9 +63,15 @@ |
|
|
flex-shrink: 0; |
|
|
flex-shrink: 0; |
|
|
font-weight: bold; |
|
|
font-weight: bold; |
|
|
font-size:32rpx; |
|
|
font-size:32rpx; |
|
|
|
|
|
&:before{ |
|
|
|
|
|
content:"剩余:"; |
|
|
|
|
|
font-weight: normal; |
|
|
|
|
|
font-size:24rpx; |
|
|
|
|
|
} |
|
|
&:after{ |
|
|
&:after{ |
|
|
content:attr(data-unit); |
|
|
content:attr(data-unit); |
|
|
font-weight: normal; |
|
|
font-weight: normal; |
|
|
|
|
|
font-size:24rpx; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
@ -114,7 +120,7 @@ |
|
|
<view class="detail"> |
|
|
<view class="detail"> |
|
|
<view class="name"> |
|
|
<view class="name"> |
|
|
<text class="over">{{v.plantName}}</text> |
|
|
<text class="over">{{v.plantName}}</text> |
|
|
<text data-unit="kg">剩余:{{v.harvestNum}}</text></view> |
|
|
<text data-unit="kg">{{v.harvestNum}}</text></view> |
|
|
<view class="info"> |
|
|
<view class="info"> |
|
|
<text class="people">负责人:{{v.principal}}</text> |
|
|
<text class="people">负责人:{{v.principal}}</text> |
|
|
<text class="date">采收日期:{{v.harvestTime}}</text> |
|
|
<text class="date">采收日期:{{v.harvestTime}}</text> |
|
|