| | |
| | | <template> |
| | | <div class="whiteContent Content"> |
| | | <LeftMenu @mChange="mChange"> </LeftMenu> |
| | | <div class="right-content"> |
| | | <SubAccount v-if="activeIndex == 4"></SubAccount> |
| | | <BasicInfo v-if="activeIndex == 3" @gotolist="gotolist"></BasicInfo> |
| | | <OrderMng v-if="activeIndex == 1"></OrderMng> |
| | | <div class="heart"> |
| | | <LeftMenu @mChange="mChange"> </LeftMenu> |
| | | <div class="right-content"> |
| | | <SubAccount v-if="activeIndex == 2"></SubAccount> |
| | | <BasicInfo v-if="activeIndex == 1" @gotolist="gotolist"></BasicInfo> |
| | | <OrderMng v-if="activeIndex == 0"></OrderMng> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </template> |
| | |
| | | window._AMapSecurityConfig = { |
| | | securityJsCode: "768ab79bdc4075aa082bc070c53bb3c4", |
| | | }; |
| | | if (this.$route.query && this.$route.query.id) { |
| | | this.activeIndex = this.$route.query.id; |
| | | } |
| | | }, |
| | | mounted() {}, |
| | | components: { |
| | |
| | | mChange(i) { |
| | | this.activeIndex = i; |
| | | }, |
| | | gotolist(){ |
| | | this.mChange(4) |
| | | } |
| | | gotolist() { |
| | | this.mChange(4); |
| | | }, |
| | | }, |
| | | }; |
| | | </script> |
| | |
| | | margin: 30px auto; |
| | | display: flex; |
| | | justify-content: center; |
| | | |
| | | .heart { |
| | | display: flex; |
| | | } |
| | | |
| | | .left-menu { |
| | | margin-right: 24px; |
| | | } |
| | |
| | | min-height: 856px; |
| | | box-sizing: border-box; |
| | | background-color: #fff; |
| | | width: 1196px; |
| | | width: 1036px; |
| | | } |
| | | } |
| | | </style> |