no message
Showing
4 changed files
with
8 additions
and
7 deletions
| ... | @@ -229,7 +229,7 @@ | ... | @@ -229,7 +229,7 @@ |
| 229 | <el-row :gutter="20"> | 229 | <el-row :gutter="20"> |
| 230 | <el-col :lg="8"> | 230 | <el-col :lg="8"> |
| 231 | <div class="liveImgbox" @click="goDetail(livelist[0])"> | 231 | <div class="liveImgbox" @click="goDetail(livelist[0])"> |
| 232 | <i class="ii">直播中</i> | 232 | <!-- <i class="ii">直播中</i>--> |
| 233 | <img :src="fillImgUrl_webSite(livelist[0]?.picUrl)"> | 233 | <img :src="fillImgUrl_webSite(livelist[0]?.picUrl)"> |
| 234 | <h3 class="esp">{{ livelist[0]?.name }} | 234 | <h3 class="esp">{{ livelist[0]?.name }} |
| 235 | </h3> | 235 | </h3> | ... | ... |
| ... | @@ -47,16 +47,17 @@ const props = defineProps({ | ... | @@ -47,16 +47,17 @@ const props = defineProps({ |
| 47 | } | 47 | } |
| 48 | }) | 48 | }) |
| 49 | const user = useUserStore().user | 49 | const user = useUserStore().user |
| 50 | const groupInfo = useUserStore().group | 50 | const group = useUserStore().group |
| 51 | if(props.groupId){ | 51 | const groupInfo = ref({}) |
| 52 | |||
| 52 | if(props.matchId){ | 53 | if(props.matchId){ |
| 53 | getGroupIdByCptId() | 54 | getGroupIdByCptId() |
| 54 | } else { | 55 | } else { |
| 55 | getGroupInfo() | 56 | getGroupInfo() |
| 56 | } | 57 | } |
| 57 | } | 58 | |
| 58 | function getGroupIdByCptId() { | 59 | function getGroupIdByCptId() { |
| 59 | match.getMyGroupForCpt(props.groupId, props.matchId).then(res=>{ | 60 | match.getMyGroupForCpt(props.groupId || group.id, props.matchId).then(res=>{ |
| 60 | groupInfo.value = res.data | 61 | groupInfo.value = res.data |
| 61 | }) | 62 | }) |
| 62 | } | 63 | } | ... | ... |
| ... | @@ -7,7 +7,7 @@ | ... | @@ -7,7 +7,7 @@ |
| 7 | </div> | 7 | </div> |
| 8 | <match-info-row v-if="matchId" :match-id="matchId"/> | 8 | <match-info-row v-if="matchId" :match-id="matchId"/> |
| 9 | <div v-if="isLogin"> | 9 | <div v-if="isLogin"> |
| 10 | <group-info-row v-if="groupId" :group-id="groupId"/> | 10 | <group-info-row v-if="groupId" :group-id="groupId" :match-id="matchId"/> |
| 11 | <coach-info-row v-if="groupId" :group-id="groupId" :match-id="matchId"/> | 11 | <coach-info-row v-if="groupId" :group-id="groupId" :match-id="matchId"/> |
| 12 | 12 | ||
| 13 | <div class="pd20" v-if="user.utype=='1'&&myMemberTable.length>0"> | 13 | <div class="pd20" v-if="user.utype=='1'&&myMemberTable.length>0"> | ... | ... |
| ... | @@ -9,7 +9,7 @@ | ... | @@ -9,7 +9,7 @@ |
| 9 | <el-row :gutter="20"> | 9 | <el-row :gutter="20"> |
| 10 | <el-col :lg="12" :sm="24" :md="12"> | 10 | <el-col :lg="12" :sm="24" :md="12"> |
| 11 | <div class="liveImgbox" @click="goDetail(newsList[0])"> | 11 | <div class="liveImgbox" @click="goDetail(newsList[0])"> |
| 12 | <i class="ii">直播中</i> | 12 | <!-- <i class="ii">直播中</i>--> |
| 13 | <img :src="fillImgUrl_webSite(newsList[0]?.picUrl)"> | 13 | <img :src="fillImgUrl_webSite(newsList[0]?.picUrl)"> |
| 14 | <h3 class="esp">{{ newsList[0]?.name }} | 14 | <h3 class="esp">{{ newsList[0]?.name }} |
| 15 | </h3> | 15 | </h3> | ... | ... |
-
Please register or sign in to post a comment