| | |
| | | <div> |
| | | <MyModal ref="myModal" /> |
| | | <MyPreviewModal ref="MyPreviewModal" /> |
| | | <MyMessage ref="MyMessage" /> |
| | | <MyMessage ref="MyMessage" v-if="openMessage" /> |
| | | <MyLink ref="MyLink" v-if="openLinkAdd" /> |
| | | |
| | | <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-col v-bind="colApiMain"> |
| | | <a-col v-bind="colMini" :style="{'position':'absolute','right':'5px'}"> |
| | | <a-affix :offset-top="550"> |
| | | <a-affix :offset-top="500"> |
| | | <a-button @click="showDrawer" style="padding:0px 10px"> |
| | | <a-icon type="left-circle" /> |
| | | </a-button> |
| | |
| | | |
| | | <a-col v-bind="colApiRight"> |
| | | <tool @showModal="showModal" @showPreview="showPreview" @showScreen="showScreen" |
| | | @showMessage="showMessage" /> |
| | | @showMessage="showMessage" @addLink="addLink" /> |
| | | </a-col> |
| | | </a-row> |
| | | </div> |
| | |
| | | import MyModal from "../group/MyModal.vue" |
| | | import MyPreviewModal from "../group/MyPreviewModal.vue" |
| | | import MyMessage from "../group/MyMessage.vue" |
| | | import MyLink from "../group/MyLink.vue" |
| | | |
| | | import screenConfig from "../../config/screenConfig.js" |
| | | |
| | |
| | | MyModal, |
| | | MyPreviewModal, |
| | | MyMessage, |
| | | MyLink, |
| | | }, |
| | | methods: { |
| | | showScreen() { |
| | |
| | | } |
| | | this.scale = !this.scale; |
| | | }, |
| | | addLink() { |
| | | this.openLinkAdd = true |
| | | this.$nextTick(function() { |
| | | this.$refs.MyLink.showModal(); |
| | | }) |
| | | }, |
| | | showModal() { |
| | | this.$refs.myModal.showModal(); |
| | | }, |
| | |
| | | this.$refs.MyPreviewModal.showModal(); |
| | | }, |
| | | showMessage() { |
| | | this.$refs.MyMessage.showModal(); |
| | | this.openMessage = true |
| | | this.$nextTick(function() { |
| | | this.$refs.MyMessage.showModal(); |
| | | }) |
| | | }, |
| | | afterVisibleChange(val) {}, |
| | | showDrawer() { |
| | |
| | | colMini: screenConfig.colMini, |
| | | colApiLeft: screenConfig.colApiLeft, |
| | | colApiRight: screenConfig.colApiRight, |
| | | colApiMain: screenConfig.colApiMain |
| | | colApiMain: screenConfig.colApiMain, |
| | | openLinkAdd: false, |
| | | openMessage: false, |
| | | } |
| | | } |
| | | }, |
| | | |
| | | } |
| | | </script> |
| | | |
| | | <style lang="less"> |
| | | @font-face { |
| | | font-family: 'HYTangMeiRen'; |
| | | // font-display: swap; |
| | | src: url("http://t.inleft.com/share/z%E5%AD%97%E4%BD%93%E5%BA%93/hytmr55%E6%B1%89%E4%BB%AA%E5%94%90%E7%BE%8E%E4%BA%BA%E5%AD%97%E4%BD%93.woff") format("truetype"); |
| | | } |
| | | |
| | | span, |
| | | p, |
| | | a, |
| | | body, |
| | | h1, |
| | | h2, |
| | | h3, |
| | | h4, |
| | | h5, |
| | | h6, |
| | | code { |
| | | font-family: HYTangMeiRen !important; |
| | | } |
| | | |
| | | |
| | | .swichTag { |
| | | min-height: 750px; |