feat(paypal-flow): 添加邮箱输入框重填功能

This commit is contained in:
QLHazyCoder
2026-04-28 15:31:59 +08:00
parent 87fc333848
commit 2d1bad3642
7 changed files with 262 additions and 18 deletions
+1 -1
View File
@@ -219,7 +219,7 @@
<option value="711proxy">711Proxy(首版)</option>
</select>
<button id="btn-ip-proxy-service-login" class="btn btn-outline btn-sm data-inline-btn" type="button">
登录
注册
</button>
</div>
</div>
+4 -3
View File
@@ -748,7 +748,7 @@ const IP_PROXY_SERVICE_LOGIN_CONFIGS = {
'711proxy': {
label: '711Proxy',
url: 'https://www.711proxy.com/signup?code=AD2497',
buttonLabel: '登录',
buttonLabel: '注册',
},
};
@@ -3844,9 +3844,10 @@ function updateIpProxyServiceLoginButtonState(options = {}) {
? Boolean(options.enabled)
: Boolean(getSelectedIpProxyEnabled());
btnIpProxyServiceLogin.disabled = !enabled || !loginUrl;
btnIpProxyServiceLogin.textContent = loginConfig?.buttonLabel || '登录';
const buttonLabel = loginConfig?.buttonLabel || '登录';
btnIpProxyServiceLogin.textContent = buttonLabel;
btnIpProxyServiceLogin.title = loginUrl
? `打开 ${loginConfig?.label || service} 登录`
? `打开 ${loginConfig?.label || service} ${buttonLabel}`
: '当前代理服务没有可跳转的登录页';
}