common-tips.vue 625 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <template>
  2. <div ref="common-title" class="common-tips">
  3. <div class="common-tips-box" v-html="data.options.title" />
  4. </div>
  5. </template>
  6. <script>
  7. export default {
  8. components: {},
  9. props: {
  10. data: null,
  11. editMode: () => {
  12. return false
  13. }
  14. },
  15. data() {
  16. return {}
  17. },
  18. watch: {
  19. data: {
  20. deep: true,
  21. handler: function handler() {
  22. // this.getSize();
  23. }
  24. }
  25. },
  26. mounted() {},
  27. methods: {}
  28. }
  29. </script>
  30. <style scoped >
  31. .common-tips {
  32. }
  33. .common-tips-box {
  34. font-size: 16px;
  35. padding: 8px;
  36. line-height: 1.6;
  37. background: #eaf7ff;
  38. margin: 14px;
  39. }
  40. </style>