提交 6fe54b67 authored 作者: 王腾飞's avatar 王腾飞

1107

......@@ -116,8 +116,9 @@ export default {
if (res.data.code === 0) {
this.myAtlasListData.splice(key, 1)
this.$message.success('删除成功');
this.getMyAtlasInfo();
} else {
this.$message.error('删除失败')
this.$message.error('删除失败');
}
})
})
......
......@@ -82,50 +82,52 @@
</h2>
<el-button type="primary" icon="el-icon-edit" size="mini" @click="goEditPhotoResource">编辑信息</el-button>
</section>
<table v-for="(item, key) in photoInfo" :key="key" v-if="key === activeIndex">
<tr>
<th>照片题名</th>
<td>{{ item.name }}</td>
<th>照片主题</th>
<td>{{ item.theme }}</td>
</tr>
<tr>
<th>照片描述</th>
<td>{{ item.description }}</td>
<th>照片来源</th>
<td>{{ item.source }}</td>
</tr>
<tr>
<th>照片语种</th>
<td>{{ item.languages }}</td>
<th>照片形成时间</th>
<td>{{ item.formationTime }}</td>
</tr>
<tr>
<th>照片地理位置</th>
<td>{{ item.address }}<span v-if="item.address"></span>{{ item.longitude }}<span v-if="item.longitude"></span>{{ item.latitude }}</td>
<th>照片责任者</th>
<td>{{ item.responsibility }}</td>
</tr>
<tr>
<th>照片大小</th>
<td>{{ item.size }}</td>
<th>照片后缀名</th>
<td>{{ item.suffix }}</td>
</tr>
<tr>
<th>创建者</th>
<td>{{ item.createrName }}</td>
<th>创建时间</th>
<td>{{ item.createTime }}</td>
</tr>
<tr>
<th>照片标签</th>
<td v-for="(item1, key) in item.label" :key="key" style="width:90%;">{{ item1.name }}</td>
<th></th>
<td></td>
</tr>
</table>
<div v-for="(item, key) in photoInfo" :key="key">
<table v-if="key === activeIndex">
<tr>
<th>照片题名</th>
<td>{{ item.name }}</td>
<th>照片主题</th>
<td>{{ item.theme }}</td>
</tr>
<tr>
<th>照片描述</th>
<td>{{ item.description }}</td>
<th>照片来源</th>
<td>{{ item.source }}</td>
</tr>
<tr>
<th>照片语种</th>
<td>{{ item.languages }}</td>
<th>照片形成时间</th>
<td>{{ item.formationTime }}</td>
</tr>
<tr>
<th>照片地理位置</th>
<td>{{ item.address }}<span v-if="item.address"></span>{{ item.longitude }}<span v-if="item.longitude"></span>{{ item.latitude }}</td>
<th>照片责任者</th>
<td>{{ item.responsibility }}</td>
</tr>
<tr>
<th>照片大小</th>
<td>{{ item.size }}</td>
<th>照片后缀名</th>
<td>{{ item.suffix }}</td>
</tr>
<tr>
<th>创建者</th>
<td>{{ item.createrName }}</td>
<th>创建时间</th>
<td>{{ item.createTime }}</td>
</tr>
<tr>
<th>照片标签</th>
<td v-for="(item1, key) in item.label" :key="key" style="width:90%;">{{ item1.name }}</td>
<th></th>
<td></td>
</tr>
</table>
</div>
</div>
<div class="atlasBasicInfo photoExifInfo">
<section>
......@@ -284,8 +286,6 @@ export default {
this.$nextTick(() => {
const swiperTop = this.$refs.swiperTop.swiper
const swiperThumbs = this.$refs.swiperThumbs.swiper
console.log(swiperTop, "YYYY")
console.log(swiperThumbs, "UUUU")
swiperTop.controller.control = swiperThumbs
swiperThumbs.controller.control = swiperTop
})
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论