11.vue 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <template>
  2. <div :class="['listSectorBox', {buildingBorder: this.$store.state.template.previewStatus==false}]">
  3. <div :class="['listSectorMainBox', {componentBorder: $store.state.template.previewStatus==false}]">
  4. <editBtn :id="id" :dataSort="dataSort" :sort="0" :type="1" :size="15" :y="y"/>
  5. <convertBtn :id="id" :sort="0" :type="10"/>
  6. <list1Style />
  7. </div>
  8. </div>
  9. </template>
  10. <script>
  11. import editBtn from '../../../public/editBtn.vue'
  12. import convertBtn from '../../../public/convertBtn.vue'
  13. import list1Style from '../components/mainList/1.vue'
  14. export default {
  15. components: {
  16. editBtn,
  17. convertBtn,
  18. list1Style
  19. },
  20. props: {
  21. id:{
  22. type:Number,
  23. default:0
  24. },
  25. y:{
  26. type:Number,
  27. default:0
  28. },
  29. dataSort:{
  30. type:Number,
  31. default:0
  32. }
  33. },
  34. data() {
  35. return {
  36. };
  37. },
  38. };
  39. </script>
  40. <style scoped lang="less">
  41. .listSectorBox {
  42. width: 100%;
  43. height: 900px;
  44. display: flex;
  45. flex-direction: column;
  46. align-items: center;
  47. .componentBorder{
  48. border: 2px dashed #999;
  49. }
  50. .listSectorMainBox {
  51. width: 80%;
  52. height: 900px;
  53. display: flex;
  54. flex-direction: column;
  55. align-items: center;
  56. position: relative;
  57. }
  58. }
  59. </style>