askbot-dragon 0.6.18 → 0.6.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "askbot-dragon",
3
- "version": "0.6.18",
3
+ "version": "0.6.22",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
7
7
  "lint": "vue-cli-service lint"
8
8
  },
9
9
  "dependencies": {
10
- "@ckeditor/ckeditor5-build-classic": "^29.2.0",
11
10
  "@ckeditor/ckeditor5-vue": "^1.0.3",
12
11
  "ali-oss": "^6.2.1",
12
+ "ckeditor": "^4.12.1",
13
13
  "core-js": "^3.6.5",
14
14
  "element-ui": "^2.13.2",
15
15
  "install": "^0.13.0",
package/public/index.html CHANGED
@@ -9,6 +9,7 @@
9
9
  <title><%= htmlWebpackPlugin.options.title %></title>
10
10
  <link href="//at.alicdn.com/t/font_1566110_eump2lzv89s.css"/>
11
11
  <script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
12
+ <script src="https://static.guoranbot.com/ckeditor5-build-classic/0.3.7/build/ckeditor.js"></script>
12
13
  <style>
13
14
  *{
14
15
  margin: 0;
@@ -437,9 +437,8 @@
437
437
  <script>
438
438
  let that
439
439
  import {multipartUpload,ossFileUrl} from "./utils/AliyunIssUtil";
440
- import ClassicEditor from '@ckeditor/ckeditor5-build-classic'
441
440
  import {MyCustomUploadAdapterPlugin} from "./utils/ckeditor";
442
-
441
+ import CKEDITOR from 'ckeditor'
443
442
  export default {
444
443
  name: "formTemplate",
445
444
  data() {
@@ -523,7 +522,7 @@ export default {
523
522
  hideUploadEdit:false,
524
523
  limitNum:1,
525
524
  ckeditor: {
526
- editor: ClassicEditor,
525
+ editor: CKEDITOR.ClassicEditor,
527
526
  editorConfig: {
528
527
  extraPlugins: [MyCustomUploadAdapterPlugin],
529
528
  toolbar: [
@@ -1649,12 +1648,19 @@ export default {
1649
1648
  text-align: center;
1650
1649
  border-top: 1px solid #EEEEEE;
1651
1650
  }
1651
+ /deep/.ck.ck-editor{
1652
+ padding: 0 16px;
1653
+ }
1652
1654
  /deep/.ck.ck-toolbar{
1653
1655
  border-color:#E0E6F7;
1656
+ border-top-left-radius: 9px!important;
1657
+ border-top-right-radius: 9px!important;
1654
1658
  }
1655
1659
  /deep/.ck.ck-editor__editable_inline{
1656
1660
  border-color:#E0E6F7;
1657
- min-height: 120px!important;
1661
+ min-height: 150px!important;
1662
+ border-bottom-left-radius: 9px!important;
1663
+ border-bottom-right-radius: 9px!important;
1658
1664
  }
1659
1665
  }
1660
1666
  .pcFormClass{
@@ -1664,7 +1670,8 @@ export default {
1664
1670
  padding: 8px 0;
1665
1671
  .field-item-name{
1666
1672
  padding-bottom: 8px;
1667
- color: #A9B3C6;
1673
+ /*color: #A9B3C6;*/
1674
+ color: #000000;
1668
1675
  }
1669
1676
  }
1670
1677
  /deep/.el-upload--picture-card{
@@ -1745,22 +1752,25 @@ export default {
1745
1752
  padding: 8px 16px;
1746
1753
  .fileName{
1747
1754
  padding-bottom: 8px;
1748
- color: #A9B3C6;
1755
+ /* color: #A9B3C6;*/
1756
+ color: #000000;
1749
1757
  }
1750
1758
  }
1751
1759
  .workorder_description{
1752
- padding: 8px 16px;
1760
+ /* padding: 8px 16px;*/
1761
+ padding: 8px 0;
1753
1762
  /*font-size: 14px;*/
1754
1763
  .field-name{
1755
1764
  width: 100%;
1756
1765
  text-align: left;
1757
- color: #A9B3C6;
1766
+ /* color: #A9B3C6;*/
1767
+ color: #000000;
1758
1768
  line-height: 1;
1759
1769
  padding-bottom: 8px;
1760
1770
  }
1761
- .required-name{
1771
+ /*.required-name{
1762
1772
  margin-left: -6px;
1763
- }
1773
+ }*/
1764
1774
 
1765
1775
  /* /deep/.ck-content .image img{
1766
1776
  max-width: 200px!important;
@@ -1778,7 +1788,8 @@ export default {
1778
1788
  .explan-ation{
1779
1789
  .explan-ation-div{
1780
1790
  display: flex;
1781
- padding: 4px 16px;
1791
+ /* padding: 4px 16px;*/
1792
+ padding: 4px;
1782
1793
  }
1783
1794
  .explan-ation-p{
1784
1795
  color: #4C61E1;font-size: 14px;margin: 16px 4px;
@@ -1822,7 +1833,8 @@ export default {
1822
1833
  /deep/.van-field__label{
1823
1834
  width: 100%;
1824
1835
  text-align: left;
1825
- color: #A9B3C6!important;
1836
+ /*color: #A9B3C6!important;*/
1837
+ color: #000000!important;
1826
1838
  display: flex;
1827
1839
  align-items: center;
1828
1840
  line-height: 1;
package/vue.config.js CHANGED
@@ -25,5 +25,11 @@ module.exports = {
25
25
  },
26
26
  },
27
27
  },
28
+ configureWebpack: {
29
+
30
+ externals: {
31
+ 'ckeditor': 'CKEDITOR'
32
+ },
33
+ },
28
34
 
29
35
  };