首页搜索调整

This commit is contained in:
kbing1981 2024-07-22 19:25:43 +08:00
parent 91201e5cd4
commit 2ec6f2971b
2 changed files with 33 additions and 9 deletions

View File

@ -9,10 +9,14 @@
</view>
</view> -->
<view class="index-line" >
<view v-if="XCXIsSelect != ''" class="flex locate-line dingwei-view"
@tap="goCity">
<image src="../../static/liliao-1.png" class="dingwei-img"></image>
<view class="localName">{{ city }}</view>
<view class="flex">
<image class="salogo" src="../../static/salogo.gif"></image>
<view v-if="XCXIsSelect != ''" class="flex locate-line"
@tap="goCity">
<!--<image src="../../static/liliao-1.png" class="dingwei-img"></image>-->
<view class="localName">{{ city }}</view>
<view class="view-more"></view>
</view>
</view>
<!-- <view class="index-top-left font-size-34">盛安到家</view> -->
<view class="index-top-mian">
@ -30,6 +34,7 @@
<span>平台担保</span>
</view>-->
</view>
<view class="index-headset">
<!--<image style="width: 26rpx; height: 26rpx;" src="../../static/index-nav-4.png" @click="goChat()" mode="widthFix"></image>
<image src="../../static/index-nav-5.png" mode="widthFix"></image> -->
@ -37,8 +42,10 @@
<image class="index-yanzheng" src="../../static/images/index/renzheng02.png" mode=""></image>
<image class="index-yanzheng" src="../../static/images/index/renzheng03.png" mode=""></image>
</view>
</view>
<view class="flex align-center index-mian">
<uni-search-bar placeholder="请输入项目名称" @service="serviceTrue" @confirm="search" :cancelext="'取消'" v-model="searchValue" @input="input"
@clear="clear">
</uni-search-bar>
@ -1075,13 +1082,18 @@
</script>
<style scoped>
.salogo{
width: 140rpx;
height: 36rpx;
margin-left: 20rpx;
}
.index-yanzheng{
width: 110rpx;
height: 26rpx;
margin-left: 10rpx;
width: 100rpx;
height: 22rpx;
margin-left: 4rpx;
}
.localName{
width: 85px;
width: 100px;
margin-left: 4rpx;
font-weight: bold;
color: #333333;
@ -1090,6 +1102,17 @@
white-space: nowrap; /* 确保文本在一行内显示 */
text-overflow: ellipsis; /* 超出部分显示省略号 */
}
.view-more{
display: inline-block;
border-top: 1px solid;
border-right: 1px solid;
width: 7px;
height: 7px;
border-color: #999;
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
margin-top: 3px;
}
/deep/.uni-icons{
font-family: uniicons;
text-decoration: none;
@ -1180,6 +1203,7 @@
/deep/.uni-searchbar{
width:80%;
border-radius: 31rpx;
margin-left: 6rpx;
}
.index-headset{
margin-right: 30rpx;
@ -1188,7 +1212,7 @@
margin-top: 4rpx;
}
.locate-line{
padding-left: 25rpx;
/*padding-left: 25rpx;*/
margin-top: 3rpx;
display: flex;
align-items: center;

BIN
static/salogo.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB