| | |
| | | <template> |
| | | <div> |
| | | <MyModal ref="myModal"></MyModal> |
| | | <MyPreviewModal ref="MyPreviewModal"></MyPreviewModal> |
| | | <MyModal ref="myModal" /> |
| | | <MyPreviewModal ref="MyPreviewModal" /> |
| | | <MyMessage ref="MyMessage" /> |
| | | |
| | | <div class="blog-drawer"> |
| | | <a-drawer placement="left" :closable="false" :visible="visibleDrawer" :getContainer="'body'" |
| | |
| | | </a-drawer> |
| | | </div> |
| | | |
| | | <div class="blog-main"> |
| | | <div class="blog-main "> |
| | | |
| | | <a-row> |
| | | <keep-alive> |
| | |
| | | <a-button @click="showDrawer" style="padding:0px 10px"> |
| | | <a-icon type="left-circle" /> |
| | | </a-button> |
| | | <a-button @click="showMessage" style="margin-top:10px;padding:0px 10px"> |
| | | <a-icon type="message" /> |
| | | </a-button> |
| | | </a-affix> |
| | | </a-col> |
| | | <keep-alive> |
| | | <transition name="fade"> |
| | | <router-view></router-view> |
| | | </transition> |
| | | <router-view></router-view> |
| | | </keep-alive> |
| | | </a-col> |
| | | |
| | | <a-col v-bind="colApiRight"> |
| | | <tool @showModal="showModal" @showPreview="showPreview" @showScreen="showScreen" /> |
| | | <tool @showModal="showModal" @showPreview="showPreview" @showScreen="showScreen" |
| | | @showMessage="showMessage" /> |
| | | </a-col> |
| | | </a-row> |
| | | </div> |
| | |
| | | import tool from "../group/tool.vue" |
| | | import MyModal from "../group/MyModal.vue" |
| | | import MyPreviewModal from "../group/MyPreviewModal.vue" |
| | | import MyMessage from "../group/MyMessage.vue" |
| | | |
| | | import screenConfig from "../../config/screenConfig.js" |
| | | |
| | |
| | | tool, |
| | | MyModal, |
| | | MyPreviewModal, |
| | | MyMessage, |
| | | }, |
| | | methods: { |
| | | showScreen() { |
| | |
| | | }, |
| | | showPreview() { |
| | | this.$refs.MyPreviewModal.showModal(); |
| | | }, |
| | | showMessage() { |
| | | this.$refs.MyMessage.showModal(); |
| | | }, |
| | | afterVisibleChange(val) {}, |
| | | showDrawer() { |
| | |
| | | |
| | | |
| | | .blog-main { |
| | | min-height: 860px; |
| | | margin-top: 80px; |
| | | padding-left: 3%; |
| | | padding-right: 3%; |