<div class="wrapper" ng-controller="PaperQuestionSimilarCtrl">
<div cg-busy="{promise:myPromise,message:'正在加载...'}"></div>
		<div class="panel panel-default">
		<div class="panel-body">
				<h4 class="modal-title" style="text-align:center;"><span style="font-weight:bold;">(红色为左边试卷独有文本、绿色为右边试卷独有文本、黑色为共有文本)</span></h4>
				<div style="border:solid red 2px;width:340px;height:100%;float:left;margin-left:20px" class="panel panel-default">
				    <div id="paper_a_body" style="margin-left:20px;text-align:left">试卷编号：<a ng-click="viewPaper(0)">{{paperNoA}}</a></div>
				    <br>
				    <div ng-if="question_a!=null">
					    <div ng-repeat="question_a_row in question_a">
							<div style="margin-left:20px;text-align:left">{{question_a_row.questionName}}、{{question_a_row.bodySummary}}</div>
							<br>
							<div ng-if="question_a_row.options.length > 0">
								<div ng-repeat="row in question_a_row.options track by $index">
									<p style="margin-left:50px;">{{getOptionNo(row.optionNo)}}、{{row.summary}}</p>
								</div>
								<div ng-if="question_a_row.options.length == 4"><br></div>
								<br>
							</div>
							<div ng-if="question_a_row.options.length == 0">
								<div ng-repeat="row in [1,2,3,4,5,6]">
								<br>
								</div>
							</div>
						</div>
					</div>
				</div>
				<div style="border:solid green 2px;width:340px;height:100%;float:left;margin-left:20px"class="panel panel-default">
					<div id="paper_b_body" style="margin-left:20px;text-align:left">试卷编号：<a ng-click="viewPaper(1)">{{paperNoB}}</a></div>
				    <br>
				    <div ng-if="question_b!=null">
					    <div ng-repeat="question_b_row in question_b">
							<div style="margin-left:20px;text-align:left">{{question_b_row.questionName}}、{{question_b_row.bodySummary}}</div>
							<br>
							<div ng-if="question_b_row.options.length > 0">
								<div ng-repeat="row in question_b_row.options track by $index">
									<p style="margin-left:50px;">{{getOptionNo(row.optionNo)}}、{{row.summary}}</p>
								</div>
								<div ng-if="question_b_row.options.length == 4"><br></div>
								<br>
							</div>
							<div ng-if="question_b_row.options.length == 0">
								<div ng-repeat="row in [1,2,3,4,5,6]">
								<br>
								</div>
							</div>
						</div>
					</div>
				</div>
				<div style="border:solid 2px;width:340px;height:100%;float:left;margin-left:20px"class="panel panel-default">
					<div id="paper_diff_body" style="margin-left:20px;text-align:left">比对文本：</div>
				    <br>
					<div ng-if="question_a!=null">
						<div ng-repeat="question_a_row in question_a">
							<p ng-bind="indexMark=$index" style="display:none"></p>
							<div ng-bind-html="getBodyHtml(indexMark)" style="margin-left:20px;text-align:left"></div>
							<br>
							<div ng-if="question_a_row.options.length > 0 && question_b[$index].options.length > 0">
								<div ng-repeat="row in question_a_row.options track by $index">
									<p ng-bind-html="getOptionHtml(indexMark,$index)" style="margin-left:50px;"></p>
								</div>
								<div ng-if="question_a_row.options.length == 4"><br></div>
								<br>
							</div>
							<div ng-if="question_a_row.options.length == 0 || question_b[$index].options.length == 0">
								<div ng-repeat="row in [1,2,3,4,5,6]">
								<br>
								</div>
							</div>
						</div>
					</div>
				</div>
				<div style="">
					
				</div>
			</div>
</div>
</div>
