123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237 |
- <template>
- <view class="container-box">
- <image src="/static/image/bmi/manual_icon_arrow.png" alt="" class="back-class" @click="goBcak()"></image>
- <view class="info-box">
- <view class="student-card">
- <view class="student-box1">
- <image class="head-img" src="/static/image/bmi/test_img_head_gril.png">
- </image>
- <view class="student-info1">
- <view class="student-info11">
- <view class="student-info111">
- <view>张珊珊</view>
- <image class="sex-img" src="/static/image/bmi/test_icon_gril.png"></image>
- </view>
- <view class="student-num">编号:1212456</view>
- </view>
- <view class="student-info12">一年3班</view>
- </view>
- </view>
- <view class="student-info2">
- <view>
- <image src="/static/image/bmi/test_icon_id.png">
- </image>
- <text>11122221</text>
- </view>
- <view>
- <image src="/static/image/bmi/test_icon_school.png">
- </image>
- <text>石岐小学</text>
- </view>
- </view>
- </view>
- <view class="">
- <view class="adron-box">
- <image src="/static/image/bmi/test_img_adron.png" alt="" class="adron" @click="goBcak()">
- </image>
- <image src="/static/image/bmi/test_img_adron.png" alt="" class="adron" @click="goBcak()">
- </image>
- </view>
- <view class="bmi-info">
- <view class="bmi-title">测量结果展示</view>
- </view>
- </view>
- </view>
- <view class="btn-box">
- <view class="btn1">重新检测</view>
- <view class="btn2">完成</view>
- </view>
- </view>
- </template>
- <script>
- import { navTo, showToast } from "@/utils/app";
- export default {
- name: "bmi",
- methods: {
- goBcak() {
- navTo('pages/classes/select', {
- })
- },
- }
- }
- </script>
- <style scoped>
- .container-box {
- height: 100vh;
- width: 100%;
- background: linear-gradient(to bottom left, rgb(218, 233, 253), #fff, rgb(218, 233, 253));
- position: relative;
- overflow: auto;
- }
- .back-class {
- position: absolute;
- top: 40upx;
- left: 46upx;
- width: 70upx;
- height: 70upx;
- }
- .info-box {
- margin: 75upx auto 0;
- width: 680upx;
- }
- .student-card {
- width: 680upx;
- height: 28vh;
- padding: 3vh 30upx ;
- background: #F1F7FF;
- box-shadow: 0upx 5upx 5upx 0upx rgba(12, 88, 183, 0.35);
- border-radius: 28upx;
- border: 4upx solid #FFFFFF;
- box-sizing: border-box;
- }
- .student-box1{
- width: 600upx;
- height: 14vh;
- display: flex;
- }
- .student-info1{
- flex: 1;
- padding: 20upx 0 20upx 20upx;
- }
- .student-info11{
- display: flex;
- justify-content: space-between;
- width: 100%;
- }
- .student-info111{
- display: flex;
- justify-content: space-between;
- }
- .student-info111 view{
- font-weight: bold;
- font-size: 35rpx;
- color: #2F3C42;
- }
- .student-num{
- width: 168upx;
- height: 45upx;
- line-height: 45upx;
- background: #E2EBFF;
- border-radius: 28upx;
- font-weight: 400;
- font-size: 21rpx;
- color: #0369E8;
- text-align: center;
- }
- .student-info12{
- font-size: 21upx;
- color: #0369E8;
- }
- .head-img{
- width: 125upx;
- height: 125upx;
- border-radius: 50%;
- border: #E2EBFF solid 5upx;
- }
- .sex-img{
- width: 37.5upx;
- height: 37.5upx;
- border-radius: 50%;
- }
- .student-info2{
- width: 100%;
- height: 108upx;
- display: flex;
- justify-content: space-between;
- }
- .student-info2 view{
- width: 290upx;
- background: #E2EBFF;
- border-radius: 28upx;
- height: 108upx;
- display: flex;
- padding:20upx 25upx;
- box-sizing: border-box;
- }
- .student-info2 image{
- width: 68upx;
- height: 68upx;
- }
- .student-info2 text{
- font-weight: bold;
- font-size: 21rpx;
- color: #0369E8;
- line-height: 7vh;
- }
- .bmi-info {
- width: 100%;
- height: 50vh;
- background: #FFFFFF;
- border-radius: 28upx;
- }
- .bmi-title {
- width: 100%;
- height: 106upx;
- line-height: 106upx;
- font-weight: bold;
- font-size: 35upx;
- text-align: center;
- color: #FFFFFF;
- background: #0369E8;
- border-radius: 28upx;
- }
- .adron-box {
- display: flex;
- justify-content: space-between;
- position: relative;
- top: -10upx;
- }
- .adron {
- width: 20upx;
- height: 60upx;
- margin: 0 80upx -30upx;
- }
- .btn-box{
- display: flex;
- justify-content: space-between;
- width: 680upx;
- margin: 20upx auto 0;
- }
- .btn1{
- width: 305upx;
- height: 97upx;
- line-height: 97upx;
- background: #F1F7FF;
- border-radius: 21upx;
- border: 3upx solid #0369E8;
- font-weight: bold;
- font-size: 35rpx;
- color: #0369E8;
- text-align: center;
- }
- .btn2{
- width: 305upx;
- height: 97upx;
- line-height: 97upx;
- background: #0369E8;
- border-radius: 21upx;
- font-weight: bold;
- font-size: 35rpx;
- color: #FFFFFF;
- text-align: center;
- }
- </style>
|