<!--
/*
 * 
 * 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="../../wxParse/wxParse.wxml" />
<import src="../../templates/header.wxml" />
<import src="../../templates/copyright.wxml" />
<import src="../../templates/login-popup.wxml" />

<view class="container" style="display:{{display}}">
	<!-- 头部logo -->
	<template is="tempHeader" />

	<view class="wrapper">
		<view class="excerpt">
			<template is="wxParse" data="{{wxParseData:article.nodes}}" />

		</view>
		<template is="login-popup" data="{{show: isLoginPopup, userInfo: userInfo}}"></template>

		<view style='text-align:center'>
			<button class="gotowebpage-button" formType="submit" size="mini" bindtap="gotowebpage">打开官方网站</button>
			<modal title="{{dialog.title}}" hidden="{{dialog.hidden}}" no-cancel bindconfirm="confirm">{{dialog.content}}</modal>
		</view>
		<view class="praisePost">
			<view style='text-align:center'>
				<button class="praise-button" formType="submit" size="mini" bindtap="praise">{{pageData.praiseWord}}</button>

				<modal title="{{dialog.title}}" hidden="{{dialog.hidden}}" no-cancel bindconfirm="confirm">{{dialog.content}}</modal>
			</view>
			<block wx:if="{{system !='iOS'}}">
				<view class="praiseTitle">
					<view style='margin-top: 15rpx;'>
						<text>谢谢以下{{pageData.praiseWord}}的朋友</text>
					</view>
				</view>
				<view class="praiseText">
					<block wx:key="id" wx:for="{{praiseList}}">
						<image src="{{item}}" class="gravatarLikeImg"></image>
					</block>
				</view>
			</block>
		</view>
	</view>

</view>
