Model2.vue 616 B

123456789101112131415161718192021222324252627282930313233
  1. <template>
  2. <view class="model-2">
  3. <view class="editor-wrapper" :style="{backgroundColor:editablePageConfig.editable_page_config_content.back_color}">
  4. <rich-text class="html" :nodes="editablePageConfig.editable_page_config_content.editor_content"></rich-text>
  5. </view>
  6. </view>
  7. </template>
  8. <script>
  9. export default {
  10. name: 'Model2',
  11. data () {
  12. return {
  13. }
  14. },
  15. props: ['editablePageConfig','editablePage'],
  16. computed: {
  17. },
  18. methods: {
  19. }
  20. }
  21. </script>
  22. <style lang="scss">
  23. .model-2 .editor-wrapper{
  24. border-radius: 5px;
  25. }
  26. .model-2 .editor-wrapper .html *{
  27. max-width: 100%;
  28. }
  29. </style>