分享 发布 下载中心

This commit is contained in:
Zhx
2022-11-16 14:05:27 +08:00
parent 82aec17a37
commit 3bdf99053c
11 changed files with 101 additions and 31 deletions

View File

@@ -31,16 +31,15 @@
<i class="iconfont icon-yulan"></i>
<span style="margin-left: 6px;width: 29px;">预览</span>
</div>
<a-button v-show="!showPublish && isRenderBtn"
type="primary"
class="publish-btn"
@click="openPublishModal">
<template #icon>
<i class="iconfont icon-Path"
style="font-size: 15px; margin-right: 6px"></i>
</template>
发布
</a-button>
<a-button
class="publish-btn share-button"
@click.stop="clickEntrance">
<template #icon>
<img class="download_img"
:src="require('@/assets/img/fenxiang.png')" />
</template>
分享
</a-button>
</template>
<template v-else>
<div style="display: flex; align-items: center;">
@@ -48,15 +47,17 @@
<span style="margin-left: 10px;width: 90px;">正在保存中...</span>
</div>
</template>
<a-button type="primary"
class="publish-btn share-button"
@click.stop="clickEntrance">
<template #icon>
<i class="iconfont icon-fenxiang"
style="font-size: 15px; margin-right: 6px"></i>
</template>
分享
</a-button>
<a-button v-show="!showPublish && isRenderBtn"
type="primary"
class="publish-btn"
@click="openPublishModal">
<template #icon>
<img class="download_img"
:src="require('@/assets/img/fabu.png')" />
</template>
发布
</a-button>
<a-button type="primary"
class="download-btn share-button"
@click.stop="toDownload"
@@ -71,12 +72,12 @@
</div>
<div class="right"
v-if="!showPreview && !isRenderBtn && !showShare">
<a-button type="primary"
<a-button
class="publish-btn share-button"
@click.stop="clickEntrance">
<template #icon>
<i class="iconfont icon-fenxiang"
style="font-size: 15px; margin-right: 6px"></i>
<img class="download_img"
:src="require('@/assets/img/fenxiang.png')" />
</template>
分享
</a-button>
@@ -464,6 +465,7 @@ onMounted(() => {
}
.share-button {
margin-left: 10px;
font-size: 16px;
}
.head-portrait {
width: 32px;
@@ -591,8 +593,8 @@ onMounted(() => {
transform: rotateY(180deg);
}
.download_img {
width: 16px;
height: 14px;
width: 24px;
height: 24px;
margin-right: 6px;
}
.click {