| | |
| | | <template> |
| | | <div> |
| | | <MyModal ref="myModal"></MyModal> |
| | | <MyPreviewModal ref="MyPreviewModal"></MyPreviewModal> |
| | | |
| | | <div class="blog-drawer"> |
| | | <a-drawer placement="left" :closable="false" :visible="visible1" :getContainer="'body'" |
| | |
| | | </keep-alive> |
| | | |
| | | <a-col v-bind="colApiMain "> |
| | | <a-col v-bind="colMini" :style="{'position':'absolute','right':'30px'}"> |
| | | <a-affix :offset-top="550"> |
| | | <a-button @click="showDrawer1"> |
| | | more |
| | | <a-col v-bind="colMini" :style="{'position':'absolute','right':'5px'}"> |
| | | <a-affix :offset-top="600"> |
| | | <a-button @click="showDrawer1" style="padding:0px 10px"> |
| | | <a-icon type="left-circle" /> |
| | | </a-button> |
| | | </a-affix> |
| | | </a-col> |
| | |
| | | |
| | | <a-col v-bind="colApiRight" ref="myDrawer"> |
| | | <!-- <boxRight></boxRight> --> |
| | | <tool @showModal="showModal" @showDrawer1="showDrawer1" @showScreen="showScreen"></tool> |
| | | <tool @showModal="showModal" @showPreview="showPreview" @showDrawer1="showDrawer1" |
| | | @showScreen="showScreen"></tool> |
| | | </a-col> |
| | | </a-row> |
| | | </div> |
| | |
| | | import articleListScorll from "../group/articleListScorll.vue" |
| | | import tool from "../group/tool.vue" |
| | | import MyModal from "../group/MyModal.vue" |
| | | import MyPreviewModal from "../group/MyPreviewModal.vue" |
| | | |
| | | export default { |
| | | |
| | |
| | | articleListScorll, |
| | | tool, |
| | | MyModal, |
| | | MyPreviewModal, |
| | | }, |
| | | methods: { |
| | | showScreen() { |
| | |
| | | showModal() { |
| | | this.$refs.myModal.showModal(); |
| | | }, |
| | | showPreview() { |
| | | this.$refs.MyPreviewModal.showModal(); |
| | | }, |
| | | afterVisibleChange(val) {}, |
| | | showDrawer1() { |
| | | this.visible1 = true; |
| | |
| | | colMini: { |
| | | xs: 1, |
| | | sm: 1, |
| | | md: 1, |
| | | md: 0, |
| | | lg: 0, |
| | | xl: 0, |
| | | xxl: 0 |
| | |
| | | |
| | | .blog-main { |
| | | margin-top: 80px; |
| | | padding-left: 5%; |
| | | padding-right: 5%; |
| | | padding-left: 3%; |
| | | padding-right: 3%; |
| | | } |
| | | |
| | | /*左右两边的盒子容器*/ |