This commit is contained in:
曹辉 2023-04-19 16:20:12 +08:00
parent 0855914516
commit 1f3349a92a
3 changed files with 24 additions and 38 deletions

View File

@ -14,8 +14,7 @@
"path": "pages/prescription/prescription",
"style": {
"navigationBarTitleText": "体质评估运动处方",
"navigationBarTextStyle": "white", //
"navigationBarBackgroundColor": "#37A97B"
"navigationBarBackgroundColor": "#D7EEE8"
}
}, {

View File

@ -1,5 +1,5 @@
<template>
<view class="content" v-if="StudentScore==0">
<view class="tops" v-if="StudentScore==0">
<view class="zanwuchengji">
<image src="../../static/zanwuchengji.png" mode=""></image>
<view class="words">
@ -128,30 +128,20 @@
</script>
<style lang="scss">
.content {
background: linear-gradient(#D7EEE8, #fff);
// background-color: red;
padding: 3%;
.tops {
position: relative;
.zanwuchengji {
width: 374rpx;
height: 391rpx;
// background-color: red;
// position: relative;
top: 50%;
// width: 374rpx;
// height: 391rpx;
height: 100vh;
line-height: 391rpx;
text-align: center;
left: 25%;
// top: -20%;
// margin: 0 auto;
.words {
position: absolute;
top: 100%;
left: 40%;
top: 42%;
width: 100%;
text-align: center;
font-size: 32rpx;
font-family: Source Han Sans CN;
font-weight: 400;
@ -160,15 +150,23 @@
}
image {
// margin: 0 auto;
vertical-align: middle;
width: 374rpx;
height: 391rpx;
position: absolute;
left: 25%;
top: 50%;
top: 20%;
}
}
}
.content {
background: linear-gradient(#D7EEE8, #fff);
// background-color: red;
padding: 3%;
position: relative;
.top {

View File

@ -1,5 +1,5 @@
<template>
<view class="top" v-if="!phone||StudentScore==0">
<view class="tops" v-if="!phone||StudentScore==0">
<view class="zanwuchengji">
<image src="../../static/zanwuchengji.png" mode=""></image>
<view class="words">
@ -255,30 +255,20 @@
</script>
<style lang="scss">
.top {
background-image: linear-gradient(#D7EEE8, #fff);
width: 100%;
height: 600rpx;
.tops {
position: relative;
.zanwuchengji {
width: 374rpx;
height: 391rpx;
// background-color: red;
// position: relative;
top: 50%;
// width: 374rpx;
// height: 391rpx;
height: 100vh;
line-height: 391rpx;
text-align: center;
left: 25%;
// top: -20%;
// margin: 0 auto;
.words {
position: absolute;
top: 100%;
left: 40%;
top: 42%;
width: 100%;
text-align: center;
font-size: 32rpx;
font-family: Source Han Sans CN;
font-weight: 400;
@ -287,13 +277,12 @@
}
image {
// margin: 0 auto;
vertical-align: middle;
width: 374rpx;
height: 391rpx;
position: absolute;
left: 25%;
top: 50%;
top: 20%;
}
}
}