|
@@ -9,6 +9,12 @@
|
|
</bar>
|
|
</bar>
|
|
</custom>
|
|
</custom>
|
|
|
|
|
|
|
|
+
|
|
|
|
+<swiper class="card-swiper round-dot" indicator-dots="true" circular="true" autoplay="true" interval="5000" duration="500" indicator-color="#8799a3" indicator-active-color="#0081ff">
|
|
|
|
+ <swiper-item wx:for="{{focus}}" wx:for-item="v" wx:for-index="k" wx:key class="{{cardCur==k?'cur':''}}">
|
|
|
|
+ <view class='bg-img shadow-blur' style="background-image:url({{v.pic}})"></view>
|
|
|
|
+ </swiper-item>
|
|
|
|
+</swiper>
|
|
<bar class="solid-bottom">
|
|
<bar class="solid-bottom">
|
|
<view class='action'>
|
|
<view class='action'>
|
|
<icon class='icon-titles text-orange ' /> 最新
|
|
<icon class='icon-titles text-orange ' /> 最新
|
|
@@ -17,36 +23,14 @@
|
|
<switch class='sm' checked='{{isCard}}' bindchange='isCard'></switch>
|
|
<switch class='sm' checked='{{isCard}}' bindchange='isCard'></switch>
|
|
</view>
|
|
</view>
|
|
</bar>
|
|
</bar>
|
|
-<card class="case">
|
|
|
|
- <item wx:for="{{1}}" wx:key class="shadow">
|
|
|
|
- <view class='image'>
|
|
|
|
- <image src="https://image.weilanwl.com/img/4x3-1.jpg" mode="widthFix"></image>
|
|
|
|
- <tag class="bg-blue">福利</tag>
|
|
|
|
- <bar class='bg-shadeBottom'>我和制服不得不说的那些事!</bar>
|
|
|
|
- </view>
|
|
|
|
- <list class="menu menu-avatar">
|
|
|
|
- <item>
|
|
|
|
- <avatar class="round lg" style="background-image:url(https://image.weilanwl.com/img/square-4.jpg);"></avatar>
|
|
|
|
- <view class='content flex-sub'>
|
|
|
|
- <view class='text-grey'>猪皮蛋</view>
|
|
|
|
- <view class='text-gray text-sm flex justify-between'>
|
|
|
|
- 十天前
|
|
|
|
- <view class="text-gray text-sm">
|
|
|
|
- <icon class="icon-attentionfill" /> 10
|
|
|
|
- <icon class="icon-appreciatefill" /> 20
|
|
|
|
- <icon class="icon-messagefill" /> 30
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
- </item>
|
|
|
|
- </list>
|
|
|
|
- </item>
|
|
|
|
|
|
|
|
- <item wx:for="{{1}}" wx:key class="shadow">
|
|
+
|
|
|
|
+<card class="case">
|
|
|
|
+ <item wx:for="{{news}}" wx:for-item="v" wx:for-index="k" wx:key class="shadow">
|
|
<view class='image'>
|
|
<view class='image'>
|
|
- <image src="https://image.weilanwl.com/img/4x3-1.jpg" mode="widthFix"></image>
|
|
+ <image src="{{v.pic_cover}}" mode="widthFix"></image>
|
|
- <tag class="bg-blue">福利</tag>
|
|
+ <tag class="bg-blue">{{v.cate_name}}</tag>
|
|
- <bar class='bg-shadeBottom'>我和制服不得不说的那些事!</bar>
|
|
+ <bar class='bg-shadeBottom'>{{v.name}}</bar>
|
|
</view>
|
|
</view>
|
|
<list class="menu menu-avatar">
|
|
<list class="menu menu-avatar">
|
|
<item>
|
|
<item>
|
|
@@ -54,11 +38,11 @@
|
|
<view class='content flex-sub'>
|
|
<view class='content flex-sub'>
|
|
<view class='text-grey'>猪皮蛋</view>
|
|
<view class='text-grey'>猪皮蛋</view>
|
|
<view class='text-gray text-sm flex justify-between'>
|
|
<view class='text-gray text-sm flex justify-between'>
|
|
- 十天前
|
|
+ {{v.pdate}}
|
|
<view class="text-gray text-sm">
|
|
<view class="text-gray text-sm">
|
|
- <icon class="icon-attentionfill" /> 10
|
|
+ <icon class="icon-attentionfill" /> {{v.num_view}}
|
|
- <icon class="icon-appreciatefill" /> 20
|
|
+ <icon class="icon-appreciatefill" /> {{v.num_up}}
|
|
- <icon class="icon-messagefill" /> 30
|
|
+ <icon class="icon-messagefill" /> {{v.num_comment}}
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|