@@ -32,4 +32,5 @@ | |||||
<button wx:if="{{status == 0}}" disabled class='signUp' hover-class='opacity'>报名未开始</button> | <button wx:if="{{status == 0}}" disabled class='signUp' hover-class='opacity'>报名未开始</button> | ||||
<button wx:if="{{status == 1}}" class='signUp'data-activityId="{{activityId}}" bindtap='goSignUp' hover-class='opacity'>我要报名</button> | <button wx:if="{{status == 1}}" class='signUp'data-activityId="{{activityId}}" bindtap='goSignUp' hover-class='opacity'>我要报名</button> | ||||
<button wx:if="{{status == 2}}" disabled class='signUp' hover-class='opacity'>活动已结束</button> | |||||
<button wx:if="{{status == 2}}" disabled class='signUp' hover-class='opacity'>活动已结束</button> | |||||
<button wx:if="{{status == 3}}" disabled class='signUp' hover-class='opacity'>已报名</button> |
@@ -18,6 +18,8 @@ Page({ | |||||
quansUrl: imgurl.quans.url, | quansUrl: imgurl.quans.url, | ||||
wmintegral: imgurl.wmintegral.url, | wmintegral: imgurl.wmintegral.url, | ||||
cardiconUrl: imgurl.cardicon.url, | cardiconUrl: imgurl.cardicon.url, | ||||
myactivitygift: imgurl.myactivitygift.url, | |||||
myactivity: imgurl.myactivity.url, | |||||
cheUrl: imgurl.che.url, | cheUrl: imgurl.che.url, | ||||
giftUrl: imgurl.gift.url, | giftUrl: imgurl.gift.url, | ||||
wmbarginicon: imgurl.wmbarginicon.url, | wmbarginicon: imgurl.wmbarginicon.url, | ||||
@@ -81,13 +81,14 @@ | |||||
<navigator url="/pages/spellGroup/spellGroup?from=myhtml" open-type="navigate"> | <navigator url="/pages/spellGroup/spellGroup?from=myhtml" open-type="navigate"> | ||||
<view class="user-btn app-border-bottom"> | <view class="user-btn app-border-bottom"> | ||||
<view> | <view> | ||||
<image class='icons' src="{{wmspellgroup}}" mode='widthFix'></image>我的活动</view> | |||||
<image class='icons' src="{{myactivity}}" mode='widthFix'></image>我的活动</view> | |||||
</view> | </view> | ||||
</navigator> | </navigator> | ||||
<navigator url="/pages/spellGroup/spellGroup?from=myhtml" open-type="navigate"> | |||||
<navigator open-type="navigate"> | |||||
<view class="user-btn app-border-bottom"> | <view class="user-btn app-border-bottom"> | ||||
<view> | <view> | ||||
<image class='icons' src="{{wmspellgroup}}" mode='widthFix'></image>我的奖品</view> | |||||
<image class='icons' src="{{myactivitygift}}" mode='widthFix'></image>我的奖品 | |||||
</view> | |||||
</view> | </view> | ||||
</navigator> | </navigator> | ||||
</view> | </view> | ||||
@@ -5,7 +5,7 @@ page{ | |||||
} | } | ||||
.icons { | .icons { | ||||
display: block; | display: block; | ||||
width: 40rpx; | |||||
width: 50rpx; | |||||
margin: 0 auto; | margin: 0 auto; | ||||
} | } | ||||
@@ -134,14 +134,17 @@ page{ | |||||
height: 120rpx; | height: 120rpx; | ||||
} | } | ||||
.user-btns { | |||||
.user-btns{ | |||||
background: #fff; | background: #fff; | ||||
margin-top: 20rpx; | margin-top: 20rpx; | ||||
display: flex; | display: flex; | ||||
justify-content: space-around; | justify-content: space-around; | ||||
text-align: center; | text-align: center; | ||||
margin-bottom: 50rpx; | |||||
} | |||||
.user-btns:nth-of-type(3){ | |||||
margin-bottom: 0; | |||||
} | } | ||||
.user-btns .user-btn { | .user-btns .user-btn { | ||||
font-size: 30rpx; | font-size: 30rpx; | ||||
letter-spacing: 1.16rpx; | letter-spacing: 1.16rpx; | ||||
@@ -49,7 +49,7 @@ module.exports = { | |||||
'name': '' | 'name': '' | ||||
}, | }, | ||||
'cardicon': { | 'cardicon': { | ||||
'url': baseUrl + 'cardicon1.png', | |||||
'url': baseUrl + 'cardicon2.png', | |||||
'name': '' | 'name': '' | ||||
}, | }, | ||||
'che': { | 'che': { | ||||
@@ -77,7 +77,7 @@ module.exports = { | |||||
'name': '' | 'name': '' | ||||
}, | }, | ||||
'ding': { | 'ding': { | ||||
'url': baseUrl + 'ding1.png', | |||||
'url': baseUrl + 'ding2.png', | |||||
'name': '' | 'name': '' | ||||
}, | }, | ||||
'dingdan': { | 'dingdan': { | ||||
@@ -109,7 +109,7 @@ module.exports = { | |||||
'name': '' | 'name': '' | ||||
}, | }, | ||||
'gift': { | 'gift': { | ||||
'url': baseUrl + 'gift.png', | |||||
'url': baseUrl + 'gift1.png', | |||||
'name': '' | 'name': '' | ||||
}, | }, | ||||
'wmgift': { | 'wmgift': { | ||||
@@ -241,7 +241,7 @@ module.exports = { | |||||
'name': '' | 'name': '' | ||||
}, | }, | ||||
'quans': { | 'quans': { | ||||
'url': baseUrl + 'quans1.png', | |||||
'url': baseUrl + 'quans2.png', | |||||
'name': '' | 'name': '' | ||||
}, | }, | ||||
'ques_bg': { | 'ques_bg': { | ||||
@@ -498,13 +498,21 @@ module.exports = { | |||||
}, | }, | ||||
'wmbarginicon': { | 'wmbarginicon': { | ||||
'url': baseUrl + 'wmbarginicon1.png', | |||||
'url': baseUrl + 'wmbarginicon2.png', | |||||
'name': '我的砍价' | 'name': '我的砍价' | ||||
}, | }, | ||||
'wmspellgroup': { | 'wmspellgroup': { | ||||
'url': baseUrl + 'wmspellgroup1.png', | |||||
'url': baseUrl + 'wmspellgroup2.png', | |||||
'name': '我的拼团' | 'name': '我的拼团' | ||||
}, | }, | ||||
'myactivity': { | |||||
'url': baseUrl + 'myactivity.png', | |||||
'name': '我的活动' | |||||
}, | |||||
'myactivitygift': { | |||||
'url': baseUrl + 'myactivitygift.png', | |||||
'name': '我的奖品' | |||||
}, | |||||
'leftarrows': { | 'leftarrows': { | ||||
'url': baseUrl + 'leftarrows.png', | 'url': baseUrl + 'leftarrows.png', | ||||
'name': '左箭头' | 'name': '左箭头' | ||||
@@ -570,7 +578,7 @@ module.exports = { | |||||
'name': '积分背景' | 'name': '积分背景' | ||||
}, | }, | ||||
'wmintegral': { | 'wmintegral': { | ||||
'url': baseUrl + "wmintegral.png", | |||||
'url': baseUrl + "wmintegral1.png", | |||||
'name': '积分商城' | 'name': '积分商城' | ||||
} | } | ||||
} | } |