WXML 提供两种文件引用方式import和include。 <include src="header.wxml"/> <import src="a.wxml"/> 无论是import方式还是include方式它就是一个引用,被引用的页面所有的交互只和当前引用页的逻辑js进行交互 wxss 的引用 @import './test_0.wxss'