Commit 27d03587 authored by linwenqing's avatar linwenqing

Merge branch 'dev-v1.0.0' of https://git.banshouhui.com/wuzhenzhe/study into dev-v1.0.0

parents d50014c0 293ceec6
......@@ -177,7 +177,7 @@
"name": "learnScore",
"style": {
"navigationBarTitleText": "考试成绩",
"navigationStyle": "custom",
// "navigationStyle": "custom",
"enablePullDownRefresh": false,
"disableScroll": true
}
......
<template>
<view class="score-view">
<u-navbar
<!-- <u-navbar
back-icon-color="#191C27"
background="transparent"
title="考试成绩"
......@@ -8,63 +8,73 @@
:border-bottom="false"
title-bold
:custom-back="customBack"
></u-navbar>
<view
class="top-view"
v-if="!isFull"
@click="$u.throttle(handleClickRecord, 500)"
></u-navbar> -->
<scroll-view
scroll-y="true"
class="scroll-view"
scroll-anchoring
enable-back-to-top
>
考试错题已自动加入<text class="blue-text">"错题记录"</text> 方便练习</view
>
<view :class="['content', { 'is-full': isFull }]">
<view class="content-view">
<image mode="widthFix" class="back-image" :src="backImage"></image>
<view class="chart-view">
<CircleProgress
class="progress-view"
active-color="#FFFFFF"
:percent="info.score"
inactive-color="rgba(255, 255, 255, 0.3)"
width="240"
border-width="8"
bg-color="transparent"
>
<view class="progress-content">
<view class="progress-score">{{ info.score }}</view>
<view class="progress-info">{{ resultText }}</view>
<view class="percent-text">超越了{{ falsePercent }}%的学员</view>
</view>
</CircleProgress>
<view
class="top-view"
v-if="!isFull"
@click="$u.throttle(handleClickRecord, 500)"
>
考试错题已自动加入<text class="blue-text">"错题记录"</text>
方便练习</view
>
<view :class="['content', { 'is-full': isFull }]">
<view class="content-view">
<image mode="widthFix" class="back-image" :src="backImage"></image>
<view class="chart-view">
<CircleProgress
class="progress-view"
active-color="#FFFFFF"
:percent="info.score"
inactive-color="rgba(255, 255, 255, 0.3)"
width="240"
border-width="8"
bg-color="transparent"
>
<view class="progress-content">
<view class="progress-score">{{ info.score }}</view>
<view class="progress-info">{{ resultText }}</view>
<view class="percent-text"
>超越了{{ falsePercent }}%的学员</view
>
</view>
</CircleProgress>
</view>
<view class="head-view">
<view class="image-view">
<image class="image" :src="info.image || defaultImage"> </image
></view>
<view>{{ info.name }}</view>
<view class="time-view">{{ info.time }}</view>
</view>
<view class="detail-view">
<view class="name-view">{{ info.category }}</view>
<view class="type-view">{{ info.type }}</view>
<image class="qrcode-image" :src="info.institutionLogo"></image>
</view>
</view>
<view class="head-view">
<view class="image-view">
<image class="image" :src="info.image || defaultImage"> </image
></view>
<view>{{ info.name }}</view>
<view class="time-view">{{ info.time }}</view>
</view>
<view class="detail-view">
<view class="name-view">{{ info.category }}</view>
<view class="type-view">{{ info.type }}</view>
<image class="qrcode-image" :src="info.institutionLogo"></image>
<view class="bottom-view">
<u-button
:customStyle="buttonStyle"
@click="handleClick"
type="primary"
hover-class="hover-class"
>
<image :src="pengyunquanImage" class="share-image"></image>
分享朋友圈
</u-button>
<u-button :customStyle="buttonStyle" open-type="share" type="primary">
<image :src="weixinImage" class="share-image"></image>
分享给好友
</u-button>
</view>
</view>
<view class="bottom-view">
<u-button
:customStyle="buttonStyle"
@click="handleClick"
type="primary"
hover-class="hover-class"
>
<image :src="pengyunquanImage" class="share-image"></image>
分享朋友圈
</u-button>
<u-button :customStyle="buttonStyle" open-type="share" type="primary">
<image :src="weixinImage" class="share-image"></image>
分享给好友
</u-button>
</view>
</view>
</scroll-view>
<u-mask :show="show" @click="show = false">
<view class="tip-view">
<image class="tip-image" :src="jiantouImage"></image>
......@@ -199,7 +209,7 @@ export default {
url: 'pages/learn/answer',
params: {
source: 5,
}
},
})
},
handleClick() {
......@@ -211,26 +221,28 @@ export default {
customBack() {
this.$u.route({
type: 'tab',
url: 'pages/index/index'
url: 'pages/index/index',
})
}
},
},
}
</script>
<style lang="scss" scoped>
::-webkit-scrollbar {
width: 0;
height: 0;
color: transparent;
display: none;
}
.score-view {
display: flex;
flex-direction: column;
height: 100vh;
background-color: #f7f9fc;
::-webkit-scrollbar {
width: 0;
height: 0;
color: transparent;
display: none;
}
.scroll-view {
height: 100vh;
}
.top-view {
background-color: rgba(250, 90, 73, 0.1);
color: #5a6073;
......@@ -243,8 +255,6 @@ export default {
}
}
.content {
height: 100%;
overflow: auto;
padding: 64rpx 48rpx 44rpx 48rpx;
&.is-full {
padding-top: 0rpx;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment