<!--
/*
 * 
 * WordPres版微信小程序
 * author: jianbo
 * organization: 守望轩  www.watch-life.net
 * github:    https://github.com/iamxjb/winxin-app-watch-life.net
 * 技术支持微信号：iamxjb
 * 开源协议：MIT
 * Copyright (c) 2017 https://www.watch-life.net All rights reserved.
* 星尘 基于微慕开源小程序二开
 * author：yinfegrui
 * organization：枫瑞博客网 www.frbkw.coms
  *星尘 技术维护微信号：qaz449275996
 *
 */-->
<import src="../../templates/common-list.wxml" />
<import src="../../templates/copyright.wxml" />
<import src="../../templates/loading.wxml" />

<view class="topic-common-list" style="display:{{isCategoryPage}}">
	<view class="topic-list-item">
		<image src="{{categoriesImage}}" class="cover" mode="aspectFill">
		</image>
		<view class="topic-content-brief">
			<text>{{categoriesList.description}}</text>
		</view>
	</view>
</view>


<view class="topic-common-list" style="display:{{isSearchPage}}">
	<view class="topic-list-item">
		<image src="../../images/website-search.png" class="cover" mode="aspectFill"></image>
		<view class="topic-content-brief">
			<view class="topic-content-title">
				<text>搜索关键字：</text>
				<text class="searchKey">{{searchKey}}</text>
			</view>
			<text class="search-tips">* 本搜索是全文搜索</text>
		</view>
	</view>
</view>

<view class="container">
	<view class="showerror" style="display:{{showerror}}">
		<image src="../../images/cry80.png" style="height:100rpx;width:100rpx"></image>
		<view class="errortext">
			暂时无法访问网络
			<view class="">
				<button class="more-button" bindtap="reload" size="mini" bindtap="reload">重新加载</button>
			</view>
		</view>
	</view>

	<view style="display:{{showallDisplay}}">
		<template is="tempCommonList" data="{{postsList,listAdsuccess}}" />
		<view style='display:{{isLoading?"block":"none"}}'>
			<template is="tempLoading" />
		</view>

		<view class="loadingmore" style="display:{{floatDisplay}}">
			<view class="no-more" hidden="{{!isLastPage}}">- 无更多文章 -</view>
		</view>

	</view>

	<!--  <view class="copyright" style="display:{{floatDisplay}}">
   <template is="tempCopyright" data="{{webSiteName:webSiteName,domain:domain}}"/>
  </view> -->
</view>
