2025-04-14 18:51:04 +08:00
|
|
|
|
<template>
|
|
|
|
|
|
<div style="padding: 10px;background-color: white;">
|
|
|
|
|
|
<div class="divRow" style="justify-content: space-between !important;">
|
|
|
|
|
|
<div style="font-size: 14px;">
|
|
|
|
|
|
{{data.bikeCode}}
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div>
|
|
|
|
|
|
<label>状态:</label>
|
2025-04-15 14:56:05 +08:00
|
|
|
|
<label class="lbImg"><uni-icons custom-prefix="iconfont" type="icon-ebikexuanzhong" :color="color"
|
|
|
|
|
|
size="16" /></label>
|
2025-04-14 18:51:04 +08:00
|
|
|
|
<label>正常</label>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="divRow">
|
|
|
|
|
|
<div class="lbTitle">剩余电量:</div>
|
|
|
|
|
|
<div>
|
2025-04-15 14:56:05 +08:00
|
|
|
|
<label class="lbImg"><uni-icons custom-prefix="iconfont" type="icon-ebikeelectricity-full"
|
|
|
|
|
|
:color="color" size="16" /></label>
|
2025-04-14 18:51:04 +08:00
|
|
|
|
<label>{{data.dl}}</label>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="divRow">
|
|
|
|
|
|
<div class="lbTitle">可骑行距离:</div>
|
|
|
|
|
|
<div>
|
2025-04-15 14:56:05 +08:00
|
|
|
|
<label class="lbImg"><uni-icons custom-prefix="iconfont" type="icon-ebikeditu2" :color="color"
|
|
|
|
|
|
size="16" /></label>
|
2025-04-14 18:51:04 +08:00
|
|
|
|
<label>{{data.jl}}</label>
|
|
|
|
|
|
</div>
|
2025-04-15 14:56:05 +08:00
|
|
|
|
|
2025-04-14 18:51:04 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
<div style="margin-top: 30px;margin-bottom: 30px;">
|
2025-04-15 14:56:05 +08:00
|
|
|
|
<label style="margin-right: 15px;"><uni-icons custom-prefix="iconfont" type="icon-ebikejinggao"
|
|
|
|
|
|
color="#FF7200" size="12" /></label>
|
2025-04-14 18:51:04 +08:00
|
|
|
|
<label style="font-size: 10px;">安全骑行,遵守交通规则</label>
|
|
|
|
|
|
</div>
|
2025-04-15 10:56:35 +08:00
|
|
|
|
<div>
|
2025-04-15 14:56:05 +08:00
|
|
|
|
<div class="divBtn" @click="$emit('close')">关闭</div>
|
2025-04-15 10:56:35 +08:00
|
|
|
|
</div>
|
2025-04-14 18:51:04 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
<script setup>
|
2025-04-15 14:56:05 +08:00
|
|
|
|
import {
|
|
|
|
|
|
ref,onMounted
|
|
|
|
|
|
} from 'vue';
|
|
|
|
|
|
import {
|
|
|
|
|
|
showModelMessage
|
|
|
|
|
|
} from "@/utils/tools.js";
|
|
|
|
|
|
const props = defineProps(["bikecode"]);
|
|
|
|
|
|
const methods = defineEmits(["close"])
|
|
|
|
|
|
const color = ref("#61D145");
|
|
|
|
|
|
const data = ref({
|
|
|
|
|
|
bikeCode: props.bikecode,
|
|
|
|
|
|
zt: 1,
|
|
|
|
|
|
dl: "86%",
|
|
|
|
|
|
jl: "50km"
|
2025-04-14 18:51:04 +08:00
|
|
|
|
})
|
2025-04-15 10:56:35 +08:00
|
|
|
|
|
2025-04-15 14:56:05 +08:00
|
|
|
|
onMounted(()=>{
|
|
|
|
|
|
showModelMessage("该功能暂未实现!")
|
|
|
|
|
|
})
|
2025-04-14 18:51:04 +08:00
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
<style scoped>
|
2025-04-15 14:56:05 +08:00
|
|
|
|
.divRow {
|
2025-04-14 18:51:04 +08:00
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
color: #000;
|
|
|
|
|
|
line-height: 25px;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
}
|
2025-04-15 14:56:05 +08:00
|
|
|
|
|
|
|
|
|
|
.lbTitle {
|
2025-04-14 18:51:04 +08:00
|
|
|
|
text-align: right;
|
|
|
|
|
|
width: 80px;
|
|
|
|
|
|
}
|
2025-04-15 14:56:05 +08:00
|
|
|
|
|
|
|
|
|
|
.lbImg {
|
2025-04-14 18:51:04 +08:00
|
|
|
|
margin-right: 5px;
|
|
|
|
|
|
}
|
2025-04-15 14:56:05 +08:00
|
|
|
|
|
|
|
|
|
|
|
2025-04-14 18:51:04 +08:00
|
|
|
|
</style>
|