已增加整轮播图和地图连线

This commit is contained in:
aixianling
2023-10-07 11:30:13 +08:00
parent 39a344b054
commit 50541832cc
12 changed files with 451 additions and 153 deletions

View File

@@ -220,5 +220,17 @@ export default {
$load,
$reg,
Area,
ID
ID,
$arrDepth: (arr) => {
if (Array.isArray(arr)) {
let max = 1
for (let i = 0; i < arr.length; i++) {
const depth = this.$arrDepth(arr[i])
if (depth > max) {
max = depth
}
}
return max
} else return 0
}
}

View File

@@ -295,7 +295,7 @@ input::-ms-input-placeholder {
/**
自定义弹性盒子快速用
*/
div[flex] {
div[flex], .flex {
display: flex;
align-items: center;
@@ -717,3 +717,8 @@ h1, h2, h3, p {
pointer-events: all;
}
}
.m-center {
margin-left: 50%;
transform: translateX(-50%);
}