2020-08-31

前言

提示:以下是本篇文章正文内容,下面案例可供参考

一、针对wx.chat的统计图层级过高

1.cover-view和cover-image使用方法

遇到问题:cover-view不支持base64图片及其svg后缀,只能使用cover-image的src方可使用,cover-view与cover-image样式另外编写

二、代码片段

<cover-view class="icss {{isIphoneX?'isIPX1':''}}">
    <cover-view class="home fosItem" bindtap="homeFn">
      <cover-image style="width:48rpx;height:48rpx;" src="/pages/images/shouyehui.png"></cover-image>
      <cover-view>首页</cover-view>
    </cover-view>
    <cover-view class="fosItem" bindtap="educationCircle">
      <cover-image style="width:48rpx;height:48rpx;" src="/pages/images/xuankehui.png"></cover-image>
      <cover-view>教育圈</cover-view>
    </cover-view>
    <cover-view class="fosItem" bindtap="chatFn">
      <cover-image style="width:48rpx;height:48rpx;" src="/pages/images/ketanghui.png"></cover-image>
      <cover-view>课堂</cover-view>
    </cover-view>
    <cover-view class="fosItem">
      <cover-image style="width:48rpx;height:48rpx;" src="/pages/images/huiyuanlan.png"></cover-image>
      <cover-view>会员</cover-view>
    </cover-view>
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值