This commit is contained in:
yanran200730
2022-03-31 16:03:40 +08:00
parent 27ab36b3ce
commit 49a2d392ad
21 changed files with 74 additions and 49 deletions

View File

@@ -1,9 +1,9 @@
<template>
<section class="AiDvDisplay">
<div class="display-top">
<img class="left" src="asset/display-icon.svg">
<img class="left" src="https://cdn.cunwuyun.cn/dvcp/dv/img/display-icon.svg">
<h2>{{ title }}</h2>
<img class="right" src="asset/display-icon.svg">
<img class="right" src="https://cdn.cunwuyun.cn/dvcp/dv/img/display-icon.svg">
</div>
<component class="background" :is="type"/>
<div class="displayPanel">
@@ -29,6 +29,10 @@ export default {
},
list: {default: () => []},
},
data () {
return {
}
},
methods: {
getPos(i) {
let unit = this.list.length > 0 ? 2 * Math.PI / this.list.length : 0,