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.
|
|
<template> <view class="content"> <u-navbar leftText=" " title="顺序练习成绩" :safeAreaInsetTop="true" :autoBack="true" :fixed="false" :leftIconColor="'#fff'" :bgColor="'transparent'" :titleStyle="{color: '#fff'}"></u-navbar> <view class="padding"> <view class="card"> <view class="flex-c"> <gaugeChart/> </view> <view class="huiBg"> <view class="li"> <view class="num">10:22</view> <view class="lab">测试时长</view> </view> <view class="li"> <view class="num">10</view> <view class="lab">已做题</view> </view> <view class="li"> <view class="num">14</view> <view class="lab">答错题</view> </view> </view> <view class="btn_row"> <view class="btn">查看全部错题</view> <view class="btn lastBtn">继续答题</view> </view> </view> <view class="card flex-b"> <view class="leftTxt"> <view class="text">精选500道</view> <view class="tps">高频考点省时省力,事倍功半</view> </view> <view class="lianxi flex"> <view class="lx">去练习</view> <u-icon name="arrow-right" color="#666" size="14"></u-icon> </view> </view> </view> </view> </template>
<script setup> import gaugeChart from '@/components/columnChart/gaugeChart.vue' </script>
<style lang="scss" scoped> .content { background: linear-gradient(0deg, rgba(55,118,255,0) 0%, #3776FF 100%) no-repeat #F6F7FA; background-size: 100% 720rpx; width: 100%; min-height: 100vh; .card { width: 100%; background: #FFFFFF; border-radius: 20rpx; padding: 30rpx; margin-top: 30rpx; .echartBox { width: 100%; min-height: 230rpx; } .huiBg { width: 100%; height: 144rpx; background: #F4F4F4; border-radius: 20rpx; display: flex; justify-content: space-between; align-items: center; text-align: center; .li { flex: 1; .num { font-family: DIN; font-weight: bold; font-size: 48rpx; } .lab { font-size: 24rpx; margin-top: 10rpx; color: #999999; } } } .btn_row { padding-top: 40rpx; display: flex; justify-content: space-between; .btn { height: 77rpx; background: linear-gradient(90deg, #FAE0A2 0%, #F6C86F 100%); border-radius: 39rpx; color: #6B4229; font-weight: 500; font-size: 28rpx; text-align: center; line-height: 77rpx; width: 48%; &.lastBtn { background: #3776FF; color: #fff; } } } } } .card { .leftTxt { flex: 1; .text { font-weight: 500; font-size: 28rpx; } .tps { font-weight: 500; font-size: 24rpx; color: #666666; margin-top: 10rpx; } } .lianxi { .lx { font-weight: 500; font-size: 24rpx; color: #3776FF; } } } </style>
|