oak-general-business/lib/pages/userRelation/upsert/onUser/index.xml

12 lines
652 B
XML

<view class="{{ isComponent ? 'component-body' : 'page-body' }}">
<l-card l-class="card" type="avatar" image="{{avatar}}" title="{{name || nickname || '未设置'}}" description="{{mobile}}">
<view class="list-item">
<view class="label">权限:</view>
<view class="relation-box">
<user-relations oakPath="{{(oakFullpath && userRelationRelativePath) ? oakFullpath + '.' + userRelationRelativePath : undefined }}" oakAutoUnmount="{{true}}" entity="{{entity}}" entityId="{{entityId}}" relations="{{relations}}" />
</view>
</view>
</l-card>
<view style="flex: 1" />
</view>