Browse Source

修改样式

master
邓宏 2 years ago
parent
commit
c8bcb5a4c4
  1. 8
      pages/massif/mana/recovery.vue

8
pages/massif/mana/recovery.vue

@ -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>

Loading…
Cancel
Save