<view class="container FlexColumn" style='min-height:{{Containnerheight}}rpx;'>
  <view class="panelSearch FlexRow">
    <view class="panelSearch1 FlexRow" bindtap="onSearch">
      <image class="universalpic_search_gray_30x30" src='../images/universalpic_search_gray_30x30.png' />
      <view>搜索字词、成语、诗词、单词，添加丰富资料</view>
    </view>
  </view>
  <view class='lineFooter'></view>
  <view class="panelTitle FlexRow">
    <view class="panelTitle1">看过的资料</view>
  </view>
  <view class="panelNull" wx:if="{{SelectList.length==0}}">暂无。为方便再次查看，近期打开过的资料会显示在这里。</view>

  <block wx:for="{{SelectList}}" wx:key="index">
    <view class="lineWidthAll FlexRow" wx:if="{{index>0}}">
      <view class="lineWidth720"></view>
    </view>

    <scroll-view class="ScrollView" scroll-left="{{item.ScrollLeft}}" scroll-x="true" data-index="{{index}}">
      <view class='CellItem'>
        <view class="panelItemSearch FlexColumn" bindtap='onSearchHistory' data-index="{{index}}" data-type="many">
          <view class="panelItemSearch1 FlexRow">
            <view class="panelItemSearch11">
              {{item.Key}}
            </view>
            <view class="panelItemSearch12 FlexRow" wx:if="{{item.Type=='shici' || item.Type=='eng'}}">
              {{item.TypeName}}
            </view>
          </view>
          <view class="panelItemSearch2 FlexRow" wx:if="{{item.Type=='zici' || item.Type=='eng'}}">
            {{item.Remark}}
          </view>
          <view class="panelItemSearch2 FlexRow" wx:if="{{item.Type=='shici'}}">
            {{item.Author}} {{item.Dynasty}}
          </view>
          <view class="panelItemSearch3 FlexRow">
            {{item.Content}}
          </view>
        </view>
      </view>
      <view class='CellDelete'>
        <view class='DeleteItem' catchtap='DeleteItem' data-index="{{index}}">
          <block wx:if="{{item.DeleteStr=='确认删除'}}">{{item.DeleteStr}}</block>
          <image class="universalpic_del_white_20x28" src='../images/universalpic_del_white_20x28.png' wx:if="{{item.DeleteStr=='删除'}}" />
        </view>
      </view>
    </scroll-view>
  </block>
  <view class='lineFooter' wx:if="{{SelectList.length>0}}"></view>
  <view style='height:100rpx;'></view>
</view>