技师头像显示优化

This commit is contained in:
曹磊 2025-03-25 14:46:24 +08:00
parent c0c0ab5dd5
commit 17fd5f4046
4 changed files with 45 additions and 32 deletions

View File

@ -43,7 +43,8 @@
<view class="flex align-center touxiang-left-view" v-for="(item, index) in dataList" :key='index' @click="itemClick(item)">
<view class="touxiang-left-content">
<image style="border: 2px solid #e2e2e2;" class="touxiang-left-content-img" :src="item.artificerImg ? item.artificerImg : '../../static/logo.png'" @click.stop="saveImgs(item.artificerImg)" mode="aspectFill"></image>
<image class="touxiang-frame" :src="item.technicianType=='3'?'../../static/vip/grade1-1.gif':item.technicianType=='4'?'../../static/vip/grade2-1.gif':'../../static/vip/grade3-1.gif'"></image>
<!-- <image class="touxiang-frame" :src="item.technicianType=='3'?'../../static/vip/grade1-1.gif':item.technicianType=='4'?'../../static/vip/grade2-1.gif':'../../static/vip/grade3-1.gif'"></image> -->
<image class="touxiang-frame" :src="item.technicianType=='3'?'../../static/vip/grade4.png':item.technicianType=='4'?'../../static/vip/grade6.png':'../../static/vip/grade5.png'"></image>
</view>
<view class="list-right">
<view class="flex align-center" style="justify-content: start;">
@ -349,13 +350,13 @@
}
.touxiang-frame{
position: absolute;
width: 190rpx;
height: 190rpx;
top:-6rpx;
left:6rpx;
width: 240rpx;
height:220rpx;
top:5rpx;
left:5rpx;
}
.touxiang-left-content{
width: 180rpx;
width:190rpx;
height: auto;
border-radius: 10rpx;
position: relative;
@ -365,12 +366,12 @@
width: 150rpx;
height: 150rpx;
border-radius:120rpx;
margin: 0px 10px 0px 12px;
// margin: 0px 10px 0px 12px;
}
.touxiang-left-content-img{
width: 150rpx;
height: 150rpx;
border-radius:120rpx;
width: 160rpx;
height: 190rpx;
border-radius:30rpx;
margin: 14rpx 22rpx;
}
.touxiang-left-view{
@ -442,6 +443,7 @@
box-sizing: border-box;
position: absolute;
right:20rpx;
margin-top:20rpx;
.whiteBox {
height: 100%;
background: #ffffff;

View File

@ -97,40 +97,46 @@
<view class="my-serve-title">我的服务</view>
<view class="my-serve-view">
<view class="my-serve-list" @click="meServe('服务套餐')">
<div class="wdfw-dsy" v-show="wdfwTj.fwtc>0">
</div>
<!-- 允许发包时打开-->
<!-- <div class="wdfw-dsy" v-show="wdfwTj.fwtc>0">
</div> -->
<image src="../../static/my-fuwu.png" mode=""></image>
<span class="my-serve-list-text">服务套餐</span>
</view>
<view class="my-serve-list" @click="meServe('项目次卡')">
<div class="wdfw-dsy" v-show="wdfwTj.xmck>0">
</div>
<!-- 允许发包时打开-->
<!-- <div class="wdfw-dsy" v-show="wdfwTj.xmck>0">
</div> -->
<image src="../../static/my-cika.png" mode=""></image>
<span class="my-serve-list-text">项目次卡</span>
</view>
<view class="my-serve-list" @click="meServe('服务疗程')">
<div class="wdfw-dsy" v-show="wdfwTj.fwlc>0">
</div>
<!-- 允许发包时打开-->
<!-- <div class="wdfw-dsy" v-show="wdfwTj.fwlc>0">
</div> -->
<image src="../../static/my-liaocheng.png" mode=""></image>
<span class="my-serve-list-text">服务疗程</span>
</view>
</view>
<view class="my-serve-view">
<view class="my-serve-list" @click="tuangou()">
<div class="wdfw-dsy" v-show="wdfwTj.pt>0">
</div>
<!-- 允许发包时打开-->
<!-- <div class="wdfw-dsy" v-show="wdfwTj.pt>0">
</div> -->
<image src="../../static/my-liaocheng2.png" mode=""></image>
<span class="my-serve-list-text">拼团</span>
</view>
<view class="my-serve-list" @click="miaoshao()">
<div class="wdfw-dsy" v-show="wdfwTj.xsms>0">
</div>
<!-- 允许发包时打开-->
<!-- <div class="wdfw-dsy" v-show="wdfwTj.xsms>0">
</div> -->
<image src="../../static/my-liaocheng3.png" mode=""></image>
<span class="my-serve-list-text">限时秒杀</span>
</view>
<view class="my-serve-list" @click="qiye()">
<div class="wdfw-dsy" v-show="wdfwTj.qyyy>0">
</div>
<!-- 允许发包时打开-->
<!-- <div class="wdfw-dsy" v-show="wdfwTj.qyyy>0">
</div> -->
<image src="../../static/my-liaocheng1.png" mode=""></image>
<span class="my-serve-list-text">企业预约</span>
</view>

View File

@ -192,7 +192,7 @@
</view>
</view>
<u-skeleton :loading="loading" :animation="true" bgColor="#FFF"></u-skeleton>
<view>
<view class="jsds">
<!-- 普通弹窗 -->
<uni-popup ref="popup" background-color="#fff" @change="change">
<view class="popup-content">
@ -800,7 +800,7 @@
})
}
});
}else{//
this.$Request.post("/app/shipinquan/delDianzan", data).then(res => {
if (res.code == 0) {
@ -812,7 +812,7 @@
icon: 'none'
})
}
});
});
}
},
likeFun(params, callback) {//
@ -829,7 +829,7 @@
uni.setStorageSync("user",this.peopleList[i]);
这个东西用于存储当前用户信息 插件里面会使用到这个东西
记得写一下
4打开评论
*/
uni.showToast({
@ -857,7 +857,7 @@
// for (let i = 0; i < msg.length; i++) {
// list.push(msg[i])
// }
this.tableData = msg.map(item => {
return {
...item,
@ -912,7 +912,7 @@
}
},
deleteFun({ params, mode }, callback) {
console.log("deleteFun", { params, mode });
// , callback;
switch (this.deleteMode) {
@ -1794,5 +1794,9 @@
height: 500px;
overflow: auto;
}
.jsds /deep/ .uni-popup__wrapper-box{
width: 80%;
height: 50%;
}
</style>

View File

@ -19,13 +19,14 @@
</view>
</view>-->
<image class="dideo-kuang"
:src="order.technicianType=='3'?'../../static/vip/grade1-1.gif':order.technicianType=='4'?'../../static/vip/grade2-1.gif':'../../static/vip/grade3-1.gif'"
mode=""></image>
:src="order.technicianType=='3'?'../../static/vip/grade4.png':order.technicianType=='4'?'../../static/vip/grade6.png':'../../static/vip/grade5.png'"
mode="">
</image>
<!--<span>{{order.technicianTypeName}}</span>-->
<view class="dvideo-name" v-if="order.length!=0">
<text class="dvideo-name-word">{{order.artificerName}}</text>
</view>
</image>
</view>
<view class="flex pingfenlist">
<view class="timea-fu">