Commit b740ad1f46adbd2462d106f5c4fd084d89f88660
1 parent
185f881c
user_id显示的游湖
Showing
5 changed files
with
19 additions
and
11 deletions
packageB/pages/luckactivity/luckinfo/luckinfo.js
... | ... | @@ -262,11 +262,10 @@ Page({ |
262 | 262 | let first_leader = null; |
263 | 263 | this.data.options = options; |
264 | 264 | |
265 | - | |
266 | - wx.setNavigationBarTitle({ | |
267 | - title: options.title, | |
268 | - }); | |
269 | - | |
265 | + // wx.setNavigationBarTitle({ | |
266 | + // title: options.title, | |
267 | + // }); | |
268 | + this.setData({l_title:options.title}) | |
270 | 269 | |
271 | 270 | app.isLogin().then(function (data) {//进入页面前已经授权登录成功 |
272 | 271 | self.setData({ | ... | ... |
packageB/pages/luckactivity/luckinfo/luckinfo.json
... | ... | @@ -2,10 +2,12 @@ |
2 | 2 | "usingComponents": { |
3 | 3 | "lucky-wheel":"/packageB/miniprogram_npm/mini-luck-draw/lucky-wheel/index", |
4 | 4 | "qrcode": "/components/my-qrcode/my-qrcode", |
5 | - "nodata": "/components/nodata/nodata", | |
6 | - "store_popup":"/components/store_popup/store_popup", | |
7 | - "painter": "/packageB/components/painter/painter" | |
5 | + "nodata": "/components/nodata/nodata", | |
6 | + "store_popup":"/components/store_popup/store_popup", | |
7 | + "painter": "/packageB/components/painter/painter", | |
8 | + "com_top_nav": "/components/com_top_nav/com_top_nav" | |
8 | 9 | }, |
9 | 10 | "enablePullDownRefresh": false, |
10 | - "navigationBarTitleText": "幸运大转盘" | |
11 | + "navigationBarTitleText": "幸运大转盘", | |
12 | + "navigationStyle": "custom" | |
11 | 13 | } |
12 | 14 | \ No newline at end of file | ... | ... |
packageB/pages/luckactivity/luckinfo/luckinfo.wxml
1 | 1 | <wxs module="filter" src="../../../../utils/filter.wxs"></wxs> |
2 | 2 | <wxs module="tool" src="./tool.wxs"></wxs> |
3 | + | |
4 | +<com_top_nav title="{{l_title}}"></com_top_nav> | |
5 | + | |
3 | 6 | <view class="luck-container {{!template&&custom ? 'on':''}}" style="{{luckStyle}}"> |
4 | 7 | <!-- <view class="luck-container {{!template&&custom ? 'on':''}}" style="background: {{template&&template.colorCode ? template.colorCode:(custom ? '#f0f0f0':'#da104b')}} url({{bannerUrl ? bannerUrl:''}}) no-repeat;"> --> |
5 | 8 | <!-- 中奖人员 --> | ... | ... |
pages/user/index/index.json
... | ... | @@ -2,7 +2,9 @@ |
2 | 2 | "usingComponents": { |
3 | 3 | "pop_txt": "/components/userqy_pop_up/userqy_pop_up", |
4 | 4 | "goods_recommend": "/components/goods_list/goods_list", |
5 | - "privacy_pop": "/components/privacy_pop/privacy_pop" | |
5 | + "privacy_pop": "/components/privacy_pop/privacy_pop", | |
6 | + "com_top_nav": "/components/com_top_nav/com_top_nav" | |
6 | 7 | }, |
7 | - "navigationBarTitleText": "会员中心" | |
8 | + "navigationBarTitleText": "会员中心", | |
9 | + "navigationStyle": "custom" | |
8 | 10 | } |
9 | 11 | \ No newline at end of file | ... | ... |
pages/user/index/index.wxml
... | ... | @@ -3,6 +3,8 @@ |
3 | 3 | <!-- <import src="../../tabbar/tabbar.wxml" /> |
4 | 4 | <template is="tabBar" data="{{tabBar}}" /> --> |
5 | 5 | <wxs src="filter.wxs" module="util"></wxs> |
6 | +<com_top_nav title="会员中心"></com_top_nav> | |
7 | + | |
6 | 8 | <view class="xc-page" style="margin-bottom:{{isIpx ? '168rpx' : '100rpx'}}"> |
7 | 9 | <view class="xc-user"> |
8 | 10 | <view class="xc-head rel"> | ... | ... |