体质测试
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
tizhiceshi/page/twoTest/twoTest.wxml

38 lines
1.4 KiB

<!--pages/twoTest/twoTest.wxml-->
<!--pages/home/home.wxml-->
<!-- <text>pages/home/home.wxml</text> -->
<view>
<view class="header">
<text class="testTitle">[{{cate_title}}] 测试</text>
</view>
<view class="contentContainer">
<view class="content">
<view class="progressInfo">
<text>测试进度 {{index+1}}/{{count}}</text>
<text>已用时 {{time}}</text>
</view>
<view class="progress-box">
<progress percent="{{per}}" stroke-width="19" activeColor="#FB6B3E" border-radius="19" backgroundColor="#D0D0D0"/>
</view>
<view class="formLayout">
<view class="ask">{{detail.title}}</view>
<view class="formitem" wx:for="{{detail.selectcenter}}" data-pid="{{detail.pid}}" data-c_title="pidgrade{{detail.pid}}" data-grade="{{item.grade}}" data-setindex = "{{index}}" bindtap="startClick">
<view class="formItemInfo">
<text style="background-color: {{index == setindex?setcolor:''}}">{{item.title}}</text>
</view>
<view class="arrow">
<image src="../img/arrow.png"></image>
</view>
</view>
</view>
</view>
<button bindtap="upTest" class="upTest" wx:if="{{upshow==1}}">返回上一题</button>
<!-- {{pidgrade1}}- {{pidgrade2}}- {{pidgrade3}}- {{pidgrade4}}- {{pidgrade5}}- {{pidgrade6}}- {{pidgrade7}}- {{pidgrade8}}- -->
<button class="zixun" open-type='contact' >
    <image src="../img/zixun.png"></image>
  </button>
</view>
</view>