Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
施宇
/
icsalesProgram
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
250a33b0
authored
Oct 11, 2019
by
梁建民
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
bug
parent
1cc3dc3d
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
166 deletions
pages/person/certification/addcertification/index.js
pages/person/helpfriend/index.js
pages/person/helpfriend/index.less
pages/person/helpfriend/index.wxml
pages/person/helpfriend/index.wxss
pages/person/certification/addcertification/index.js
View file @
250a33b0
...
...
@@ -246,8 +246,8 @@ Page({
if
(
res
.
errcode
===
0
)
{
wx
.
navigateTo
({
url
:
'/pages/
person/certification/certificationmanage/index
'
,
wx
.
switchTab
({
url
:
'/pages/
tab/me/me
'
,
success
:
(
result
)
=>
{
this
.
setData
({
disabled
:
false
,
...
...
pages/person/helpfriend/index.js
View file @
250a33b0
...
...
@@ -67,6 +67,11 @@ Page({
onReachBottom
:
function
()
{
},
toUrl
:
function
()
{
wx
.
navigateTo
({
url
:
'/pages/person/welfare/index'
});
},
/**
* 助力
*/
...
...
pages/person/helpfriend/index.less
View file @
250a33b0
...
...
@@ -102,6 +102,10 @@
text-align: center;
line-height: 80rpx;
}
.btn_2 {
font-size: 30rpx !important;
}
}
}
...
...
@@ -131,14 +135,12 @@
margin: 60rpx auto 0;
.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;
&.list-pic {
...
...
@@ -149,7 +151,7 @@
width: 100rpx;
height: 100rpx;
border-radius: 50%;
border: 1px solid #999;
}
}
...
...
pages/person/helpfriend/index.wxml
View file @
250a33b0
...
...
@@ -13,7 +13,7 @@
<button class="btn_1" bind:tap="assistance">助力好友</button>
</block>
<block wx:else>
<button class="btn">助力成功,我也要红包</button>
<button class="btn
btn_2" bind:tap="toUrl
">助力成功,我也要红包</button>
</block>
<view class="t4">
还需
...
...
@@ -28,7 +28,7 @@
<view class="pic row verCenter rowCenter">
<block wx:if="{{assistsList.assist_list.length > 0 && assistsList.assist_list[0]}}">
<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>
</block>
<block wx:else>
...
...
pages/person/helpfriend/index.wxss
View file @
250a33b0
.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: 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;
}
.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}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment