Compare commits
2
Commits
df628b48c6
...
ad0fb0b337
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ad0fb0b337 | ||
|
|
02290615e8 |
@@ -70,6 +70,11 @@ const arrows = computed(() => {
|
||||
});
|
||||
|
||||
const validArrows = computed(() => arrows.value.filter((a) => !!a.ring).length);
|
||||
const isMember = computed(() => user.value.vip === true || user.value.sVip === true);
|
||||
const openCoachComment = () => {
|
||||
if (!isMember.value) return;
|
||||
showComment.value = true;
|
||||
};
|
||||
</script>
|
||||
|
||||
<template>
|
||||
@@ -112,9 +117,10 @@ const validArrows = computed(() => arrows.value.filter((a) => !!a.ring).length);
|
||||
:onClick="onClickShare"
|
||||
/>
|
||||
<IconButton
|
||||
v-if="isMember"
|
||||
name="教练点评"
|
||||
src="../static/review.png"
|
||||
:onClick="() => (showComment = true)"
|
||||
:onClick="openCoachComment"
|
||||
/>
|
||||
</block>
|
||||
<SButton
|
||||
|
||||
Reference in New Issue
Block a user