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 11 import { quillEditor } from 'vue-quill-editor'
2 12 // require styles
3 13 import 'quill/dist/quill.core.css'
... ... @@ -11,7 +21,7 @@ export default {
11 21 position: 'relative',
12 22 color: `${this.color} !important`,
13 23 textDecoration: 'none',
14   - backgroundColor: this.backgroundColor || '#ffffff',
  24 + backgroundColor: this.backgroundColor || 'rgba(255, 255, 255, 0.2)',
15 25 lineHeight: `${this.lineHeight}em`,
16 26 border: `${this.borderWidth}px solid ${this.borderColor}`,
17 27 borderRadius: `${this.borderRadius}px`
... ...
front-end/h5/src/components/plugins/styles/text-overwrite-quil-snow-theme.scss
... ... @@ -9,6 +9,7 @@
9 9 height: 70px;
10 10 width: 300px;
11 11 padding: 0;
  12 + background: white;
12 13 }
13 14  
14 15 .ql-toolbar.ql-snow .ql-formats {
... ...