|
@@ -15,7 +15,14 @@ import {
|
|
|
Grid,
|
|
|
GridItem
|
|
|
} from 'vant';
|
|
|
-import { defineComponent, nextTick, onMounted, reactive, ref } from 'vue';
|
|
|
+import {
|
|
|
+ defineComponent,
|
|
|
+ nextTick,
|
|
|
+ onMounted,
|
|
|
+ onUnmounted,
|
|
|
+ reactive,
|
|
|
+ ref
|
|
|
+} from 'vue';
|
|
|
import styles from './detail.module.less';
|
|
|
import { browser, toChinesNum } from '@/helpers/utils';
|
|
|
import SOLO from './images/SOLO.png';
|
|
@@ -144,7 +151,7 @@ export default defineComponent({
|
|
|
};
|
|
|
|
|
|
const formatterImage = (name: string) => {
|
|
|
- let image: string = '';
|
|
|
+ let image = '';
|
|
|
switch (name) {
|
|
|
case 'SOLO':
|
|
|
image = dBall;
|
|
@@ -166,12 +173,22 @@ export default defineComponent({
|
|
|
};
|
|
|
|
|
|
onMounted(() => {
|
|
|
+ postMessage({
|
|
|
+ api: 'setStatusBarTextColor',
|
|
|
+ content: { statusBarTextColor: true }
|
|
|
+ });
|
|
|
// setTimeout(() => {
|
|
|
// // forms.headerLoading = false;
|
|
|
// // forms.detailLoading = false;
|
|
|
// }, 1000);
|
|
|
getDetail();
|
|
|
});
|
|
|
+ onUnmounted(() => {
|
|
|
+ postMessage({
|
|
|
+ api: 'setStatusBarTextColor',
|
|
|
+ content: { statusBarTextColor: false }
|
|
|
+ });
|
|
|
+ });
|
|
|
const imgs = reactive({
|
|
|
saveLoading: false,
|
|
|
image: null as any,
|
|
@@ -379,7 +396,6 @@ export default defineComponent({
|
|
|
<div class={styles.wall}> </div>
|
|
|
<Image src={jiemuIcon} class={styles.jiemuIcon}></Image>
|
|
|
<div class={styles.typeCard}>
|
|
|
- {' '}
|
|
|
{activityStatus[forms.headerDetail.type]}
|
|
|
</div>
|
|
|
<SkeletionIndexModal
|
|
@@ -446,13 +462,14 @@ export default defineComponent({
|
|
|
表演乐团:
|
|
|
</Col>
|
|
|
<Col span={18} class={styles.content}>
|
|
|
- {item.musicGroupName}
|
|
|
+ <span class={styles.name}>{item.musicGroupName}</span>
|
|
|
<span
|
|
|
+ class={styles.more}
|
|
|
onClick={() => {
|
|
|
if (item.studentNum <= 0) return;
|
|
|
formatterStudentList(item.studentList);
|
|
|
}}>
|
|
|
- 共{item.studentNum}名 <Icon name="arrow" />
|
|
|
+ 共{item.studentNum}名<Icon name="arrow" />
|
|
|
</span>
|
|
|
</Col>
|
|
|
</Row>
|
|
@@ -632,10 +649,12 @@ export default defineComponent({
|
|
|
objectFit: 'cover'
|
|
|
}}
|
|
|
/>
|
|
|
- <div class={styles.schoolName}>
|
|
|
+ <div class={[styles.schoolName, 'van-multi-ellipsis--l2']}>
|
|
|
{forms.headerDetail?.cooperationOrganName || '--'}
|
|
|
</div>
|
|
|
- <div class={styles.shareName}>{forms.headerDetail.name}</div>
|
|
|
+ <div class={[styles.shareName, 'van-ellipsis']}>
|
|
|
+ {forms.headerDetail.name}
|
|
|
+ </div>
|
|
|
<div class={styles.codeQr}>
|
|
|
<Image src={popupQrcodeBg} class={styles.popupQrcodeBg} />
|
|
|
<MQrcode
|