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
e2c21002
authored
Sep 23, 2019
by
梁建民
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
js
parent
5d619ca1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
29 additions
and
235 deletions
pages/tab/me/me.less
pages/tab/me/me.wxml
pages/tab/me/me.wxss
project.config.json
pages/tab/me/me.less
View file @
e2c21002
...
...
@@ -24,8 +24,8 @@
margin-bottom: 20rpx;
display: block;
}
.t2 {
.t2 {
width: 112rpx;
height: 36rpx;
background: linear-gradient(135deg, rgba(173, 182, 191, 1) 0%, rgba(138, 146, 153, 1) 100%);
...
...
@@ -56,9 +56,14 @@
width: 195rpx;
height: 60rpx;
background: linear-gradient(143deg, rgba(97, 160, 242, 1) 0%, rgba(13, 132, 209, 1) 100%);
box-shadow: 0px 10
px 20
px 0px rgba(97, 160, 242, 0.4);
box-shadow: 0px 10
rpx 20r
px 0px rgba(97, 160, 242, 0.4);
border-radius: 30rpx 0px 0px 30rpx;
&.signins {
background: linear-gradient(140deg, rgba(173, 182, 191, 1) 0%, rgba(138, 146, 153, 1) 100%);
box-shadow: 0px 10rpx 20rpx 0px rgba(173, 182, 191, 0.2);
}
.iconiconxiantiaoshouji17 {
font-size: 40rpx;
color: #FFFFFF;
...
...
pages/tab/me/me.wxml
View file @
e2c21002
...
...
@@ -15,10 +15,18 @@
</view>
</view>
</view>
<view class="signin row verCenter rowCenter" bindtap="toSignin">
<text class="icon iconfont iconiconxiantiaoshouji17"></text>
<text class="t1">每日签到</text>
</view>
<block wx:if="{{userInfo.check_in_status == 0}}">
<view class="signin row verCenter rowCenter" bindtap="toSignin">
<text class="icon iconfont iconiconxiantiaoshouji17"></text>
<text class="t1">每日签到</text>
</view>
</block>
<block wx:else>
<view class="signin signins row verCenter rowCenter" bindtap="toSignin">
<text class="icon iconfont iconiconxiantiaoshouji17"></text>
<text class="t1">签到成功</text>
</view>
</block>
</view>
<view class="tab-bar row verCenter rowCenter" bindtap="toCompanyData">
<view class="wrap">
...
...
pages/tab/me/me.wxss
View file @
e2c21002
.mine .head {
position: relative;
padding: 0 24rpx;
}
.mine .head .pic {
margin-right: 24rpx;
background: #E6ECF2;
border-radius: 50%;
}
.mine .head .pic .im {
width: 120rpx;
height: 120rpx;
border-radius: 50%;
}
.mine .head .text .t1 {
font-size: 36rpx;
font-weight: 600;
color: #2E3033;
line-height: 50rpx;
margin-bottom: 20rpx;
display: block;
}
.mine .head .text .t2 {
width: 112rpx;
height: 36rpx;
background: linear-gradient(135deg, #adb6bf 0%, #8a9299 100%);
border-radius: 4rpx;
font-size: 22rpx;
color: #ffffff;
text-align: center;
line-height: 36rpx;
margin-right: 28rpx;
}
.mine .head .text .t3 {
font-size: 26rpx;
color: #8A9299;
}
.mine .head .text .t4 {
font-size: 26rpx;
color: #2E3033;
font-weight: 600;
}
.mine .head .signin {
position: absolute;
bottom: 0;
right: 0;
width: 195rpx;
height: 60rpx;
background: linear-gradient(143deg, #61a0f2 0%, #0d84d1 100%);
box-shadow: 0px 10px 20px 0px rgba(97, 160, 242, 0.4);
border-radius: 30rpx 0px 0px 30rpx;
}
.mine .head .signin .iconiconxiantiaoshouji17 {
font-size: 40rpx;
color: #FFFFFF;
}
.mine .head .signin .t1 {
font-size: 24rpx;
color: #FFFFFF;
font-weight: 400;
margin-left: 8rpx;
}
.mine .tab-bar {
margin-top: 38rpx;
margin-bottom: 48rpx;
}
.mine .tab-bar .wrap {
flex: 1;
text-align: center;
}
.mine .tab-bar .wrap .t1 {
font-size: 32rpx;
font-weight: 600;
color: #515559;
line-height: 45rpx;
display: block;
}
.mine .tab-bar .wrap .t2 {
font-size: 24rpx;
color: #8A9299;
line-height: 33rpx;
display: block;
}
.mine .ad {
margin: 0 24rpx;
height: 110rpx;
background-image: url('http://img.ichunt.com/images/ichunt/minProgram/5b52f62342a8ba08af973a6116ce56ec.png');
background-repeat: no-repeat;
background-size: cover;
}
.mine .ad .icon {
font-size: 68rpx;
color: #E76F6F;
margin-left: 24rpx;
}
.mine .ad .t1 {
font-size: 32rpx;
color: #515559;
font-weight: 600;
margin-left: 24rpx;
line-height: 45rpx;
}
.mine .ad .t2 {
font-size: 24rpx;
color: #8A9299;
font-weight: 400;
margin-left: 24rpx;
line-height: 33rpx;
}
.mine .bar-list {
margin-top: 36rpx;
padding-bottom: 84rpx;
}
.mine .bar-list .hr {
height: 10rpx;
background: #F5F9FC;
}
.mine .bar-list .bar {
position: relative;
padding: 0 24rpx 0 0;
margin-left: 24rpx;
height: 100rpx;
}
.mine .bar-list .bar .iconiconcaiseshouye1 {
font-size: 40rpx;
color: #61A0F2;
}
.mine .bar-list .bar .iconiconxiantiaoshouji18 {
font-size: 40rpx;
color: #FFB526;
}
.mine .bar-list .bar .iconiconxiantiaoshouji19 {
font-size: 40rpx;
color: #61A0F2;
}
.mine .bar-list .bar .iconiconcaiseshouye {
color: #FFB526;
font-size: 40rpx;
}
.mine .bar-list .bar .iconiconxiantiaoshouji26 {
color: #FFB526;
font-size: 40rpx;
}
.mine .bar-list .bar .iconiconxiantiaoshouji23 {
color: #EA1717;
font-size: 40rpx;
}
.mine .bar-list .bar .iconjuxing6 {
color: #61A0F2;
font-size: 40rpx;
}
.mine .bar-list .bar .t1 {
font-size: 28rpx;
color: #515559;
margin-left: 20rpx;
font-weight: 400;
}
.mine .bar-list .bar .t2 {
font-size: 26rpx;
color: #8A9299;
font-weight: 400;
}
.mine .bar-list .bar .iconChevron {
font-size: 27rpx;
color: #ADB6BF;
margin-left: 12rpx;
}
.mine .bar-list .bar.bor {
border-bottom: 1px solid #F5F9FC;
}
.layer-mask {
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
z-index: 99;
background: rgba(0, 0, 0, 0.5);
}
.layer-mask .layer {
position: relative;
width: 360rpx;
height: 310rpx;
background: #ffffff;
border-radius: 10rpx;
}
.layer-mask .layer .im {
position: absolute;
top: -49rpx;
left: 0;
right: 0;
text-align: center;
margin: 0 auto;
width: 268rpx;
height: 114rpx;
}
.layer-mask .layer .t1 {
font-size: 28rpx;
color: #515559;
font-weight: 600;
margin-bottom: 8rpx;
line-height: 46rpx;
}
.layer-mask .layer .txt {
margin-bottom: 28rpx;
}
.layer-mask .layer .txt .t2 {
font-size: 48rpx;
color: #ED4141;
font-weight: 600;
}
.layer-mask .layer .txt .t3 {
font-size: 26rpx;
color: #686E73;
margin-left: 8rpx;
font-weight: 400;
}
.layer-mask .layer .btn {
width: 200rpx;
height: 48rpx;
line-height: 48rpx;
background: linear-gradient(143deg, #eaa217 0%, #ff6327 100%);
box-shadow: 0px 10rpx 20rpx 0rpx rgba(242, 191, 97, 0.4);
border-radius: 34rpx;
text-align: center;
font-size: 24rpx;
color: #FFFFFF;
}
.mine .head{position:relative;padding:0 24rpx}.mine .head .pic{margin-right:24rpx;background:#E6ECF2;border-radius:50%}.mine .head .pic .im{width:120rpx;height:120rpx;border-radius:50%}.mine .head .text .t1{font-size:36rpx;font-weight:600;color:#2E3033;line-height:50rpx;margin-bottom:20rpx;display:block}.mine .head .text .t2{width:112rpx;height:36rpx;background:linear-gradient(135deg, #adb6bf 0, #8a9299 100%);border-radius:4rpx;font-size:22rpx;color:#ffffff;text-align:center;line-height:36rpx;margin-right:28rpx}.mine .head .text .t3{font-size:26rpx;color:#8A9299}.mine .head .text .t4{font-size:26rpx;color:#2E3033;font-weight:600}.mine .head .signin{position:absolute;bottom:0;right:0;width:195rpx;height:60rpx;background:linear-gradient(143deg, #61a0f2 0, #0d84d1 100%);box-shadow:0 10rpx 20rpx 0 rgba(97,160,242,0.4);border-radius:30rpx 0 0 30rpx}.mine .head .signin.signins{background:linear-gradient(140deg, #adb6bf 0, #8a9299 100%);box-shadow:0 10rpx 20rpx 0 rgba(173,182,191,0.2)}.mine .head .signin .iconiconxiantiaoshouji17{font-size:40rpx;color:#FFFFFF}.mine .head .signin .t1{font-size:24rpx;color:#FFFFFF;font-weight:400;margin-left:8rpx}.mine .tab-bar{margin-top:38rpx;margin-bottom:48rpx}.mine .tab-bar .wrap{flex:1;text-align:center}.mine .tab-bar .wrap .t1{font-size:32rpx;font-weight:600;color:#515559;line-height:45rpx;display:block}.mine .tab-bar .wrap .t2{font-size:24rpx;color:#8A9299;line-height:33rpx;display:block}.mine .ad{margin:0 24rpx;height:110rpx;background-image:url('http://img.ichunt.com/images/ichunt/minProgram/5b52f62342a8ba08af973a6116ce56ec.png');background-repeat:no-repeat;background-size:cover}.mine .ad .icon{font-size:68rpx;color:#E76F6F;margin-left:24rpx}.mine .ad .t1{font-size:32rpx;color:#515559;font-weight:600;margin-left:24rpx;line-height:45rpx}.mine .ad .t2{font-size:24rpx;color:#8A9299;font-weight:400;margin-left:24rpx;line-height:33rpx}.mine .bar-list{margin-top:36rpx;padding-bottom:84rpx}.mine .bar-list .hr{height:10rpx;background:#F5F9FC}.mine .bar-list .bar{position:relative;padding:0 24rpx 0 0;margin-left:24rpx;height:100rpx}.mine .bar-list .bar .iconiconcaiseshouye1{font-size:40rpx;color:#61A0F2}.mine .bar-list .bar .iconiconxiantiaoshouji18{font-size:40rpx;color:#FFB526}.mine .bar-list .bar .iconiconxiantiaoshouji19{font-size:40rpx;color:#61A0F2}.mine .bar-list .bar .iconiconcaiseshouye{color:#FFB526;font-size:40rpx}.mine .bar-list .bar .iconiconxiantiaoshouji26{color:#FFB526;font-size:40rpx}.mine .bar-list .bar .iconiconxiantiaoshouji23{color:#EA1717;font-size:40rpx}.mine .bar-list .bar .iconjuxing6{color:#61A0F2;font-size:40rpx}.mine .bar-list .bar .t1{font-size:28rpx;color:#515559;margin-left:20rpx;font-weight:400}.mine .bar-list .bar .t2{font-size:26rpx;color:#8A9299;font-weight:400}.mine .bar-list .bar .iconChevron{font-size:27rpx;color:#ADB6BF;margin-left:12rpx}.mine .bar-list .bar.bor{border-bottom:1px solid #F5F9FC}.layer-mask{position:fixed;left:0;top:0;width:100%;height:100%;z-index:99;background:rgba(0,0,0,0.5)}.layer-mask .layer{position:relative;width:360rpx;height:310rpx;background:#fff;border-radius:10rpx}.layer-mask .layer .im{position:absolute;top:-49rpx;left:0;right:0;text-align:center;margin:0 auto;width:268rpx;height:114rpx}.layer-mask .layer .t1{font-size:28rpx;color:#515559;font-weight:600;margin-bottom:8rpx;line-height:46rpx}.layer-mask .layer .txt{margin-bottom:28rpx}.layer-mask .layer .txt .t2{font-size:48rpx;color:#ED4141;font-weight:600}.layer-mask .layer .txt .t3{font-size:26rpx;color:#686E73;margin-left:8rpx;font-weight:400}.layer-mask .layer .btn{width:200rpx;height:48rpx;line-height:48rpx;background:linear-gradient(143deg, #eaa217 0, #ff6327 100%);box-shadow:0 10rpx 20rpx 0 rgba(242,191,97,0.4);border-radius:34rpx;text-align:center;font-size:24rpx;color:#FFFFFF}
\ No newline at end of file
project.config.json
View file @
e2c21002
...
...
@@ -170,6 +170,13 @@
"id"
:
-1
,
"name"
:
"pages/form/report/index"
,
"pathName"
:
"pages/form/report/index"
,
"query"
:
""
,
"scene"
:
null
},
{
"id"
:
-1
,
"name"
:
"pages/tab/me/me"
,
"pathName"
:
"pages/tab/me/me"
,
"scene"
:
null
}
]
...
...
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