作者:xiaochun365 来源地址:http://blog.csdn.net/xiaochun365/article/details/72730894
对于模板的使用,我是想将模板的事件单独出来,其他引用模板的页面中不再掺杂模板事件,比较方便管理,如果还有其他好的解决办法, 请赐教。
template.wxml
template.js
template.wxss
————————————————————————
index.wxml 引用template模板
index.js
index.wxss
镭拓科技专业提供网站建设,网站设计,微信小程序开发,微信公众号开发等服务,建站热线:400-6666-113