Commit 71b35efe authored by Junling Bu's avatar Junling Bu
Browse files

update[litemall-wx]: 设置页面的navigationBarTitleText。

parent a2aefed9
...@@ -152,7 +152,7 @@ public class WxGoodsController { ...@@ -152,7 +152,7 @@ public class WxGoodsController {
} }
Map<String, Object> data = new HashMap(); Map<String, Object> data = new HashMap();
data.put("currentCategory", cur); data.put("currentCategory", cur);
data.put("parentCategory", children); data.put("parentCategory", parent);
data.put("brotherCategory", children); data.put("brotherCategory", children);
return ResponseUtil.ok(data); return ResponseUtil.ok(data);
} }
......
{} {
\ No newline at end of file "navigationBarTitleText": "登录"
}
\ No newline at end of file
{} {
\ No newline at end of file "navigationBarTitleText": "注册"
}
\ No newline at end of file
{} {
\ No newline at end of file "navigationBarTitleText": "密码重置"
}
\ No newline at end of file
{} {
\ No newline at end of file "navigationBarTitleText": "品牌商直供"
}
\ No newline at end of file
{ {
"navigationBarTitleText": "品牌商详情"
} }
\ No newline at end of file
{ {
"backgroundColor": "#f4f4f4" "backgroundColor": "#f4f4f4",
"navigationBarTitleText": "购物车"
} }
\ No newline at end of file
{} {
\ No newline at end of file "navigationBarTitleText": "分类"
}
\ No newline at end of file
...@@ -45,6 +45,10 @@ Page({ ...@@ -45,6 +45,10 @@ Page({
currentCategory: res.data.currentCategory currentCategory: res.data.currentCategory
}); });
wx.setNavigationBarTitle({
title: res.data.parentCategory.name
})
//nav位置 //nav位置
let currentIndex = 0; let currentIndex = 0;
let navListCount = that.data.navList.length; let navListCount = that.data.navList.length;
......
{ {
"navigationBarTitleText": "评价"
} }
\ No newline at end of file
{ {
"navigationBarTitleText": "评价商品" "navigationBarTitleText": "评价"
} }
\ No newline at end of file
{} {
\ No newline at end of file "navigationBarTitleText": "商品详情"
}
\ No newline at end of file
{ {
"navigationBarTitleText": "人气推荐"
} }
\ No newline at end of file
{ {
"navigationBarTitleText": "新品首发"
} }
\ No newline at end of file
{ {
"navigationBarTitleText": "付款结果", "navigationBarTitleText": "付款结果",
"navigationBarBackgroundColor": "#fafafa" "navigationBarBackgroundColor": "#fafafa"
} }
\ No newline at end of file
{ {
"navigationBarTitleText": "搜索"
} }
\ No newline at end of file
{} {
\ No newline at end of file "navigationBarTitleText": "地址管理"
}
\ No newline at end of file
{ {
"navigationBarTitleText": "编辑地址"
} }
\ No newline at end of file
{ {
"navigationBarTitleText": "填写订单"
} }
\ No newline at end of file
{} {
\ No newline at end of file "navigationBarTitleText": "专题"
}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment