tanxue 2 miesięcy temu
rodzic
commit
bb21a9794a

+ 6 - 2
common/styles/global/components.scss

@@ -29,11 +29,11 @@ view{box-sizing: border-box;}
 
 /***** tabbar  *****/
 .phone-custom-tabbar,.phone-client-tabbar{
-	width: 100%;height: 130rpx;background-color: #fff;border-top: 1rpx solid #e5e4e4;z-index: 9;
+	width: 100%;height: 100rpx;background-color: #fff;border-top: 1rpx solid #e5e4e4;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;
 	.tabbar-item{text-align: center;width: 160rpx;}
-	.tabbar-item-icon{width: 50rpx;height: 50rpx;display: block;@include ezy-no-repeat-cover();margin: 0 auto 8rpx;}
+	.tabbar-item-icon{width: 42rpx;height: 42rpx;display: block;@include ezy-no-repeat-cover();margin: 0 auto 2rpx;}
 	.tabbar-item-text{font-size: 28rpx;color: #333;}
 	.active .tabbar-item-text{color: #3fd2a1;}
 }
@@ -249,6 +249,10 @@ margin-right: 18rpx;display: inline-block;vertical-align: middle;}
 		>view{margin-bottom: 12rpx;line-height: 1.6;}
 		.ksms-row{margin-bottom: 12rpx;}
 		.ksms-intro{color: #666;}
+		.phone-name-box{
+			text-align: center;
+			img{max-width: 100%;max-height: 260rpx;}
+		}
 	}
 	
 }

+ 5 - 2
components/identification/identification.vue

@@ -5,8 +5,11 @@
 			<uni-popup-dialog mode="input" class="phone-ksxz-dialog" title="身份确认" :duration="2000" :before-close="true"
 				cancelText="修改" @close="handleClose" @confirm="handleConfirm">
 				<view class="ksxz-content-box">
-					<view>头像:
-						<image :src="data.icon" />
+					<view class="phone-name-box">
+						<!-- #ifdef H5 -->
+							<img :src="data.icon" alt="">
+						<!-- <image :src="data.icon" /> -->
+						<!-- #endif -->
 					</view>
 					<view>姓名:{{data.realName}}</view>
 					<view>电话:{{data.userName}}</view>