|
@@ -34,12 +34,9 @@
|
|
|
</el-form-item>
|
|
|
<el-form-item label="船厂简介" prop="b_type">
|
|
|
<div>
|
|
|
- {{form.intro}}
|
|
|
- </div>
|
|
|
- <div>
|
|
|
- <template v-for="(item,idx) in form.environment_imgs" :key="idx">
|
|
|
- <el-image class="merMedias" v-if="item.split('.')[1].toLowerCase()!=='mp4'" :src="item" fit="cover" @click="showImg(item)"></el-image>
|
|
|
- <video class="merMedias" :src="item" v-else></video>
|
|
|
+ <template v-for="(item,idx) in form.images" :key="idx">
|
|
|
+ <el-image class="merMedias" v-if="item.type=='image'" :src="item.src" fit="cover" @click="showImg(item.src)"></el-image>
|
|
|
+ <video class="merMedias" :src="item.src" v-else controls></video>
|
|
|
</template>
|
|
|
</div>
|
|
|
</el-form-item>
|