Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

标签css属性 background-image 无效 #410

Open
BenXueYou opened this issue Sep 26, 2022 · 1 comment
Open

标签css属性 background-image 无效 #410

BenXueYou opened this issue Sep 26, 2022 · 1 comment
Assignees
Labels
bug Something isn't working Platform: iOS

Comments

@BenXueYou
Copy link

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/[email protected]
@hummer/tenon-vue": "^1.7.0",

复现步骤

  1. 下载github官方仓库代码
  2. 进入路径 cd .\examples\tenon-vue\
  3. 安装依赖 npm install
  4. 启动命令 npm run dev
  5. 打开项目playground 终端
  6. 进入component-view.js页面
  7. 展示的图片为:

预期结果

展示背景图片

image123

样例代码、屏幕截图或者仓库链接

<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 BenXueYou added bug Something isn't working Needs: Triage 🔍 labels Sep 26, 2022
@BenXueYou
Copy link
Author

BenXueYou commented Sep 27, 2022

image

这段文档描述不是很清楚

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Platform: iOS
Projects
None yet
Development

No branches or pull requests

3 participants