请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

audio图片问题

不好意思,老师,那么久了才学这么点,这段时间太累。其实上周我就遇到audio点播图片不能按照设定的数据缩放的苦恼,整了好多天仍然没找到原因,其他都写对了的,也没报错,上下其他图片都正常显示,唯独audio这张还是个大图摆在头图下面,也不能上移,不知道为什么

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<view class="container">
  <image class="head-image" src="/pages/posts/ask google.jpg"></image>
  <image calss="audio" src="/images/music/music-start2.png"></image>
  <view class="author-date">
    <image class="avatar" src="/images/elephant.png"></image>
      <text class="author">Cigar</text>
      <text class="const-text">发表于</text>
      <text class="date">三天前</text>
  </view>
  <text class="title">Google Home开启智能家居时代</text>
  <view class="tool">
    <view class="circle-img">
      <image class="collection-img" src="/images/icon/collection.png"></image>
      <image class="share-img" src="/images/icon/share.png"></image>
    </view>
    <view class="horizon"></view>
  </view>
  <text class="detail">Google Home有多智能?用了才知道</text>
</view>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
.head-image {
  width: 100%;
  height: 460rpx;
}
 
.audio {
  width: 10rpx;
  height: 10rpx;
  position: absolute;
  left: 50%;
  margin-left: -51rpx;
  top: 200px;
  opacity: 6;
}
 
.author-date {
  flex-direction: row;
  margin-left: 30rpx;
  margin-top: 20rpx;


正在回答

插入代码

1回答

朱少 2017-04-23 11:53:24

<image calss="audio"  class 拼错了

1 回复 有任何疑惑可以回复我~
  • 提问者 归零者cigar #1
    非常感谢!
    回复 有任何疑惑可以回复我~ 2017-04-23 20:20:39
  • 提问者 归零者cigar #2
    ⊙﹏⊙!,额。。。看遍了都没看到,真是打板子!谢谢!
    回复 有任何疑惑可以回复我~ 2017-04-23 20:21:42

相似问题

登录后可查看更多问答,登录/注册

问题已解决,确定采纳
还有疑问,暂不采纳
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号