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