<!--packageE/questionnaire/index/index.wxml
		问卷调查只做小程序 任务编号: 41492
-->
<view class="indBox">
	<!-- <view class="topTxt" style="padding-top:{{statusBarHeight}}rpx">
		<van-icon name="arrow-left" catchtap="back"></van-icon>
		首页
	</view> -->
	<view class="topTxt" style="padding-top:{{statusBarHeight}}rpx;position: fixed;top: 0;width:100%;background:#ffffff;{{navShow?'':'text-indent: 20rpx;'}}">
		<van-icon name="arrow-left" catchtap="back" wx:if="{{navShow}}"></van-icon>
		首页
	</view>
	<view class="topTxt" style="padding-top:{{statusBarHeight}}rpx;height:40rpx">
	</view>
	<view style="padding: 0 25rpx;background: #f5f5f5;">
		<view class="search">
			<view class="inpBox" catchtap="goSearch">
				<icon class="iconfont icon-all_search_2"></icon>
				<text>请输入关键词搜索</text>
			</view>
			<text class="tright" catchtap="tapshow">说明</text>
		</view>
		<view class="banner">
			<image mode="aspectFill" src="{{info.thumb}}" catchtap="goBanner" data-link="{{link}}"></image>
		</view>
		<view class="newSurvey">
			<view class="newTxt">最新问卷</view>
			<view wx:for="{{list}}" wx:key="index" class="surveyBox">
				<view class="surveyList">
					<view class="left">
						<view class="survey-title">{{ item.title }}</view>
					</view>
					<view class="right" catchtap="detail" data-item="{{item}}">立即参与</view>
				</view>
				<view class="time" wx:if="{{item.start_time && item.end_time}}">
              时间：{{item.start_time}} - {{item.end_time}}
        </view>
			</view>
		</view>
	</view>

</view>

<view class="posBtn" catchtap="gohistory">
	<icon class="iconfont icon-jk_record"></icon>
	记录
</view>

<van-popup show="{{posterShow}}" closeable close-on-click-overlay="true" bind:close="posterClose" custom-style="background:none;" class="posterPopup_style">
	<view class="explain">
		<text>说明</text>
		<view class="explainConten">
			<rich-text nodes='{{info.content}}'></rich-text>
		</view>
		<!-- <view class="closeBtn">
			<icon class="iconfont icon-adsystem_icon_cancle" catchtap="posterClose"></icon>
		</view> -->
	</view>
</van-popup>

<shopfoot ></shopfoot>
