|
@@ -6,12 +6,17 @@
|
|
|
</view>
|
|
|
<!-- 轮播图 -->
|
|
|
<view class="swiper-container">
|
|
|
- <swiper class="swiper" autoplay="true" circular="true" interval="3000" easing-function="easeOutCubic" current="{{swiperCurren}}" bindchange="swiperChange">
|
|
|
+ <swiper class="swiper" autoplay="true" circular="true"
|
|
|
+ interval="3000" easing-function="easeOutCubic"
|
|
|
+ current="{{swiperCurren}}"
|
|
|
+ bindchange="swiperChange">
|
|
|
+
|
|
|
<!-- 轮播图图片 -->
|
|
|
<swiper-item class="swiperItem" wx:for="{{imgList}}" wx:key>
|
|
|
<!-- 加上widthFix可以使图片自适应 -->
|
|
|
- <image src="{{item}}" ></image>
|
|
|
+ <image src="{{item}}"></image>
|
|
|
</swiper-item>
|
|
|
+
|
|
|
</swiper>
|
|
|
<!-- 为了和喜马拉雅一致,自己需定制轮播图dots -->
|
|
|
<view class="dots">
|
|
@@ -21,6 +26,7 @@
|
|
|
</block>
|
|
|
</view>
|
|
|
</view>
|
|
|
+
|
|
|
<!-- 宫格导航 -->
|
|
|
<view class="nav">
|
|
|
<block>
|
|
@@ -31,6 +37,7 @@
|
|
|
</view>
|
|
|
</block>
|
|
|
</view>
|
|
|
+
|
|
|
<!-- 猜你喜欢 -->
|
|
|
<view class="like">
|
|
|
<view class="barTitle">
|
|
@@ -41,7 +48,7 @@
|
|
|
<view class="likeItemBox">
|
|
|
<view class="likeItem">
|
|
|
<view class="likeimg">
|
|
|
- <image class="likeItemIcon" src="/image/guess1.jpg" mode="widthFix" lazy-load="false"></image>
|
|
|
+ <image class="likeItemIcon" src="/image/guess1.jpg" mode="widthFix"></image>
|
|
|
<view class="cover">
|
|
|
<!-- text用来显示icon 暂无 -->
|
|
|
<text class=""></text> 4.6亿
|
|
@@ -51,7 +58,7 @@
|
|
|
</view>
|
|
|
<view class="likeItem">
|
|
|
<view class="likeimg">
|
|
|
- <image class="likeItemIcon" src="/image/guess2.jpg" mode="widthFix" lazy-load="false"></image>
|
|
|
+ <image class="likeItemIcon" src="/image/guess2.jpg" mode="widthFix"></image>
|
|
|
<view class="cover">
|
|
|
<text class=""></text> 4.6亿
|
|
|
</view>
|
|
@@ -60,7 +67,7 @@
|
|
|
</view>
|
|
|
<view class="likeItem">
|
|
|
<view class="likeimg">
|
|
|
- <image class="likeItemIcon" src="/image/guess3.jpg" mode="widthFix" lazy-load="false"></image>
|
|
|
+ <image class="likeItemIcon" src="/image/guess3.jpg" mode="widthFix"></image>
|
|
|
<view class="cover">
|
|
|
<text class=""></text> 4.6亿
|
|
|
</view>
|
|
@@ -81,7 +88,7 @@
|
|
|
<block wx:for="{{xiaoshuocontent}}" wx:key>
|
|
|
<view class="content">
|
|
|
<view class="contentImg">
|
|
|
- <image src="{{item.albumCoverUrl290}}" mode="widthFix" lazy-load="false"></image>
|
|
|
+ <image src="{{item.albumCoverUrl290}}" mode="widthFix"></image>
|
|
|
</view>
|
|
|
<view class="content-right">
|
|
|
<view class="title">
|
|
@@ -108,7 +115,7 @@
|
|
|
<block wx:for="{{xiangshengcontent}}" wx:key>
|
|
|
<view class="content">
|
|
|
<view class="contentImg">
|
|
|
- <image src="{{item.albumCoverUrl290}}" mode="widthFix" lazy-load="false"></image>
|
|
|
+ <image src="{{item.albumCoverUrl290}}" mode="widthFix"></image>
|
|
|
</view>
|
|
|
<view class="content-right">
|
|
|
<view class="title">
|