| | |
| | | </div> |
| | | <div v-if="withFooter" class="window__footer"> |
| | | <slot name="footer"> |
| | | <el-button @click="confirm" :loading="confirmWorking" type="primary">确定</el-button> |
| | | <el-button @click="confirm" :loading="confirmWorking" type="primary">{{text}}</el-button> |
| | | <el-button @click="close">返回</el-button> |
| | | </slot> |
| | | </div> |
| | |
| | | withFooter: { |
| | | type: Boolean, |
| | | default: true |
| | | }, |
| | | // 提交按钮文字 |
| | | text: { |
| | | type: String, |
| | | default: '确定' |
| | | }, |
| | | // 确认按钮loading状态 |
| | | confirmWorking: { |
| | |
| | | $input-height: 32px; |
| | | .global-window { |
| | | top: 80px !important; |
| | | left: 218px !important; |
| | | left: 250px !important; |
| | | // 头部标题 |
| | | ::v-deep .el-drawer__header { |
| | | padding: 0 10px 0 0; |