From 71173a58ca6d4f50255074b2e752cc382d0db3d5 Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期四, 29 二月 2024 15:36:00 +0800 Subject: [PATCH] 产量登记表公共搜索组件使用 --- src/views/productManage/productRegisterForm/index.vue | 24 ++++++++++++++++++++++-- 1 files changed, 22 insertions(+), 2 deletions(-) diff --git a/src/views/productManage/productRegisterForm/index.vue b/src/views/productManage/productRegisterForm/index.vue index 98d35f9..db864a0 100644 --- a/src/views/productManage/productRegisterForm/index.vue +++ b/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> -- Gitblit v1.8.0