css
This commit is contained in:
@@ -7,10 +7,12 @@
|
|||||||
<div class="search-box">
|
<div class="search-box">
|
||||||
<div class="area-select">
|
<div class="area-select">
|
||||||
<AiAreaPicker v-model="areaId" :areaId="user.areaId" :name.sync="areaName" @select="areaSelect">
|
<AiAreaPicker v-model="areaId" :areaId="user.areaId" :name.sync="areaName" @select="areaSelect">
|
||||||
<u-icon name="map-fill" size="18px" color="#FFF"></u-icon>
|
<div style="display: flex;">
|
||||||
<span v-if="areaName" style="color:#FFF;fontSize: 14px;">{{ areaName }}</span>
|
<u-icon name="map-fill" size="18px" color="#FFF" style="width:18px;display:inline-block;margin-top: 18px"></u-icon>
|
||||||
<span v-else :style="{color:areaName? '#FFF': '#E2E8F1'}">请选择</span>
|
<span v-if="areaName" style="color:#FFF;fontSize: 14px;" class="areaName">{{ areaName }}</span>
|
||||||
<u-icon name="arrow-down" color="#FFF" size="24" style="margin-left: 4px"></u-icon>
|
<span v-else :style="{color:areaName? '#FFF': '#E2E8F1'}" class="areaName">请选择</span>
|
||||||
|
<u-icon name="arrow-down" color="#FFF" size="24" style="margin-left: 4px;width: 14px;display:inline-block;margin-top:22px"></u-icon>
|
||||||
|
</div>
|
||||||
</AiAreaPicker>
|
</AiAreaPicker>
|
||||||
</div>
|
</div>
|
||||||
<div class="search">
|
<div class="search">
|
||||||
@@ -161,7 +163,20 @@ export default {
|
|||||||
.area-select {
|
.area-select {
|
||||||
display: flex;
|
display: flex;
|
||||||
width: 240px;
|
width: 240px;
|
||||||
|
justify-content: space-between;
|
||||||
|
// overflow:hidden;
|
||||||
|
// text-overflow:ellipsis;
|
||||||
|
// white-space:nowrap;
|
||||||
|
::v-deep .AiAreaPicker {
|
||||||
|
display: flex;
|
||||||
|
.areaName {
|
||||||
|
display: inline-block;
|
||||||
|
max-width: 160px;
|
||||||
|
overflow:hidden;
|
||||||
|
text-overflow:ellipsis;
|
||||||
|
white-space:nowrap;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.search {
|
.search {
|
||||||
width: calc(100% - 240px);
|
width: calc(100% - 240px);
|
||||||
|
|||||||
@@ -292,6 +292,9 @@ export default {
|
|||||||
}
|
}
|
||||||
div {
|
div {
|
||||||
width: calc(100% - 160px);
|
width: calc(100% - 160px);
|
||||||
|
img {
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user