Commit 3c0f0d24 by 梁建民

css

parent 6e16d39b
<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/login/index" class="btn">资质认证</navigator>
<navigator url="/pages/person/certification/addcertification/index" class="btn">资质认证</navigator>
<view class="txt">
<text class="t1">为了保证询报价的真实性,请完成“</text>
<text class="t2">资质认证</text>
......
......@@ -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
})
});
}
}
......
......@@ -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;
......
<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 verCenter">
<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>
......
......@@ -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;
......
......@@ -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
}
]
......
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