In recent years, solid-state lithium metal batteries (SSLMBs) have become a new development trend, and it has become a top priority to design solid-state electrolytes (SSEs) that can rapidly and stably transport lithium ions in a variety of climatic environments. In this work, an integrated "rigid-flexible" dual-functional strategy is proposed to develop a cationic covalent organic framework (EO-BIm-iCOF) with well-defined flexible oligo(ethylene oxide) (EO) chains as an SSE for SSLMBs. As expected, the synergistic effects of the rigid cationic framework and flexible EO chains not only promote the dissociation of LiTFSI salts, but also greatly improve the transport of lithium ions, which endows LITFSI@EO-BIm-iCOF SSEs with a high Li