Browse Source

修改样式

master
邓宏 2 years ago
parent
commit
18c8da99b7
  1. 2
      pages/massif/mana/plantPlan.vue
  2. 15
      pages/massif/mana/recovery.vue

2
pages/massif/mana/plantPlan.vue

@ -6,7 +6,9 @@
scroll-view{ scroll-view{
flex-grow: 1; flex-grow: 1;
height:1rpx; height:1rpx;
padding-top:30rpx;
.card{ .card{
margin-top:0;
&>.info{ &>.info{
display:flex; display:flex;
&>.u-transition{ &>.u-transition{

15
pages/massif/mana/recovery.vue

@ -1,6 +1,10 @@
<style lang="scss" scoped> <style lang="scss" scoped>
.recovery{ .recovery{
height:100%;
display:flex;
flex-direction: column;
&>.dateRange{ &>.dateRange{
flex-shrink: 0;
display: flex; display: flex;
align-items: center; align-items: center;
margin:30rpx; margin:30rpx;
@ -31,7 +35,13 @@
} }
} }
} }
scroll-view{
flex-grow: 1;
height:1rpx;
.card{ .card{
margin-top:0;
display:flex; display:flex;
.u-transition{ .u-transition{
flex-shrink: 0; flex-shrink: 0;
@ -67,6 +77,7 @@
} }
} }
} }
}
</style> </style>
<template> <template>
<view class="recovery"> <view class="recovery">
@ -78,7 +89,9 @@
<scroll-view scroll-y @scrollotower="search"> <scroll-view scroll-y @scrollotower="search">
<view class="card" v-for="(v,k) in list" :key="k"> <view class="card" v-for="(v,k) in list" :key="k">
<u-image width="90rpx" height="90rpx" radius="6rpx" mode="aspectFill" :src="`${host}/${v.images}`"/> <u-image width="90rpx" height="90rpx" radius="6rpx" mode="aspectFill" :src="`${host}/${v.images}`">
<text slot="error" style="font-size:45rpx;" class="plant-xiaopangchetupianjiazaishibai"/>
</u-image>
<view class="detail"> <view class="detail">
<view class="name"> <view class="name">
<text>{{v.plantName}}</text> <text>{{v.plantName}}</text>

Loading…
Cancel
Save