优化首页搜索框跳转逻辑
This commit is contained in:
parent
d3c1ab9a99
commit
414ea79463
@ -43,7 +43,7 @@
|
||||
<view class="group-price">
|
||||
<view>¥{{ item.commodity_goods_info.sales_price }}/{{
|
||||
item.commodity_goods_info.goods_unit
|
||||
}}</view>
|
||||
}}</view>
|
||||
<!-- 运费 -->
|
||||
<view class="goods-desc" style="margin-top: 10rpx;">运费 ¥{{
|
||||
item.commodity_goods_info.freight }}</view>
|
||||
@ -666,7 +666,7 @@ export default {
|
||||
goods_and_count: group.map(item => {
|
||||
return {
|
||||
goods_id: item.goods_id,
|
||||
count: item.count,
|
||||
count: item.is_one_one === 1 ? item.count / 2 : item.count,
|
||||
price: item.price,
|
||||
freight: item.commodity_goods_info.freight,
|
||||
}
|
||||
|
||||
@ -49,7 +49,7 @@ page {
|
||||
}
|
||||
|
||||
.hot-word-container {
|
||||
width: 60%;
|
||||
width: 90%;
|
||||
height: 50rpx;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
@ -73,7 +73,7 @@ page {
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
|
||||
.search_input{
|
||||
.search_input {
|
||||
width: 55%;
|
||||
height: 50rpx;
|
||||
line-height: 50rpx;
|
||||
@ -81,11 +81,6 @@ page {
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.searchBox2 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.white_container {
|
||||
background: #FFFFFF;
|
||||
padding: 0 20rpx;
|
||||
@ -170,6 +165,8 @@ page {
|
||||
}
|
||||
|
||||
.searchBox2 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
height: 60rpx;
|
||||
background-color: #f6f7fb;
|
||||
@ -183,7 +180,7 @@ page {
|
||||
}
|
||||
|
||||
.searchBox2 image {
|
||||
width: 40rpx;
|
||||
width: 30rpx;
|
||||
height: 28rpx;
|
||||
margin-right: 16rpx;
|
||||
}
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
|
||||
<!-- 搜索框 -->
|
||||
<view class="search2" v-if="isShowSearch">
|
||||
<view class="searchBox2">
|
||||
<view class="searchBox2" @click="goSearchView">
|
||||
<image
|
||||
src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/com_communitySearchIcon.png"
|
||||
mode="aspectFill"></image>
|
||||
@ -33,9 +33,6 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="search_input" @click="goSearchView">
|
||||
请输入内容
|
||||
</view>
|
||||
<!-- <input class="search_input" placeholder='请输入内容' confirm-type='search' @input="searchInput"
|
||||
@confirm="searchInput" :value="selectKeyWord" @click="goSearchView"/> -->
|
||||
</view>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user