Commit 250a33b0 by 梁建民

bug

parent 1cc3dc3d
...@@ -246,8 +246,8 @@ Page({ ...@@ -246,8 +246,8 @@ Page({
if (res.errcode === 0) { if (res.errcode === 0) {
wx.navigateTo({ wx.switchTab({
url: '/pages/person/certification/certificationmanage/index', url: '/pages/tab/me/me',
success: (result) => { success: (result) => {
this.setData({ this.setData({
disabled: false, disabled: false,
......
...@@ -67,6 +67,11 @@ Page({ ...@@ -67,6 +67,11 @@ Page({
onReachBottom: function () { onReachBottom: function () {
}, },
toUrl: function () {
wx.navigateTo({
url: '/pages/person/welfare/index'
});
},
/** /**
* 助力 * 助力
*/ */
......
...@@ -102,6 +102,10 @@ ...@@ -102,6 +102,10 @@
text-align: center; text-align: center;
line-height: 80rpx; line-height: 80rpx;
} }
.btn_2 {
font-size: 30rpx !important;
}
} }
} }
...@@ -131,14 +135,12 @@ ...@@ -131,14 +135,12 @@
margin: 60rpx auto 0; margin: 60rpx auto 0;
.list { .list {
width: 100rpx;
height: 100rpx;
background: rgba(5, 5, 5, 0.2); background: rgba(5, 5, 5, 0.2);
border: dashed 2px #ffffff; border: dashed 2px #ffffff;
color: #fff; color: #fff;
text-align: center; text-align: center;
line-height: 100rpx; line-height: 100rpx;
border-radius: 50%;
box-sizing: border-box; box-sizing: border-box;
&.list-pic { &.list-pic {
...@@ -149,7 +151,7 @@ ...@@ -149,7 +151,7 @@
width: 100rpx; width: 100rpx;
height: 100rpx; height: 100rpx;
border-radius: 50%; border-radius: 50%;
border: 1px solid #999;
} }
} }
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
<button class="btn_1" bind:tap="assistance">助力好友</button> <button class="btn_1" bind:tap="assistance">助力好友</button>
</block> </block>
<block wx:else> <block wx:else>
<button class="btn">助力成功,我也要红包</button> <button class="btn btn_2" bind:tap="toUrl">助力成功,我也要红包</button>
</block> </block>
<view class="t4"> <view class="t4">
还需 还需
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<view class="pic row verCenter rowCenter"> <view class="pic row verCenter rowCenter">
<block wx:if="{{assistsList.assist_list.length > 0 && assistsList.assist_list[0]}}"> <block wx:if="{{assistsList.assist_list.length > 0 && assistsList.assist_list[0]}}">
<view class="list list-pic row verCenter"> <view class="list list-pic row verCenter">
<image src="{{assistsList.assist_list[0].assist_user_avatar}}"></image> <image src="{{assistsList.assist_list[0].assist_user_avatar ? assistsList.assist_list[0].assist_user_avatar:'/res/images/imgs/heads.png'}}"></image>
</view> </view>
</block> </block>
<block wx:else> <block wx:else>
......
.helpfriend { .helpfriend{background:#e01b34;width:100%;padding-bottom:57rpx;overflow-x:hidden}.helpfriend .wrap{position:relative;width:100%;height:970rpx;background:url('http://img.ichunt.com/images/ichunt/minProgram/3e45f01531a74905046d3366b17a858d.png') no-repeat center;background-size:cover}.helpfriend .wrap .con{position:absolute;top:374rpx;left:0;right:0;width:100%;height:746rpx;background:url('http://img.ichunt.com/images/ichunt/minProgram/14a97c92b299de4fd8e0d7fc014b022a.png') no-repeat center;background-size:cover;z-index:11}.helpfriend .wrap .con .im{position:absolute;top:-72rpx;left:0;right:0;width:160rpx;height:160rpx;border-radius:50%;border:2px solid #fff;box-sizing:border-box;margin:0 auto}.helpfriend .wrap .con .t1{margin-top:121rpx;display:block;font-size:36rpx;color:#000000;text-align:center;font-weight:600}.helpfriend .wrap .con .t2{margin:55rpx auto 29rpx;color:#1a1a1a;font-size:32rpx;text-align:center}.helpfriend .wrap .con .t2 text{font-size:38rpx;color:#de1c27;font-weight:600}.helpfriend .wrap .con .t3{text-align:center;display:block;font-size:32rpx;color:#1a1a1a}.helpfriend .wrap .con .t4{margin-top:36rpx;text-align:center;font-size:28rpx;color:#1a1a1a}.helpfriend .wrap .con .t4 text{color:#de1c27;font-weight:600}.helpfriend .wrap .con .btn{margin:168rpx auto 0;width:380rpx;height:80rpx;background-image:linear-gradient(0deg, #ff7316 0, #f3cc14 100%);box-shadow:0 6rpx 0 0 #cb7700,inset 0 0 10rpx 0 rgba(255,255,255,0.26);border-radius:40rpx;color:#ffffff;font-size:38rpx;text-align:center;line-height:80rpx}.helpfriend .wrap .con .btn_1{margin:168rpx auto 0;width:380rpx;height:80rpx;background-image:linear-gradient(0deg, #dd1b33 0, #e9196c 100%);box-shadow:0 6rpx 0 0 #cb0a3f,inset 0 0 10rpx 0 rgba(255,255,255,0.26);border-radius:40rpx;color:#ffffff;font-size:38rpx;text-align:center;line-height:80rpx}.helpfriend .wrap .con .btn_2{font-size:30rpx !important}.helpfriend .bar{padding-top:155rpx;text-align:center}.helpfriend .bar .t1{text-align:center;font-size:24rpx;color:#ed6f6f}.helpfriend .bar .bg{width:222rpx;height:47rpx;background:url('http://img.ichunt.com/images/ichunt/minProgram/4b9701dd685f038d017ef70fb9f40b23.png') no-repeat center;background-size:contain;font-size:36rpx;color:#ffffff;text-align:center;line-height:47rpx;margin:84rpx auto 0}.helpfriend .bar .pic{margin:60rpx auto 0}.helpfriend .bar .pic .list{background:rgba(5,5,5,0.2);border:dashed 2px #ffffff;color:#fff;text-align:center;line-height:100rpx;box-sizing:border-box}.helpfriend .bar .pic .list.list-pic{border:solid 2px transparent;background:none}.helpfriend .bar .pic .list.list-pic image{width:100rpx;height:100rpx;border-radius:50%;border:1px solid #999}.helpfriend .bar .pic .list:first-child{margin-right:59rpx}.helpfriend .text{margin:57rpx auto 83rpx;padding:0 0 0 55rpx}.helpfriend .text text{font-size:24rpx;color:#ff9292;line-height:31rpx;display:block;margin-bottom:24rpx}.helpfriend .footer{display:block;font-size:22rpx;color:#ed6f6f;text-align:center}
background: #e01b34; \ No newline at end of file
width: 100%;
padding-bottom: 57rpx;
overflow-x: hidden;
}
.helpfriend .wrap {
position: relative;
width: 100%;
height: 970rpx;
background: url('http://img.ichunt.com/images/ichunt/minProgram/3e45f01531a74905046d3366b17a858d.png') no-repeat center;
background-size: cover;
}
.helpfriend .wrap .con {
position: absolute;
top: 374rpx;
left: 0;
right: 0;
width: 100%;
height: 746rpx;
background: url('http://img.ichunt.com/images/ichunt/minProgram/14a97c92b299de4fd8e0d7fc014b022a.png') no-repeat center;
background-size: cover;
z-index: 11;
}
.helpfriend .wrap .con .im {
position: absolute;
top: -72rpx;
left: 0;
right: 0;
width: 160rpx;
height: 160rpx;
border-radius: 50%;
border: 2px solid #fff;
box-sizing: border-box;
margin: 0 auto;
}
.helpfriend .wrap .con .t1 {
margin-top: 121rpx;
display: block;
font-size: 36rpx;
color: #000000;
text-align: center;
font-weight: 600;
}
.helpfriend .wrap .con .t2 {
margin: 55rpx auto 29rpx;
color: #1a1a1a;
font-size: 32rpx;
text-align: center;
}
.helpfriend .wrap .con .t2 text {
font-size: 38rpx;
color: #de1c27;
font-weight: 600;
}
.helpfriend .wrap .con .t3 {
text-align: center;
display: block;
font-size: 32rpx;
color: #1a1a1a;
}
.helpfriend .wrap .con .t4 {
margin-top: 36rpx;
text-align: center;
font-size: 28rpx;
color: #1a1a1a;
}
.helpfriend .wrap .con .t4 text {
color: #de1c27;
font-weight: 600;
}
.helpfriend .wrap .con .btn {
margin: 168rpx auto 0;
width: 380rpx;
height: 80rpx;
background-image: linear-gradient(0deg, #ff7316 0%, #f3cc14 100%);
box-shadow: 0px 6rpx 0px 0px #cb7700, inset 0px 0px 10rpx 0px rgba(255, 255, 255, 0.26);
border-radius: 40rpx;
color: #ffffff;
font-size: 38rpx;
text-align: center;
line-height: 80rpx;
}
.helpfriend .wrap .con .btn_1 {
margin: 168rpx auto 0;
width: 380rpx;
height: 80rpx;
background-image: linear-gradient(0deg, #dd1b33 0%, #e9196c 100%);
box-shadow: 0px 6rpx 0px 0px #cb0a3f, inset 0px 0px 10rpx 0px rgba(255, 255, 255, 0.26);
border-radius: 40rpx;
color: #ffffff;
font-size: 38rpx;
text-align: center;
line-height: 80rpx;
}
.helpfriend .bar {
padding-top: 155rpx;
text-align: center;
}
.helpfriend .bar .t1 {
text-align: center;
font-size: 24rpx;
color: #ed6f6f;
}
.helpfriend .bar .bg {
width: 222rpx;
height: 47rpx;
background: url('http://img.ichunt.com/images/ichunt/minProgram/4b9701dd685f038d017ef70fb9f40b23.png') no-repeat center;
background-size: contain;
font-size: 36rpx;
color: #ffffff;
text-align: center;
line-height: 47rpx;
margin: 84rpx auto 0;
}
.helpfriend .bar .pic {
margin: 60rpx auto 0;
}
.helpfriend .bar .pic .list {
width: 100rpx;
height: 100rpx;
background: rgba(5, 5, 5, 0.2);
border: dashed 2px #ffffff;
color: #fff;
text-align: center;
line-height: 100rpx;
border-radius: 50%;
box-sizing: border-box;
}
.helpfriend .bar .pic .list.list-pic {
border: solid 2px transparent;
background: none;
}
.helpfriend .bar .pic .list.list-pic image {
width: 100rpx;
height: 100rpx;
border-radius: 50%;
}
.helpfriend .bar .pic .list:first-child {
margin-right: 59rpx;
}
.helpfriend .text {
margin: 57rpx auto 83rpx;
padding: 0 0 0 55rpx;
}
.helpfriend .text text {
font-size: 24rpx;
color: #ff9292;
line-height: 31rpx;
display: block;
margin-bottom: 24rpx;
}
.helpfriend .footer {
display: block;
font-size: 22rpx;
color: #ed6f6f;
text-align: center;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment