当前位置:网站首页>Uniapp setting background image effect demo (sorting)
Uniapp setting background image effect demo (sorting)
2022-07-06 22:34:00 【I'm happy】
Sometimes setting the background image will report an error - Use intra bank solution
<template>
<view class="bg align-center" :style="{backgroundImage: 'url(' + imgSrc.src+ ')'}"> Buy now </view>
</template>
<script>
export default {
data(){
return{
imgSrc:{
src: '../../static/home/lists.svg', // Picture path
}
}
}
}
</script>
<style>
.bg {
background-size: 100% 100%;
}
</style>
边栏推荐
- Unity3d minigame unity webgl transform plug-in converts wechat games to use dlopen, you need to use embedded 's problem
- Config:invalid signature solution and troubleshooting details
- return 关键字
- HDU 5077 NAND (violent tabulation)
- poj 1094 Sorting It All Out (拓扑排序)
- 如何实现文字动画效果
- Attack and defense world miscall
- 剑指offer刷题记录1
- Jafka来源分析——Processor
- Export MySQL table data in pure mode
猜你喜欢
rust知识思维导图xmind
如何用程序确认当前系统的存储模式?
Netxpert xg2 helps you solve the problem of "Cabling installation and maintenance"
每日一题:力扣:225:用队列实现栈
3DMAX assign face map
Heavyweight news | softing fg-200 has obtained China 3C explosion-proof certification to provide safety assurance for customers' on-site testing
剪映+json解析将视频中的声音转换成文本
手写ABA遇到的坑
labelimg的安装与使用
视图(view)
随机推荐
将MySQL的表数据纯净方式导出
labelimg的安装与使用
hdu 5077 NAND(暴力打表)
2022-07-04 mysql的高性能数据库引擎stonedb在centos7.9编译及运行
[leetcode] 19. Delete the penultimate node of the linked list
Leetcode question brushing (XI) -- sequential questions brushing 51 to 55
NPDP certification | how do product managers communicate across functions / teams?
How do I write Flask's excellent debug log message to a file in production?
Web APIs DOM time object
使用云服务器搭建代理
Aardio - integrate variable values into a string of text through variable names
Self made j-flash burning tool -- QT calls jlinkarm DLL mode
GD32F4XX串口接收中断和闲时中断配置
Extern keyword
Typescript get function parameter type
ThreadLocal详解
HDR image reconstruction from a single exposure using deep CNN reading notes
config:invalid signature 解决办法和问题排查详解
Unity3d minigame-unity-webgl-transform插件转换微信小游戏报错To use dlopen, you need to use Emscripten‘s...问题
Dealing with the crash of QT quick project in offscreen mode