我有一个对话框,你可以在这里看到:
<template >
<ux-dialog >
<ux-dialog-body>
<div t="logbook.delete-logs">Möchten Sie alle Logbücher löschen?</div>
</ux-dialog-body>
<ux-dialog-footer>
<button attach-focus="true" click.trigger="controller.cancel()" t="logbook.cancel">Abbrechen</button>
<button click.trigger="controller.ok()" t="logbook.ok">Ok</button>
</ux-dialog-footer>
</ux-dialog>
</template>
和相关的视图模型:
import { inject } from 'aurelia-dependency-injection'
import { DialogController } from 'aurelia-dialog'
@inject(DialogController)
export class DeleteLogbook {
public controller: DialogController
constructor (controller: DialogController) {
this.controller = controller
}
}
我想改变对话框边框的颜色。我想为此目的使用 Aurelia 概念。你能告诉我解决方案吗?