Ver Fonte

样式修改

tanxue há 1 mês atrás
pai
commit
5051debd29

+ 1 - 3
common/styles/global/components.scss

@@ -345,9 +345,7 @@ margin-right: 18rpx;display: inline-block;vertical-align: middle;}
 
 
 /***** 默认头像  *****/
-.phone-default-userImg{
-	width: 170rpx;height: 170rpx;margin: 0 auto;
-	background-image: url("@/static/images/my/user-default-img.png");@include ezy-no-repeat-cover();}
+.phone-default-userImg{width: 170rpx;height: 170rpx;margin: 0 auto;@include ezy-no-repeat-cover();}
 
 /***** form  *****/
 // label-input

+ 4 - 192
common/styles/global/pages.scss

@@ -418,7 +418,7 @@
 		width: 170rpx;height: 170rpx;margin-right: 32rpx;display: flex;align-items: center;
 		border-radius: 50%;overflow: hidden;
 	}
-	.head-img{width: 100%;height: auto;}
+	.head-img{width: 100%;height: 170rpx;}
 	.head-content-box{
 		font-size: 32rpx;color: #fff;
 		.head-content-row-box{display: flex;align-items: center;margin-top: 20rpx;}
@@ -435,7 +435,6 @@
 	.jzgs-name-box{
 		width: 100%;text-align: center;font-size: 34rpx;color: #fff;
 		box-sizing: border-box;font-weight: 600;@include ezy-no-repeat-cover(bottom);
-		background-image: url("@/static/images/my/admin-my-bj.png");
 		height: 376rpx;padding-top: 100rpx;
 	}
 	
@@ -741,76 +740,7 @@
 	.tongzhi-time{font-size: 28rpx;color:#969495;margin-bottom: 24rpx;}
 	.tongzhi-content{font-size: 28rpx;color:#666;text-align: left;line-height: 1.6;;}
 }
-/*** 办证 ***/
-.phone-banzheng-page{
-	// width: 100%;height: 100vh;background-color: #f4f6fa;
-	.banzheng-list-item-box{
-		background-color: #f4f6fa!important;
-		.uni-list--border{display: none!important;}
-		.uni-list-item__container{padding: 0 24rpx 24rpx;}
-	}
-	.uni-list .banzheng-list-item-box:nth-child(2){padding-top: 20rpx;}
-	.banzheng-list-card-box{
-		width: 100%;
-		.card-head-row{
-			background-color:#e5f8f4;display: flex;justify-content: space-between;align-items: center;
-			box-sizing: border-box;padding: 24rpx;border-radius: 10rpx 10rpx 0 0;
-			.head-name{font-size: 28rpx;color: #000;font-weight: 600;}
-			.head-status{font-size: 26rpx;color: #39c194;}
-			.status-line{margin: 0 8rpx;}
-			.head-clear{width: 30rpx;height: 30rpx;display: inline-block;vertical-align: middle;margin-left: 24rpx;
-			@include ezy-no-repeat-cover;background-image: url("@/static/images/common/clear-bz-icon.svg");}
-		}
-		.card-body-row{
-			display: flex;box-sizing: border-box;padding:16rpx 24rpx;background-color:#fff;border-radius: 0 0 10rpx 10rpx;
-			.body-content-row{width: 100%;display: flex;flex-direction: column;justify-content: center;}
-			.card-img-box{width: 180rpx;max-height: 240rpx;display: flex;align-items: center;margin-right: 24rpx;flex-shrink: 0;}
-			img{max-width: 180rpx;max-height: 240rpx;border-radius: 8rpx;}
-			.content-text-row{
-				display: flex;align-items: center;font-size: 28rpx;color: #333;line-height: 46rpx;
-				text{color: #000;font-weight: 600;flex-shrink: 0;}
-				}
-			.bz-tel-btn{font-size: 24rpx;width: 100rpx;padding: 0 10rpx;flex-shrink: 0;
-			line-height: 50rpx;border-radius: 8rpx;margin: 0;margin-left: auto;}
-			.jg-zy-box{
-				background-color:#f4f6fa;border-radius: 10rpx;font-size: 26rpx;color: #666;
-				box-sizing: border-box;padding: 16rpx;line-height: 1.4;
-				.jg-zy-row{display: flex;align-items: flex-start;}
-				.jg-zy-row +.jg-zy-row{margin-top: 6rpx;}
-				text{@include multi-line-ellipsis(2);}
-				icon{width: 30rpx;height: 30rpx;@include ezy-no-repeat-cover;margin-right: 10rpx;flex-shrink: 0;}
-				.bz-icon{background-image: url("@/static/images/common/bz-icon.png");}
-				.zy-icon{background-image: url("@/static/images/common/zy-icon.png");}
-			}
-		}
-	}
-	// 办证状态
-	.banzheng-search-box{
-		width: 100%;box-sizing: border-box;padding: 20rpx 20rpx;position: relative;
-		display: flex;justify-content: space-between;align-items: center;border-top: 1rpx solid #f4f6fa;
-		.select-item-box{
-			font-size: 30rpx;
-			.select-jt-default,.select-jt-click{
-				width: 16rpx;height: 16rpx;vertical-align: middle;margin-left: 10rpx;
-				background-image: url("@/static/images/common/sanjiao-shixin-icon.svg");@include ezy-no-repeat-contain();
-			}
-			.select-jt-click{transform: rotate(180deg);}
-		}
-		
-		// 带筛选按钮的
-		.filter-btn{font-size: 28rpx;color: #666;position: relative;margin-right: 20rpx;}
-		.filter-btn::after{
-			content: '';width: 0;height: 0;position: absolute;bottom: 5rpx;right: -12rpx;
-			border-left: 4rpx solid transparent;border-top: 4rpx solid transparent;
-			border-bottom: 4rpx solid #666;border-right: 4rpx solid #666;
-		}
-	}
-	.banzheng-type-box{
-		position: absolute;top: 80rpx;left: 0;right: 0;bottom: 0;
-		z-index: 2;background-color: rgba(0,0,0,0.3);
-		.data-check-radio-group{height: 500rpx;border:1rpx solid #f5f5f5;align-content: flex-start;}
-	}
-}
+
 /*** 筛选 ***/
 .phone-filter-page{
 	width: 100%;height: 100vh;background-color: #f8f9fd;
@@ -828,62 +758,6 @@
 	.filter-btn + .filter-btn{margin-left: 60rpx;}
 }
 
-/*** 家政人员简历 ***/
-.phone-jianli-page{
-	width: 100%;background-color: #f8f9fd;display: flex;flex-direction: column;
-	height: 100vh;
-	.right-icon-delete-btn{
-		width: 35rpx;height: 35rpx;@include ezy-no-repeat-cover();margin-right: 10rpx;
-		background-image: url("@/static/images/common/clear-icon.svg");
-	}
-	.jianli-wrap-box{overflow: auto;box-sizing: border-box;padding-bottom: 120rpx;}
-	.jianli-head-box{
-		display: flex;background-color:#3fd2a1;box-sizing: border-box;padding: 24rpx 36rpx;
-		margin: 24rpx 32rpx;border-radius: 10rpx;
-		.head-img-box{
-			width: 180rpx;height: 240rpx;margin-right: 32rpx;display: flex;align-items: center;
-			border-radius: 10rpx;overflow: hidden;position: relative;
-			.head-img{width: 180rpx;height: auto;}
-			.head-status{
-				height: 32rpx;line-height: 32rpx;padding: 0 16rpx;
-				position: absolute;right:0;bottom:0;border-radius: 10rpx 0 10rpx 0;text-align: center;
-				font-size: 24rpx;color: #fff;background-image: linear-gradient(to right, #fbba31, #fea32b);}
-		}
-		
-		.head-content-box{
-			display: flex;flex-direction: column;justify-content: space-around;font-size: 28rpx;color:#fff;
-			.name-row{font-size: 34rpx;font-weight: bold;}
-		}
-	}
-	
-	.jianli-body-box{background-color: #fff;box-sizing: border-box;padding: 24rpx 36rpx;}
-	.jbxx-label{word-spacing: 48rpx;margin-right: 10rpx;color: #666;flex-shrink: 0;}
-	.leixing-row{
-		display: flex;background-color: #e7f8f2;border-radius: 10rpx;
-		box-sizing: border-box;padding: 24rpx 32rpx;font-size: 30rpx;
-		.leixing-content{color: #333;font-weight: bold;line-height: 1.6;}
-	}
-	
-	.body-jbxx-box{
-		box-sizing: border-box;padding: 24rpx 32rpx 0;
-		>view{color: #333;font-size: 32rpx;display: flex;margin-bottom: 20rpx;line-height: 1.5;}
-		.jbxx-title{font-size: 30rpx;color: #3fd2a1;font-weight: bold;}
-	}
-	.jbxx-tip{font-size: 24rpx;color: #666;text-align:center;
-	box-sizing: border-box;padding: 20rpx 32rpx 0;justify-content: center;margin-bottom: 0;}
-	
-	.jianli-bottom-box{
-		width: 100%;height: 100rpx;background-color: #f9f9f9;border-top: 1rpx solid #eeeeee;z-index: 9;
-		position: fixed;left: var(-window-left);right: var(-window right);bottom: var(--window-bottom);
-		box-sizing: border-box;padding-bottom: env(safe-area-inset-bottom);display: flex;justify-content: space-around;align-items: center;
-		.bottom-icon{width: 36rpx;height: 36rpx;display: block;@include ezy-no-repeat-cover();margin: 0 auto 2rpx;}
-		.zl-icon{background-image: url("@/static/images/common/jz-editor-icon.png");}
-		.tel-icon{background-image: url("@/static/images/common/jz-tel-icon.png");}
-		.bottom-text{font-size: 24rpx;color: #333;}
-	}
-	
-	.jbxx-tel-btn{width: 240rpx;margin-top: 32rpx;font-size: 28rpx;}
-}
 
 /*** 地图浮层 ***/
 .map-popup-box{
@@ -918,43 +792,8 @@
 	}
 }
 
-/*** 课程绑定 ***/
-.kc-bind-page{
-	
-	.kc-bind-scroll-view{height: calc(100vh - 240rpx - var(--status-bar-height));overflow-y: auto;}
-	.kc-notbind-scroll-view{height: calc(100vh - 158rpx - var(--status-bar-height));overflow-y: auto;}
-	.admin-list-box{
-		.kecheng-list-card{
-			.item-card-row {display: flex;flex-direction: column;justify-content: space-between;box-sizing: border-box;padding: 12rpx 0;}
-			.bind-btn-row{display: flex;align-items:center;}
-			.kc-bind-btn {width: 160rpx;font-size: 26rpx;margin:0;line-height: 2.4;}
-			.kc-bind-btn + .kc-bind-btn{margin-left: 24rpx;}
-		}
-	}
-}
 
-/*** 子账号***/
-.phone-zzh-page{
-	.zzh-saixuan-view{height: calc(100vh - 320rpx - var(--status-bar-height));}
-	.zzh-new-btn-box{
-		padding: 20rpx 24rpx 20rpx;background-color: #f4f6fa;box-sizing: border-box;
-		.phone-green-btn{font-size: 28rpx;}
-	}
-	.zzh-list-item-box{border-bottom: 20rpx solid #f4f6fa;background-color: transparent!important;}
-	.zzh-item-card{width: 100%;padding: 16rpx 0;}
-	.zzh-name-row{
-		font-size: 32rpx;color: #000;margin-bottom: 32rpx;border-bottom: 1rpx dashed #ccc;padding:0 12rpx 12rpx;
-		.row-item{width: 100%;line-height: 1.6;display: flex;align-items: center;margin-bottom: 20rpx;}
-		.user-icon,.tel-icon{width: 36rpx;height: 36rpx;@include ezy-no-repeat-cover();margin-right: 20rpx;}
-		.user-icon{background-image: url("@/static/images/common/user-green-icon.png");}
-		.tel-icon{background-image: url("@/static/images/common/tel-green-icon.png");}
-		}
-	.zzh-btn-row{
-		display: flex;justify-content: center;
-		.zzh-btn{width: 180rpx;font-size: 26rpx;margin:0;line-height: 2;}
-		.zzh-btn + .zzh-btn{margin-left: 32rpx;}
-	}
-}
+
 
 /*** 已售课程***/
 .phone-yishou-page{
@@ -970,34 +809,7 @@
 	}
 }
 
-/*** 子家政公司 ***/
-.phone-zjzgs-page{
-	background-color: #f8f9fd;display: flex;flex-direction: column;
-	height: 100vh;
-	.zjzgs-body-box{flex: 1;overflow-y: auto;}
-	.zjzgs-num-box{
-		border:1rpx solid #3fd2a1;
-		background-color: #fff;margin: 0 20rpx 24rpx;padding: 16rpx 0;border-radius: 8rpx;
-		.zjzgs-title{font-size:32rpx ;margin: 0 24rpx;color:#3fd2a1;text-align:center;font-weight: bold;margin-bottom:10rpx;}
-		.num-item-box{
-			border-bottom:1rpx dashed #3fd2a1;display: flex;align-items: center;justify-content: space-between;
-			font-size: 32rpx;text-align: center;color: #333;padding: 24rpx 0;margin: 0 24rpx;
-			.num-btn{font-size: 26rpx;padding: 8rpx 20rpx;border-radius: 8rpx;line-height: 1.1;flex-shrink: 0;
-			// background-color: #fff;color: #3fd2a1;border: 1rpx solid #3fd2a1;
-			font-size: 28rpx;background-color: #3fd2a1;color: #fff;margin-left: auto;}
-			>view{@include single-line-ellipsis();}
-		}
-		.num-item-box:nth-child(4){border-bottom: 0;}
-	}
-	.list-btn-box{
-		width: 100%;margin-top: 24rpx;
-		.list-btn{
-			padding: 14rpx 20rpx;border-radius: 8rpx;line-height: 1.1;
-			font-size: 28rpx;background-color: #3fd2a1;color: #fff;
-			margin:36rpx auto 20rpx;width: 200rpx;text-align: center;
-		}
-	}
-}
+
 
 /* 职业等级选择页 */
 .phone-zydj-popup{

+ 8 - 8
pages/client/my/index.vue

@@ -2,8 +2,8 @@
 	<view class="client-my-page">
 		<view class="my-head-box" :style="{ backgroundImage: 'url(' + myInfoData.imgsArr.myHeadBj + ')' }">
 			<view class="head-img-box">
-				<img class="head-img" :src="myInfoData.userImg" v-if="myInfoData.userImg">
-				<icon class="phone-default-userImg" v-else></icon>
+				<image class="head-img" :src="myInfoData.userImg" v-if="myInfoData.userImg"></image>
+				<icon class="phone-default-userImg" v-else :style="{ backgroundImage: 'url(' + myInfoData.imgsArr.defaultUserImg + ')' }"></icon>
 			</view>
 			<view class="head-content-box">
 				<text>{{myInfoData.realName}}</text>
@@ -41,23 +41,23 @@
 		
 		<view class="my-list-box">
 			<view class="list-row" @click="goToPage('grcj')">
-				<icon :style="{ backgroundImage: 'url(' + myInfoData.imgsArr.userListIcon + ')' }"></icon>
+				<icon class="list-icon" :style="{ backgroundImage: 'url(' + myInfoData.imgsArr.userListIcon + ')' }"></icon>
 				<text>修改个人信息</text>
 			</view>
 			<view class="list-row" @click="goToPage('cj')">
-				<icon :style="{ backgroundImage: 'url(' + myInfoData.imgsArr.scoreListIcon + ')' }"></icon>
+				<icon class="list-icon" :style="{ backgroundImage: 'url(' + myInfoData.imgsArr.scoreListIcon + ')' }"></icon>
 				<text>我的成绩</text>
 			</view>
 			<view class="list-row" @click="showZhuaPaiConfirm">
-				<icon :style="{ backgroundImage: 'url(' + myInfoData.imgsArr.sxtcsListIcon + ')' }"></icon>
+				<icon class="list-icon" :style="{ backgroundImage: 'url(' + myInfoData.imgsArr.sxtcsListIcon + ')' }"></icon>
 				<text>摄像头测试</text>
 			</view>
 			<view class="list-row" @click="showMessageDl">
-				<icon :style="{ backgroundImage: 'url(' + myInfoData.imgsArr.sxtsmListIcon + ')' }"></icon>
+				<icon class="list-icon" :style="{ backgroundImage: 'url(' + myInfoData.imgsArr.sxtsmListIcon + ')' }"></icon>
 				<text>摄像头说明</text>
 			</view>
 			<view class="list-row" @click="exitLogin">
-				<icon :style="{ backgroundImage: 'url(' + myInfoData.imgsArr.loginOutListIcon + ')' }"></icon>
+				<icon class="list-icon" :style="{ backgroundImage: 'url(' + myInfoData.imgsArr.loginOutListIcon + ')' }"></icon>
 				<text>退出登录</text>
 			</view>
 		</view>
@@ -197,7 +197,7 @@
 	
 	onLoad(() => {
 		myInfoData.imgsArr.myHeadBj = cacheManager.get('projectImg').client_my_bj;
-		myInfoData.imgsArr.defaultUserImg = cacheManager.get('projectImg').index_default_img;
+		myInfoData.imgsArr.defaultUserImg = cacheManager.get('projectImg').user_default_img;
 		myInfoData.imgsArr.telIcon = cacheManager.get('projectImg').my_tel_icon;
 		myInfoData.imgsArr.idcardIcon = cacheManager.get('projectImg').my_idcard_icon;
 		myInfoData.imgsArr.ksIcon = cacheManager.get('projectImg').my_ks_icon;