|
|
@@ -24,9 +24,9 @@ |
|
|
|
<div style="max-height: 200px;margin-bottom: 10px;"> |
|
|
|
<!-- 图片 --> |
|
|
|
<img :src="SlideImgThreePng" class="as-radius-5px" style="height: 200px;width: 300px;"> |
|
|
|
<!-- 裁剪部分 --> |
|
|
|
<canvas class="as-radius-5px" id="canvas-cut" :width="canWidth * 2" :height="canHeight * 2" style="position: relative; |
|
|
|
background-color: #3FC0FC;z-index: 10;top: 0px;box-shadow: 1px 1px 2.5px #333;" |
|
|
|
<!-- 裁剪部分 background-color: #3FC0FC; --> |
|
|
|
<canvas class="as-radius-5px" id="canvas-cut" :width="canWidth * 2" :height="canHeight * 2" |
|
|
|
style="position: relative;z-index: 10;top: 0px;box-shadow: 1px 1px 2.5px #333;" |
|
|
|
:style="`left:${canLeft}px;top:${initTop}px;width: ${canWidth}px;height: ${canHeight}px;`"> |
|
|
|
</canvas> |
|
|
|
<!-- 阴影部分 --> |