yangfeng
2024-02-29 71173a58ca6d4f50255074b2e752cc382d0db3d5
src/views/productManage/productRegisterForm/index.vue
@@ -1,5 +1,13 @@
<template>
  <div class="container"></div>
  <div class="productRegisterForm-container">
    <div class="filter-card">
      <CommonSearch :show-add="false" :amount-view="false" placeholder="请输入关键词" @searchClick="onFilterSearch">
        <template slot="leftButton">
          <el-button size="small" type="primary" @click="addBtnClick">新建</el-button>
        </template>
      </CommonSearch>
    </div>
  </div>
</template>
<script>
@@ -18,4 +26,16 @@
</script>
<!-- Add "scoped" attribute to limit CSS to this component only -->
<style lang="scss" scoped></style>
<style lang="scss" scoped>
.productRegisterForm-container {
  .filter-card {
    margin: 20px 30px;
    height: 80px;
    display: flex;
    align-items: center;
    padding: 0 20px 0 20px;
    border-radius: 12px;
    background-color: #fff;
  }
}
</style>