12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- <!--pages/result/result.wxml-->
- <view class='container'>
- <image src='../../image/block.png' class='block' style="padding-top:{{statusBar+10}}px" bindtap='blockCtl'></image>
- <view class='wrapper' style="margin-top:{{statusBar-10}}px">
- <image src='../../image/nian_ling_bg.png' class='logo'></image>
- <view class='list' wx:if="{{!isTest}}">
- <!-- <view class='title' style="margin-top:{{statusBar}}px"> {{appraisal}}</view> -->
- <view class='li-canvas'>
- <view class='li-canvas-core'>
- <view class='li-canvas-core-num'>{{score}}</view>
- <view class="li-canvas-progress">
- <view class="li-canvas-progress-items" style="width: {{(score/600)*100}}%;border-radius:{{score==600?'8rpx':'8rpx 0 0 8rpx'}}"></view>
- </view>
- <!-- <view class='list-number'>第{{level}}关测评得分</view>
- <view class='li-canvas-core-text' wx:if="{{isRefer==0}}">累计得分 : {{totalScore}}</view> -->
- </view>
- <view class="li-canvas-items">
- <canvas canvas-id='result' class='li-canvas-item'></canvas>
- </view>
-
- </view>
- <view class='post' wx:if="{{!isTest}}">
- <view class='post-item' wx:for='{{list}}' wx:key='index'>
- <view class='post-items'>
- <text class='post-item-num'>{{item.value}}</text>
- <view class='post-item-content' style='height:{{item.value*3}}rpx;background:{{item.value<60?"#F94747":59.9<item.value&&item.value<81?"#475CF9":"#26B949"}}'></view>
- <text class='post-item-value'>{{item.text}}</text>
- </view>
- </view>
- </view>
- <view class='footer' wx:if="{{!isTest&&isHistory!=1}}">
- <image src='../../image/history.png' class="footer-btn" data-url='history' bindtap='redirectCtl' wx:if='{{userInfo}}'></image>
- <image src='../../image/cha_kan_pai_ming.png' class="footer-btn" data-url='ranking' bindtap='navigateCtl' wx:if='{{userInfo}}'></image>
- <!-- <view class='footer-btn' data-url='ranking' bindtap='navigateCtl' wx:if='{{userInfo}}'>查看排名</view> -->
- <button class='head-text' open-type="getUserInfo" bindgetuserinfo="bindGetUserInfo" wx:if='{{!userInfo}}'>
- <image src='../../image/cha_kan_pai_ming.png' class="footer-btn"></image>
- </button>
- </view>
- </view>
- <view class='no' wx:if="{{isTest}}">
- <image class='no-img' src='../../image/no_test.png'></image>
- <image class='no-test' src='../../image/qu_ce_shi.png' bindtap='getTest'></image>
- </view>
- </view>
- </view>
|