|
@@ -1,6 +1,7 @@
|
|
|
<!--pages/contest/answer/answer.wxml-->
|
|
|
<view>
|
|
|
<image mode="widthFix" src="../../../imgs/contest/answer/bg.png" class="bg"></image>
|
|
|
+ <view class="page-title">参加竞赛</view>
|
|
|
<view class="top">
|
|
|
<view class="top-title">您还有
|
|
|
<view class="time">
|
|
@@ -26,11 +27,12 @@
|
|
|
<view class="problem-text">现代奥林匹克圣火传递起于哪一年?</view>
|
|
|
</view>
|
|
|
<view class="problem-key-list">
|
|
|
- <view class="active">A. 1936年</view>
|
|
|
- <view class="">A. 1936年</view>
|
|
|
+ <view class="{{pattern?'':'active'}} border">A. 1936年</view>
|
|
|
+ <view class="border">A. 1936年</view>
|
|
|
<view class="">A. 1936年</view>
|
|
|
<view class="">A. 1936年</view>
|
|
|
</view>
|
|
|
+ <view class="bd-b"></view>
|
|
|
</view>
|
|
|
<view class="content-item">
|
|
|
<view class="problem">
|
|
@@ -41,15 +43,40 @@
|
|
|
<view class="problem-text">现代奥林匹克圣火传递起于哪一年?</view>
|
|
|
</view>
|
|
|
<view class="problem-key-list">
|
|
|
- <view class="active">A. 1936年</view>
|
|
|
+ <view class="active-R">A. 1936年</view>
|
|
|
<view class="">A. 1936年</view>
|
|
|
<view class="">A. 1936年</view>
|
|
|
<view class="">A. 1936年</view>
|
|
|
</view>
|
|
|
+ <view class="bd-b" wx:if="{{pattern}}"></view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="arrow-group">
|
|
|
+ <!-- <view class="arrow-group" wx:if="{{!pattern}}">
|
|
|
<image class="" mode="widthFix" src="../../../imgs/contest/answer/left{{pagination.page==1?'':'-active'}}.png" bindtap="{{pagination.page==1?'':'bindNavTagger'}}" data-index="{{pagination.page-1}}"></image>
|
|
|
<image class="" mode="widthFix" src="../../../imgs/contest/answer/right{{pagination.page==5?'':'-active'}}.png" bindtap="{{pagination.page==5?'':'bindNavTagger'}}" data-index="{{pagination.page+1}}"></image>
|
|
|
+ </view> -->
|
|
|
+ <view class="next-one" style="background-image: url('../../../imgs/contest/answer/confim-button-bg.png');" data-index="2" bindtap="{{isupdate?'提交':'bindNavTagger'}}" wx:if="{{pagination.page==1||isupdate}}">{{isupdate?'提交':'下一页'}}</view>
|
|
|
+ <view class="button-group-R" wx:else>
|
|
|
+ <view class="back" bindtap="{{pattern?'':'bindNavTagger'}}" data-index="{{pagination.page-1}}">{{pattern?'修改':'上一页'}}</view>
|
|
|
+ <view class="next" style="background-image: url('../../../imgs/contest/answer/confim-button-bg-2.png');" bindtap="{{pagination.page==5?'':'bindNavTagger'}}" data-index="{{pagination.page+1}}">{{pagination.page==5?'提交':'下一页'}}</view>
|
|
|
+ </view>
|
|
|
+
|
|
|
+ <!-- 确认框 -->
|
|
|
+ <view class="mask" wx:if="{{show}}" bindtap="showToggle">
|
|
|
+ </view>
|
|
|
+ <view class="confirm" wx:if="{{show}}">
|
|
|
+ <image mode="widthFix" class="confirm-bg" src="../../../imgs/contest/answer/confirm-bg.png"></image>
|
|
|
+ <view class="confirm-content">
|
|
|
+ <image mode="widthFix" class="warning-icon" src="../../../imgs/contest/answer/warning.png"></image>
|
|
|
+ <view class="confim-title">{{isupdate?'您的答题已修改,确认提交吗?':'您未答完全部题,确认提交吗?'}}</view>
|
|
|
+ <view class="button-group" wx:if="{{!isupdate}}">
|
|
|
+ <view>预览答题</view>
|
|
|
+ <view bindtap="clickConfim">提交</view>
|
|
|
+ </view>
|
|
|
+ <view class="button-group" wx:else>
|
|
|
+ <view class="confim-button" bindtap="clickConfim">提交</view>
|
|
|
+ </view>
|
|
|
+ <image mode="widthFix" src="../../../imgs/contest/answer/close.png" class="close-icon" bindtap="showToggle"></image>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|