|
@@ -23,22 +23,18 @@
|
|
></i>
|
|
></i>
|
|
<div class="item_info flex_row_start_center">
|
|
<div class="item_info flex_row_start_center">
|
|
<span class="s1">{{ L[contactType === 'email' ? "电子邮箱" : '手机号'] }}</span>
|
|
<span class="s1">{{ L[contactType === 'email' ? "电子邮箱" : '手机号'] }}</span>
|
|
- <span v-if="contactType === 'email'">
|
|
|
|
- <span class="tips" v-if="memberInfo.data.memberEmail"
|
|
|
|
- >{{L["绑定邮箱"]}}:{{
|
|
|
|
- memberInfo.data.memberEmail
|
|
|
|
- }},{{L["若邮箱已停用,请及时更换"]}}</span
|
|
|
|
- >
|
|
|
|
- <span class="no tips" v-else>{{L['尚未绑定邮箱']}}</span>
|
|
|
|
- </span>
|
|
|
|
- <span v-else>
|
|
|
|
- <span class="tips" v-if="memberInfo.data.memberMobile"
|
|
|
|
|
|
+ <span class="tips" v-if="memberInfo.data.memberEmail && contactType === 'email'"
|
|
|
|
+ >{{L["绑定邮箱"]}}:{{
|
|
|
|
+ memberInfo.data.memberEmail
|
|
|
|
+ }},{{L["若邮箱已停用,请及时更换"]}}</span
|
|
|
|
+ >
|
|
|
|
+ <span class="no tips" v-if="!memberInfo.data.memberEmail && contactType === 'email'">{{L['尚未绑定邮箱']}}</span>
|
|
|
|
+ <span class="tips" v-if="memberInfo.data.memberMobile && contactType === 'mobile'"
|
|
>{{L["绑定手机号"]}}:{{
|
|
>{{L["绑定手机号"]}}:{{
|
|
memberInfo.data.memberMobile
|
|
memberInfo.data.memberMobile
|
|
}},{{L["若手机已停用,请及时更换"]}}</span
|
|
}},{{L["若手机已停用,请及时更换"]}}</span
|
|
>
|
|
>
|
|
- <span class="no tips" v-else>{{L['尚未绑定手机号']}}</span>
|
|
|
|
- </span>
|
|
|
|
|
|
+ <span class="no tips" v-if="!memberInfo.data.memberMobile && contactType === 'mobile'">{{L['尚未绑定手机号']}}</span>
|
|
<div class="s2" v-if="contactType === 'email'">
|
|
<div class="s2" v-if="contactType === 'email'">
|
|
<span
|
|
<span
|
|
class="oprate pointer"
|
|
class="oprate pointer"
|
|
@@ -165,6 +161,7 @@ const toPage = (url, type) => {
|
|
font-size: 14px;
|
|
font-size: 14px;
|
|
|
|
|
|
.item {
|
|
.item {
|
|
|
|
+ display: flex;
|
|
width: 100%;
|
|
width: 100%;
|
|
border-bottom: 1px dashed #eaeaea;
|
|
border-bottom: 1px dashed #eaeaea;
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
@@ -174,6 +171,12 @@ const toPage = (url, type) => {
|
|
margin-right: 10px;
|
|
margin-right: 10px;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ .item_info {
|
|
|
|
+ flex: 1;
|
|
|
|
+ width: 100%;
|
|
|
|
+ overflow: hidden;
|
|
|
|
+ }
|
|
|
|
+
|
|
.icon-jubao {
|
|
.icon-jubao {
|
|
color: $colorMain;
|
|
color: $colorMain;
|
|
}
|
|
}
|
|
@@ -187,14 +190,21 @@ const toPage = (url, type) => {
|
|
}
|
|
}
|
|
|
|
|
|
.s2{
|
|
.s2{
|
|
- min-width: 100px;
|
|
|
|
|
|
+ width: 200px;
|
|
text-align: right;
|
|
text-align: right;
|
|
}
|
|
}
|
|
|
|
|
|
.tips {
|
|
.tips {
|
|
|
|
+ width: 100%;
|
|
margin-left: 60px;
|
|
margin-left: 60px;
|
|
color: #999;
|
|
color: #999;
|
|
- flex: 1;
|
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
+ text-overflow: ellipsis;
|
|
|
|
+ display: -webkit-box;
|
|
|
|
+ -webkit-line-clamp: 2;
|
|
|
|
+ -webkit-box-orient: vertical;
|
|
|
|
+ word-wrap: break-word;
|
|
|
|
+ word-break: normal;
|
|
}
|
|
}
|
|
|
|
|
|
.oprate {
|
|
.oprate {
|