标签css属性 background-image 无效
BenXueYou opened this issue · 1 comments
BenXueYou commented
https://hummer.didi.cn/doc-tenon#/zh-CN/basic_style
描述
基础样式中
background-image: url("https://dpubstatic.udache.com/static/dpubimg/RJ4ZZ_M5ie/WechatIMG24764.jpeg");
Hummer version:
@hummer/cli@0.10.3
@hummer/tenon-vue": "^1.7.0",
复现步骤
- 下载github官方仓库代码
- 进入路径 cd .\examples\tenon-vue\
- 安装依赖 npm install
- 启动命令 npm run dev
- 打开项目playground 终端
- 进入component-view.js页面
- 展示的图片为:
预期结果
展示背景图片
样例代码、屏幕截图或者仓库链接
<view class="item-container">
<view class="demo-box background-box"></view>
</view>
.background-box {
background-image: url("https://dpubstatic.udache.com/static/dpubimg/RJ4ZZ_M5ie/WechatIMG24764.jpeg");
}
BenXueYou commented