添加组件及页面

This commit is contained in:
zhengw
2026-01-21 17:05:30 +08:00
parent a89e69c381
commit 7ff1a911dd
54 changed files with 1078 additions and 1009 deletions

View File

@@ -1,20 +1,37 @@
<page-plugin>
<text>pages/my/my.wxml</text>
<t-button bind:tap="change">change</t-button>
<view style="padding: 12px;">
<search-popup bind:ok="ok" bind:change="searchChange">
<view slot="content">11111</view>
</search-popup>
<card-plugin>
<view slot="header">11111</view>
<view slot="content">
<view style="height: 70px">11111</view>
<page-plugin hasTabBar="1" isAuth="{{true}}" loading="{{loading}}" is-login="{{isLogin}}"
bind:handleLogin="handleLogin">
<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}}" />
</view>
</card-plugin>
</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}}" />
</view>
<view slot="title" style="display: flex;align-items: center;flex-wrap: wrap;">
<view style="margin-right: 16rpx;">{{user_info.login_name}}</view>
</view>
<view slot="description">
<view>{{user_info.nick_name}}</view>
<view>{{user_info.user_phone}}</view>
</view>
</t-cell>
</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" />
<tab-bar-plugin active="my" />