读取配置是否展示车侧身或车牌照片
parent
56cce484ba
commit
c65e44a37c
File diff suppressed because one or more lines are too long
@ -1,3 +1,4 @@
|
|||||||
序号 日期 版本号 说明
|
序号 日期 版本号 说明
|
||||||
1 2023年12月25日 1.0.0 初始版本号
|
1 2023年12月25日 1.0.0 初始版本号
|
||||||
|
2 2024年03月27日 1.0.1 读取配置是否展示车侧身或车牌照片
|
||||||
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,3 +1,4 @@
|
|||||||
序号 日期 版本号 说明
|
序号 日期 版本号 说明
|
||||||
1 2023年12月25日 1.0.0 初始版本号
|
1 2023年12月25日 1.0.0 初始版本号
|
||||||
|
2 2024年03月27日 1.0.1 读取配置是否展示车侧身或车牌照片
|
||||||
|
|
||||||
Binary file not shown.
@ -1,3 +1,4 @@
|
|||||||
序号 日期 版本号 说明
|
序号 日期 版本号 说明
|
||||||
1 2023年12月25日 1.0.0 初始版本号
|
1 2023年12月25日 1.0.0 初始版本号
|
||||||
|
2 2024年03月27日 1.0.1 读取配置是否展示车侧身或车牌照片
|
||||||
|
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,31 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<!--<html lang="en" class="dark">-->
|
||||||
|
<html lang="en" class="light">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8"/>
|
||||||
|
|
||||||
|
<title></title>
|
||||||
|
<script type="module" crossorigin src="./assets/index.9f9b909a.js"></script>
|
||||||
|
<link rel="stylesheet" href="./assets/index.799f34c4.css">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="app">
|
||||||
|
<div class="loading">
|
||||||
|
<div class="loading-wrap">
|
||||||
|
<div class="loading-dots">
|
||||||
|
<span class="dot dot-spin">
|
||||||
|
<i></i>
|
||||||
|
<i></i>
|
||||||
|
<i></i>
|
||||||
|
<i></i>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
<div class="loading-title">
|
||||||
|
正在缓冲...
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@ -0,0 +1,63 @@
|
|||||||
|
<template>
|
||||||
|
<div class="tags-container">
|
||||||
|
<div
|
||||||
|
v-for="(tag, index) in tags"
|
||||||
|
:key="index"
|
||||||
|
class="tag"
|
||||||
|
@click="closeTag(index)"
|
||||||
|
>
|
||||||
|
{{ tag }}
|
||||||
|
</div>
|
||||||
|
<button @click="addTag">添加标签</button>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
tags: [],
|
||||||
|
newTag: "",
|
||||||
|
};
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
addTag() {
|
||||||
|
if (this.newTag && !this.tags.includes(this.newTag)) {
|
||||||
|
this.tags.push(this.newTag);
|
||||||
|
this.newTag = "";
|
||||||
|
}
|
||||||
|
},
|
||||||
|
closeTag(index) {
|
||||||
|
if (index > 0) {
|
||||||
|
this.tags.splice(index, 1);
|
||||||
|
this.tags.forEach((tag, i) => {
|
||||||
|
if (i >= index) {
|
||||||
|
this.$set(this.tags, i, tag);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
this.tags.shift();
|
||||||
|
}
|
||||||
|
},
|
||||||
|
},
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
.tags-container {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tag {
|
||||||
|
background-color: #f1f1f1;
|
||||||
|
border: 1px solid #ccc;
|
||||||
|
padding: 5px 10px;
|
||||||
|
margin: 2px;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tag:hover {
|
||||||
|
background-color: #e1e1e1;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
Loading…
Reference in New Issue