40 lines
2.3 KiB
Plaintext
40 lines
2.3 KiB
Plaintext
<view>
|
|
<view class="section section_gap" style="display: flex;flex-direction: row;justify-content: center;border-style: none solid;border-width: 5rpx;">
|
|
<text style="padding-top: 13rpx;padding-right: 19rpx;">进度</text>
|
|
<view style="width: 56%;padding-top: 19rpx;">
|
|
<progress borderRadius="6" percent="{{(num+1)*100/vindex}}" strokeWidth="18"></progress>
|
|
</view>
|
|
<text style="padding-top: 14rpx;padding-left: 16rpx;">{{num+1}}/{{vindex}}</text>
|
|
</view>
|
|
<view class="section" style="border-style: none solid;border-width: 5rpx;">
|
|
<form bindreset="formReset" bindsubmit="formSubmit">
|
|
<view wx:for="{{items}}" wx:key="index">
|
|
<view wx:if="{{index==num}}">
|
|
<view style="height: 156rpx;margin-top: 6rpx;margin-top: 6rpx;margin-bottom: 46rpx;">
|
|
<view class="label" style="padding: 30rpx 30rpx;">{{index+1}}、{{item.desc}}</view>
|
|
</view>
|
|
<radio-group bindchange="formSubmit" name="radioGroup" style="display: flex;flex-direction: column;">
|
|
<view style="height: 156rpx;margin-top: 6rpx;margin-top: 6rpx;">
|
|
<label bindtap="zd" style="padding: 30rpx 30rpx;">
|
|
<radio value="{{item.valA}}"></radio>A {{item.planA}} </label>
|
|
</view>
|
|
<view style="height: 156rpx;margin-top: 6rpx;margin-top: 6rpx;">
|
|
<label bindtap="zd" style="padding: 30rpx 30rpx;">
|
|
<radio value="{{item.valB}}"></radio>B {{item.planB}} </label>
|
|
</view>
|
|
</radio-group>
|
|
</view>
|
|
</view>
|
|
</form>
|
|
</view>
|
|
<view class="xiaogj" style="margin-top:-16rpx;">
|
|
<button bindtap="back" class="lb1" plain="true" style="width:100%;margin-left:0px;margin-bottom:16px;border-style: solid ;border-width: 5rpx;">
|
|
<view style="margin-bottom:6px;">
|
|
<text decode="{{true}}" space="{{true}}" style="color:#485f84;"> 重 新 测 试 </text>
|
|
</view>
|
|
</button>
|
|
|
|
<view style="height: 166rpx;"></view>
|
|
</view>
|
|
</view>
|