This commit is contained in:
Iruka 2024-09-19 16:21:20 +08:00
parent a8721b3039
commit fa4af4f175

View File

@ -1,7 +1,4 @@
<template>
<!-- <u-navbar :safeAreaInsetTop="false" bgColor="#39ac4f" :autoBack="false" :leftIconSize="0">
</u-navbar> -->
<!-- <uni-nav-bar backgroundColor="#39ac4f" :border="false"></uni-nav-bar> -->
<uni-nav-bar :statusBar="true" :fixed="false" backgroundColor="#39ac4f" :border="false" color="#fff">
<block v-slot:left>
<view @click="openLand">选择地块</view>
@ -65,8 +62,12 @@
</view>
<view class="fixed" style="width:calc(100% - 30%); justify-content: flex-end;">
<view class="iconfont icon-xh icon"></view>
<u-button type="success" size="small" text="一键刷新" icon="reload"></u-button>
<u-button type="success" size="small" text="批量控制"></u-button>
<view @click.stop="">
<u-button type="success" size="small" text="一键刷新" />
</view>
<view @click.stop="">
<u-button type="success" size="small" text="批量控制" />
</view>
</view>
</view>
</template>
@ -92,9 +93,8 @@
</view>
<text>(12)</text>
<view class="battery-container">
<text>60</text>
<view class="battery-level battery-level-60">
</view>
<text>{{ 10 }}</text>
<view class="battery-level" :style="[`width:${10}%`]" />
</view>
</view>
</u-col>
@ -126,9 +126,8 @@
</view>
<text>(12)</text>
<view class="battery-container">
<text>60</text>
<view class="battery-level battery-level-60">
</view>
<text>{{ 60 }}</text>
<view class="battery-level" :style="[`width:${60}%`]" />
</view>
</view>
</u-col>
@ -271,7 +270,6 @@
show: false,
landList: [1, 2, 3],
value: false,
}
},
onLoad() {
@ -284,6 +282,10 @@
// #endif
},
methods: {
ceshi(e) {
console.error("ceshi:", e);
// e.stopPropagation();
},
openLand() {
this.$refs.refLand.open();
},