Commit eed7bcc6 by 王志慧

fixed

1 parent 0cc139c9
......@@ -78,6 +78,7 @@
</glsx-dialog>
<!-- 分享 -->
<GLDialog :mode="mode" title="分享" :visible.sync="shareVisible" :hasFooter="false">
<div v-loading="loading">
<div class="preview-wrap">
<div class="share-content">
<div>
......@@ -103,6 +104,7 @@
<div class="share-path">{{ shareData.linkUrl }}</div>
<el-button class="share-btn" type="primary" @click="handleSaveTxt(shareData.linkUrl)">复制链接</el-button>
</div>
</div>
</GLDialog>
</div>
</template>
......@@ -125,6 +127,7 @@ export default {
},
data() {
return {
loading: false,
shareVisible: false, //分享
showViewer: false,
showGh: false,
......@@ -473,8 +476,11 @@ export default {
},
//分享
handleShare(val) {
this.loading = true
this.shareData ={}
getMealShare({ id: val.id }).then(res => {
this.shareData = res.data
this.loading = false
})
this.shareVisible = true
},
......@@ -712,9 +718,8 @@ export default {
}
}
}
}
.share-footer {
.share-footer {
width: 680px;
height: 90px;
background: #f8f8f8;
......@@ -727,7 +732,7 @@ export default {
font-weight: 600;
font-size: 14px;
color: #999999;
max-width:400px;
max-width: 400px;
white-space: wrap;
}
.share-title {
......@@ -741,5 +746,5 @@ export default {
right: 40px;
bottom: 29px;
}
}
}
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!