|
@@ -4,8 +4,8 @@
|
|
|
<u-navbar leftIconSize="0" :placeholder="true" bgColor="#ffffff">
|
|
|
<view class="u-nav-slot" slot="left">
|
|
|
<view class="u-nav-slot__input flex">
|
|
|
- <u--input v-model="goodsTitle" placeholder="搜索商品" border="none" prefixIcon="search" prefixIconStyle="font-size: 22px;color: #909399" />
|
|
|
- <view class="u-nav-slot__input__btn" @click="toGoodsList()">搜索</view>
|
|
|
+ <u--input v-model="goodsTitle" @blur="toGoodsList()" placeholder="搜索商品" border="none" prefixIcon="search" prefixIconStyle="font-size: 22px;color: #909399" />
|
|
|
+ <!-- <view class="u-nav-slot__input__btn" @click="toGoodsList()">搜索</view> -->
|
|
|
</view>
|
|
|
</view>
|
|
|
</u-navbar>
|
|
@@ -411,10 +411,11 @@
|
|
|
|
|
|
// 轮播
|
|
|
.core-swiper {
|
|
|
- margin-bottom: 20rpx;
|
|
|
+ margin: 0 34rpx 20rpx;
|
|
|
+ border-radius: 16rpx;
|
|
|
|
|
|
&-centent {
|
|
|
- height: 330rpx;
|
|
|
+ height: 300rpx;
|
|
|
|
|
|
.swiper-item {
|
|
|
width: 100%;
|
|
@@ -423,6 +424,7 @@
|
|
|
image {
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
+ border-radius: 16rpx;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -467,22 +469,22 @@
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
position: relative;
|
|
|
- margin-bottom: 34rpx;
|
|
|
- height: 400rpx;
|
|
|
+ margin: 0 34rpx 34rpx;
|
|
|
+ height: 380rpx;
|
|
|
|
|
|
&-imgBg {
|
|
|
position: absolute;
|
|
|
top: 0;
|
|
|
- width: 100vw;
|
|
|
- height: 400rpx;
|
|
|
+ width: 100%;
|
|
|
+ height: 380rpx;
|
|
|
}
|
|
|
|
|
|
&-content {
|
|
|
- width: 100vw;
|
|
|
+ width: 100%;
|
|
|
position: absolute;
|
|
|
top: 0;
|
|
|
z-index: 5;
|
|
|
- padding: 26rpx 32rpx;
|
|
|
+ padding: 26rpx 22rpx;
|
|
|
|
|
|
&-nav {
|
|
|
justify-content: space-between;
|