Przeglądaj źródła

修改名片夹搜索样式

achao 2 lat temu
rodzic
commit
2b2478bf10

+ 6 - 7
xiaochengxu/pages/cardHolder/cardHolder.vue

@@ -9,17 +9,15 @@
 			</u-navbar>
 			<view class="content1 flex-row-center">
 				<view class="search flex justify-space-between align-item-center flex-between" @click="search">
-					<view class="left align-item-center flex">
+					<view class="left flex">
 						<uni-icons type="search" size="24" color="#9199af"></uni-icons>
 						<text class="search-val"> {{searchVal?searchVal:'搜索名片'}}</text>
-						<!-- <uni-icons type="closeempty" size="24" @click.native.stop="delSearchVal" v-if="searchVal">
-						</uni-icons> -->
 					</view>
 
 					<view class="right">
 						<image style='width:32rpx;height:32rpx;' v-if="searchVal" @click.native.stop="delSearchVal"
 							src="../../static/imgs/card/searchdel.png" mode="widthFix"></image>
-						<uni-icons type="mic" size="24" @click.native.stop="micOpen" color="#9199af"></uni-icons>
+						<uni-icons type="mic" size="24" @click.native.stop="micOpen" color="#9199af" style="margin-left: 20rpx;"></uni-icons>
 					</view>
 				</view>
 				<view class="col flex">
@@ -1332,17 +1330,18 @@
 			margin-right: 20rpx;
 		}
 		.left{
-			width:82%;
+			width:80%;
 			text{
 				    height: 46rpx;
 				    white-space: nowrap;
 				    overflow: scroll;
 					position: relative;
-					    top: -3px;
+					margin-left: 20rpx;
 			}
 		}
 		.right{
-			width:14%;
+			// width:14%;
+			margin-right:20rpx
 		}
 	}
 

+ 1 - 1
xiaochengxu/uni_modules/d-search-log/components/d-search-log/d-search-log.vue

@@ -257,7 +257,7 @@
 		display: flex;
 		flex-direction: column;
 		align-items: center;
-		padding: 10rpx 0;
+		padding: 20rpx;
 		.dSLComVueTop {
 			width: 90%;
 			height: 100rpx;