|
|
@@ -424,7 +424,6 @@ export default {
|
|
|
backgroundSize: bcImgUrl ? `${pos.width}% ${pos.height}%` : '',
|
|
|
backgroundPosition: bcImgUrl ? `${pos.left}% ${pos.top}%` : '',
|
|
|
backgroundImage: bcImgUrl ? `url(${bcImgUrl})` : '',
|
|
|
- backgroundColor: bcImgUrl ? `rgba(255, 255, 255, ${1 - back?.image_opacity / 100})` : '',
|
|
|
};
|
|
|
|
|
|
if (back) {
|
|
|
@@ -458,6 +457,8 @@ export default {
|
|
|
|
|
|
if (back.has_color) {
|
|
|
canvasStyle['backgroundColor'] = back.color;
|
|
|
+ } else {
|
|
|
+ canvasStyle['backgroundColor'] = '#fff';
|
|
|
}
|
|
|
|
|
|
if (back.enable_border) {
|
|
|
@@ -967,7 +968,6 @@ export default {
|
|
|
padding-top: $courseware-top-padding;
|
|
|
padding-bottom: $courseware-bottom-padding;
|
|
|
margin: 15px 0;
|
|
|
- background-color: #fff;
|
|
|
background-repeat: no-repeat;
|
|
|
border-bottom-right-radius: 12px;
|
|
|
border-bottom-left-radius: 12px;
|