Title: 🎨Interface Engine Canonical: https://microi.net/en/doc/system-engine/page-engine.html Page-Modified: 2026-10-12T10:49:46.000Z Source: published HTML document body; page revision is not a capability verification date. # 🎨Interface Engine Visualization capabilities such as custom interface design and ECharts charts --- ## 📸Preview image [界面引擎预览1: https://file.microi.net/upload/img/csdn/8d07494649c34c7981495bdb28551451.png#pic_center] [界面引擎预览2: https://file.microi.net/upload/img/csdn/3aae333deaec41a588ed985df5644375.png#pic_center] ## Interface Engine - in actual project development, often [* * form engine form * *] can not meet the needs of customer leaders, so Microi code interface engine was born - All controls support data source configuration, which can be provided through interface engine (https://microi.blog.csdn.net/article/details/143968454) ## Trial Address Microi code interface engine:https://microi.net/page-engine (https://microi.net/page-engine) ## npm component integration mode npm I microi-pageengine@latest must be a Vue3 Vite project, any page can be integrated, the following code is integrated demo Expand to view JavaScript code (99 lines) javascript ``` ``` ## integration mode of iframe mode this mode, to put it bluntly, is versatile. it regards the low-code designer as an online tool. it is stateless, does not rely on any front-end and back-end, has high cohesion and low coupling, and can be integrated into any platform. When there are hundreds of custom extension components in time, you can become the overlord and independent product on your own. Platform integration uses Iframe to embed the page designer into your own page and communicate with the parent page through postMessage means. The parent page can obtain the page JSON generated by the designer or pass token to the designer. Data communication using postMessage the parent page (docking platform) sends data to the child page through the postMessage, where token is mainly passed, and the child page (page design engine component) uses window.addEventListener to monitor and receive data javascript ``` //设计引擎调用 methods: { sendMessageToIframe() { const iframe = this.$refs.myIframe; // 要发送的数据 const dataToSend = { pageEngineToken: "token 值" }; // 使用 postMessage 发送数据给 iframe iframe.contentWindow.postMessage(dataToSend, "*"); } } ``` ## The interface engine is lisaisai developed by our team members. For more complete instructions, see the blog post:https://lisaisai.blog.csdn.net/article/details/143928130 (https://lisaisai.blog.csdn.net/article/details/143928130)