Showing
6 changed files
with
48 additions
and
5 deletions
1 | -/* page/subPackage/pages/zeroSell/components/tabs-panel.wxss */ |
@@ -353,6 +353,12 @@ Page(Object.assign({ | @@ -353,6 +353,12 @@ Page(Object.assign({ | ||
353 | this._init(); | 353 | this._init(); |
354 | }, | 354 | }, |
355 | 355 | ||
356 | + _jumpMyDrawCode() { | ||
357 | + router.go('index', { | ||
358 | + tabIndex: 3, | ||
359 | + }); | ||
360 | + }, | ||
361 | + | ||
356 | getUserInfo: function (e) { | 362 | getUserInfo: function (e) { |
357 | var that = this; | 363 | var that = this; |
358 | if (e.detail.errMsg === 'getUserInfo:ok') { | 364 | if (e.detail.errMsg === 'getUserInfo:ok') { |
1 | -<tabs tabs-class="tabs-class" current-key="{{tabIndex}}" bindchange="onTabChange"> | ||
2 | - <view class="list-top-blank"></view> | 1 | +<tabs tabs-class="tabs-class {{tabIndex==3 ? 'hidden' : ''}}" current-key="{{tabIndex}}" bindchange="onTabChange"> |
2 | + <view class="list-top-blank {{tabIndex==3 ? 'hidden' : ''}}"></view> | ||
3 | 3 | ||
4 | <tabs-pane name="进行中"> | 4 | <tabs-pane name="进行中"> |
5 | <image class="topgif" src="./images/yoluck.gif"/> | 5 | <image class="topgif" src="./images/yoluck.gif"/> |
@@ -26,7 +26,8 @@ | @@ -26,7 +26,8 @@ | ||
26 | </view> | 26 | </view> |
27 | </tabs-pane> | 27 | </tabs-pane> |
28 | 28 | ||
29 | - <tabs-pane name="已参加"> | 29 | + <!-- 首页改版,tabIndex=3的已参加一栏取消,改为点击我的抽奖码进入 2019.6.20 --> |
30 | + <!-- <tabs-pane name="已参加"> --> | ||
30 | <block wx:if="{{isLogin}}"> | 31 | <block wx:if="{{isLogin}}"> |
31 | <view class="title-view"> | 32 | <view class="title-view"> |
32 | <view class="space-line"></view> | 33 | <view class="space-line"></view> |
@@ -58,7 +59,7 @@ | @@ -58,7 +59,7 @@ | ||
58 | <block wx:else> | 59 | <block wx:else> |
59 | <login theme="light" openType="{{openType}}"></login> | 60 | <login theme="light" openType="{{openType}}"></login> |
60 | </block> | 61 | </block> |
61 | - </tabs-pane> | 62 | + <!-- </tabs-pane> --> |
62 | <block wx:if="{{tabIndex !== 3}}"> | 63 | <block wx:if="{{tabIndex !== 3}}"> |
63 | <view class="list-foot-blank">{{footText}}</view> | 64 | <view class="list-foot-blank">{{footText}}</view> |
64 | </block> | 65 | </block> |
@@ -69,6 +70,12 @@ | @@ -69,6 +70,12 @@ | ||
69 | </view> | 70 | </view> |
70 | </block> | 71 | </block> |
71 | 72 | ||
73 | +<block wx:if="{{tabIndex !== 3}}"> | ||
74 | + <view class="my-draw-code" bindtap="_jumpMyDrawCode"> | ||
75 | + <text class="my-draw-code-text">我的抽奖码</text> | ||
76 | + </view> | ||
77 | +</block> | ||
78 | + | ||
72 | <import src="../../vendors/zanui/toast/index.wxml"/> | 79 | <import src="../../vendors/zanui/toast/index.wxml"/> |
73 | <template is="zan-toast" data="{{zanToast}}"/> | 80 | <template is="zan-toast" data="{{zanToast}}"/> |
74 | 81 |
@@ -62,6 +62,10 @@ page { | @@ -62,6 +62,10 @@ page { | ||
62 | border-bottom: 1rpx solid #E0E0E0; | 62 | border-bottom: 1rpx solid #E0E0E0; |
63 | } | 63 | } |
64 | 64 | ||
65 | +.hidden { | ||
66 | + display: none !important; | ||
67 | +} | ||
68 | + | ||
65 | .topgif { | 69 | .topgif { |
66 | width: 100%; | 70 | width: 100%; |
67 | height: 200rpx; | 71 | height: 200rpx; |
@@ -86,4 +90,22 @@ page { | @@ -86,4 +90,22 @@ page { | ||
86 | flex-direction: row; | 90 | flex-direction: row; |
87 | align-items: center; | 91 | align-items: center; |
88 | font-family: PingFangSC-Medium; | 92 | font-family: PingFangSC-Medium; |
93 | +} | ||
94 | + | ||
95 | +.my-draw-code { | ||
96 | + position: fixed; | ||
97 | + z-index: 999; | ||
98 | + left: 0; | ||
99 | + bottom: 0; | ||
100 | + width: 100%; | ||
101 | + height: 80rpx; | ||
102 | + background-color: white; | ||
103 | + border-top: 2rpx solid #e0e0ee; | ||
104 | + display: flex; | ||
105 | + align-items: center; | ||
106 | + justify-content: center; | ||
107 | +} | ||
108 | + | ||
109 | +.my-draw-code-text { | ||
110 | + font-size: 26rpx; | ||
89 | } | 111 | } |
@@ -13,6 +13,8 @@ | @@ -13,6 +13,8 @@ | ||
13 | "libVersion": "2.0.0", | 13 | "libVersion": "2.0.0", |
14 | "appid": "wx7678b61d1e6702fe", | 14 | "appid": "wx7678b61d1e6702fe", |
15 | "projectname": "YO!LUCK", | 15 | "projectname": "YO!LUCK", |
16 | + "simulatorType": "wechat", | ||
17 | + "simulatorPluginLibVersion": {}, | ||
16 | "condition": { | 18 | "condition": { |
17 | "search": { | 19 | "search": { |
18 | "current": -1, | 20 | "current": -1, |
-
Please register or login to post a comment