Commit 51648b0dfa602a0a3501d3fab3c1bf9bac790237

Authored by ly525
1 parent 4fe92189

lbp-text: update text bg color

front-end/h5/src/components/plugins/lbp-text.js
  1 +/*
  2 + * @Author: ly525
  3 + * @Date: 2019-11-24 18:51:58
  4 + * @LastEditors: ly525
  5 + * @LastEditTime: 2019-11-30 23:01:55
  6 + * @FilePath: /luban-h5/front-end/h5/src/components/plugins/lbp-text.js
  7 + * @Github: https://github.com/ly525/luban-h5
  8 + * @Description: luban-h5 text component/plugin
  9 + * @Copyright 2018 - 2019 luban-h5. All Rights Reserved
  10 + */
1 import { quillEditor } from 'vue-quill-editor' 11 import { quillEditor } from 'vue-quill-editor'
2 // require styles 12 // require styles
3 import 'quill/dist/quill.core.css' 13 import 'quill/dist/quill.core.css'
@@ -11,7 +21,7 @@ export default { @@ -11,7 +21,7 @@ export default {
11 position: 'relative', 21 position: 'relative',
12 color: `${this.color} !important`, 22 color: `${this.color} !important`,
13 textDecoration: 'none', 23 textDecoration: 'none',
14 - backgroundColor: this.backgroundColor || '#ffffff', 24 + backgroundColor: this.backgroundColor || 'rgba(255, 255, 255, 0.2)',
15 lineHeight: `${this.lineHeight}em`, 25 lineHeight: `${this.lineHeight}em`,
16 border: `${this.borderWidth}px solid ${this.borderColor}`, 26 border: `${this.borderWidth}px solid ${this.borderColor}`,
17 borderRadius: `${this.borderRadius}px` 27 borderRadius: `${this.borderRadius}px`
front-end/h5/src/components/plugins/styles/text-overwrite-quil-snow-theme.scss
@@ -9,6 +9,7 @@ @@ -9,6 +9,7 @@
9 height: 70px; 9 height: 70px;
10 width: 300px; 10 width: 300px;
11 padding: 0; 11 padding: 0;
  12 + background: white;
12 } 13 }
13 14
14 .ql-toolbar.ql-snow .ql-formats { 15 .ql-toolbar.ql-snow .ql-formats {