|
|
@@ -61,9 +61,9 @@
|
|
|
</div>
|
|
|
<!------4----->
|
|
|
<div class="flex flex-center flex-justify-between" style="width: 70%;margin-top: 40px">
|
|
|
- <base-button icon="Download" title="下载" type="0"/>
|
|
|
- <base-button icon="UploadFilled" title="同步到" type="0"/>
|
|
|
- <base-button icon="Link" title="分享到" type="0"/>
|
|
|
+ <base-button icon="Download" title="下载" type="0" @click='download'/>
|
|
|
+ <base-button icon="UploadFilled" title="同步到" type="0" @click='showMsg'/>
|
|
|
+ <base-button icon="Link" title="分享到" type="0" @click='showMsg'/>
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
|
@@ -106,6 +106,14 @@ export default {
|
|
|
},
|
|
|
toSize () {
|
|
|
this.size = bytesToSize(this.info.volume)
|
|
|
+ },
|
|
|
+ download () {
|
|
|
+ window.open(this.info.url)
|
|
|
+ },
|
|
|
+ showMsg () {
|
|
|
+ this.$alert('功能建设中,尽情期待...', '消息提醒', {
|
|
|
+ confirmButtonText: 'OK'
|
|
|
+ })
|
|
|
}
|
|
|
}
|
|
|
}
|