Commit 8a4bade11e572b0bea2931c38dda855e90551a1c
Merge branch 'dev_oa_fu26' into dev
Showing
33 changed files
with
168 additions
and
42 deletions
app.js
@@ -197,8 +197,10 @@ App({ | @@ -197,8 +197,10 @@ App({ | ||
197 | if (modelmes && modelmes.indexOf('iPhone X') != -1) { //XS,XR,XS MAX均可以适配,因为indexOf()会将包含'iPhone X'的字段都查出来 | 197 | if (modelmes && modelmes.indexOf('iPhone X') != -1) { //XS,XR,XS MAX均可以适配,因为indexOf()会将包含'iPhone X'的字段都查出来 |
198 | this.globalData.isIpx = true | 198 | this.globalData.isIpx = true |
199 | } | 199 | } |
200 | + this.globalData.navBarHeight = 44 + res.statusBarHeight | ||
200 | }, | 201 | }, |
201 | }) | 202 | }) |
203 | + this.globalData.menuInfo = wx.getMenuButtonBoundingClientRect() || {} | ||
202 | 204 | ||
203 | var th = this; | 205 | var th = this; |
204 | var pages = getCurrentPages(); //获取加载的页面 | 206 | var pages = getCurrentPages(); //获取加载的页面 |
components/com_top_nav/com_top_nav.js
0 → 100644
1 | +var t = getApp(),os = t.globalData.setting; | ||
2 | +Component({ | ||
3 | + properties: { | ||
4 | + title:{ | ||
5 | + type: String,value: '你好' | ||
6 | + }, | ||
7 | + bcolor:{ | ||
8 | + type: String,value: '#fff' | ||
9 | + }, | ||
10 | + color:{ | ||
11 | + type: String,value: '#313131' | ||
12 | + } | ||
13 | + }, | ||
14 | + data: { | ||
15 | + iurl: os.imghost, | ||
16 | + height:0, | ||
17 | + h1:0, | ||
18 | + h2:0, | ||
19 | + user_id:0 | ||
20 | + }, | ||
21 | + ready: function() { | ||
22 | + let height= getApp().globalData.navBarHeight; | ||
23 | + let menuInfo = getApp().globalData.menuInfo; | ||
24 | + //-- 胶囊的高度 -- | ||
25 | + this.setData({height,h1:menuInfo.top,h2:menuInfo.height,user_id:getApp().globalData.user_id}); | ||
26 | + }, | ||
27 | + methods: { | ||
28 | + go_back(){ | ||
29 | + let pages = getCurrentPages(); | ||
30 | + if (pages[pages.length - 2]) { | ||
31 | + wx.navigateBack(); | ||
32 | + } else { | ||
33 | + getApp().goto('/pages/index/index/index') | ||
34 | + } | ||
35 | + } | ||
36 | + | ||
37 | + } | ||
38 | + | ||
39 | +}) | ||
0 | \ No newline at end of file | 40 | \ No newline at end of file |
components/com_top_nav/com_top_nav.json
0 → 100644
components/com_top_nav/com_top_nav.wxml
0 → 100644
1 | +<cover-view class="t_nav" style="height:{{height}}px;background-color:{{bcolor}};color:{{color}}"> | ||
2 | + <cover-view class="tab" style="height:{{h1}}px;"> | ||
3 | + <cover-view class="tb_con" >ID:{{user_id}}<cover-view style="width:20rpx"></cover-view></cover-view> | ||
4 | + </cover-view> | ||
5 | + <cover-view bindtap="go_back" class="contant" style="height:{{h2}}px"> | ||
6 | + <cover-view class="gback"> | ||
7 | + <cover-view class="rote_view" style="border: 3rpx solid {{color}};"></cover-view> | ||
8 | + </cover-view> | ||
9 | + <cover-view >{{title}}</cover-view> | ||
10 | + </cover-view> | ||
11 | + | ||
12 | +</cover-view> | ||
13 | +<!-- 用于顶开层的高 --> | ||
14 | +<cover-view style="height:{{height}}px"></cover-view> | ||
0 | \ No newline at end of file | 15 | \ No newline at end of file |
components/com_top_nav/com_top_nav.wxss
0 → 100644
1 | +.t_nav{position:fixed;top:0;left:0; width:100%;z-index:9999; background-color: #fff;font-size: 30rpx } | ||
2 | +.tab{ font-size:24rpx; position: relative } | ||
3 | +.tb_con{ | ||
4 | + position: absolute; bottom: 0; right: 10rpx; display: flex; | ||
5 | +} | ||
6 | +.contant{ display: flex; justify-content: center; align-items: center; width: 100%; position: relative } | ||
7 | +.gback{ | ||
8 | + position: absolute; left: 24rpx; width: 17rpx; height: 37rpx;overflow: hidden; | ||
9 | +} | ||
10 | + | ||
11 | +.rote_view{ | ||
12 | + width: 24rpx; height: 24rpx; margin-left: 6rpx; margin-top: 6rpx; | ||
13 | + transform: rotate(45deg); | ||
14 | +} |
packageA/pages/checkin/checkin.json
1 | { | 1 | { |
2 | - "usingComponents": {}, | 2 | + "usingComponents": { |
3 | + "com_top_nav": "/components/com_top_nav/com_top_nav" | ||
4 | + }, | ||
3 | "navigationBarTitleText": "签到领积分", | 5 | "navigationBarTitleText": "签到领积分", |
4 | - "enablePullDownRefresh": false | 6 | + "enablePullDownRefresh": false, |
7 | + "navigationStyle": "custom" | ||
5 | } | 8 | } |
6 | \ No newline at end of file | 9 | \ No newline at end of file |
packageA/pages/checkin/checkin.wxml
1 | <wxs module="filters" src="../../../utils/filter.wxs"></wxs> | 1 | <wxs module="filters" src="../../../utils/filter.wxs"></wxs> |
2 | <wxs module="g_filter" src="g_filter.wxs"></wxs> | 2 | <wxs module="g_filter" src="g_filter.wxs"></wxs> |
3 | <wxs src="checkin.wxs" module="myUtil"></wxs> | 3 | <wxs src="checkin.wxs" module="myUtil"></wxs> |
4 | + | ||
5 | +<com_top_nav title="签到领积分"></com_top_nav> | ||
6 | + | ||
4 | <view class="checkin-container"> | 7 | <view class="checkin-container"> |
5 | <view class="rule-container flex"> | 8 | <view class="rule-container flex"> |
6 | <view class="rule" bindtap="showRules">规则</view> | 9 | <view class="rule" bindtap="showRules">规则</view> |
packageA/pages/goodsInfo/goodsInfo.json
@@ -5,6 +5,8 @@ | @@ -5,6 +5,8 @@ | ||
5 | "nav_box": "/components/nav_box/nav_box", | 5 | "nav_box": "/components/nav_box/nav_box", |
6 | "warn": "/components/long_warn/long_warn", | 6 | "warn": "/components/long_warn/long_warn", |
7 | "serviceCard_recommend": "/components/serviceCard_list/serviceCard_list", | 7 | "serviceCard_recommend": "/components/serviceCard_list/serviceCard_list", |
8 | - "privacy_pop": "/components/privacy_pop/privacy_pop" | ||
9 | - } | 8 | + "privacy_pop": "/components/privacy_pop/privacy_pop", |
9 | + "com_top_nav": "/components/com_top_nav/com_top_nav" | ||
10 | + }, | ||
11 | + "navigationStyle": "custom" | ||
10 | } | 12 | } |
11 | \ No newline at end of file | 13 | \ No newline at end of file |
packageA/pages/goodsInfo/goodsInfo.wxml
@@ -3,6 +3,8 @@ | @@ -3,6 +3,8 @@ | ||
3 | <wxs module="g_filters" src="g_filter.wxs"></wxs> | 3 | <wxs module="g_filters" src="g_filter.wxs"></wxs> |
4 | <wxs module="tool" src="filter.wxs"></wxs> | 4 | <wxs module="tool" src="filter.wxs"></wxs> |
5 | 5 | ||
6 | +<com_top_nav title="{{data.goods_name}}"></com_top_nav> | ||
7 | + | ||
6 | <!-- 判断隐私是不是显示 --> | 8 | <!-- 判断隐私是不是显示 --> |
7 | <privacy_pop id="privacy_pop" bind:agree_pri="agree_pri"></privacy_pop> | 9 | <privacy_pop id="privacy_pop" bind:agree_pri="agree_pri"></privacy_pop> |
8 | 10 |
packageA/pages/serviceCard_pd/goodsInfo/goodsInfo.json
@@ -6,6 +6,8 @@ | @@ -6,6 +6,8 @@ | ||
6 | "warn": "/components/long_warn/long_warn", | 6 | "warn": "/components/long_warn/long_warn", |
7 | "serviceCard_recommend": "/components/serviceCard_list/serviceCard_list", | 7 | "serviceCard_recommend": "/components/serviceCard_list/serviceCard_list", |
8 | "share": "/components/share/share", | 8 | "share": "/components/share/share", |
9 | - "privacy_pop": "/components/privacy_pop/privacy_pop" | ||
10 | - } | 9 | + "privacy_pop": "/components/privacy_pop/privacy_pop", |
10 | + "com_top_nav": "/components/com_top_nav/com_top_nav" | ||
11 | + }, | ||
12 | + "navigationStyle": "custom" | ||
11 | } | 13 | } |
12 | \ No newline at end of file | 14 | \ No newline at end of file |
packageA/pages/serviceCard_pd/goodsInfo/goodsInfo.wxml
@@ -3,6 +3,8 @@ | @@ -3,6 +3,8 @@ | ||
3 | <wxs module="g_filters" src="g_filter.wxs"></wxs> | 3 | <wxs module="g_filters" src="g_filter.wxs"></wxs> |
4 | <wxs module="tool" src="filter.wxs"></wxs> | 4 | <wxs module="tool" src="filter.wxs"></wxs> |
5 | 5 | ||
6 | +<com_top_nav title="{{data.goods_name}}"></com_top_nav> | ||
7 | + | ||
6 | <!-- 判断隐私是不是显示 --> | 8 | <!-- 判断隐私是不是显示 --> |
7 | <privacy_pop id="privacy_pop" bind:agree_pri="agree_pri"></privacy_pop> | 9 | <privacy_pop id="privacy_pop" bind:agree_pri="agree_pri"></privacy_pop> |
8 | 10 |
packageB/pages/luckactivity/luckinfo/luckinfo.js
@@ -262,11 +262,10 @@ Page({ | @@ -262,11 +262,10 @@ Page({ | ||
262 | let first_leader = null; | 262 | let first_leader = null; |
263 | this.data.options = options; | 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 | app.isLogin().then(function (data) {//进入页面前已经授权登录成功 | 270 | app.isLogin().then(function (data) {//进入页面前已经授权登录成功 |
272 | self.setData({ | 271 | self.setData({ |
packageB/pages/luckactivity/luckinfo/luckinfo.json
@@ -2,10 +2,12 @@ | @@ -2,10 +2,12 @@ | ||
2 | "usingComponents": { | 2 | "usingComponents": { |
3 | "lucky-wheel":"/packageB/miniprogram_npm/mini-luck-draw/lucky-wheel/index", | 3 | "lucky-wheel":"/packageB/miniprogram_npm/mini-luck-draw/lucky-wheel/index", |
4 | "qrcode": "/components/my-qrcode/my-qrcode", | 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 | "enablePullDownRefresh": false, | 10 | "enablePullDownRefresh": false, |
10 | - "navigationBarTitleText": "幸运大转盘" | 11 | + "navigationBarTitleText": "幸运大转盘", |
12 | + "navigationStyle": "custom" | ||
11 | } | 13 | } |
12 | \ No newline at end of file | 14 | \ No newline at end of file |
packageB/pages/luckactivity/luckinfo/luckinfo.wxml
1 | <wxs module="filter" src="../../../../utils/filter.wxs"></wxs> | 1 | <wxs module="filter" src="../../../../utils/filter.wxs"></wxs> |
2 | <wxs module="tool" src="./tool.wxs"></wxs> | 2 | <wxs module="tool" src="./tool.wxs"></wxs> |
3 | + | ||
4 | +<com_top_nav title="{{l_title}}"></com_top_nav> | ||
5 | + | ||
3 | <view class="luck-container {{!template&&custom ? 'on':''}}" style="{{luckStyle}}"> | 6 | <view class="luck-container {{!template&&custom ? 'on':''}}" style="{{luckStyle}}"> |
4 | <!-- <view class="luck-container {{!template&&custom ? 'on':''}}" style="background: {{template&&template.colorCode ? template.colorCode:(custom ? '#f0f0f0':'#da104b')}} url({{bannerUrl ? bannerUrl:''}}) no-repeat;"> --> | 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 | <!-- 中奖人员 --> |
packageC/pages/luckyGo/luckyGo_goodsInfo/luckyGo_goodsInfo.js
@@ -1075,10 +1075,11 @@ Page({ | @@ -1075,10 +1075,11 @@ Page({ | ||
1075 | } | 1075 | } |
1076 | 1076 | ||
1077 | //动态获取商品名称 | 1077 | //动态获取商品名称 |
1078 | - wx.setNavigationBarTitle({ | ||
1079 | - title: t.data.data.goods_name, | ||
1080 | - }); | 1078 | + // wx.setNavigationBarTitle({ |
1079 | + // title: t.data.data.goods_name, | ||
1080 | + // }); | ||
1081 | 1081 | ||
1082 | + ee.setData({gtitle: t.data.data.goods_name }) | ||
1082 | 1083 | ||
1083 | 1084 | ||
1084 | //-- 把商品的赋值 -- | 1085 | //-- 把商品的赋值 -- |
packageC/pages/luckyGo/luckyGo_goodsInfo/luckyGo_goodsInfo.json
@@ -6,6 +6,8 @@ | @@ -6,6 +6,8 @@ | ||
6 | "warn": "/components/long_warn/long_warn", | 6 | "warn": "/components/long_warn/long_warn", |
7 | "goods_recommend": "/components/goods_list/goods_list", | 7 | "goods_recommend": "/components/goods_list/goods_list", |
8 | "share": "/components/share/share", | 8 | "share": "/components/share/share", |
9 | - "privacy_pop": "/components/privacy_pop/privacy_pop" | ||
10 | - } | 9 | + "privacy_pop": "/components/privacy_pop/privacy_pop", |
10 | + "com_top_nav": "/components/com_top_nav/com_top_nav" | ||
11 | + }, | ||
12 | + "navigationStyle": "custom" | ||
11 | } | 13 | } |
12 | \ No newline at end of file | 14 | \ No newline at end of file |
packageC/pages/luckyGo/luckyGo_goodsInfo/luckyGo_goodsInfo.wxml
@@ -3,6 +3,8 @@ | @@ -3,6 +3,8 @@ | ||
3 | <wxs module="g_filters" src="g_filter.wxs"></wxs> | 3 | <wxs module="g_filters" src="g_filter.wxs"></wxs> |
4 | <wxs module="tool" src="filter.wxs"></wxs> | 4 | <wxs module="tool" src="filter.wxs"></wxs> |
5 | 5 | ||
6 | +<com_top_nav title="{{gtitle}}"></com_top_nav> | ||
7 | + | ||
6 | <!-- 判断隐私是不是显示 --> | 8 | <!-- 判断隐私是不是显示 --> |
7 | <privacy_pop id="privacy_pop" bind:agree_pri="agree_pri"></privacy_pop> | 9 | <privacy_pop id="privacy_pop" bind:agree_pri="agree_pri"></privacy_pop> |
8 | 10 |
packageC/pages/presell/cardInfo/goodsInfo.json
@@ -6,6 +6,8 @@ | @@ -6,6 +6,8 @@ | ||
6 | "warn": "/components/long_warn/long_warn", | 6 | "warn": "/components/long_warn/long_warn", |
7 | "goods_recommend": "/components/goods_list/goods_list", | 7 | "goods_recommend": "/components/goods_list/goods_list", |
8 | "share": "/components/share/share", | 8 | "share": "/components/share/share", |
9 | - "privacy_pop": "/components/privacy_pop/privacy_pop" | ||
10 | - } | 9 | + "privacy_pop": "/components/privacy_pop/privacy_pop", |
10 | + "com_top_nav": "/components/com_top_nav/com_top_nav" | ||
11 | + }, | ||
12 | + "navigationStyle": "custom" | ||
11 | } | 13 | } |
12 | \ No newline at end of file | 14 | \ No newline at end of file |
packageC/pages/presell/cardInfo/goodsInfo.wxml
@@ -3,6 +3,8 @@ | @@ -3,6 +3,8 @@ | ||
3 | <wxs module="g_filters" src="g_filter.wxs"></wxs> | 3 | <wxs module="g_filters" src="g_filter.wxs"></wxs> |
4 | <wxs module="tool" src="filter.wxs"></wxs> | 4 | <wxs module="tool" src="filter.wxs"></wxs> |
5 | 5 | ||
6 | +<com_top_nav title="{{data.goods_name}}"></com_top_nav> | ||
7 | + | ||
6 | <!-- 判断隐私是不是显示 --> | 8 | <!-- 判断隐私是不是显示 --> |
7 | <privacy_pop id="privacy_pop" bind:agree_pri="agree_pri"></privacy_pop> | 9 | <privacy_pop id="privacy_pop" bind:agree_pri="agree_pri"></privacy_pop> |
8 | 10 |
packageC/pages/presell/goodsInfo/goodsInfo.js
@@ -814,9 +814,11 @@ Page({ | @@ -814,9 +814,11 @@ Page({ | ||
814 | } | 814 | } |
815 | } | 815 | } |
816 | //动态获取商品名称 | 816 | //动态获取商品名称 |
817 | - wx.setNavigationBarTitle({ | ||
818 | - title: t.data.data.goods_name, | ||
819 | - }); | 817 | + // wx.setNavigationBarTitle({ |
818 | + // title: t.data.data.goods_name, | ||
819 | + // }); | ||
820 | + | ||
821 | + ee.setData({gtitle:t.data.data.goods_name}) | ||
820 | 822 | ||
821 | t.data.data.prom_id= th.data.presell_id; | 823 | t.data.data.prom_id= th.data.presell_id; |
822 | t.data.data.prom_type= 8; | 824 | t.data.data.prom_type= 8; |
packageC/pages/presell/goodsInfo/goodsInfo.json
@@ -6,6 +6,8 @@ | @@ -6,6 +6,8 @@ | ||
6 | "warn": "/components/long_warn/long_warn", | 6 | "warn": "/components/long_warn/long_warn", |
7 | "goods_recommend": "/components/goods_list/goods_list", | 7 | "goods_recommend": "/components/goods_list/goods_list", |
8 | "share": "/components/share/share", | 8 | "share": "/components/share/share", |
9 | - "privacy_pop": "/components/privacy_pop/privacy_pop" | ||
10 | - } | 9 | + "privacy_pop": "/components/privacy_pop/privacy_pop", |
10 | + "com_top_nav": "/components/com_top_nav/com_top_nav" | ||
11 | + }, | ||
12 | + "navigationStyle": "custom" | ||
11 | } | 13 | } |
12 | \ No newline at end of file | 14 | \ No newline at end of file |
packageC/pages/presell/goodsInfo/goodsInfo.wxml
1 | +<com_top_nav title="{{gtitle}}"></com_top_nav> | ||
1 | <import src="../../../../utils/wxParse/wxParse.wxml"></import> | 2 | <import src="../../../../utils/wxParse/wxParse.wxml"></import> |
2 | <wxs module="filters" src="../../../../utils/filter.wxs"></wxs> | 3 | <wxs module="filters" src="../../../../utils/filter.wxs"></wxs> |
3 | <wxs module="g_filters" src="g_filter.wxs"></wxs> | 4 | <wxs module="g_filters" src="g_filter.wxs"></wxs> |
pages/giftpack/giftpacklist/giftpacklist.json
@@ -5,6 +5,8 @@ | @@ -5,6 +5,8 @@ | ||
5 | "my_confirm": "/components/my_confirm/my_confirm", | 5 | "my_confirm": "/components/my_confirm/my_confirm", |
6 | "qr_code": "/components/qr_code/qr_code", | 6 | "qr_code": "/components/qr_code/qr_code", |
7 | "nav_b": "/components/nav_b/nav_b", | 7 | "nav_b": "/components/nav_b/nav_b", |
8 | - "share": "/components/share/share" | ||
9 | - } | 8 | + "share": "/components/share/share", |
9 | + "com_top_nav": "/components/com_top_nav/com_top_nav" | ||
10 | + }, | ||
11 | + "navigationStyle": "custom" | ||
10 | } | 12 | } |
11 | \ No newline at end of file | 13 | \ No newline at end of file |
pages/giftpack/giftpacklist/giftpacklist.wxml
1 | <wxs module="filter" src="../../../utils/filter.wxs"></wxs> | 1 | <wxs module="filter" src="../../../utils/filter.wxs"></wxs> |
2 | +<com_top_nav title="礼包详情"></com_top_nav> | ||
3 | + | ||
2 | <view class="box data-v-3a5b7e36" style="background-color:{{default_color?default_color:'#e85f93'}}"> | 4 | <view class="box data-v-3a5b7e36" style="background-color:{{default_color?default_color:'#e85f93'}}"> |
3 | <view class="box_top data-v-3a5b7e36"> | 5 | <view class="box_top data-v-3a5b7e36"> |
4 | <image src="{{giftImage}}" class="data-v-3a5b7e36" lazy-load="true" binderror="bind_bnerr" data-errorimg="giftImage"></image> | 6 | <image src="{{giftImage}}" class="data-v-3a5b7e36" lazy-load="true" binderror="bind_bnerr" data-errorimg="giftImage"></image> |
pages/goods/goodsInfo/goodsInfo.js
@@ -1029,7 +1029,7 @@ Page({ | @@ -1029,7 +1029,7 @@ Page({ | ||
1029 | title: '商品已经下架', | 1029 | title: '商品已经下架', |
1030 | showCancel: !1, | 1030 | showCancel: !1, |
1031 | complete: function () { | 1031 | complete: function () { |
1032 | - let pages = getCurrentPages(); | 1032 | + let pages = getCurrentPages(); |
1033 | if (pages[pages.length - 2]) { | 1033 | if (pages[pages.length - 2]) { |
1034 | wx.navigateBack(); | 1034 | wx.navigateBack(); |
1035 | } else { | 1035 | } else { |
@@ -1079,9 +1079,12 @@ Page({ | @@ -1079,9 +1079,12 @@ Page({ | ||
1079 | 1079 | ||
1080 | 1080 | ||
1081 | //动态获取商品名称 | 1081 | //动态获取商品名称 |
1082 | - wx.setNavigationBarTitle({ | ||
1083 | - title: t.data.data.goods_name, | ||
1084 | - }); | 1082 | + // wx.setNavigationBarTitle({ |
1083 | + // title: t.data.data.goods_name, | ||
1084 | + // }); | ||
1085 | + | ||
1086 | + ee.setData({gtitle:t.data.data.goods_name}) | ||
1087 | + | ||
1085 | 1088 | ||
1086 | var p_type = parseInt(ee.data.prom_type ? ee.data.prom_type : 0); | 1089 | var p_type = parseInt(ee.data.prom_type ? ee.data.prom_type : 0); |
1087 | 1090 |
pages/goods/goodsInfo/goodsInfo.json
@@ -7,6 +7,8 @@ | @@ -7,6 +7,8 @@ | ||
7 | "goods_recommend": "/components/goods_list/goods_list", | 7 | "goods_recommend": "/components/goods_list/goods_list", |
8 | "share": "/components/share/share", | 8 | "share": "/components/share/share", |
9 | "pro_pop": "/components/promate_pop/promate_pop", | 9 | "pro_pop": "/components/promate_pop/promate_pop", |
10 | - "privacy_pop": "/components/privacy_pop/privacy_pop" | ||
11 | - } | 10 | + "privacy_pop": "/components/privacy_pop/privacy_pop", |
11 | + "com_top_nav": "/components/com_top_nav/com_top_nav" | ||
12 | + }, | ||
13 | + "navigationStyle": "custom" | ||
12 | } | 14 | } |
13 | \ No newline at end of file | 15 | \ No newline at end of file |
pages/goods/goodsInfo/goodsInfo.wxml
pages/user/index/index.json
@@ -2,7 +2,9 @@ | @@ -2,7 +2,9 @@ | ||
2 | "usingComponents": { | 2 | "usingComponents": { |
3 | "pop_txt": "/components/userqy_pop_up/userqy_pop_up", | 3 | "pop_txt": "/components/userqy_pop_up/userqy_pop_up", |
4 | "goods_recommend": "/components/goods_list/goods_list", | 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 | \ No newline at end of file | 11 | \ No newline at end of file |
pages/user/index/index.wxml
@@ -3,6 +3,8 @@ | @@ -3,6 +3,8 @@ | ||
3 | <!-- <import src="../../tabbar/tabbar.wxml" /> | 3 | <!-- <import src="../../tabbar/tabbar.wxml" /> |
4 | <template is="tabBar" data="{{tabBar}}" /> --> | 4 | <template is="tabBar" data="{{tabBar}}" /> --> |
5 | <wxs src="filter.wxs" module="util"></wxs> | 5 | <wxs src="filter.wxs" module="util"></wxs> |
6 | +<com_top_nav title="会员中心"></com_top_nav> | ||
7 | + | ||
6 | <view class="xc-page" style="margin-bottom:{{isIpx ? '168rpx' : '100rpx'}}"> | 8 | <view class="xc-page" style="margin-bottom:{{isIpx ? '168rpx' : '100rpx'}}"> |
7 | <view class="xc-user"> | 9 | <view class="xc-user"> |
8 | <view class="xc-head rel"> | 10 | <view class="xc-head rel"> |
pages/user/my_service/i_service.json
@@ -5,6 +5,8 @@ | @@ -5,6 +5,8 @@ | ||
5 | "qr_code": "/components/qr_code/qr_code", | 5 | "qr_code": "/components/qr_code/qr_code", |
6 | "warn": "/components/long_warn/long_warn", | 6 | "warn": "/components/long_warn/long_warn", |
7 | "my_confirm": "/components/my_confirm/my_confirm", | 7 | "my_confirm": "/components/my_confirm/my_confirm", |
8 | - "nav_b": "/components/nav_b/nav_b" | ||
9 | - } | 8 | + "nav_b": "/components/nav_b/nav_b", |
9 | + "com_top_nav": "/components/com_top_nav/com_top_nav" | ||
10 | + }, | ||
11 | + "navigationStyle": "custom" | ||
10 | } | 12 | } |
11 | \ No newline at end of file | 13 | \ No newline at end of file |
pages/user/my_service/i_service.wxml
1 | +<com_top_nav title="服务项目"></com_top_nav> | ||
2 | + | ||
1 | <!-- 背景图片 --> | 3 | <!-- 背景图片 --> |
2 | <view catchtap="close"> | 4 | <view catchtap="close"> |
3 | <image class="backimage" src="{{iurl}}/miniapp/images/yyservice/backimage.png" lazy-load="true"/> | 5 | <image class="backimage" src="{{iurl}}/miniapp/images/yyservice/backimage.png" lazy-load="true"/> |
@@ -5,7 +7,6 @@ | @@ -5,7 +7,6 @@ | ||
5 | <navigator class="fs26 white" url="/packageA/pages/service_record/service_record">服务记录</navigator> | 7 | <navigator class="fs26 white" url="/packageA/pages/service_record/service_record">服务记录</navigator> |
6 | <navigator class="fs26 white" url="/pages/user/my_service/hist_service">历史预约</navigator> | 8 | <navigator class="fs26 white" url="/pages/user/my_service/hist_service">历史预约</navigator> |
7 | </view> | 9 | </view> |
8 | - | ||
9 | </view> | 10 | </view> |
10 | 11 | ||
11 | <!-- 预约内容 --> | 12 | <!-- 预约内容 --> |
pages/user/userqy/userqy.json
1 | { | 1 | { |
2 | "navigationBarTitleText": "会员权益", | 2 | "navigationBarTitleText": "会员权益", |
3 | "usingComponents": { | 3 | "usingComponents": { |
4 | - "pop_txt": "/components/userqy_pop_up/userqy_pop_up" | ||
5 | - } | 4 | + "pop_txt": "/components/userqy_pop_up/userqy_pop_up", |
5 | + "com_top_nav": "/components/com_top_nav/com_top_nav" | ||
6 | + }, | ||
7 | + "navigationStyle": "custom" | ||
6 | } | 8 | } |
7 | \ No newline at end of file | 9 | \ No newline at end of file |
pages/user/userqy/userqy.wxml
1 | <wxs module="filter" src="../../../utils/filter.wxs"></wxs> | 1 | <wxs module="filter" src="../../../utils/filter.wxs"></wxs> |
2 | +<com_top_nav title="会员权益"></com_top_nav> | ||
2 | <view class="xc-userqy-frame"> | 3 | <view class="xc-userqy-frame"> |
3 | <!-- 顶部 --> | 4 | <!-- 顶部 --> |
4 | <view class='user-frame rel'> | 5 | <view class='user-frame rel'> |