梵卐 2022-01-18 15:56 采纳率: 0%
浏览 23

求个解答:微信小程序imgae标签不显示图片

wxml:

<!--pages/page1/page1.wxml-->
<!-- 全部 -->
<view class="all">
<!-- 添加一个图片 -->
<image src="\weixinkaifa\photo\logo.png"></image>
 <view class="kaitou">
账号 <input type="text"/>
</view> 
</view>
**wxss**

```css
.all {
   width: 100%;
   height: 844px;
   /* background-image: url(https://user.qzone.qq.com/2110852376/main); */
.all img{
    width: 100px;
    height: 100px;
} 
.kaitou{
    widows: 320px;
    height:50px ;
    text-align: center;
    font-size: 25px;
    
}
.kaitou input{
 width: 190px;
 height: 25px;
 border: 1px;
 display: inline-block;
 border-color: black;
 border-style:solid ;

 
}

  • 写回答

2条回答 默认 最新

  • 你好!机器人 2022-01-18 18:04
    关注
    <image src="/weixinkaifa/photo/logo.png"></image>
    
    
    评论 编辑记录

报告相同问题?

问题事件

  • 创建了问题 1月18日