收藏
回答

TypeError: Cannot read property '$$' ?


这是swiper组件报的错,是什么问题导致的?

回答关注问题邀请回答
收藏

2 个回答

  • 灵芝
    灵芝
    2019-08-30

    现在是否还有问题?

    2019-08-30
    有用
    回复 5
    • 独家炒饭
      独家炒饭
      2019-08-30
      开发工具上会,实际使用没影响
      2019-08-30
      回复
    • 灵芝
      灵芝
      2019-08-30回复独家炒饭
      奇怪了,为啥我的一直没问题咧,要不给个代码片段看看?
      2019-08-30
      回复
    • 独家炒饭
      独家炒饭
      2019-08-30回复灵芝
      <!-- 商品滚动模板 -->
      <template name="product_slider">
        <template is="more_title_template" data="{{item}}" />
        <view class="product_slider">
          <swiper display-multiple-items="{{item.products.length>2?'2.1':item.products.length}}">
            <swiper-item wx:for="{{item.products}}" wx:for-item="jtem" bindtap="jump" data-url="/pages/mine/shop/productDetail/productDetail?id={{jtem.id}}" wx:key>
              <view class='productItem'>
                <view class='proimg_view'>
                  <image src='{{imageBaseUrl+jtem.image}}' mode='aspectFill' class="productimg"></image>
                  <template is="statusimg" data="{{...countTimeObj[jtem.id]}}" />
                  <template is="countDown" data="{{...countTimeObj[jtem.id]}}" />
                </view>
               <view class='two-line title'><text wx:if="{{jtem.groupmin&&jtem.promotion==2}}" class="groupmin_label">{{jtem.groupmin}}人团</text>{{jtem.title}}</view>
                <!-- <text class='one-line describ'>{{jtem.describ}}</text> -->
                <view class='money_view'>
                  <text class='money_text' style="{{countTimeObj[jtem.id].promotionstatus==-2&&(countTimeObj[jtem.id].promotion==4||countTimeObj[jtem.id].promotion==2)?'color:#969696':''}}">{{jtem.lowprice}}</text>
                </view>
              </view>
            </swiper-item>
          </swiper>
        </view>
      </template>


      2019-08-30
      回复
    • wait
      wait
      2019-09-09
      我也碰到了 ,什么问题。解决没
      2019-09-09
      回复
    • 灵芝
      灵芝
      2019-09-10回复wait

      麻烦给个能复现问题的代码片段看下:https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html

      2019-09-10
      回复
  • 睡前原谅一切
    睡前原谅一切
    2019-08-09

    新版开发者工具抛出的报错问题,影响使用吗?

    2019-08-09
    有用
    回复 2
    • 独家炒饭
      独家炒饭
      2019-08-09
      这是swiper组件爆出来的
      2019-08-09
      回复
    • 睡前原谅一切
      睡前原谅一切
      2019-08-09回复独家炒饭
      影响使用么?老版开发者工具是否正常。
      2019-08-09
      回复
登录 后发表内容
问题标签