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
3c0f0d24
authored
Aug 01, 2019
by
梁建民
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
css
parent
6e16d39b
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
91 additions
and
14 deletions
pages/person/successfully/index.wxml
pages/tab/me/me.js
pages/tab/me/me.less
pages/tab/me/me.wxml
pages/tab/me/me.wxss
project.config.json
res/images/imgs/heads.png
pages/person/successfully/index.wxml
View file @
3c0f0d24
<view class="success column rowCenter verCenter">
<cover-image src="/res/images/imgs/success.png" class="img"></cover-image>
<text class="tit">恭喜您,注册成功</text>
<navigator url="/pages/person/
logi
n/index" class="btn">资质认证</navigator>
<navigator url="/pages/person/
certification/addcertificatio
n/index" class="btn">资质认证</navigator>
<view class="txt">
<text class="t1">为了保证询报价的真实性,请完成“</text>
<text class="t2">资质认证</text>
...
...
pages/tab/me/me.js
View file @
3c0f0d24
...
...
@@ -10,9 +10,9 @@ Page({
*/
data
:
{
isShow
:
false
,
userInfo
:{
avatar
:
''
,
mobile
:
''
userInfo
:
{
avatar
:
''
,
mobile
:
''
},
business
:
{
goods
:
''
,
...
...
@@ -97,15 +97,31 @@ Page({
onShareAppMessage
:
function
()
{
},
/**
/**
* 跳转地址
*/
toUrl
:
function
(
e
)
{
//认证管理
if
(
e
.
target
.
dataset
.
type
==
'certification'
)
{
if
(
e
.
target
.
dataset
.
status
==
null
)
{
wx
.
navigateTo
({
url
:
"/pages/person/certification/addcertification/index"
});
}
else
if
(
e
.
target
.
dataset
.
status
==
1
){
}
}
if
(
e
.
target
.
dataset
.
url
)
{
wx
.
navigateTo
({
url
:
e
.
target
.
dataset
.
url
})
});
}
}
...
...
pages/tab/me/me.less
View file @
3c0f0d24
...
...
@@ -5,7 +5,8 @@
.pic {
margin-right: 24rpx;
background: #E6ECF2;
border-radius: 50%;
.im {
width: 120rpx;
height: 120rpx;
...
...
@@ -130,6 +131,7 @@
.bar-list {
margin-top: 36rpx;
padding-bottom: 84rpx;
.hr {
height: 10rpx;
...
...
@@ -137,6 +139,7 @@
}
.bar {
position: relative;
padding: 0 24rpx 0 0;
margin-left: 24rpx;
height: 100rpx;
...
...
@@ -161,6 +164,14 @@
font-size: 40rpx;
}
.iconiconxiantiaoshouji26{
color: #FFB526;
font-size: 40rpx;
}
.iconiconxiantiaoshouji23{
color: #EA1717;
font-size: 40rpx;
}
.iconjuxing6 {
color: #61A0F2;
...
...
pages/tab/me/me.wxml
View file @
3c0f0d24
<view class="mine"
hover-class="none" hover-stop-propagation="false"
>
<view class="mine">
<view class="head row verCenter">
<view class="pic">
<cover-image class="im" src="{{userInfo.avatar ? userInfo.avatar:'/res/images/imgs/
default
.png'}}"></cover-image>
<cover-image class="im" src="{{userInfo.avatar ? userInfo.avatar:'/res/images/imgs/
heads
.png'}}"></cover-image>
</view>
<view class="text">
<text class="t1">{{userInfo.company_name}}</text>
<view class="row verCenter">
<text class="t2" selectable="false" space="false" decode="false">普通会员</text>
<view>
<text class="t3">
金币:
</text>
<text class="t3">
红包:
</text>
<text class="t4">13,123</text>
</view>
</view>
...
...
@@ -38,7 +38,7 @@
<text class='t2'>金币提现兑换、领红包</text>
</view>
<view class="bar-list boxsiz">
<view class="boxsiz bar row bothSide verCente">
<view class="boxsiz bar row bothSide verCente
r
">
<view>
<text class="icon iconfont iconiconcaiseshouye1"></text>
<text class="t1">个人主页</text>
...
...
@@ -57,13 +57,37 @@
<text class="t2">{{userInfo.mobile}}</text>
</view>
</view>
<view class="boxsiz bar row bothSide verCenter">
<view class="boxsiz bar row bothSide verCenter"
data-type="certification" data-status="{{userInfo.auth_status}}" bind:tap="toUrl"
>
<view>
<text class="icon iconfont iconiconxiantiaoshouji19"></text>
<text class="t1">认证管理</text>
</view>
<view>
<text class="t2">已认证</text>
<block wx:if="{{userInfo.auth_status_val == null}}">
<text class="t2">未认证</text>
</block>
<block wx:else>
<text class="t2">{{userInfo.auth_status_val}}</text>
</block>
<text class="icon iconfont iconChevron"></text>
</view>
</view>
<view class="hr"></view>
<view class="boxsiz bar row bothSide verCenter bor">
<view>
<text class="icon iconfont iconiconxiantiaoshouji26"></text>
<text class="t1">在线客服</text>
</view>
<view>
<text class="icon iconfont iconChevron"></text>
</view>
</view>
<view class="boxsiz bar row bothSide verCenter">
<view>
<text class="icon iconfont iconiconxiantiaoshouji23"></text>
<text class="t1">评价管理</text>
</view>
<view>
<text class="icon iconfont iconChevron"></text>
</view>
</view>
...
...
pages/tab/me/me.wxss
View file @
3c0f0d24
...
...
@@ -4,6 +4,8 @@
}
.mine .head .pic {
margin-right: 24rpx;
background: #E6ECF2;
border-radius: 50%;
}
.mine .head .pic .im {
width: 120rpx;
...
...
@@ -107,12 +109,14 @@
}
.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;
...
...
@@ -133,6 +137,14 @@
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;
...
...
project.config.json
View file @
3c0f0d24
...
...
@@ -48,7 +48,7 @@
"list"
:
[]
},
"miniprogram"
:
{
"current"
:
8
,
"current"
:
10
,
"list"
:
[
{
"id"
:
-1
,
...
...
@@ -110,6 +110,20 @@
"id"
:
-1
,
"name"
:
"pages/person/editcompany/index"
,
"pathName"
:
"pages/person/editcompany/index"
,
"query"
:
""
,
"scene"
:
null
},
{
"id"
:
-1
,
"name"
:
"pages/tab/me/me"
,
"pathName"
:
"pages/tab/me/me"
,
"query"
:
""
,
"scene"
:
null
},
{
"id"
:
-1
,
"name"
:
"pages/person/auth/index"
,
"pathName"
:
"pages/person/auth/index"
,
"scene"
:
null
}
]
...
...
res/images/imgs/heads.png
0 → 100644
View file @
3c0f0d24
2.23 KB
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