|
|
@@ -2,25 +2,27 @@
|
|
|
<!-- 过滤客户资料表格 -->
|
|
|
<div class="filter-custom-table">
|
|
|
<a-select label-in-value
|
|
|
+ class="conditionSelect"
|
|
|
+ style="width: 120px"
|
|
|
v-model:value="userinfotype"
|
|
|
placeholder="全部客户类型"
|
|
|
@change="handleChange"
|
|
|
- style="width: 120px">
|
|
|
+ >
|
|
|
<a-select-option value="1">个人</a-select-option>
|
|
|
<a-select-option value="2">企业</a-select-option>
|
|
|
</a-select>
|
|
|
<a-input v-model:value="nickname"
|
|
|
- style="width: 140px"
|
|
|
+ class="tableConditionInput"
|
|
|
placeholder="模糊搜索客户简称" />
|
|
|
<a-input v-model:value="name"
|
|
|
- style="width: 140px"
|
|
|
+ class="tableConditionInput"
|
|
|
placeholder="模糊搜索客户名称" />
|
|
|
<a-input v-model:value="phone"
|
|
|
- style="width: 140px"
|
|
|
+ class="tableConditionInput"
|
|
|
placeholder="模糊搜索手机号码" />
|
|
|
- <a-button @click="search">查询</a-button>
|
|
|
- <a-button @click="reset">重置</a-button>
|
|
|
- <a-button @click="add">新增</a-button>
|
|
|
+ <a-button class="selectBtn" @click="search">查询</a-button>
|
|
|
+ <a-button class="selectBtn" @click="reset">重置</a-button>
|
|
|
+ <a-button class="operBtn" @click="add">新增</a-button>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
@@ -75,5 +77,58 @@ export default defineComponent({
|
|
|
|
|
|
<style lang="less">
|
|
|
.filter-custom-table {
|
|
|
+ width: 100%;
|
|
|
+ display: inline-flex;
|
|
|
+ padding-top: 9px;
|
|
|
+ padding-bottom: 6px;
|
|
|
+}
|
|
|
+.ant-select-single:not(.ant-select-customize-input) {
|
|
|
+ margin-right: 10px;
|
|
|
+ // background: #252D34;
|
|
|
+ // .rounded-corners(3px);
|
|
|
+ .ant-select-selector{
|
|
|
+ height: 30px;
|
|
|
+ padding: 0 8px;
|
|
|
+ background: @m-grey9;
|
|
|
+ border: none;
|
|
|
+ .rounded-corners(3px);
|
|
|
+ color: @m-grey10;
|
|
|
+ .ant-select-arrow {
|
|
|
+ right: 8px;
|
|
|
+ color: @m-grey1;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .ant-select-arrow {
|
|
|
+ color: @m-grey1;
|
|
|
+ }
|
|
|
+ .ant-select-selection-item {
|
|
|
+ color: @m-white1;
|
|
|
+ }
|
|
|
+}
|
|
|
+.conditionSelect+.conditionSelect {
|
|
|
+ margin-left: 10px;
|
|
|
+}
|
|
|
+.selectBtn {
|
|
|
+ margin-left: 10px;
|
|
|
+ width: 80px;
|
|
|
+ height: 30px;
|
|
|
+ line-height: 30px;
|
|
|
+ text-align: center;
|
|
|
+ background: linear-gradient(0deg, @m-grey15 0%, @m-grey16 98%);
|
|
|
+ border: 0;
|
|
|
+ color: @m-white0;
|
|
|
+ font-size: 14px;
|
|
|
+ .rounded-corners(3px);
|
|
|
+ &:hover {
|
|
|
+ background: linear-gradient(0deg, @m-grey15-hover 0%, @m-grey16-hover 98%);
|
|
|
+ color: rgba(@m-white0, .8);
|
|
|
+ }
|
|
|
+}
|
|
|
+.operBtn:extend(.selectBtn) {
|
|
|
+ background: linear-gradient(0deg, @m-blue6 0%, @m-blue7 99%);
|
|
|
+ &:hover {
|
|
|
+ background: linear-gradient(0deg, @m-blue6-hover 0%, @m-blue7-hover 99%);
|
|
|
+ color: rgba(@m-white0, .8);
|
|
|
+ }
|
|
|
}
|
|
|
</style>;
|