添加组件
This commit is contained in:
@@ -3,23 +3,30 @@
|
||||
<t-cell-group title="企业信息">
|
||||
<t-cell title="{{company_info.company_name}}" use-label-slot>
|
||||
<view slot="image" style="margin-right: 12rpx;">
|
||||
<t-image width="200rpx" height="200rpx" fit="cover"
|
||||
src="{{host}}{{company_info.company_logo}}" />
|
||||
<t-image width="200rpx" height="200rpx" mode="aspectFill"
|
||||
src="{{host}}{{company_info.company_logo}}" error="slot">
|
||||
<view slot="error" style="font-size: 120rpx;color: #999;line-height: 1.1;">
|
||||
<block wx:if="{{company_info.company_name}}">
|
||||
{{company_info.company_name[0]}}
|
||||
</block>
|
||||
</view>
|
||||
</t-image>
|
||||
</view>
|
||||
<view slot="description">{{company_info.company_desc}}</view>
|
||||
</t-cell>
|
||||
</t-cell-group>
|
||||
|
||||
<!-- <block wx:if="{{company_list.length> 1}}">
|
||||
<t-cell-group>
|
||||
<t-cell title="切换企业" bind:tap="showPopup" is-link />
|
||||
</t-cell-group>
|
||||
</block> -->
|
||||
|
||||
<t-cell-group title="账号信息">
|
||||
<t-cell>
|
||||
<view slot="image" style="margin-right: 12rpx;">
|
||||
<t-image width="200rpx" height="200rpx" fit="cover" src="{{host}}{{user_info.logo}}" />
|
||||
<t-image width="200rpx" height="200rpx" mode="aspectFill" error="slot"
|
||||
src="{{host}}{{user_info.logo}}">
|
||||
<view slot="error" style="font-size: 120rpx;color: #999;line-height: 1.1;">
|
||||
<block wx:if="{{user_info.login_name}}">
|
||||
{{user_info.login_name[0]}}
|
||||
</block>
|
||||
</view>
|
||||
</t-image>
|
||||
</view>
|
||||
<view slot="title" style="display: flex;align-items: center;flex-wrap: wrap;">
|
||||
<view style="margin-right: 16rpx;">{{user_info.login_name}}</view>
|
||||
@@ -32,6 +39,5 @@
|
||||
</t-cell-group>
|
||||
<t-cell title="退出登录" bind:tap="loginOut" hover bordered arrow />
|
||||
<t-cell title="版本" note="{{version}}" hover bind:tap="txDoc" bordered arrow />
|
||||
|
||||
</page-plugin>
|
||||
<tab-bar-plugin active="my" />
|
||||
Reference in New Issue
Block a user