部分iphonex手机渲染该页面时,页面会出现错误代码;错误代码是
,Te=w.TYPED,Oe=w.VIEW,Ee= "Wrong length!" ,Ie=f(1, function (e,t){ return Me(P(e,e[we]),t)}),ke=b( function (){ return 1=== new V( new Uint16Array([1]).buffer)[0]}),Ce=!!V&&!!V[H].set&&b( function (){ new V(1).set({})}),Ae= function (e,t){ var n=a(e); if (n<0||n%t) throw z( "Wrong offset!" ); return n},xe= function (e){ if (k(e)&&Te in e) return e; throw q(e+ " is not a typed array!" )},Me= function (e,t){ if (!(k(e)&&_e in e)) throw q( "It is not a typed array constructor!" ); return new e(t |
页面代码呢?
你猜
用的wepy框架,没有办法弄代码片段
<
view
class
=
"product-two-item-container"
>
<
repeat
for
=
"{{productTwo.items}}"
>
<
view
class
=
"product-item"
@
tap
=
"clickGoods({{item}})"
style="margin-bottom:{{(index >= productTwo.items.length - (productTwo.items.length % 2 === 0 ? 2 : productTwo.items.length % 2 ))? (homeWxs.showBottomLookAll(productTwo) ? 0 : 1.33):0}}vw;">
<
view
class
=
"image-view"
>
<
image
lazy-load
=
"true"
mode
=
"aspectFill"
src
=
"{{item.new_list_cover}}"
width
=
"{{200}}"
height
=
"{{200}}"
></
image
>
<
view
class
=
"newcommer"
wx:if
=
"{{item.is_new_user_price}}"
>新人专享</
view
>
<
view
class
=
"gold-flag {{item.is_new_user_price?'margin-left':''}}"
wx:if
=
"{{item.showGoldDeduce}}"
>{{item.gold_flag.reduce_info}}</
view
>
<
label
wx:if
=
"{{item.isRegularSale}}"
class
=
"label"
></
label
>
<
text
class
=
"sold"
wx:elif
=
"{{showSold}}"
>销量:{{goodsWxs.sold(item)}}</
text
>
</
view
>
<
view
class
=
"top"
>
<
view
class
=
"title"
style
=
"-webkit-line-clamp:{{item.sell_point?1:2}}"
>
<
span
wx:if
=
"{{item.isGlobalBuy}}"
class
=
"global-buy"
>全球购</
span
>{{item.name}}
</
view
>
<
view
class
=
"caption"
wx:if
=
"{{item.sell_point}}"
>{{item.sell_point}}</
view
>
</
view
>
<
view
class
=
"goods-price-view"
>
<
view
class
=
"price"
>{{item.new_min_price}}</
view
>
<
view
class
=
"dash-price"
>{{item.new_st_price}}</
view
>
</
view
>
<
activityTag
class
=
"tag"
:saleInfo.sync
=
"item.act_desc"
></
activityTag
>
</
view
>
</
repeat
>
</
view
>
wepy的锅让wepy的开发同学背
https://github.com/Tencent/wepy/issues