|
|
@@ -14,7 +14,7 @@
|
|
|
<div class="main-container">
|
|
|
|
|
|
<!-- API Info Card -->
|
|
|
- <div class="api-info-card neu-raised" *ngIf="!showSuccess && !needLogin">
|
|
|
+ <div class="api-info-card neu-raised" *ngIf="!showSuccess && !needLogin && apigId">
|
|
|
<div class="api-title" *ngIf="!apig">
|
|
|
<span class="skeleton" style="display:inline-block;width:200px;height:24px;"> </span>
|
|
|
</div>
|
|
|
@@ -39,11 +39,25 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
+ <!-- Missing apigId prompt -->
|
|
|
+ <div class="missing-apig-prompt" *ngIf="loggedInUser && !apigId && !needLogin">
|
|
|
+ <div class="prompt-icon">
|
|
|
+ <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
|
+ <circle cx="12" cy="12" r="10"/>
|
|
|
+ <line x1="12" y1="16" x2="12" y2="12"/>
|
|
|
+ <line x1="12" y1="8" x2="12.01" y2="8"/>
|
|
|
+ </svg>
|
|
|
+ </div>
|
|
|
+ <h3>登录成功</h3>
|
|
|
+ <p>请通过包含 <code>apigid</code> 参数的链接访问此页面以进行充值。</p>
|
|
|
+ <p class="example-url">示例:<code>?apigid=xxx</code></p>
|
|
|
+ </div>
|
|
|
+
|
|
|
<!-- Error -->
|
|
|
<div class="error-bar" *ngIf="errorMsg">{{errorMsg}}</div>
|
|
|
|
|
|
<!-- Tier Selection -->
|
|
|
- <ng-container *ngIf="!showSuccess && !needLogin">
|
|
|
+ <ng-container *ngIf="!showSuccess && !needLogin && apigId">
|
|
|
<div class="section-title">选择套餐</div>
|
|
|
<div class="tier-grid" *ngIf="!apig || !apig.priceStep">
|
|
|
<div class="tier-card neu-raised skeleton" style="height:100px;"></div>
|