fix:修改首页布局
This commit is contained in:
parent
c1a0090279
commit
7e8151f0ac
@ -4,7 +4,7 @@
|
||||
<view class="module-title flex-shrink-0 truncate">
|
||||
成员档案
|
||||
</view>
|
||||
<view class="flex items-center px-10 leading-normal rounded-sm" @click="toManagePage()">
|
||||
<view class="flex items-center leading-normal rounded-sm" style="padding-right: 0" @click="toManagePage()">
|
||||
<image class="manage-icon mr-5" src="/static/home/archive-manage.png" mode="aspectFit"></image>
|
||||
<view style="font-size: 28rpx; color: #065BD6;">档案管理</view>
|
||||
</view>
|
||||
@ -23,7 +23,7 @@
|
||||
{{ i.relationship }}
|
||||
</view>
|
||||
<view class="flex flex-col items-center">
|
||||
<view class="customer-name text-lg leading-normal font-semibold whitespace-nowrap "
|
||||
<view class="customer-name text-lg leading-normal font-semibold whitespace-nowrap mb-8"
|
||||
:class="current && i._id === current._id ? 'text-primary' : 'text-dark'">
|
||||
{{ i.name }}
|
||||
</view>
|
||||
@ -347,7 +347,8 @@ watch(() => props.corpId, n => {
|
||||
.info-title {
|
||||
color: #213E80;
|
||||
font-size: 32rpx;
|
||||
font-weight: 500;
|
||||
font-weight: 400;
|
||||
line-height: 56rpx;
|
||||
}
|
||||
|
||||
.info-subtitle {
|
||||
|
||||
@ -10,9 +10,9 @@
|
||||
<view class="home-section">
|
||||
<consult :corpId="corpId" :teamId="team.teamId" :customers="customers" />
|
||||
</view>
|
||||
<view class="home-section">
|
||||
<!-- <view class="home-section">
|
||||
<team-mate :team="team" />
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="home-section">
|
||||
<article-list :team="team" />
|
||||
</view>
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
<view>
|
||||
<view :style="{ height: statusBarHeight }" class="status-bar"></view>
|
||||
<view class="relative z-3 flex items-center px-15 py-12 header-bar">
|
||||
<view class="flex-shrink-0 mr-5">
|
||||
<view class="flex-shrink-0 mr-5" @click="toTeamDetail">
|
||||
<group-avatar :size="120" :avatarList="currentTeam ? currentTeam.avatarList : []" />
|
||||
</view>
|
||||
<view class="w-0 flex-grow">
|
||||
@ -101,6 +101,14 @@ function select(team) {
|
||||
showDropDown.value = false;
|
||||
}
|
||||
|
||||
function toTeamDetail() {
|
||||
if (props.team && props.team.teamId) {
|
||||
uni.navigateTo({
|
||||
url: `/pages/team/team-detail?teamId=${props.team.teamId}&corpId=${props.team.corpId}&corpName=${encodeURIComponent(props.team.corpName || '')}`
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
watch(
|
||||
() => props.teams,
|
||||
(teams) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user