Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Litemall
Commits
71b35efe
Commit
71b35efe
authored
Apr 03, 2018
by
Junling Bu
Browse files
update[litemall-wx]: 设置页面的navigationBarTitleText。
parent
a2aefed9
Changes
31
Hide whitespace changes
Inline
Side-by-side
litemall-wx-api/src/main/java/org/linlinjava/litemall/wx/web/WxGoodsController.java
View file @
71b35efe
...
@@ -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"
,
child
ren
);
data
.
put
(
"parentCategory"
,
pa
ren
t
);
data
.
put
(
"brotherCategory"
,
children
);
data
.
put
(
"brotherCategory"
,
children
);
return
ResponseUtil
.
ok
(
data
);
return
ResponseUtil
.
ok
(
data
);
}
}
...
...
litemall-wx/pages/auth/login/login.json
View file @
71b35efe
{}
{
\ No newline at end of file
"navigationBarTitleText"
:
"登录"
}
\ No newline at end of file
litemall-wx/pages/auth/register/register.json
View file @
71b35efe
{}
{
\ No newline at end of file
"navigationBarTitleText"
:
"注册"
}
\ No newline at end of file
litemall-wx/pages/auth/reset/reset.json
View file @
71b35efe
{}
{
\ No newline at end of file
"navigationBarTitleText"
:
"密码重置"
}
\ No newline at end of file
litemall-wx/pages/brand/brand.json
View file @
71b35efe
{}
{
\ No newline at end of file
"navigationBarTitleText"
:
"品牌商直供"
}
\ No newline at end of file
litemall-wx/pages/brandDetail/brandDetail.json
View file @
71b35efe
{
{
"navigationBarTitleText"
:
"品牌商详情"
}
}
\ No newline at end of file
litemall-wx/pages/cart/cart.json
View file @
71b35efe
{
{
"backgroundColor"
:
"#f4f4f4"
"backgroundColor"
:
"#f4f4f4"
,
"navigationBarTitleText"
:
"购物车"
}
}
\ No newline at end of file
litemall-wx/pages/catalog/catalog.json
View file @
71b35efe
{}
{
\ No newline at end of file
"navigationBarTitleText"
:
"分类"
}
\ No newline at end of file
litemall-wx/pages/category/category.js
View file @
71b35efe
...
@@ -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
;
...
...
litemall-wx/pages/comment/comment.json
View file @
71b35efe
{
{
"navigationBarTitleText"
:
"评价"
}
}
\ No newline at end of file
litemall-wx/pages/commentPost/commentPost.json
View file @
71b35efe
{
{
"navigationBarTitleText"
:
"评价
商品
"
"navigationBarTitleText"
:
"评价"
}
}
\ No newline at end of file
litemall-wx/pages/goods/goods.json
View file @
71b35efe
{}
{
\ No newline at end of file
"navigationBarTitleText"
:
"商品详情"
}
\ No newline at end of file
litemall-wx/pages/hotGoods/hotGoods.json
View file @
71b35efe
{
{
"navigationBarTitleText"
:
"人气推荐"
}
}
\ No newline at end of file
litemall-wx/pages/newGoods/newGoods.json
View file @
71b35efe
{
{
"navigationBarTitleText"
:
"新品首发"
}
}
\ No newline at end of file
litemall-wx/pages/payResult/payResult.json
View file @
71b35efe
{
{
"navigationBarTitleText"
:
"付款结果"
,
"navigationBarTitleText"
:
"付款结果"
,
"navigationBarBackgroundColor"
:
"#fafafa"
"navigationBarBackgroundColor"
:
"#fafafa"
}
}
\ No newline at end of file
litemall-wx/pages/search/search.json
View file @
71b35efe
{
{
"navigationBarTitleText"
:
"搜索"
}
}
\ No newline at end of file
litemall-wx/pages/shopping/address/address.json
View file @
71b35efe
{}
{
\ No newline at end of file
"navigationBarTitleText"
:
"地址管理"
}
\ No newline at end of file
litemall-wx/pages/shopping/addressAdd/addressAdd.json
View file @
71b35efe
{
{
"navigationBarTitleText"
:
"编辑地址"
}
}
\ No newline at end of file
litemall-wx/pages/shopping/checkout/checkout.json
View file @
71b35efe
{
{
"navigationBarTitleText"
:
"填写订单"
}
}
\ No newline at end of file
litemall-wx/pages/topic/topic.json
View file @
71b35efe
{}
{
\ No newline at end of file
"navigationBarTitleText"
:
"专题"
}
\ No newline at end of file
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment