优化页面效果

This commit is contained in:
2024-10-25 15:54:57 +08:00
parent 873c075600
commit e50057d396
4 changed files with 10 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
{
"name" : "xiaokang_doctor",
"name" : "xk-doctor-wx",
"appid" : "__UNI__8971029",
"description" : "",
"versionName" : "1.0.0",

View File

@@ -46,7 +46,7 @@
<view v-for="(item, index) in list" :key="index" class="flex-row flex-ali-center m-t-50"
@click="toDetail(item.patient_id)">
<u-image width="80rpx" height="80rpx" shape="circle"
:src="item.avatar || require(`../../static/image/${item.sex%2==0?'nv':'nan'}.png`)">
:src="item.user.avatarurl || require(`../../static/image/${item.sex%2==0?'nv':'nan'}.png`)">
<u-loading slot="loading"></u-loading>
</u-image>
<view class="flex-col m-l-2 flex-jus-sp">

View File

@@ -15,9 +15,13 @@
</view>
<view class="box_info">
<view class="box_info_left">
<image :src="doctorInfo.DoctorInfo.avatar" style="width: 116rpx;height:116rpx ;border-radius: 50%;"
mode="aspectFill">
</image>
<u-image width="96rpx" height="96rpx" shape="circle" :src="doctorInfo.DoctorInfo.avatar">
<u-loading slot="loading"></u-loading>
</u-image>
<!-- <image :src="doctorInfo.DoctorInfo.avatar" style="width: 116rpx;height:116rpx ;border-radius: 50%;"-->
<!-- mode="aspectFill">-->
<!-- </image>-->
<view class="flex-col flex-jus-sp" style="height: 106rpx;margin-left: 32rpx;">
<view class="flex-row flex-ali-center">
<text class="box_info_left_name">{{doctorInfo.DoctorInfo.name}}</text>