Commit 0ab28fe7 authored by 张伯涛's avatar 张伯涛

样式调整

parent 16f88e90
<template> <template>
<div class="outbound_module"> <div class="outbound_module">
<div class="button_row"> <div class="content">
<el-button type="primary" @click="handleOpenScan">扫码</el-button> <div class="button_row">
<el-button type="primary">入库</el-button> <el-button class="button_rowBtn" type="primary" @click="handleOpenScan">扫码</el-button>
</div>
<div class="formBody">
<el-form ref="form" :model="form" :rules="rules" label-width="auto" label-position="top">
<el-form-item label="扫码结果" prop="scanCode" class="outbound_formItem">
<el-input v-model="form.scanCode" show-word-limit placeholder="请扫码" />
</el-form-item>
</el-form>
</div>
<div class="button_row">
<el-button class="button_rowBtn" type="primary">入库</el-button>
</div>
</div> </div>
<el-form ref="form" :model="form" :rules="rules" label-width="auto" label-position="top">
<el-form-item label="扫码结果" prop="scanCode" style="width: 200px">
<el-input v-model="form.scanCode" show-word-limit placeholder="请扫码" />
</el-form-item>
</el-form>
</div> </div>
</template> </template>
...@@ -49,8 +55,25 @@ export default { ...@@ -49,8 +55,25 @@ export default {
<style scoped lang="scss"> <style scoped lang="scss">
.outbound_module{ .outbound_module{
padding: 20px; padding: 20px;
.content{
text-align: center;
}
.formBody{
display: flex;
justify-content: center;
}
.button_row{ .button_row{
margin: 20px 0 20px 0; margin: 20px 0 20px 0;
.button_rowBtn{
font-size: 17px;
width: 160px;
}
}
.outbound_formItem{
width: 200px;
::v-deep .el-input__inner{
height: 40px;
}
} }
.outbound_form{ .outbound_form{
width: 300px; width: 300px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment