题目: html
1. 如何实现 在 后台设置 seo 搜索字段?数据库
答: 将 meta,title 中字段 使用 从数据库中查出的。例如: json
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>$!config.title - $!{config.poweredby}</title> <meta name="keywords" content="$!config.keywords" > <meta name="description" content="$!config.description" > <meta name="generator" content="$!{config.meta_generator}"> <meta name="author" content="$!{config.meta_author}"> <meta name="copyright" content="$!{config.copyRight}">
位置: wemall_v2/index.htmlui
2. 什么是 首页楼层的 组成?code
答:名,层级,模板,数据库中 模板 中 分类列表,商品列表 都是 用 json 表示htm
模板 组成: 分类列表,商品列表seo
3. 如何 编辑 楼层 的模板?ip
答: 当 编辑 模板 中 商品 分类时,就弹出 模板 商品 分类 对话框,该对话框 加载 相对应页面,例如: goods_floor_class.html 就是 点击 编辑 流程 服饰 时 加载 的页面,该页面 只显示 商品 分类 ,保存 时,只 update 数据库中分类 列。utf-8
4. 如何实现 商品 评论?generator
答: 添加 评论表: