已增加整轮播图和地图连线
This commit is contained in:
		| @@ -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 | ||||
|   } | ||||
| } | ||||
|   | ||||
| @@ -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%); | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user