UNPKG

@wjya/ngx-webapp-icpc.group.pms

Version:

angular webapp : icpc.group.pms

36 lines 2.28 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var core_1 = require("@angular/core"); var ApplyingComponent = /** @class */ (function () { function ApplyingComponent() { } ApplyingComponent.prototype.ngOnInit = function () { if (this.status.auditStatus === 'WAIT') { this.imgUrl = './assets/images/u2568.png'; this.result = '城市合伙人正在审核中...'; this.showTip = true; } else if (this.status.auditStatus === 'FAIL') { this.imgUrl = './assets/images/u2569.png'; this.result = '城市合伙人申请失败'; this.showTip = false; } }; ApplyingComponent.decorators = [ { type: core_1.Component, args: [{ selector: 'zx-applying', template: "<div class=\"main\"><img [src]=\"imgUrl\" alt=\"\u57CE\u5E02\u5408\u4F19\u4EBA\u6B63\u5728\u5BA1\u6838\u4E2D\" style=\"width: 100%;\"><p>{{result}}</p><div class=\"tip\" *ngIf=\"showTip\">\u7533\u8BF7\u63D0\u4EA4\u540E1-3\u4E2A\u5DE5\u4F5C\u65E5\u5185\uFF0C\u6211\u4EEC\u7684\u5E02\u573A\u4EBA\u5458\u4F1A\u7535\u8BDD\u8054\u7CFB\u4F60\u586B\u5199\u7684\u8054\u7CFB\u7535\u8BDD\u8FDB\u884C\u5BA1\u6838\uFF0C\u8BF7\u4FDD\u6301\u7535\u8BDD\u901A\u7545\u3002</div></div>", styles: [ "\n :host .main {\n text-align: center;\n width: 480px;\n margin: 0 auto;\n display: flex;\n height: calc(100vh - 174px);\n flex-direction: column;\n justify-content: center;\n padding-top: 12px;\n }\n :host .main > p{\n font-size: 32px;\n font-weight: bold;\n margin: 20px 0;\n }\n :host .main > .tip{\n color:#999;\n }\n " ] },] }, ]; /** @nocollapse */ ApplyingComponent.ctorParameters = function () { return []; }; ApplyingComponent.propDecorators = { "status": [{ type: core_1.Input },], }; return ApplyingComponent; }()); exports.ApplyingComponent = ApplyingComponent; //# sourceMappingURL=applying.component.js.map