index.wxss 676 Bytes
.my-canvas-bg {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.canvas-container {
    margin-bottom: 40rpx;
}

.canvas-footer {
    margin-top: 20rpx;
}

.canvas-footer button {
    display: inline-block;
    width: 48%;
    background-color: #fff;
    font-family: PingFang-SC-Medium, sans-serif;
    font-size: 28.8rpx;
    color: #444;
    text-align: center;
    height: 88rpx;
    line-height: 88rpx;
}

.canvas-footer button:first-child {
    background-color: red;
    margin-right: 4%;
    color: #fff;
}