样式修改
This commit is contained in:
@ -1,76 +1,83 @@
|
||||
.container-list-item {
|
||||
background-color: #fff;
|
||||
border-bottom: 1rpx solid #f4f4f4;
|
||||
border-radius: 20rpx;
|
||||
margin:0 30rpx 20rpx 30rpx;
|
||||
.content
|
||||
{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
// min-height: 60rpx;
|
||||
width: 100%;
|
||||
padding:30rpx 15rpx ;
|
||||
position: relative;
|
||||
font-size: 32rpx;
|
||||
// 默认文本显示内容(默认的slot)
|
||||
.slot {
|
||||
// position:absolute;
|
||||
right: 64rpx;
|
||||
font-size: 32rpx;
|
||||
color: #5b5757;
|
||||
.word {
|
||||
width:100%;
|
||||
word-break: break-all;
|
||||
}
|
||||
}
|
||||
// 默认箭头显示样式
|
||||
.right {
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
width: 80rpx;
|
||||
right: 30rpx;
|
||||
color: #babdc3;
|
||||
font-size: 32rpx;
|
||||
}
|
||||
|
||||
}
|
||||
background-color: #fff;
|
||||
border-bottom: 1rpx solid #f4f4f4;
|
||||
border-radius: 20rpx;
|
||||
margin: 0 30rpx 20rpx 30rpx;
|
||||
|
||||
.content {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
// min-height: 60rpx;
|
||||
width: 100%;
|
||||
padding: 30rpx 15rpx;
|
||||
position: relative;
|
||||
font-size: 32rpx;
|
||||
|
||||
// 默认文本显示内容(默认的slot)
|
||||
.slot {
|
||||
// position:absolute;
|
||||
right: 64rpx;
|
||||
font-size: 32rpx;
|
||||
color: #5b5757;
|
||||
|
||||
.word {
|
||||
width: 100%;
|
||||
word-break: break-all;
|
||||
}
|
||||
}
|
||||
|
||||
// 默认箭头显示样式
|
||||
.right {
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
width: 80rpx;
|
||||
right: 30rpx;
|
||||
color: #babdc3;
|
||||
font-size: 32rpx;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
// 复选框
|
||||
.checkbox {
|
||||
position: relative;
|
||||
height: 36rpx;
|
||||
margin-left: 10rpx;
|
||||
margin-right: 0px;
|
||||
width: 36rpx;
|
||||
.txt {
|
||||
font-size: 35rpx;
|
||||
line-height: 36rpx;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
|
||||
.checkbox {
|
||||
position: relative;
|
||||
height: 36rpx;
|
||||
margin-left: 10rpx;
|
||||
margin-right: 0px;
|
||||
width: 36rpx;
|
||||
|
||||
.txt {
|
||||
font-size: 35rpx;
|
||||
line-height: 36rpx;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
|
||||
.checkBorder {
|
||||
border: 1px solid #ecdee4;
|
||||
border: 1px solid #ecdee4;
|
||||
}
|
||||
|
||||
.text-cut{
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
.text-cut {
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.value_box{
|
||||
display: flex;
|
||||
height: 100%;
|
||||
.index{
|
||||
color: #009C77;
|
||||
width: 70rpx;
|
||||
text-align: center;
|
||||
border-right: 1rpx solid #eeeeee;
|
||||
}
|
||||
.value{
|
||||
padding-left: 20rpx;
|
||||
}
|
||||
.value_box {
|
||||
display: flex;
|
||||
height: 100%;
|
||||
|
||||
.index {
|
||||
color: #009458;
|
||||
width: 70rpx;
|
||||
text-align: center;
|
||||
border-right: 1rpx solid #eeeeee;
|
||||
}
|
||||
|
||||
.value {
|
||||
padding-left: 20rpx;
|
||||
}
|
||||
}
|
||||
@ -1,28 +1,32 @@
|
||||
// 导航栏标题
|
||||
.title {
|
||||
height: 90rpx;
|
||||
padding: 0 32rpx;
|
||||
line-height: 90rpx;
|
||||
font-size: 30rpx;
|
||||
background-color: #f5f5f5;
|
||||
color: #606064;
|
||||
// 导航栏图标样式
|
||||
.iconclass {
|
||||
display: inline-block;
|
||||
margin: 0 12rpx;
|
||||
color: #D0D4DB;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
height: 90rpx;
|
||||
padding: 0 32rpx;
|
||||
line-height: 90rpx;
|
||||
font-size: 30rpx;
|
||||
background-color: #f5f5f5;
|
||||
color: #606064;
|
||||
|
||||
// 导航栏图标样式
|
||||
.iconclass {
|
||||
display: inline-block;
|
||||
margin: 0 12rpx;
|
||||
color: #D0D4DB;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
}
|
||||
|
||||
// 导航栏项样式
|
||||
.inline-item {
|
||||
display: inline-block
|
||||
display: inline-block
|
||||
}
|
||||
|
||||
// 导航栏项-启用状态
|
||||
.active {
|
||||
color: #666666 !important;
|
||||
color: #666666 !important;
|
||||
}
|
||||
|
||||
// 导航栏项-无状态
|
||||
.none {
|
||||
color: #009C77;
|
||||
}
|
||||
color: #009458;
|
||||
}
|
||||
@ -18,7 +18,7 @@
|
||||
<view v-for="(item,index) in treeStack" class="inline-item" :key="index">
|
||||
<view class="inline-item" @click="clickItem(item,index)">
|
||||
<i class="iconfont icon-z043 iconclass" />
|
||||
<text v-if="index== treeStack.length-1" class="none inline-item" style="color: #009C77;">
|
||||
<text v-if="index== treeStack.length-1" class="none inline-item" style="color: #009458;">
|
||||
{{item[slabel]}}
|
||||
</text>
|
||||
<text v-else class="active" >
|
||||
|
||||
@ -4,7 +4,8 @@
|
||||
<view class='filter-input'
|
||||
:style="{'background-color' :inputBackgroundColor ,'border-radius':radius + 'rpx'}">
|
||||
<!-- 左侧搜索图标 -->
|
||||
<u-icon name="search" color="#009C77!important" size="40"></u-icon>
|
||||
<img src="/static/aidex/images/search.png" class="filterImg">
|
||||
|
||||
<!-- 输入框内容 -->
|
||||
<input class="text" type='text' v-model="inputVal" confirm-type="搜索" :placeholder='placeholder'
|
||||
:placeholder-style="placeholderStyle" :maxlength="maxlength" @input="handleInput"
|
||||
@ -72,7 +73,7 @@
|
||||
// 图标的颜色
|
||||
iconColor: {
|
||||
type: String,
|
||||
default: '#009C77'
|
||||
default: '#009458'
|
||||
},
|
||||
// 是否显示清除按钮
|
||||
clearable: {
|
||||
@ -137,9 +138,9 @@
|
||||
padding-left: 40rpx;
|
||||
|
||||
.filterImg {
|
||||
width: 32rpx;
|
||||
height: 32rpx;
|
||||
margin-right: 20rpx;
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
margin-right: 10rpx;
|
||||
margin-bottom: 5rpx;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user