<!--pages/title/title.wxml-->
<view class="title">
	<view wx:if="{{!params == ''}}" style="{{ 'background: '+(params.bgcolor?params.bgcolor:'')+';color:'+(params.color?params.color:'')+';text-align:'+(params.align?params.align:'')}}">
		<view class="h3" style="{{'font-size:'+(params.fontsize1?params.fontsize1:'')+';'}}" wx:if='{{params.title1}}'>{{params.title1}}</view>
		<view class="h4" style="{{'font-size:'+(params.fontsize2?params.fontsize2:'')+';'}}" wx:if='{{params.title2 && params.showtitle2 != 0}}'>{{params.title2}}</view>
	</view>
</view>
