瀏覽代碼

[活动报名][修改]:[修改个人中心的样式

]
tags/C.7.1.0
meo 6 年之前
父節點
當前提交
ebdcf82a4a
共有 5 個文件被更改,包括 29 次插入14 次删除
  1. +2
    -1
      pages/radetail/index.wxml
  2. +2
    -0
      pages/user/index.js
  3. +4
    -3
      pages/user/index.wxml
  4. +6
    -3
      pages/user/index.wxss
  5. +15
    -7
      utils/imgurl.js

+ 2
- 1
pages/radetail/index.wxml 查看文件

@@ -32,4 +32,5 @@

<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 == 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>

+ 2
- 0
pages/user/index.js 查看文件

@@ -18,6 +18,8 @@ Page({
quansUrl: imgurl.quans.url,
wmintegral: imgurl.wmintegral.url,
cardiconUrl: imgurl.cardicon.url,
myactivitygift: imgurl.myactivitygift.url,
myactivity: imgurl.myactivity.url,
cheUrl: imgurl.che.url,
giftUrl: imgurl.gift.url,
wmbarginicon: imgurl.wmbarginicon.url,


+ 4
- 3
pages/user/index.wxml 查看文件

@@ -81,13 +81,14 @@
<navigator url="/pages/spellGroup/spellGroup?from=myhtml" open-type="navigate">
<view class="user-btn app-border-bottom">
<view>
<image class='icons' src="{{wmspellgroup}}" mode='widthFix'></image>我的活动</view>
<image class='icons' src="{{myactivity}}" mode='widthFix'></image>我的活动</view>
</view>
</navigator>
<navigator url="/pages/spellGroup/spellGroup?from=myhtml" open-type="navigate">
<navigator open-type="navigate">
<view class="user-btn app-border-bottom">
<view>
<image class='icons' src="{{wmspellgroup}}" mode='widthFix'></image>我的奖品</view>
<image class='icons' src="{{myactivitygift}}" mode='widthFix'></image>我的奖品
</view>
</view>
</navigator>
</view>


+ 6
- 3
pages/user/index.wxss 查看文件

@@ -5,7 +5,7 @@ page{
}
.icons {
display: block;
width: 40rpx;
width: 50rpx;
margin: 0 auto;
}

@@ -134,14 +134,17 @@ page{
height: 120rpx;
}

.user-btns {
.user-btns{
background: #fff;
margin-top: 20rpx;
display: flex;
justify-content: space-around;
text-align: center;
margin-bottom: 50rpx;
}
.user-btns:nth-of-type(3){
margin-bottom: 0;
}

.user-btns .user-btn {
font-size: 30rpx;
letter-spacing: 1.16rpx;


+ 15
- 7
utils/imgurl.js 查看文件

@@ -49,7 +49,7 @@ module.exports = {
'name': ''
},
'cardicon': {
'url': baseUrl + 'cardicon1.png',
'url': baseUrl + 'cardicon2.png',
'name': ''
},
'che': {
@@ -77,7 +77,7 @@ module.exports = {
'name': ''
},
'ding': {
'url': baseUrl + 'ding1.png',
'url': baseUrl + 'ding2.png',
'name': ''
},
'dingdan': {
@@ -109,7 +109,7 @@ module.exports = {
'name': ''
},
'gift': {
'url': baseUrl + 'gift.png',
'url': baseUrl + 'gift1.png',
'name': ''
},
'wmgift': {
@@ -241,7 +241,7 @@ module.exports = {
'name': ''
},
'quans': {
'url': baseUrl + 'quans1.png',
'url': baseUrl + 'quans2.png',
'name': ''
},
'ques_bg': {
@@ -498,13 +498,21 @@ module.exports = {
},

'wmbarginicon': {
'url': baseUrl + 'wmbarginicon1.png',
'url': baseUrl + 'wmbarginicon2.png',
'name': '我的砍价'
},
'wmspellgroup': {
'url': baseUrl + 'wmspellgroup1.png',
'url': baseUrl + 'wmspellgroup2.png',
'name': '我的拼团'
},
'myactivity': {
'url': baseUrl + 'myactivity.png',
'name': '我的活动'
},
'myactivitygift': {
'url': baseUrl + 'myactivitygift.png',
'name': '我的奖品'
},
'leftarrows': {
'url': baseUrl + 'leftarrows.png',
'name': '左箭头'
@@ -570,7 +578,7 @@ module.exports = {
'name': '积分背景'
},
'wmintegral': {
'url': baseUrl + "wmintegral.png",
'url': baseUrl + "wmintegral1.png",
'name': '积分商城'
}
}

Loading…
取消
儲存