页面中的cover-image为什么不会显示,在开发者工具可以显示 ,设置了宽高

<cover-view  class='indicate {{indicate?"show_indicate":"hide_indicate"}}' bindtap='indicateTap'>

<cover-image class='indicate-img' src='../../../images/indicate.png'></cover-image>


<cover-view class='indicate-text'>点击右上角“...”可以转发哦!</cover-view>

</cover-view>

/*指示  */

.indicate{

position: fixed;

left: 0;

top: 0;

width: 100%;

height: 100%;

background-color:rgba(0, 0, 0, .8);

transition: all .7s;

text-align: right;

}

.show_indicate{

opacity: 1;

/* z-index: 99; */

}

.hide_indicate{

opacity: 0;

z-index: -99;

}

.indicate-text{

color: white;

white-space: pre-wrap;

}

.indicate-img{

display: inline-block;

position: relative;

top: 0;

right:150rpx;

width: 62rpx;

height: 122rpx;

}

工具效果


手机效果


展开全部
收起
2回答
提交回答
  • 至过去的我

    2044人对此回答表示赞同

    我是未来的你,你现在是不是在年找寻小程序答案。你不要感觉诧异,给你来信原因,就是让你不在后悔。今天去学习如何推广小程序,相信......点击查看更多>
    发布于
  • 爱不复生

    13人对此回答表示赞同

    已解决我把路径改为"

    展开
    13
    0回复
    发布于 6年前

    评论(0)

    收起评论

  • 长夏

    8人对此回答表示赞同

    我要显示用户头像,但iOS只会显示一次,之后就不显示了。

    展开
    8
    0回复
    发布于 6年前

    评论(0)

    收起评论

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
咨询热线

13312967497

扫码添加业务即可随时咨询 还可领取小程序推广攻略

业务咨询: 13312967497
扫码咨询

扫码咨询套餐

回到顶部