feat: change web icon (#2042)

Co-authored-by: john <john@server31.io>
This commit is contained in:
copusDev 2025-07-30 17:31:56 +08:00 committed by GitHub
parent b8b71bb961
commit bd752550a8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -201,13 +201,15 @@ export class CopusShareDialog extends ComfyDialog {
});
this.LockInput = $el("input", {
type: "text",
placeholder: "",
placeholder: "0",
style: {
width: "100px",
padding: "7px",
paddingLeft: "30px",
borderRadius: "4px",
border: "1px solid #ddd",
boxSizing: "border-box",
position: "relative",
},
oninput: (event) => {
let input = event.target.value;
@ -375,7 +377,7 @@ export class CopusShareDialog extends ComfyDialog {
});
const blockChainSection_lock = $el("div", { style: sectionStyle }, [
$el("label", { style: labelStyle }, ["6Pay to download"]),
$el("label", { style: labelStyle }, ["6Download threshold"]),
$el(
"label",
{
@ -395,6 +397,7 @@ export class CopusShareDialog extends ComfyDialog {
marginLeft: "5px",
display: "flex",
alignItems: "center",
position: "relative",
},
},
[
@ -408,8 +411,18 @@ export class CopusShareDialog extends ComfyDialog {
color: "#fff",
},
},
["Price US$"]
["Unlock with"]
),
$el("img", {
style: {
width: "16px",
height: "16px",
position: "absolute",
right: "75px",
zIndex: "100",
},
src: "https://static.copus.io/images/admin/202507/prod/e2919a1d8f3c2d99d3b8fe27ff94b841.png",
}),
this.LockInput,
]
),
@ -429,9 +442,7 @@ export class CopusShareDialog extends ComfyDialog {
alignItems: "center",
},
},
[
$el("span", { style: { marginLeft: "5px" } }, ["OFF"]),
]
[$el("span", { style: { marginLeft: "5px" } }, ["OFF"])]
),
]
),
@ -440,7 +451,6 @@ export class CopusShareDialog extends ComfyDialog {
"p",
{ style: { fontSize: "16px", color: "#fff", margin: "10px 0 0 0" } },
[
"Get paid from your workflow. You can change the price and withdraw your earnings on Copus.",
]
),
]);