|
[App引擎]
avm模式开发,苹果机载入rich-text缓慢问题
[复制链接]
同样的图片详情内容,安桌载入流畅,但苹果机打开页面后,总是先载入一个角(如图)然后再过几秒种以后才载入其它所有图片,用户体验很差,请问是什么原因造成两者差异,有什么解决方法 吗?请大神赐教。附前端代码
<com-navtop title="商品详情" />
<scroll-view class="scroll-view" scroll-y show-scrollbar='false'>
<div class="maincon-swipelist">
<view class="my-container">
<swiper class="my-swiper" id="customSwiper" autoplay circular indicator-dots indicator-color="#ebedf0" indicator-active-color="#fff">
<swiper-item class="my-swiper-item" reusable>
<image class="slideimg" :src="public_url+item.img" :thumbnail='false' mode='widthFix'></image>
</swiper-item>
</swiper>
<view class="my-indicator">
<view v-for="item in goodsslide"></view>
</view>
</view>
</div>
<div class='goodspanel haspad'>
<text class='title'>{{goodsinfo.name}}</text>
<text class='subtitle'>{{goodsinfo.desc}}</text>
<div class='priceline'>
<text class='mainprice'>¥{{goodsinfo.nowprice}}</text>
<text class='dashprice'>¥{{goodsinfo.dashprice}}</text>
</div>
</div>
<div class='goodspanel mtop'>
<text class='title-pad4'>商品详情</text>
<div class='goodscontent'>
<rich-text nodes={goodsinfo.content}></rich-text>
</div>
</div>
</scroll-view>
|
-
-
|