|  |  |  | 
|---|
|  |  |  | <div v-if="withFooter" class="window__footer"> | 
|---|
|  |  |  | <slot name="footer"> | 
|---|
|  |  |  | <el-button @click="confirm" :loading="confirmWorking" type="primary">{{text}}</el-button> | 
|---|
|  |  |  | <el-button @click="close">返回</el-button> | 
|---|
|  |  |  | <el-button @click="close">{{goText}}</el-button> | 
|---|
|  |  |  | </slot> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </el-drawer> | 
|---|
|  |  |  | 
|---|
|  |  |  | text: { | 
|---|
|  |  |  | type: String, | 
|---|
|  |  |  | default: '确定' | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | goText: { | 
|---|
|  |  |  | 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; | 
|---|