BoxShow.vue 603 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <template>
  2. <div class="box-show-container">{{value}}</div>
  3. </template>
  4. <script>
  5. export default {
  6. name: 'BoxShow',
  7. props: {
  8. value: String,
  9. },
  10. data () {
  11. return {
  12. formLayout: {
  13. wrapperCol: {
  14. span: 20,
  15. },
  16. labelCol: {
  17. span: 4,
  18. },
  19. },
  20. }
  21. },
  22. computed: {
  23. },
  24. watch: {
  25. },
  26. created () {
  27. },
  28. methods: {
  29. },
  30. }
  31. </script>
  32. <style scoped>
  33. .box-show-container{
  34. width: 100%;
  35. min-height: 32px;
  36. border: 1px solid #e8e8e8;
  37. padding: 0 11px;
  38. line-height: 32px;
  39. word-wrap: break-word;
  40. margin-top: 5px;
  41. }
  42. </style>