fix: 样式调整
This commit is contained in:
parent
a9e3bc244e
commit
02918b79e8
@ -4,14 +4,13 @@
|
|||||||
<view class="user-header shadow-lg">
|
<view class="user-header shadow-lg">
|
||||||
就诊人:{{ form.name }} {{ form.sex }} {{ form.age ? `${form.age}岁` : '' }}
|
就诊人:{{ form.name }} {{ form.sex }} {{ form.age ? `${form.age}岁` : '' }}
|
||||||
</view>
|
</view>
|
||||||
<view v-if="medTypeList.length > 1"
|
<view v-if="medTypeList.length > 1" class="med-type-section relative mt-12 px-15 py-12 bg-white shadow-lg">
|
||||||
class="med-type-section relative mt-12 px-15 py-12 bg-white shadow-lg">
|
|
||||||
<view class="med-type-row">
|
<view class="med-type-row">
|
||||||
<view class="section-title med-type-title is-required">本次就诊类型</view>
|
<view class="section-title med-type-title is-required">本次就诊类型</view>
|
||||||
<radio-group class="med-type-options">
|
<radio-group class="med-type-options">
|
||||||
<label v-for="item in medTypeList" :key="getMedTypeKey(item)" class="med-type-option">
|
<label v-for="item in medTypeList" :key="getMedTypeKey(item)" class="med-type-option">
|
||||||
<radio :value="getMedTypeKey(item)" :checked="isMedTypeSelected(item)"
|
<radio :value="getMedTypeKey(item)" :checked="isMedTypeSelected(item)" @change="changeMedType(item)"
|
||||||
@change="changeMedType(item)" class="custom-radio" color="#b8956a" />
|
class="custom-radio" color="#b8956a" />
|
||||||
<text>{{ item.diseType }}</text>
|
<text>{{ item.diseType }}</text>
|
||||||
</label>
|
</label>
|
||||||
</radio-group>
|
</radio-group>
|
||||||
@ -22,13 +21,15 @@
|
|||||||
<textarea v-model="form.description" :show-confirm-bar="false" auto-height="true" class="mt-10 description"
|
<textarea v-model="form.description" :show-confirm-bar="false" auto-height="true" class="mt-10 description"
|
||||||
placeholder-class="placeholderClass" maxlength="300" placeholder="为了更好地获得医生帮助,请尽可能地详细描述病情"
|
placeholder-class="placeholderClass" maxlength="300" placeholder="为了更好地获得医生帮助,请尽可能地详细描述病情"
|
||||||
@focus="showDescriptionGuess" @input="handleDescriptionInput" @blur="hideDescriptionGuess"></textarea>
|
@focus="showDescriptionGuess" @input="handleDescriptionInput" @blur="hideDescriptionGuess"></textarea>
|
||||||
<view v-if="guessVisible" class="guess-popup">
|
<view v-if="guessVisible" class="relative">
|
||||||
|
<view class="guess-popup">
|
||||||
<view class="guess-title">猜你想输入:</view>
|
<view class="guess-title">猜你想输入:</view>
|
||||||
<view v-for="item in guessList" :key="item" class="guess-option" @click="selectDescriptionGuess(item)">
|
<view v-for="item in guessList" :key="item" class="guess-option" @click="selectDescriptionGuess(item)">
|
||||||
{{ item }}
|
{{ item }}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
</view>
|
||||||
<view class="relative mt-12 px-15 py-12 bg-white shadow-lg">
|
<view class="relative mt-12 px-15 py-12 bg-white shadow-lg">
|
||||||
<view class="section-title">上传本院或者外院的病历资料</view>
|
<view class="section-title">上传本院或者外院的病历资料</view>
|
||||||
<view class="mt-10 section-sub-title">
|
<view class="mt-10 section-sub-title">
|
||||||
@ -438,7 +439,7 @@ onUnload(() => {
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
left: 30rpx;
|
left: 30rpx;
|
||||||
right: 30rpx;
|
right: 30rpx;
|
||||||
top: 100%;
|
top: 0;
|
||||||
z-index: 20;
|
z-index: 20;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
@ -452,8 +453,7 @@ onUnload(() => {
|
|||||||
min-height: 64rpx;
|
min-height: 64rpx;
|
||||||
padding: 16rpx 20rpx;
|
padding: 16rpx 20rpx;
|
||||||
border-bottom: 1rpx solid #eee;
|
border-bottom: 1rpx solid #eee;
|
||||||
font-size: 26rpx;
|
font-size: 28rpx;
|
||||||
line-height: 32rpx;
|
|
||||||
color: #333;
|
color: #333;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -249,15 +249,16 @@ function toPatientManagement() {
|
|||||||
|
|
||||||
.header {
|
.header {
|
||||||
height: 104rpx;
|
height: 104rpx;
|
||||||
padding: 0 34rpx;
|
padding: 0 34rpx 0 10rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
}
|
}
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
font-size: 28rpx;
|
font-size: 36rpx;
|
||||||
color: #344743;
|
color: #333;
|
||||||
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
.scan-button {
|
.scan-button {
|
||||||
@ -305,8 +306,9 @@ function toPatientManagement() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.name {
|
.name {
|
||||||
font-size: 28rpx;
|
font-size: 32rpx;
|
||||||
line-height: 40rpx;
|
line-height: 40rpx;
|
||||||
|
font-weight: bold;
|
||||||
color: #333;
|
color: #333;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -316,7 +318,7 @@ function toPatientManagement() {
|
|||||||
|
|
||||||
.details {
|
.details {
|
||||||
margin-top: 4rpx;
|
margin-top: 4rpx;
|
||||||
font-size: 24rpx;
|
font-size: 28rpx;
|
||||||
line-height: 34rpx;
|
line-height: 34rpx;
|
||||||
color: #9a9a9a;
|
color: #9a9a9a;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -10,7 +10,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="apply-head-action text-base text-primary" @click="scanCode()">
|
<view class="apply-head-action text-base text-primary" @click="scanCode()">
|
||||||
<uni-icons type="scan" :color="themeColor" :size="elderMode ? 24 : 16" />
|
<uni-icons type="scan" :color="themeColor" :size="elderMode ? 24 : 16" />
|
||||||
<text>扫码</text>
|
<text style="font-size: 32rpx;">扫码</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -88,12 +88,12 @@
|
|||||||
<view class="disease-section">
|
<view class="disease-section">
|
||||||
<view class="disease-title">
|
<view class="disease-title">
|
||||||
<text class="text-danger">*</text>
|
<text class="text-danger">*</text>
|
||||||
<text>已在实体医疗机构确诊的疾病</text>
|
<text class="apply-title">已在实体医疗机构确诊的疾病</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="disease-list">
|
<view class="disease-list">
|
||||||
<view v-for="(disease, index) in order.diseases" :key="disease" class="disease-item">
|
<view v-for="(disease, index) in order.diseases" :key="disease" class="flex items-center disease-item">
|
||||||
<text>{{ disease }}</text>
|
<view class="disease-txt">{{ disease }}</view>
|
||||||
<view class="disease-remove" :class="{ 'disease-remove--elder': elderMode }"
|
<view class="flex-shrink-0 disease-remove" :class="{ 'disease-remove--elder': elderMode }"
|
||||||
@click.stop="removeDisease(index)">
|
@click.stop="removeDisease(index)">
|
||||||
<uni-icons type="closeempty" :color="themeColor" :size="elderMode ? 22 : 16" />
|
<uni-icons type="closeempty" :color="themeColor" :size="elderMode ? 22 : 16" />
|
||||||
</view>
|
</view>
|
||||||
@ -632,17 +632,20 @@ onMounted(() => {
|
|||||||
|
|
||||||
.disease-item,
|
.disease-item,
|
||||||
.disease-add {
|
.disease-add {
|
||||||
padding: 8rpx 18rpx;
|
height: 48rpx;
|
||||||
|
line-height: 46rpx;
|
||||||
border: 1px solid $theme-brown-primary;
|
border: 1px solid $theme-brown-primary;
|
||||||
border-radius: 6rpx;
|
border-radius: 8rpx;
|
||||||
font-size: 26rpx;
|
font-size: 28rpx;
|
||||||
color: $theme-brown-primary;
|
color: $theme-brown-primary;
|
||||||
|
padding: 0 20rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.disease-item {
|
.disease-item {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding-right: 8rpx;
|
padding-right: 8rpx;
|
||||||
|
background: #e8f8f5;
|
||||||
}
|
}
|
||||||
|
|
||||||
.disease-remove {
|
.disease-remove {
|
||||||
@ -808,4 +811,11 @@ onMounted(() => {
|
|||||||
padding-top: 40rpx;
|
padding-top: 40rpx;
|
||||||
padding-bottom: 40rpx;
|
padding-bottom: 40rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.disease-txt {
|
||||||
|
max-width: 200rpx;
|
||||||
|
overflow: hidden;
|
||||||
|
white-space: nowrap;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -6,9 +6,6 @@
|
|||||||
<view class="hero">
|
<view class="hero">
|
||||||
<view class="nav-bar" :style="{ paddingTop: statusBarHeight + 'px' }">
|
<view class="nav-bar" :style="{ paddingTop: statusBarHeight + 'px' }">
|
||||||
<view class="nav-content">
|
<view class="nav-content">
|
||||||
<view class="back-button" @click="goBack">
|
|
||||||
<view class="back-arrow"></view>
|
|
||||||
</view>
|
|
||||||
<text class="hospital-name">海宁康华医院互联网医院</text>
|
<text class="hospital-name">海宁康华医院互联网医院</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -50,8 +47,6 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- <view @click="ybAuth()" style="padding: 30rpx; background: green;">医保授权</view> -->
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</full-page>
|
</full-page>
|
||||||
@ -234,7 +229,6 @@ onUnmounted(() => {
|
|||||||
.hero {
|
.hero {
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
height: 280rpx;
|
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
background:
|
background:
|
||||||
radial-gradient(circle at 76% 20%, rgba(43, 202, 202, 0.08) 0, rgba(43, 202, 202, 0.08) 28rpx, transparent 29rpx),
|
radial-gradient(circle at 76% 20%, rgba(43, 202, 202, 0.08) 0, rgba(43, 202, 202, 0.08) 28rpx, transparent 29rpx),
|
||||||
@ -250,7 +244,7 @@ onUnmounted(() => {
|
|||||||
height: 88rpx;
|
height: 88rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 0 30rpx;
|
padding: 0 30rpx 0 60rpx;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -279,10 +273,9 @@ onUnmounted(() => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.user-bar {
|
.user-bar {
|
||||||
height: 80rpx;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 0 34rpx;
|
padding: 24rpx 30rpx 20rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.avatar {
|
.avatar {
|
||||||
@ -313,6 +306,8 @@ onUnmounted(() => {
|
|||||||
font-size: 25rpx;
|
font-size: 25rpx;
|
||||||
line-height: 42rpx;
|
line-height: 42rpx;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
margin-top: 0;
|
||||||
|
transform: translateY(1px);
|
||||||
}
|
}
|
||||||
|
|
||||||
.logout-button {
|
.logout-button {
|
||||||
@ -357,14 +352,14 @@ onUnmounted(() => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.card-title {
|
.card-title {
|
||||||
font-size: 32rpx;
|
font-size: 40rpx;
|
||||||
line-height: 44rpx;
|
line-height: 44rpx;
|
||||||
font-weight: 500;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-description {
|
.card-description {
|
||||||
margin-top: 4rpx;
|
margin-top: 20rpx;
|
||||||
font-size: 21rpx;
|
font-size: 28rpx;
|
||||||
line-height: 32rpx;
|
line-height: 32rpx;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
@ -386,11 +381,11 @@ onUnmounted(() => {
|
|||||||
bottom: 16rpx;
|
bottom: 16rpx;
|
||||||
width: 48rpx;
|
width: 48rpx;
|
||||||
height: 54rpx;
|
height: 54rpx;
|
||||||
opacity: 0.24;
|
opacity: 0.9;
|
||||||
}
|
}
|
||||||
|
|
||||||
.service-section {
|
.service-section {
|
||||||
margin-top: 66rpx;
|
margin-top: 36rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.section-title {
|
.section-title {
|
||||||
@ -404,7 +399,7 @@ onUnmounted(() => {
|
|||||||
.service-list {
|
.service-list {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
margin-top: 42rpx;
|
margin-top: 24rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.service-item {
|
.service-item {
|
||||||
@ -430,7 +425,7 @@ onUnmounted(() => {
|
|||||||
margin-top: 24rpx;
|
margin-top: 24rpx;
|
||||||
color: #183663;
|
color: #183663;
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
line-height: 40rpx;
|
line-height: 1em;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user