修改页面展示信息
This commit is contained in:
parent
3b6d75def3
commit
3c3afd7110
@ -20,8 +20,14 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-else class="mesg_box">
|
<view v-else class="mesg_box">
|
||||||
<view class="name"><text class="nickname">姓名:{{ myOaInfo.nickname }}</text>所属公司:{{ myOaInfo.admin.company.company_name }}</view>
|
<view class="name">
|
||||||
<view class="duty">({{ myOaInfo.did_name }}){{myOaInfo.label_name}}</view>
|
<text class="nickname">姓名:{{ myOaInfo.nickname }}</text>
|
||||||
|
|
||||||
|
</view>
|
||||||
|
<view class="duty">
|
||||||
|
所属公司:<text class="" v-if="myOaInfo.admin.company">{{ myOaInfo.admin.company.company_name }}</text>
|
||||||
|
<!-- ({{ myOaInfo.did_name }}){{myOaInfo.label_name}} -->
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="task_panel">
|
<view class="task_panel">
|
||||||
|
@ -28,10 +28,11 @@
|
|||||||
<view v-else class="name_work">
|
<view v-else class="name_work">
|
||||||
<view class="name">
|
<view class="name">
|
||||||
<text class="nickname">姓名:{{ oaUserInfo.nickname }}</text>
|
<text class="nickname">姓名:{{ oaUserInfo.nickname }}</text>
|
||||||
<text class="omit">所属公司:{{ oaUserInfo.admin.company.company_name }}</text>
|
<!-- <text class="omit" v-if="oaUserInfo.admin.company">所属公司:{{ oaUserInfo.admin.company.company_name }}</text> -->
|
||||||
</view>
|
</view>
|
||||||
<view class="work">
|
<view class="work">
|
||||||
{{ oaUserInfo.did_name }}({{ oaUserInfo.label_name }})
|
所属公司:<text class="omit" v-if="oaUserInfo.admin.company">{{ oaUserInfo.admin.company.company_name }}</text>
|
||||||
|
<!-- {{ oaUserInfo.did_name }}({{ oaUserInfo.label_name }}) -->
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -227,6 +228,14 @@
|
|||||||
.work {
|
.work {
|
||||||
margin-top: 14.04rpx;
|
margin-top: 14.04rpx;
|
||||||
}
|
}
|
||||||
|
.omit{
|
||||||
|
white-space: nowrap;
|
||||||
|
/* 禁止换行 */
|
||||||
|
overflow: hidden;
|
||||||
|
/* 溢出隐藏 */
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
/* 使用省略号代表被截断的文本 */
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.my_msg {
|
.my_msg {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user