Merge branch 'new' of https://gitea.lihaink.cn/mkm/nk-shop2.0 into new
This commit is contained in:
commit
590a49dcea
@ -6,15 +6,9 @@
|
||||
<view class='iconfont icon-xiangzuo' @tap='goBack'></view>
|
||||
<view class="v-input" style="width: 90%;margin-right: 40rpx;">
|
||||
<u--input v-model="keyword" placeholder="搜索商品名称" prefixIcon="search" shape="circle"
|
||||
:custom-style="{'background-color':'#fff',width:'100%',height:'70rpx'}"
|
||||
prefixIconStyle="font-size: 22px;color: #909399" @input="search">
|
||||
<template slot="suffix">
|
||||
<u-button type="success" text="搜索" size="mini" shape="circle"
|
||||
color="linear-gradient(to right, #F84221, #FF6C20)"
|
||||
:customStyle="{height:'50rpx','font-size':'32rpx!important'}"
|
||||
@click="search"></u-button>
|
||||
</template>
|
||||
</u--input>
|
||||
:custom-style="{'background-color':'#fff',width:'100%',height:'66rpx'}"
|
||||
prefixIconStyle="font-size: 22px;color: #909399"> </u--input>
|
||||
<view class="v-search-btn" hover-class="hoverClass" @click="search">搜索</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@ -469,8 +463,27 @@
|
||||
align-items: center;
|
||||
height: 40px;
|
||||
|
||||
.v-input /deep/.u-button__text {
|
||||
font-size: 28rpx !important;
|
||||
.v-input {
|
||||
position: relative;
|
||||
|
||||
.v-search-btn {
|
||||
position: absolute;
|
||||
right: 10rpx;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
width: 90rpx;
|
||||
line-height: 50rpx;
|
||||
height: 50rpx;
|
||||
background: linear-gradient(to right, #F84221, #FF6C20);
|
||||
font-size: 26rpx;
|
||||
border-radius: 50rpx;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.hoverClass {
|
||||
opacity: .8;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user