优化页面效果

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", "appid" : "__UNI__8971029",
"description" : "", "description" : "",
"versionName" : "1.0.0", "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" <view v-for="(item, index) in list" :key="index" class="flex-row flex-ali-center m-t-50"
@click="toDetail(item.patient_id)"> @click="toDetail(item.patient_id)">
<u-image width="80rpx" height="80rpx" shape="circle" <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-loading slot="loading"></u-loading>
</u-image> </u-image>
<view class="flex-col m-l-2 flex-jus-sp"> <view class="flex-col m-l-2 flex-jus-sp">

View File

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

View File

@@ -41,7 +41,7 @@
<!-- info.age+ --> <!-- info.age+ -->
<d-text :text="info.age" className="tips-c m-l-2"></d-text> <d-text :text="info.age" className="tips-c m-l-2"></d-text>
</view> </view>
</view> </view>
</view> </view>
</view> </view>
<!-- --> <!-- -->