This commit is contained in:
kbing1981 2024-07-02 22:22:56 +08:00
parent 08623767b9
commit fbd1398dac
2 changed files with 46 additions and 32 deletions

View File

@ -41,7 +41,7 @@
</view>
<view class="keyuyue">
<view>
{{item.state == 1?"可服务:":item.state == 2?"今日可约":"休息中"}}
{{item.state == 1?"可服务":item.state == 2?"今日可约":"休息中"}}
</view>
<view v-if="item.status == 1 && item.time">{{ item.time
}}</view>
@ -49,6 +49,12 @@
</view>
</view>
</view>
<view class="flex align-center" style="margin-top: 26rpx;" v-if="item.tripWay != 3" >
<!--<image style="width: 27rpx; height: 30rpx;" src="../../static/dituzhaoren6.png"></image>-->
<view class="therapist-bottom-dingwei-text">
{{ item.distance }}
</view>
</view>
<view class="therapist-mian-top">
<view class="therapist-mian-view">
<image src="../../static/dituzhaoren3.png" mode="">
@ -68,29 +74,21 @@
</view>
</view>
<view class="therapist-mian-bottom">
<view class="flex align-center" v-if="item.tripWay != 3" >
<image class="therapist-bottom-dingwei" src="../../static/dituzhaoren6.png"></image>
<view class="therapist-bottom-dingwei-text">
{{ item.distance }}
</view>
</view>
<view class="flex flex-wrap align-center" v-if="item.consortiaName">
<view class="flex flex-wrap align-center" >
<image class="therapist-bottom-img" src="../../static/dituzhaoren5.png">
</image>
<view class="therapist-mian-bottom-text">{{item.consortiaName}}</view>
<view v-if="item.consortiaName" class="therapist-mian-bottom-text">{{item.consortiaName}}</view>
</view>
<view class="text-center make-now" v-if="item.status == 1" @click.stop="goOrder(item)">
立即预约
</view>
<view class="text-center make-now1" @click.stop="showTips()" v-else
style="">
立即预约
</view>
</view>
</view>
<view class="text-center " v-if="item.status == 1"
style="background: linear-gradient(90deg, #019C88, #0FA78B, #35C495);color: #ffffff;width: 100%;border-radius: 30upx;height: 60upx;line-height: 60upx;margin-top: 10rpx;"
@click.stop="goOrder(item)">
立即预约
</view>
<view class="text-center" @click.stop="showTips()" v-else
style="background: #d9d9d9;color: #ffffff;width: 100%;border-radius: 30upx;height: 60upx;line-height: 60upx;margin-top: 10rpx;">
立即预约
</view>
</view>
</view>
</view>
</view>
@ -136,10 +134,10 @@
{{ getOrderByCurrentMarkerIndex().artificerName }}
</view>
<view class="keyuyue">
<view class="keyuyue-btn keyuyue-jinri">
<view>
{{getOrderByCurrentMarkerIndex().state == 1?"可服务":getOrderByCurrentMarkerIndex().state == 2?"今日可约":"休息中"}}
</view>
<view class="keyuyue-btn keyuyue-time" v-if="getOrderByCurrentMarkerIndex().status == 1 && getOrderByCurrentMarkerIndex().time">{{ getOrderByCurrentMarkerIndex().time}}</view>
<view v-if="getOrderByCurrentMarkerIndex().status == 1 && getOrderByCurrentMarkerIndex().time">{{ getOrderByCurrentMarkerIndex().time}}</view>
</view>
</view>
<!-- <view class="list-right-top-bottom">
@ -188,9 +186,7 @@
</view>
</view>
</view>
<view class="text-center " v-if="getOrderByCurrentMarkerIndex().status == 1"
style="background: linear-gradient(90deg, #019C88, #0FA78B, #35C495);color: #ffffff;width: 100%;border-radius: 30upx;height: 60upx;line-height: 60upx;margin-top: 10rpx;"
@click.stop="goOrder(getOrderByCurrentMarkerIndex())">
<view class="text-center make-now" v-if="getOrderByCurrentMarkerIndex().status == 1" @click.stop="goOrder(getOrderByCurrentMarkerIndex())">
立即预约
</view>
<view class="text-center " @click.stop="showTips()" v-else
@ -1350,17 +1346,17 @@ import permision from "@/components/permission.js";
color: #13141A;
}
.keyuyue{
width: 160rpx;
height: 20px;
display: flex;
flex-direction: row;
align-items: center;
margin-left:10rpx;
background: linear-gradient(90deg, #fe912e, #28BA92, #35C495);
background: linear-gradient(90deg, #fe912e, #ff996a, #35C495);
border-radius: 30rpx 30rpx 30rpx 2rpx;
padding: 3rpx 18rpx;
padding: 3rpx 15rpx;
color:#fff;
font-size: 22rpx;
margin-left: 15rpx;
}
.keyuyue-jinri{
@ -1393,12 +1389,12 @@ import permision from "@/components/permission.js";
align-items: center;
}
.list-right{
width: 61%;
width: 64%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: space-between;
padding: 10px 10px 0px 0px;
padding: 16px 9px 3px 0px;
}
.zpmore_view {
position: absolute;
@ -1444,7 +1440,7 @@ import permision from "@/components/permission.js";
height: 306.94rpx;
}
.touxiang-left-content{
width: 240.08rpx;
width: 235.08rpx;
height: auto;
border-radius: 10rpx;
position: relative;
@ -1793,4 +1789,22 @@ import permision from "@/components/permission.js";
height: 100%;
border-radius: 50%;
}
.make-now{
background: linear-gradient(90deg, rgb(1, 156, 136), rgb(15, 167, 139), rgb(53, 196, 149));
color: rgb(255, 255, 255);
width: 200rpx;
border-radius: 15px;
height: 30px;
line-height: 30px;
margin-top: 5px;
}
.make-now1{
background: #d9d9d9;
color: #ffffff;
width: 100%;
border-radius: 30upx;
height: 60upx;
line-height: 60upx;
margin-top: 10rpx;
}
</style>

Binary file not shown.

After

Width:  |  Height:  |  Size: 235 KiB