abstract:<!--index.wxml--><view style='background-color:#A0A0A0;'><!-- 广告轮播图 --><swiper indicator-dots="true"autoplay="true" interval="5000" duration=
<!--index.wxml-->
<view style='background-color:#A0A0A0;'>
<!-- 广告轮播图 -->
<swiper indicator-dots="true"
autoplay="true" interval="5000" duration="1000" indicator-color="#A33" indicator-active-color="#FFF" class="m-b-2">
<block wx:for="{{img}}" wx:key="">
<swiper-item>
<image src="{{item}}" class="slide-image h10 w-100"></image>
</swiper-item>
</block>
</swiper>
<view class="hot">要闻</view>
<!-- 要闻列表 -->
<view class="hot-div" wx:for="{{list}}" wx:key="id">
<navigator url="../news/details?id={{item.id}}">
<image src='{{item.img}}' class="hot-img"></image>
<view class="hot-right">
<view class="size0-9rem hide_size">{{item.title}}</view>
<view class="size0-7rem">{{item.add_time_s}}</view>
</view>
</navigator>
<view class="clear-both"></view>
</view>
</view>
Correcting teacher:查无此人Correction time:2019-03-07 09:04:51
Teacher's summary:完成的不错。小程序逻辑跟php不一样,认真学习后,会发现很简单。继续加油