小程序wxml文件引用方式
时间:2018-10-04 06:42:17
收藏:0
阅读:152
import
<!--header.wxml -->
<template name="item">
<text>{{text}}</text>
</template>
<import src="../commonWxml/header.wxml"/> <template is="item" data="{{text:‘forBar‘}}"/>
include
<include src="../logs/logs.wxml"/>
原文:https://www.cnblogs.com/hzx-5/p/9739275.html
评论(0)