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