This commit is contained in:
Iruka 2024-09-19 18:43:10 +08:00
parent f2dca5ecc2
commit 48f248c3fb

View File

@ -28,9 +28,9 @@
</u-row>
</view>
<view class="content-section">
<view class="grey-box" style="border-radius: 15px 15px 0 0 ; padding-bottom: 0;">
<view :style="[isSticky ? 'position: sticky;':'','z-index: 10','top: -10px']">
<u-grid :border="false" col="4" v-if="isSticky"
<view class="grey-box" style="border-radius: 15px 15px 0 0 ; padding-bottom: 0;"
:style="[isSticky ? 'position: sticky;':'','z-index: 10','top: -20px']">
<u-grid v-if="isSticky" :border="false" col="4"
style="background: #f3f3f3; margin-bottom: 0; box-shadow: 0 1px 9px rgba(209, 209, 209, 0.5);padding-bottom: 5px;">
<u-grid-item class="click" style="box-shadow: none;">
<text class="text">总设备</text>
@ -53,7 +53,7 @@
<u-badge numberType="overflow" type="success" max="999" value="15"></u-badge>
</u-grid-item>
</u-grid>
<u-grid :border="false" col="4" v-else style=" margin-bottom: 0;">
<u-grid v-else :border="false" col="4" style=" margin-bottom: 0;">
<u-grid-item class="click">
<view class="iconfont icon-threshold"></view>
<u-badge numberType="overflow" type="success" max="999" value="155"></u-badge>
@ -75,11 +75,8 @@
<text class="text">土壤墒情</text>
</u-grid-item>
</u-grid>
</view>
</view>
<view class="grey-box" style="border-radius: 0 0 15px 15px;">
<view class="card">
<u-collapse accordion>
<u-collapse-item>