vue.js - What should I do if weex does not have a background image attribute?
滿天的星座
滿天的星座 2017-06-22 11:53:32
0
2
1492

The height of the background can be determined, but the width of the background is determined based on the width of the displayed data;
How can weex achieve this effect without background-image?

滿天的星座
滿天的星座

reply all(2)
伊谢尔伦

You can use the image tag instead. Another way is to customize the container.

巴扎黑

When the src of img is empty, the background image address is used as the default path.
:src="url||defaultUrl"

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!