@ -11,6 +11,7 @@
margin-top: 32rpx;
border-radius: 4rpx;
padding: 16px;
overflow: hidden;
}
.brand_tu{
width: 100%;
@ -1,4 +1,4 @@
<view>
<view class="wc-container">
<canvas type="2d" id="{{canvasId}}" class="wc-canvas"></canvas>
<view class="wc-main" style="width: {{ width ? width + 'px' : '100%' }};height: {{ height }}px; background-color: {{bgColor || '#fff'}};">
<block wx:for="{{wordData}}" wx:key="index">
@ -1,6 +1,13 @@
.wc-container {
position: relative;
height: 100%;
.wc-canvas {
display: none;
position: absolute;
z-index: -1;
.wc-main {