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", "path": "pages/prescription/prescription",
"style": { "style": {
"navigationBarTitleText": "体质评估运动处方", "navigationBarTitleText": "体质评估运动处方",
"navigationBarTextStyle": "white", // "navigationBarBackgroundColor": "#D7EEE8"
"navigationBarBackgroundColor": "#37A97B"
} }
}, { }, {

View File

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

View File

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