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

@ -6,14 +6,14 @@
.dv-border-box-5 .dv-reverse {
transform: rotate(180deg);
}
.dv-border-box-5 .dv-svg-container {
.dv-border-box-5 .dv-border-svg-container {
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
}
.dv-border-box-5 .dv-svg-container polyline {
.dv-border-box-5 .dv-border-svg-container > polyline {
fill: none;
}
.dv-border-box-5 .dv-bb5-line-1,

View File

@ -1,6 +1,6 @@
<template>
<div class="dv-border-box-5" :ref="ref">
<svg :class="`dv-svg-container ${reverse && 'dv-reverse'}`" :width="width" :height="height">
<svg :class="`dv-border-svg-container ${reverse && 'dv-reverse'}`" :width="width" :height="height">
<polygon :fill="backgroundColor" :points="`
10, 22 ${width - 22}, 22 ${width - 22}, ${height - 86} ${width - 84}, ${height - 24} 10, ${height - 24}
`" />