richtext.vue 501 B

123456789101112131415161718192021222324252627282930
  1. <template>
  2. <view class="diy-richText"
  3. :style="{ paddingTop: diyitem.base.paddingTop + 'px', paddingLeft: diyitem.base.paddingLeft + 'px', background: diyitem.base.bc }">
  4. <view class="">
  5. <rich-text :nodes="diyitem.params.content"></rich-text>
  6. </view>
  7. </view>
  8. </template>
  9. <script>
  10. export default {
  11. name: 'richtext',
  12. props: {
  13. diyitem: {
  14. type: Object,
  15. default () {
  16. return {};
  17. }
  18. }
  19. },
  20. computed: {
  21. },
  22. data() {
  23. return {};
  24. },
  25. methods: {
  26. }
  27. };
  28. </script>