Browse Source

修改交易信息进入位置

master
邓宏 2 years ago
parent
commit
f404b7962b
  1. 22
      pages/massif/mana/recovery.vue
  2. 2
      pages/massif/mana/transactions.vue
  3. 2
      uni.scss

22
pages/massif/mana/recovery.vue

@ -73,8 +73,21 @@
.info{
font-size: 24rpx;
color:#999;
text:nth-child(2){
margin-left:20rpx;
display: flex;
align-items: center;
justify-content: space-between;
text.plant-jinrongjiaoyi{
display: flex;
align-items: center;
color:#10C176;
font-size:24rpx;
background:#EEFBF5;
height:48rpx;
line-height: 48rpx;
padding:0 10rpx;
&:before{
font-size:35rpx;
}
}
}
}
@ -103,8 +116,9 @@
<text class="over">{{v.plantName}}</text>
<text data-unit="kg">{{v.harvestNum}}</text></view>
<view class="info">
<text>负责人{{v.principal}}</text>
<text>采收日期{{v.harvestTime}}</text>
<text class="people">负责人:{{v.principal}}</text>
<text class="date">采收日期:{{v.harvestTime}}</text>
<text class="plant-jinrongjiaoyi" @click="$u.route({url:'/pages/massif/add_transaction'})">交易</text>
</view>
</view>
</view>

2
pages/massif/mana/transactions.vue

@ -83,7 +83,7 @@
</view>
<scroll-view>
<view class="card" @click="$u.route({url:'/pages/massif/add_transaction'})">
<view class="card">
<u-image radius="20rpx" width="130rpx" height="118rpx" mode="aspectFill" :src="`${host}/${1}`">
<text slot="error" style="font-size:45rpx;" class="plant-xiaopangchetupianjiazaishibai"/>
</u-image>

2
uni.scss

@ -77,7 +77,7 @@ $uni-font-size-paragraph:15px;
@import '@/common/main.css';
@import 'uview-ui/theme.scss';
@import url('https://at.alicdn.com/t/c/font_3852037_uelrk7bjj2.css');
@import url('https://at.alicdn.com/t/c/font_3852037_x0ytzgg6if.css');
[class*=plant-]{
font-family: "plantMana" !important;
font-size: 16px;

Loading…
Cancel
Save