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
95d37759
authored
Aug 07, 2019
by
梁建民
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
福利
parent
f47dcf20
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
130 additions
and
5 deletions
app.js
pages/person/welfare/index.less
pages/person/welfare/index.wxml
pages/person/welfare/index.wxss
app.js
View file @
95d37759
...
...
@@ -55,9 +55,9 @@ App({
if
(
this
.
globalData
.
auth
)
{
//是否登录
if
(
this
.
globalData
.
token
)
{
wx
.
switchTab
({
url
:
'/pages/tab/home/home'
});
//
wx.switchTab({
//
url: '/pages/tab/home/home'
//
});
}
else
{
wx
.
redirectTo
({
url
:
'/pages/person/login/index'
...
...
pages/person/welfare/index.less
View file @
95d37759
This diff could not be displayed because it is too large.
pages/person/welfare/index.wxml
View file @
95d37759
...
...
@@ -26,6 +26,78 @@
</view>
</view>
<view class="list">
<view class="list-wrap row verCenter bothSide bor">
<view>
<view>
<text class="t1">邀请好友</text>
<text class="icon iconfont iconiconxiantiaoshouji27"></text>
<text class="t2">立得三元</text>
</view>
<view>
<text class="t3">限时活动,邀请好友注册立得三元红包</text>
</view>
</view>
<view class="btn blue">去邀请</view>
</view>
<view class="list-wrap row verCenter bothSide bor">
<view>
<view>
<text class="t1">每日上传商品</text>
<text class="icon iconfont iconiconxiantiaoshouji27"></text>
<text class="t2">最高88元红包</text>
</view>
<view>
<text class="t3">每日首次上传商品,得随机红包奖励</text>
</view>
</view>
<view class="btn blue">去上传</view>
</view>
<view class="list-wrap row verCenter bothSide">
<view>
<view>
<text class="t1">输入红包码</text>
<text class="icon iconfont iconiconxiantiaoshouji27"></text>
<text class="t2">随机红包</text>
</view>
<view>
<text class="t3">领取好友红包,每个用户限领一次</text>
</view>
</view>
<view class="btn blue">去兑换</view>
</view>
<view class="hr"></view>
<view class="list-wrap row verCenter bothSide bor">
<view>
<view>
<text class="t1">天天签到领金币</text>
</view>
<view>
<text class="t3">领取好友红包,每个用户限领一次。</text>
</view>
</view>
<view class="btn yellow">签到</view>
</view>
<view class="list-wrap row verCenter bothSide bor">
<view>
<view>
<text class="t1">每日分享</text>
</view>
<view>
<text class="t3">每日首次分享,被好友点击后可获得奖励</text>
</view>
</view>
<view class="btn yellow">去分享</view>
</view>
<view class="list-wrap row verCenter bothSide">
<view>
<view>
<text class="t1">每日报价</text>
</view>
<view>
<text class="t3">每日首次回复报价,可获得奖励</text>
</view>
</view>
<view class="btn yellow">去报价</view>
</view>
</view>
</view>
\ No newline at end of file
pages/person/welfare/index.wxss
View file @
95d37759
...
...
@@ -75,5 +75,57 @@
margin-right: 8rpx;
}
.welfare .list {
padding: 0 24rpx 0 34rpx;
margin-top: 44rpx;
padding-bottom: 100rpx;
}
.welfare .list .hr {
height: 10rpx;
background: #F5F9FC;
}
.welfare .list .list-wrap {
height: 154rpx;
padding: 0 24rpx 0 0;
margin-left: 24rpx;
}
.welfare .list .list-wrap .t1 {
font-size: 28rpx;
font-weight: 600;
color: #515559;
}
.welfare .list .list-wrap .t2 {
font-size: 26rpx;
color: #EA1717;
font-weight: 400;
}
.welfare .list .list-wrap .t3 {
margin-top: 14rpx;
font-size: 24rpx;
color: #8A9299;
line-height: 33rpx;
}
.welfare .list .list-wrap .iconiconxiantiaoshouji27 {
margin-left: 24rpx;
margin-right: 5rpx;
font-size: 40rpx;
color: #EA4343;
}
.welfare .list .list-wrap .btn {
width: 150rpx;
height: 48rpx;
border-radius: 24rpx;
line-height: 48rpx;
text-align: center;
font-size: 24rpx;
color: #fff;
}
.welfare .list .list-wrap .btn.blue {
background: linear-gradient(143deg, #61a0f2 0%, #0d84d1 100%);
box-shadow: 0px 10rpx 20rpx 0rpx rgba(97, 160, 242, 0.4);
}
.welfare .list .list-wrap .btn.yellow {
background: linear-gradient(143deg, #eaa217 0%, #ff6327 100%);
box-shadow: 0px 10rpx 20rpx 0rpx rgba(242, 191, 97, 0.4);
}
.welfare .list .list-wrap.bor {
border-bottom: 1px solid #F5F9FC;
}
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