fix: 问题修复

This commit is contained in:
huxuejian 2026-04-21 19:29:51 +08:00
parent a6a997f079
commit 19d78d8002
3 changed files with 17 additions and 3 deletions

View File

@ -17,6 +17,14 @@
/>
<text class="action-text">邀请患者</text>
</view>
<view class="action-btn" @click="toTeams">
<image
class="invite-icon"
src="/static/work/icon-team.svg"
mode="aspectFit"
/>
<text class="action-text">我的团队</text>
</view>
</view>
</view>
@ -120,6 +128,10 @@ const handleTabChange = (tab) => {
const handleAddPatient = () => {
emit("addPatient");
};
function toTeams() {
uni.navigateTo({ url: '/pages/work/team/list/team-list' });
}
</script>
<style scoped lang="scss">

View File

@ -5,7 +5,7 @@
<view class="mt-12 p-10 border rounded-sm">
<input v-model="team.name" class="w-full text-base" placeholder="请输入团队名称" />
</view>
<view class="mt-15 text-base font-semibold text-dark">团队名称:</view>
<view class="mt-15 text-base font-semibold text-dark">团队介绍:</view>
<view class="mt-12 p-10 border rounded-sm">
<textarea v-model="team.teamTroduce" class="w-full text-base leading-normal" placeholder-class="text-base"
placeholder="请输入团队介绍" />

View File

@ -9,9 +9,11 @@
<view class="team-name text-lg font-semibold truncate mr-5">
{{ i.name }}
</view>
<image v-if="doctorInfo && i.creator === doctorInfo.userid" class="flex-shrink-0 role-tag"
<view v-if="doctorInfo && i.creator === doctorInfo.userid" class="flex-shrink-0 text-base text-primary">(我创建的)</view>
<view v-else class="flex-shrink-0 text-base text-warning">(我加入的)</view>
<!-- <image v-if="doctorInfo && i.creator === doctorInfo.userid" class="flex-shrink-0 role-tag"
src="/static/icon-owner.svg" />
<image v-else class="flex-shrink-0 role-tag" src="/static/teammate.svg" />
<image v-else class="flex-shrink-0 role-tag" src="/static/teammate.svg" /> -->
</view>
<view class="mt-10 flex">
<view class="min-w-120 text-base text-dark">