fix: 智聪健康微信小程序版本,代码提交。
This commit is contained in:
@@ -2,8 +2,17 @@
|
||||
<view class="container">
|
||||
<u-sticky offsetTop="0rpx" customNavHeight="0rpx">
|
||||
<view class="search-view">
|
||||
<u--input v-model="queryParams.name" border="false" placeholder="请输入名称或昵称" class="search-input"
|
||||
@blur="handleSearch" suffixIcon="search" suffixIconStyle="color: #909399">
|
||||
<u--input
|
||||
v-model="queryParams.name"
|
||||
border="surround"
|
||||
placeholder="请输入名称或昵称"
|
||||
placeholderStyle="color: #909399"
|
||||
color="#333333"
|
||||
customStyle="background: rgba(102, 126, 234, 0.08); border: 2rpx solid rgba(102, 126, 234, 0.3); border-radius: 24rpx; height: 66rpx"
|
||||
class="search-input"
|
||||
@blur="handleSearch"
|
||||
suffixIcon="search"
|
||||
suffixIconStyle="color: #667eea">
|
||||
</u--input>
|
||||
<view class="add-btn" @click="handleAdd()">
|
||||
<uni-icons type="plusempty" size="18" color="#667eea"></uni-icons>
|
||||
@@ -204,17 +213,43 @@ page {
|
||||
position: relative;
|
||||
z-index: 100;
|
||||
box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.05);
|
||||
gap: 24rpx;
|
||||
|
||||
.search-input {
|
||||
background: rgba(102, 126, 234, 0.08);
|
||||
color: #333333;
|
||||
flex: 1;
|
||||
margin-right: 16rpx;
|
||||
margin-right: 0;
|
||||
border-radius: 24rpx;
|
||||
border: 2rpx solid rgba(102, 126, 234, 0.3);
|
||||
height: 66rpx !important;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
/* H5端placeholder样式 */
|
||||
:deep(input::placeholder) {
|
||||
color: #909399 !important;
|
||||
font-size: 14px !important;
|
||||
}
|
||||
|
||||
:deep(input::-webkit-input-placeholder) {
|
||||
color: #909399 !important;
|
||||
font-size: 14px !important;
|
||||
}
|
||||
|
||||
:deep(input::-moz-placeholder) {
|
||||
color: #909399 !important;
|
||||
font-size: 14px !important;
|
||||
}
|
||||
|
||||
/* 输入文字颜色 */
|
||||
:deep(.u-input__content__field-wrapper__field) {
|
||||
color: #333333 !important;
|
||||
}
|
||||
|
||||
:deep(input) {
|
||||
color: #333333 !important;
|
||||
}
|
||||
}
|
||||
|
||||
.add-btn {
|
||||
|
||||
Reference in New Issue
Block a user