edit
This commit is contained in:
@ -15,9 +15,13 @@
|
||||
}
|
||||
|
||||
|
||||
@media (min-width: 1200px) {
|
||||
@media (min-width: 990px) {
|
||||
.expend-options {
|
||||
margin-top: -40px;
|
||||
max-width : 400px;
|
||||
position : absolute;
|
||||
right : 0;
|
||||
bottom : 30px;
|
||||
}
|
||||
|
||||
}
|
||||
@ -11,7 +11,7 @@ import { UsermanageService } from '../../../services/usercenter.service';
|
||||
})
|
||||
export class FreightComponentsUserComponent implements OnInit {
|
||||
_$expand = false;
|
||||
ui: SFUISchema = { '*': { spanLabelFixed: 120, grid: { span: 8, gutter: 4 }, enter: () => this.st.load() } };
|
||||
ui: SFUISchema = { '*': { spanLabelFixed: 120, grid: {lg: 8, md: 12, sm: 12, xs: 24 }, enter: () => this.st.load() } };
|
||||
schema: SFSchema = this.initSF();
|
||||
columns: STColumn[] = this.initST();
|
||||
@ViewChild('st', { static: false }) st!: STComponent;
|
||||
@ -108,7 +108,7 @@ export class FreightComponentsUserComponent implements OnInit {
|
||||
this._$expand = false;
|
||||
}
|
||||
|
||||
initSF(): SFSchema {
|
||||
private initSF(): SFSchema {
|
||||
return {
|
||||
properties: {
|
||||
expand: {
|
||||
@ -186,7 +186,7 @@ export class FreightComponentsUserComponent implements OnInit {
|
||||
};
|
||||
}
|
||||
|
||||
initST(): STColumn[] {
|
||||
private initST(): STColumn[] {
|
||||
return [
|
||||
{ title: '用户姓名', className: 'text-center', index: 'name' },
|
||||
{ title: '手机号', className: 'text-center', index: 'telephone' },
|
||||
|
||||
Reference in New Issue
Block a user