1.node.js中的pug模板引擎如何获取res.render()传递的数据?

答:使用#{xxxxx}

 2.pug模板怎么跳转到另一个页面

a(href='pointRule')   跳转到同目录下的路径

3.写if语句的时候可以直接写!list.length 不需要写成!#{list}.lenght 会报错 Unexpected character '#'

img里面的src配置应为  src=list[i].imageUrl

input里面的value配置为 value=mobile

4.for循环的写法