|
@@ -18,6 +18,8 @@ import { formatterTimer } from './operation';
|
|
|
import MPopup from '@/components/m-popup';
|
|
|
import CastModal from './components/cast-modal';
|
|
|
import iconEdit from './images/icon-edit.png';
|
|
|
+import { checkFile } from '@/helpers/toolsValidate';
|
|
|
+import iconVideoDefault from '@common/images/icon-video-c.png';
|
|
|
|
|
|
export default defineComponent({
|
|
|
name: 'detail-page',
|
|
@@ -203,10 +205,10 @@ export default defineComponent({
|
|
|
class={styles.moreCell}
|
|
|
valueClass={styles.valueClass}>
|
|
|
<Row class={styles.item}>
|
|
|
- <Col span={5} class={styles.label}>
|
|
|
+ <Col span={6} class={styles.label}>
|
|
|
表演乐团
|
|
|
</Col>
|
|
|
- <Col span={19} class={styles.content}>
|
|
|
+ <Col span={18} class={styles.content}>
|
|
|
{item.musicGroupName}
|
|
|
<span
|
|
|
onClick={() => {
|
|
@@ -218,10 +220,10 @@ export default defineComponent({
|
|
|
</Col>
|
|
|
</Row>
|
|
|
<Row class={styles.item} style={{ marginBottom: '0' }}>
|
|
|
- <Col span={5} class={styles.label}>
|
|
|
+ <Col span={6} class={styles.label}>
|
|
|
表演团队
|
|
|
</Col>
|
|
|
- <Col span={19} class={styles.content}>
|
|
|
+ <Col span={18} class={styles.content}>
|
|
|
{item.subjectNameList}
|
|
|
</Col>
|
|
|
</Row>
|
|
@@ -237,10 +239,19 @@ export default defineComponent({
|
|
|
forms.imageShow = true;
|
|
|
forms.startPosition = index;
|
|
|
}}>
|
|
|
- <Image
|
|
|
- src={i + '@base@tag=imgScale&w=120'}
|
|
|
- fit="cover"
|
|
|
- />
|
|
|
+ {checkFile(i, 'image') ? (
|
|
|
+ <Image
|
|
|
+ src={i + '@base@tag=imgScale&w=120'}
|
|
|
+ fit="cover"
|
|
|
+ />
|
|
|
+ ) : (
|
|
|
+ <video
|
|
|
+ style={{ backgroundColor: '#F8F8F8' }}
|
|
|
+ poster={iconVideoDefault}
|
|
|
+ src={i + '#t=1,4'}
|
|
|
+ />
|
|
|
+ )}
|
|
|
+
|
|
|
{item.attachmentUrl.length > 4 && index === 3 ? (
|
|
|
<div class={styles.photoMore}>
|
|
|
+{item.attachmentUrl.length - 4}
|