update dist and lib

This commit is contained in:
jiaming743
2020-08-25 18:26:29 +08:00
parent 3b4d6faf35
commit 654c461a1b
19 changed files with 58 additions and 42 deletions

View File

@ -4,7 +4,7 @@
height: 100%;
border-radius: 6px;
}
.dv-border-box-10 .border {
.dv-border-box-10 .dv-border-svg-container {
position: absolute;
display: block;
}

View File

@ -1,6 +1,6 @@
<template>
<div class="dv-border-box-10" :ref="ref" :style="`box-shadow: inset 0 0 25px 3px ${mergedColor[0]}`">
<svg class="border" :width="width" :height="height">
<svg class="dv-border-svg-container" :width="width" :height="height">
<polygon :fill="backgroundColor" :points="`
4, 0 ${width - 4}, 0 ${width}, 4 ${width}, ${height - 4} ${width - 4}, ${height}
4, ${height} 0, ${height - 4} 0, 4
@ -12,7 +12,7 @@
height="150px"
:key="item"
v-for="item in border"
:class="`${item} border`"
:class="`${item} dv-border-svg-container`"
>
<polygon
:fill="mergedColor[1]"