微信小程序 引入公共頁面的幾種情況 template.wxml

參考文章:https://www.cnblogs.com/zxf100/p/8118799.html 1、不帶參數 首先在pages文件夾中新建一個template文件夾,文件夾中新建一個template.wxml文件,代碼如下 <!--template.wxml--> <template name="msgItem"> <view> <text>This is template.wxml文件,我
相關文章
相關標籤/搜索