13404089107
2025-04-03 3c2dac41d3f450e7e47c355cbf2e13ece8d19749
fix:新增
1个文件已修改
1个文件已添加
52 ■■■■■ 已修改文件
src/assets/search.png 补丁 | 查看 | 原始文档 | blame | 历史
src/components/datascreen/CenterPanel.vue 52 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/assets/search.png
src/components/datascreen/CenterPanel.vue
@@ -36,6 +36,13 @@
    </div>
    <!-- 中间下部数据 -->
    <div class="center-bott">
      <div class="bottom-search">
        <div class="search-box">
          <input type="text" placeholder="请输入户主名称进行搜索" v-model="searchText">
          <img src="@/assets/search.png" class="search-icon" alt="">
        </div>
      </div>
    <div class="center-bottom panel-item">
      <div class="compensation-table">
        <div class="table-header">
@@ -64,6 +71,7 @@
      </div>
    </div>
  </div>
  </div>
</template>
<script>
@@ -73,7 +81,7 @@
  props: {
    data: {
      type: Object,
      default: () => { }
      default: () => { },
    }
  },
  components: {
@@ -86,6 +94,7 @@
        { label: '已审核', value: '2021103000002', percentage: 70 },
        { label: '已完成', value: '2021103000003', percentage: 50 }
      ],
      searchText: '', // 搜索文本
      compensationList: [
      ]
@@ -97,6 +106,45 @@
<style lang="less" scoped>
.pl-20 {
  padding-left: 20px;
}
.bottom-search {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}
.search-box {
  width: 180px;
  display: flex;
  align-items: center;
  height: 30px;
  background: rgba(2, 0, 77, 0.4);
  box-shadow: inset 0px 0px 34px 0px rgba(17, 40, 255, 0.66);
  border-radius: 4px;
  border: 2px solid #0D53B7;
}
input {
  height: 30px;
  width: 100%;
  line-height: 30px;
  padding-left: 9px;
  background: transparent;
  border: none;
  font-size: 12px;
  font-family: SourceHanSansCN, SourceHanSansCN;
  font-weight: 400;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  outline: none;
}
.search-icon {
  width: 14px;
  height: 14px;
  margin-left: 17px;
}
.text-center {
@@ -188,7 +236,7 @@
        }
        flex-direction: column;
        justify-content: space-between;
        // justify-content: space-between;
        .table-row {
          display: flex;