进云平台-专注实现‘互联网+’服务

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 232|回复: 0

页面插入其他页面代码,页面模板的教程(include/sys_html方法)

[复制链接]
发表于 2022-5-10 11:34:39 | 显示全部楼层 |阅读模式
下面讲个示例:
<div ng-include="sys_html('shop/_hdps','','','jy_weishop')"></div>其中第4个参数,表示插入jy_weishop目录下的页面,也就是:jy_weishop/custom/templates/mobile/shop/_hdps.html
<div ng-include="sys_html('common/_gotop',true)"></div>其中第2个参数,为true表示插入系统页面,也就是:跟目录/custom/templates/mobile/common/_gotop.html
<div ng-include="sys_html('common/_gotop')"></div>其中第2个参数,为false,或者不填表示插入当前插件下面的页面,也就是:插件标识/custom/templates/mobile/common/_gotop.html
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则



Archiver|手机版|小黑屋|进云平台

GMT+8, 2024-5-11 01:06 , Processed in 0.047750 second(s), 7 queries , File On.

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表