learnShare.wxml 1.3 KB
<!--pages/learnShare/learnShare.wxml-->
<view class='searn_box'>
  <view class='serch_item'>
    <input placeholder='搜索文章关键字' placeholder-class='pl_style'></input>
    <view class='iconfont icon-sousuo'></view>
  </view>
</view>

<view class='classify_box'>
  <view class='classify_title'>热门分类</view>
  <view class='classify_item_box'>
    <view class="classify_item {{index==id?'classify_active':''}}" wx:for='{{classify}}' wx:key='' bindtap='chooseClassify' data-id='{{index}}'>{{item.name}}</view>
  </view>
</view>

<view class='content_box'>
  <view class='item_list' wx:for='{{[1,2,3]}}'>
    <view class='list_img'>
      <image src='/images/img1.png'></image>
    </view>
    <view class='list_content_box'>
      <view class='list_title'>健康险签单全攻略</view>
      <view class='list_content'>
        <view>
          <text class='iconfont icon-ren'></text>
          <text>向昱筱</text>
        </view>
        <view>
          <text class='iconfont icon-shu'></text>
          <text>100</text>
        </view>
      </view>
      <view class='list_info_box'>
        <view>
          <text class='list_label'>来源</text>
          <text>人民日报</text>
        </view>
        <view>2018-05-07</view>
      </view>
    </view>
  </view>
</view>