本文主要是介绍图片保存,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
<a
style="display: block;height: 148px;overflow: hidden;border-radius: 4px;background: #516bf7;"
v-if="bannerType === '1'"><img src="@/views/dashboard/images/banner1.png" /></a>
goTarget (url) {
window.open(url)
},
<a-card :bordered="false" @click="addTabMenu(item.path)" style="cursor: pointer;">
<a-icon
:type="item.icon"
:component="allIcon[item.icon + 'Icon']"
:style="{ background: getMenuColor(index) }" />
<span>{{ item.title }}</span>
</a-card>
getMenuColor (index) {
return this.colorList[index % 4]
},
colorList: ['#5584fd', '#3470ff', '#ff8801', '#00d6b9', '#7e3bf3'],
<a-button block style="height: 40px;" type="primary" ghost @click="goTarget('https://gitee.com/y_project/RuoYi-Vue')">
访问若依
</a-button>
这篇关于图片保存的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!