小程序
小游戏
企业微信
微信支付
扫描小程序码分享
这是swiper组件报的错,是什么问题导致的?
2 个回答
加粗
标红
插入代码
插入链接
插入图片
上传视频
现在是否还有问题?
你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。
<!-- 商品滚动模板 -->
<
template
name
=
"product_slider"
>
is
"more_title_template"
data
"{{item}}"
/>
view
class
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>
'productItem'
'proimg_view'
image
src
'{{imageBaseUrl+jtem.image}}'
mode
'aspectFill'
"productimg"
></
"statusimg"
"{{...countTimeObj[jtem.id]}}"
"countDown"
</
'two-line title'
><
text
wx:if
"{{jtem.groupmin&&jtem.promotion==2}}"
"groupmin_label"
>{{jtem.groupmin}}人团</
>{{jtem.title}}</
<!-- <text class='one-line describ'>{{jtem.describ}}</text> -->
'money_view'
'money_text'
style
"{{countTimeObj[jtem.id].promotionstatus==-2&&(countTimeObj[jtem.id].promotion==4||countTimeObj[jtem.id].promotion==2)?'color:#969696':''}}"
>{{jtem.lowprice}}</
麻烦给个能复现问题的代码片段看下:(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)
新版开发者工具抛出的报错问题,影响使用吗?
关注后,可在微信内接收相应的重要提醒。
请使用微信扫描二维码关注 “微信开放社区” 公众号
现在是否还有问题?
<!-- 商品滚动模板 -->
<
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
>
麻烦给个能复现问题的代码片段看下:(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)
新版开发者工具抛出的报错问题,影响使用吗?