1426 lines
92 KiB
C
1426 lines
92 KiB
C
// 由 gen_skins_v4.py 生成,不要手改
|
|
#pragma once
|
|
|
|
static const char *kSkin_dark = R"SKIN(<?xml version="1.0" encoding="utf-8"?>
|
|
<Window size="470,436" caption="0,0,-1,44" mininfo="470,380" bkcolor="#FF141418">
|
|
<VerticalLayout bkcolor="#FF141418" bordercolor="#FF32323A" bordersize="1">
|
|
<HorizontalLayout height="44" bkcolor="#FF1D1D24">
|
|
<Label name="lblTitle" text="软件授权验证" textcolor="#FFF0F0F4" font="1" width="260" textpadding="20,0,0,0" />
|
|
<Control />
|
|
<Button name="btnClose" text="X" width="40" height="44" textcolor="#FF9A9AA6" bkcolor="#FF1D1D24" hotbkcolor="#33FFFFFF" pushedbkcolor="#55FFFFFF" />
|
|
</HorizontalLayout>
|
|
<HorizontalLayout height="44" inset="20,0,20,0">
|
|
<VerticalLayout width="84">
|
|
<Button name="tabLogin" text="登录" height="42" bkcolor="#00000000" textcolor="#FF4EA3E8" font="1" />
|
|
<Control height="2" bkcolor="#FF4EA3E8" />
|
|
</VerticalLayout>
|
|
<VerticalLayout width="84">
|
|
<Button name="tabRegister" text="注册" height="42" bkcolor="#00000000" textcolor="#FF9A9AA6" />
|
|
<Control name="lineRegister" height="2" bkcolor="#00000000" />
|
|
</VerticalLayout>
|
|
<VerticalLayout width="84">
|
|
<Button name="tabCard" text="卡密充值" height="42" bkcolor="#00000000" textcolor="#FF9A9AA6" />
|
|
<Control name="lineCard" height="2" bkcolor="#00000000" />
|
|
</VerticalLayout>
|
|
<VerticalLayout width="84">
|
|
<Button name="tabReset" text="忘记密码" height="42" bkcolor="#00000000" textcolor="#FF9A9AA6" />
|
|
<Control name="lineReset" height="2" bkcolor="#00000000" />
|
|
</VerticalLayout>
|
|
<Control />
|
|
</HorizontalLayout>
|
|
<VerticalLayout inset="24,14,24,16">
|
|
<Label name="lblApp" text="演示程序" textcolor="#FF4EA3E8" height="30" font="2" />
|
|
<Control height="8" />
|
|
<VerticalLayout name="panelLogin" height="248">
|
|
<Label name="lblUser" text="账号或卡密" textcolor="#FFB4B4BE" height="18" />
|
|
<Edit name="editUser" height="40" bkcolor="#FF2A2A33" nativebkcolor="#FF2A2A33" textcolor="#FFF4F4F8" bordercolor="#FF474755" inset="10,0,0,0" />
|
|
<Control height="12" />
|
|
<Label name="lblPass" text="密码" textcolor="#FFB4B4BE" height="18" />
|
|
<Edit name="editPass" height="40" bkcolor="#FF2A2A33" nativebkcolor="#FF2A2A33" textcolor="#FFF4F4F8" bordercolor="#FF474755" inset="10,0,0,0" password="true" />
|
|
<Control height="12" />
|
|
<HorizontalLayout name="rowRemember" height="22">
|
|
<Button name="btnRemember" text="[ ] 记住账号" textcolor="#FFB4B4BE" bkcolor="#00000000" width="104" height="22" />
|
|
</HorizontalLayout>
|
|
<Control height="14" />
|
|
<Button name="btnLogin" text="登录" height="44" bkcolor="#FF146FB8" textcolor="#FFFFFFFF" font="1" />
|
|
<Label name="lblTip" text="" textcolor="#FFE08A8A" height="22" margin="0,8,0,0" />
|
|
</VerticalLayout>
|
|
|
|
<VerticalLayout name="panelRegister" height="404" visible="false">
|
|
<Label text="用户名" textcolor="#FFB4B4BE" height="18" />
|
|
<Edit name="regUser" height="38" bkcolor="#FF2A2A33" nativebkcolor="#FF2A2A33" textcolor="#FFF4F4F8" bordercolor="#FF474755" inset="10,0,0,0" />
|
|
<Control height="10" />
|
|
<Label text="邮箱" textcolor="#FFB4B4BE" height="18" />
|
|
<HorizontalLayout height="38">
|
|
<Edit name="regEmail" bkcolor="#FF2A2A33" nativebkcolor="#FF2A2A33" textcolor="#FFF4F4F8" bordercolor="#FF474755" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="btnSendCode" text="发送验证码" width="104" height="38" bkcolor="#FF2F6E4E" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="10" />
|
|
<Label name="lblRegCode" text="邮箱验证码" textcolor="#FFB4B4BE" height="18" />
|
|
<Edit name="regCode" height="38" bkcolor="#FF2A2A33" nativebkcolor="#FF2A2A33" textcolor="#FFF4F4F8" bordercolor="#FF474755" inset="10,0,0,0" />
|
|
<Control height="10" />
|
|
<Label text="密码" textcolor="#FFB4B4BE" height="18" />
|
|
<Edit name="regPass" height="38" bkcolor="#FF2A2A33" nativebkcolor="#FF2A2A33" textcolor="#FFF4F4F8" bordercolor="#FF474755" inset="10,0,0,0" password="true" />
|
|
<Control height="10" />
|
|
<Label text="确认密码" textcolor="#FFB4B4BE" height="18" />
|
|
<Edit name="regPass2" height="38" bkcolor="#FF2A2A33" nativebkcolor="#FF2A2A33" textcolor="#FFF4F4F8" bordercolor="#FF474755" inset="10,0,0,0" password="true" />
|
|
<Control height="14" />
|
|
<Button name="btnRegister" text="注册并登录" height="44" bkcolor="#FF146FB8" textcolor="#FFFFFFFF" font="1" />
|
|
<Label name="regTip" text="" textcolor="#FFE08A8A" height="22" margin="0,8,0,0" />
|
|
</VerticalLayout>
|
|
|
|
<VerticalLayout name="panelCard" height="250" visible="false">
|
|
<Label text="用户名" textcolor="#FFB4B4BE" height="18" />
|
|
<Edit name="cardUser" height="40" bkcolor="#FF2A2A33" nativebkcolor="#FF2A2A33" textcolor="#FFF4F4F8" bordercolor="#FF474755" inset="10,0,0,0" />
|
|
<Control height="12" />
|
|
<Label text="卡密" textcolor="#FFB4B4BE" height="18" />
|
|
<Edit name="cardKey" height="40" bkcolor="#FF2A2A33" nativebkcolor="#FF2A2A33" textcolor="#FFF4F4F8" bordercolor="#FF474755" inset="10,0,0,0" />
|
|
<Control height="10" />
|
|
<Label text="卡密充入该账号余额,充值后请用账号密码登录" textcolor="#FFB4B4BE" height="18" />
|
|
<Control height="14" />
|
|
<Button name="btnRecharge" text="立即充值" height="44" bkcolor="#FF146FB8" textcolor="#FFFFFFFF" font="1" />
|
|
<Label name="cardTip" text="" textcolor="#FFE08A8A" height="22" margin="0,8,0,0" />
|
|
</VerticalLayout>
|
|
|
|
<VerticalLayout name="panelReset" height="322" visible="false">
|
|
<Label name="lblResetCard" text="卡密" textcolor="#FFB4B4BE" height="18" visible="false" />
|
|
<Edit name="resetCardKey" height="40" bkcolor="#FF2A2A33" nativebkcolor="#FF2A2A33" textcolor="#FFF4F4F8" bordercolor="#FF474755" inset="10,0,0,0" visible="false" />
|
|
<Control name="spResetCard" height="12" visible="false" />
|
|
<Label text="邮箱" textcolor="#FFB4B4BE" height="18" />
|
|
<HorizontalLayout height="40">
|
|
<Edit name="resetEmail" bkcolor="#FF2A2A33" nativebkcolor="#FF2A2A33" textcolor="#FFF4F4F8" bordercolor="#FF474755" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="btnSendCode2" text="发送验证码" width="104" height="40" bkcolor="#FF2F6E4E" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="12" />
|
|
<Label text="邮箱验证码" textcolor="#FFB4B4BE" height="18" />
|
|
<Edit name="resetCode" height="40" bkcolor="#FF2A2A33" nativebkcolor="#FF2A2A33" textcolor="#FFF4F4F8" bordercolor="#FF474755" inset="10,0,0,0" />
|
|
<Control height="12" />
|
|
<Label text="新密码" textcolor="#FFB4B4BE" height="18" />
|
|
<Edit name="resetPass" height="40" bkcolor="#FF2A2A33" nativebkcolor="#FF2A2A33" textcolor="#FFF4F4F8" bordercolor="#FF474755" inset="10,0,0,0" password="true" />
|
|
<Control height="14" />
|
|
<Button name="btnReset" text="重置密码" height="44" bkcolor="#FF146FB8" textcolor="#FFFFFFFF" font="1" />
|
|
<Label name="resetTip" text="" textcolor="#FFE08A8A" height="22" margin="0,8,0,0" />
|
|
</VerticalLayout>
|
|
|
|
<VerticalLayout name="panelNotice" height="322" visible="false">
|
|
<Label text="公 告" textcolor="#FF146FB8" font="1" height="30" />
|
|
<Label name="noticeTitle" text="" textcolor="#FFF4F4F8" height="26" />
|
|
<Control height="6" />
|
|
<Label name="noticeBody" text="" textcolor="#FFB4B4BE" height="150" multiline="true" endellipsis="true" />
|
|
<HorizontalLayout height="34">
|
|
<Button name="btnNoticePrev" text="上一条" width="86" height="32" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" />
|
|
<Control width="8" />
|
|
<Button name="btnNoticeNext" text="下一条" width="86" height="32" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" />
|
|
<Control />
|
|
<Label name="noticeIdx" text="" textcolor="#FF5C5C68" width="54" />
|
|
</HorizontalLayout>
|
|
<Control height="12" />
|
|
<Button name="btnNoticeOk" text="我知道了" height="44" bkcolor="#FF146FB8" textcolor="#FFFFFFFF" font="1" />
|
|
</VerticalLayout>
|
|
<VerticalLayout name="panelUpdate" height="300" visible="false">
|
|
<Label text="版本更新" textcolor="#FF146FB8" font="1" height="28" />
|
|
<Label name="updTitle" text="" textcolor="#FFF4F4F8" height="26" />
|
|
<Control height="6" />
|
|
<Label name="updNotes" text="" textcolor="#FFB4B4BE" height="130" multiline="true" endellipsis="true" />
|
|
<Label name="updTip" text="" textcolor="#FF5C5C68" height="24" />
|
|
<HorizontalLayout height="44">
|
|
<Button name="btnUpdLater" text="稍后提醒" width="112" height="44" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" />
|
|
<Control width="10" />
|
|
<Button name="btnUpdate" text="立即更新" height="44" bkcolor="#FF146FB8" textcolor="#FFFFFFFF" font="1" />
|
|
</HorizontalLayout>
|
|
</VerticalLayout>
|
|
<VerticalLayout name="panelDevice" height="-1" visible="false">
|
|
<Label name="devHead" text="设备数量已满" textcolor="#FF146FB8" font="1" height="28" />
|
|
<Label name="devTitle" text="" textcolor="#FFF4F4F8" height="24" />
|
|
<Control height="6" />
|
|
<Label name="lblDevCard" text="卡密" textcolor="#FFB4B4BE" height="18" visible="false" />
|
|
<Edit name="devCardKey" height="36" bkcolor="#FF2A2A33" nativebkcolor="#FF2A2A33" textcolor="#FFF4F4F8" bordercolor="#FF474755" inset="10,0,0,0" visible="false" />
|
|
<Control name="spDevCard" height="6" visible="false" />
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox0" height="40">
|
|
<Button name="devRow0" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind0" text="解绑" width="84" height="40" bkcolor="#FF146FB8" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox1" height="40">
|
|
<Button name="devRow1" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind1" text="解绑" width="84" height="40" bkcolor="#FF146FB8" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox2" height="40">
|
|
<Button name="devRow2" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind2" text="解绑" width="84" height="40" bkcolor="#FF146FB8" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox3" height="40">
|
|
<Button name="devRow3" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind3" text="解绑" width="84" height="40" bkcolor="#FF146FB8" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox4" height="40">
|
|
<Button name="devRow4" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind4" text="解绑" width="84" height="40" bkcolor="#FF146FB8" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox5" height="40">
|
|
<Button name="devRow5" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind5" text="解绑" width="84" height="40" bkcolor="#FF146FB8" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox6" height="40">
|
|
<Button name="devRow6" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind6" text="解绑" width="84" height="40" bkcolor="#FF146FB8" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox7" height="40">
|
|
<Button name="devRow7" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind7" text="解绑" width="84" height="40" bkcolor="#FF146FB8" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<Control height="6" />
|
|
<Label visible="false" text="输入要解绑的设备序号" textcolor="#FF5C5C68" height="18" />
|
|
<Edit visible="false" name="devIdx" height="36" bkcolor="#FF2A2A33" nativebkcolor="#FF2A2A33" textcolor="#FFF4F4F8" bordercolor="#FF474755" inset="10,0,0,0" />
|
|
<Label name="devTip" text="" textcolor="#FF5C5C68" height="22" />
|
|
<HorizontalLayout height="44">
|
|
<Button visible="false" name="btnUnbind" text="解绑该设备" width="118" height="44" bkcolor="#FF146FB8" textcolor="#FFFFFFFF" font="1" />
|
|
<Control width="8" />
|
|
<Button name="btnUnbindOld" text="解绑最早一台" width="118" height="44" bkcolor="#FF146FB8" textcolor="#FFFFFFFF" />
|
|
<Control width="8" />
|
|
<Button name="btnRetryLogin" text="重试" width="72" height="44" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" />
|
|
<Control width="8" />
|
|
<Button name="btnBack" text="返回" width="72" height="44" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" />
|
|
</HorizontalLayout>
|
|
</VerticalLayout>
|
|
|
|
<Label name="lblDevice" text="设备" textcolor="#FF5C5C68" height="18" margin="0,6,0,0" />
|
|
|
|
</VerticalLayout>
|
|
</VerticalLayout>
|
|
</Window>)SKIN";
|
|
|
|
static const char *kSkin_light = R"SKIN(<?xml version="1.0" encoding="utf-8"?>
|
|
<Window size="470,436" caption="0,0,-1,44" mininfo="470,380" bkcolor="#FFFAFAFC">
|
|
<VerticalLayout bkcolor="#FFFAFAFC" bordercolor="#FFDCDCE3" bordersize="1">
|
|
<HorizontalLayout height="44" bkcolor="#FFFFFFFF">
|
|
<Label name="lblTitle" text="软件授权验证" textcolor="#FF1F1F24" font="1" width="260" textpadding="20,0,0,0" />
|
|
<Control />
|
|
<Button name="btnClose" text="X" width="40" height="44" textcolor="#FF6B6B75" bkcolor="#FFFFFFFF" hotbkcolor="#14000000" pushedbkcolor="#22000000" />
|
|
</HorizontalLayout>
|
|
<HorizontalLayout height="12" />
|
|
<HorizontalLayout height="38" inset="24,0,24,0">
|
|
<Button name="tabLogin" text="登录" height="38" bkcolor="#FF1B6FD6" textcolor="#FFFFFFFF" font="1" />
|
|
<Control width="6" />
|
|
<Button name="tabRegister" text="注册" height="38" bkcolor="#FFEBEFF6" textcolor="#FF5B6270" />
|
|
<Control width="6" />
|
|
<Button name="tabCard" text="卡密充值" height="38" bkcolor="#FFEBEFF6" textcolor="#FF5B6270" />
|
|
<Control width="6" />
|
|
<Button name="tabReset" text="忘记密码" height="38" bkcolor="#FFEBEFF6" textcolor="#FF5B6270" />
|
|
</HorizontalLayout>
|
|
<VerticalLayout inset="24,16,24,16">
|
|
<Label name="lblApp" text="演示程序" textcolor="#FF1B6FD6" height="30" font="2" />
|
|
<Control height="8" />
|
|
<VerticalLayout name="panelLogin" height="248">
|
|
<Label name="lblUser" text="账号或卡密" textcolor="#FF4B5563" height="18" />
|
|
<Edit name="editUser" height="40" bkcolor="#FFF1F3F7" nativebkcolor="#FFF1F3F7" textcolor="#FF1F2430" bordercolor="#FFC3CBD8" inset="10,0,0,0" />
|
|
<Control height="12" />
|
|
<Label name="lblPass" text="密码" textcolor="#FF4B5563" height="18" />
|
|
<Edit name="editPass" height="40" bkcolor="#FFF1F3F7" nativebkcolor="#FFF1F3F7" textcolor="#FF1F2430" bordercolor="#FFC3CBD8" inset="10,0,0,0" password="true" />
|
|
<Control height="12" />
|
|
<HorizontalLayout name="rowRemember" height="22">
|
|
<Button name="btnRemember" text="[ ] 记住账号" textcolor="#FF4B5563" bkcolor="#00000000" width="104" height="22" />
|
|
</HorizontalLayout>
|
|
<Control height="14" />
|
|
<Button name="btnLogin" text="登录" height="44" bkcolor="#FF1B6FD6" textcolor="#FFFFFFFF" font="1" />
|
|
<Label name="lblTip" text="" textcolor="#FFE08A8A" height="22" margin="0,8,0,0" />
|
|
</VerticalLayout>
|
|
|
|
<VerticalLayout name="panelRegister" height="404" visible="false">
|
|
<Label text="用户名" textcolor="#FF4B5563" height="18" />
|
|
<Edit name="regUser" height="38" bkcolor="#FFF1F3F7" nativebkcolor="#FFF1F3F7" textcolor="#FF1F2430" bordercolor="#FFC3CBD8" inset="10,0,0,0" />
|
|
<Control height="10" />
|
|
<Label text="邮箱" textcolor="#FF4B5563" height="18" />
|
|
<HorizontalLayout height="38">
|
|
<Edit name="regEmail" bkcolor="#FFF1F3F7" nativebkcolor="#FFF1F3F7" textcolor="#FF1F2430" bordercolor="#FFC3CBD8" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="btnSendCode" text="发送验证码" width="104" height="38" bkcolor="#FF128A5B" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="10" />
|
|
<Label name="lblRegCode" text="邮箱验证码" textcolor="#FF4B5563" height="18" />
|
|
<Edit name="regCode" height="38" bkcolor="#FFF1F3F7" nativebkcolor="#FFF1F3F7" textcolor="#FF1F2430" bordercolor="#FFC3CBD8" inset="10,0,0,0" />
|
|
<Control height="10" />
|
|
<Label text="密码" textcolor="#FF4B5563" height="18" />
|
|
<Edit name="regPass" height="38" bkcolor="#FFF1F3F7" nativebkcolor="#FFF1F3F7" textcolor="#FF1F2430" bordercolor="#FFC3CBD8" inset="10,0,0,0" password="true" />
|
|
<Control height="10" />
|
|
<Label text="确认密码" textcolor="#FF4B5563" height="18" />
|
|
<Edit name="regPass2" height="38" bkcolor="#FFF1F3F7" nativebkcolor="#FFF1F3F7" textcolor="#FF1F2430" bordercolor="#FFC3CBD8" inset="10,0,0,0" password="true" />
|
|
<Control height="14" />
|
|
<Button name="btnRegister" text="注册并登录" height="44" bkcolor="#FF1B6FD6" textcolor="#FFFFFFFF" font="1" />
|
|
<Label name="regTip" text="" textcolor="#FFE08A8A" height="22" margin="0,8,0,0" />
|
|
</VerticalLayout>
|
|
|
|
<VerticalLayout name="panelCard" height="250" visible="false">
|
|
<Label text="用户名" textcolor="#FF4B5563" height="18" />
|
|
<Edit name="cardUser" height="40" bkcolor="#FFF1F3F7" nativebkcolor="#FFF1F3F7" textcolor="#FF1F2430" bordercolor="#FFC3CBD8" inset="10,0,0,0" />
|
|
<Control height="12" />
|
|
<Label text="卡密" textcolor="#FF4B5563" height="18" />
|
|
<Edit name="cardKey" height="40" bkcolor="#FFF1F3F7" nativebkcolor="#FFF1F3F7" textcolor="#FF1F2430" bordercolor="#FFC3CBD8" inset="10,0,0,0" />
|
|
<Control height="10" />
|
|
<Label text="卡密充入该账号余额,充值后请用账号密码登录" textcolor="#FF4B5563" height="18" />
|
|
<Control height="14" />
|
|
<Button name="btnRecharge" text="立即充值" height="44" bkcolor="#FF1B6FD6" textcolor="#FFFFFFFF" font="1" />
|
|
<Label name="cardTip" text="" textcolor="#FFE08A8A" height="22" margin="0,8,0,0" />
|
|
</VerticalLayout>
|
|
|
|
<VerticalLayout name="panelReset" height="322" visible="false">
|
|
<Label name="lblResetCard" text="卡密" textcolor="#FF4B5563" height="18" visible="false" />
|
|
<Edit name="resetCardKey" height="40" bkcolor="#FFF1F3F7" nativebkcolor="#FFF1F3F7" textcolor="#FF1F2430" bordercolor="#FFC3CBD8" inset="10,0,0,0" visible="false" />
|
|
<Control name="spResetCard" height="12" visible="false" />
|
|
<Label text="邮箱" textcolor="#FF4B5563" height="18" />
|
|
<HorizontalLayout height="40">
|
|
<Edit name="resetEmail" bkcolor="#FFF1F3F7" nativebkcolor="#FFF1F3F7" textcolor="#FF1F2430" bordercolor="#FFC3CBD8" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="btnSendCode2" text="发送验证码" width="104" height="40" bkcolor="#FF128A5B" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="12" />
|
|
<Label text="邮箱验证码" textcolor="#FF4B5563" height="18" />
|
|
<Edit name="resetCode" height="40" bkcolor="#FFF1F3F7" nativebkcolor="#FFF1F3F7" textcolor="#FF1F2430" bordercolor="#FFC3CBD8" inset="10,0,0,0" />
|
|
<Control height="12" />
|
|
<Label text="新密码" textcolor="#FF4B5563" height="18" />
|
|
<Edit name="resetPass" height="40" bkcolor="#FFF1F3F7" nativebkcolor="#FFF1F3F7" textcolor="#FF1F2430" bordercolor="#FFC3CBD8" inset="10,0,0,0" password="true" />
|
|
<Control height="14" />
|
|
<Button name="btnReset" text="重置密码" height="44" bkcolor="#FF1B6FD6" textcolor="#FFFFFFFF" font="1" />
|
|
<Label name="resetTip" text="" textcolor="#FFE08A8A" height="22" margin="0,8,0,0" />
|
|
</VerticalLayout>
|
|
|
|
<VerticalLayout name="panelNotice" height="322" visible="false">
|
|
<Label text="公 告" textcolor="#FF1B6FD6" font="1" height="30" />
|
|
<Label name="noticeTitle" text="" textcolor="#FF1F2430" height="26" />
|
|
<Control height="6" />
|
|
<Label name="noticeBody" text="" textcolor="#FF4B5563" height="150" multiline="true" endellipsis="true" />
|
|
<HorizontalLayout height="34">
|
|
<Button name="btnNoticePrev" text="上一条" width="86" height="32" bkcolor="#FFF1F3F7" textcolor="#FF1F2430" />
|
|
<Control width="8" />
|
|
<Button name="btnNoticeNext" text="下一条" width="86" height="32" bkcolor="#FFF1F3F7" textcolor="#FF1F2430" />
|
|
<Control />
|
|
<Label name="noticeIdx" text="" textcolor="#FF8A8F99" width="54" />
|
|
</HorizontalLayout>
|
|
<Control height="12" />
|
|
<Button name="btnNoticeOk" text="我知道了" height="44" bkcolor="#FF1B6FD6" textcolor="#FFFFFFFF" font="1" />
|
|
</VerticalLayout>
|
|
<VerticalLayout name="panelUpdate" height="300" visible="false">
|
|
<Label text="版本更新" textcolor="#FF1B6FD6" font="1" height="28" />
|
|
<Label name="updTitle" text="" textcolor="#FF1F2430" height="26" />
|
|
<Control height="6" />
|
|
<Label name="updNotes" text="" textcolor="#FF4B5563" height="130" multiline="true" endellipsis="true" />
|
|
<Label name="updTip" text="" textcolor="#FF8A8F99" height="24" />
|
|
<HorizontalLayout height="44">
|
|
<Button name="btnUpdLater" text="稍后提醒" width="112" height="44" bkcolor="#FFF1F3F7" textcolor="#FF1F2430" />
|
|
<Control width="10" />
|
|
<Button name="btnUpdate" text="立即更新" height="44" bkcolor="#FF1B6FD6" textcolor="#FFFFFFFF" font="1" />
|
|
</HorizontalLayout>
|
|
</VerticalLayout>
|
|
<VerticalLayout name="panelDevice" height="-1" visible="false">
|
|
<Label name="devHead" text="设备数量已满" textcolor="#FF1B6FD6" font="1" height="28" />
|
|
<Label name="devTitle" text="" textcolor="#FF1F2430" height="24" />
|
|
<Control height="6" />
|
|
<Label name="lblDevCard" text="卡密" textcolor="#FF4B5563" height="18" visible="false" />
|
|
<Edit name="devCardKey" height="36" bkcolor="#FFF1F3F7" nativebkcolor="#FFF1F3F7" textcolor="#FF1F2430" bordercolor="#FFC3CBD8" inset="10,0,0,0" visible="false" />
|
|
<Control name="spDevCard" height="6" visible="false" />
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox0" height="40">
|
|
<Button name="devRow0" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind0" text="解绑" width="84" height="40" bkcolor="#FF1B6FD6" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox1" height="40">
|
|
<Button name="devRow1" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind1" text="解绑" width="84" height="40" bkcolor="#FF1B6FD6" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox2" height="40">
|
|
<Button name="devRow2" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind2" text="解绑" width="84" height="40" bkcolor="#FF1B6FD6" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox3" height="40">
|
|
<Button name="devRow3" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind3" text="解绑" width="84" height="40" bkcolor="#FF1B6FD6" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox4" height="40">
|
|
<Button name="devRow4" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind4" text="解绑" width="84" height="40" bkcolor="#FF1B6FD6" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox5" height="40">
|
|
<Button name="devRow5" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind5" text="解绑" width="84" height="40" bkcolor="#FF1B6FD6" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox6" height="40">
|
|
<Button name="devRow6" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind6" text="解绑" width="84" height="40" bkcolor="#FF1B6FD6" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox7" height="40">
|
|
<Button name="devRow7" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind7" text="解绑" width="84" height="40" bkcolor="#FF1B6FD6" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<Control height="6" />
|
|
<Label visible="false" text="输入要解绑的设备序号" textcolor="#FF8A8F99" height="18" />
|
|
<Edit visible="false" name="devIdx" height="36" bkcolor="#FFF1F3F7" nativebkcolor="#FFF1F3F7" textcolor="#FF1F2430" bordercolor="#FFC3CBD8" inset="10,0,0,0" />
|
|
<Label name="devTip" text="" textcolor="#FF8A8F99" height="22" />
|
|
<HorizontalLayout height="44">
|
|
<Button visible="false" name="btnUnbind" text="解绑该设备" width="118" height="44" bkcolor="#FF1B6FD6" textcolor="#FFFFFFFF" font="1" />
|
|
<Control width="8" />
|
|
<Button name="btnUnbindOld" text="解绑最早一台" width="118" height="44" bkcolor="#FF1B6FD6" textcolor="#FFFFFFFF" />
|
|
<Control width="8" />
|
|
<Button name="btnRetryLogin" text="重试" width="72" height="44" bkcolor="#FFF1F3F7" textcolor="#FF1F2430" />
|
|
<Control width="8" />
|
|
<Button name="btnBack" text="返回" width="72" height="44" bkcolor="#FFF1F3F7" textcolor="#FF1F2430" />
|
|
</HorizontalLayout>
|
|
</VerticalLayout>
|
|
|
|
<Label name="lblDevice" text="设备" textcolor="#FF8A8F99" height="18" margin="0,6,0,0" />
|
|
|
|
</VerticalLayout>
|
|
</VerticalLayout>
|
|
</Window>)SKIN";
|
|
|
|
static const char *kSkin_split = R"SKIN(<?xml version="1.0" encoding="utf-8"?>
|
|
<Window size="680,452" caption="0,0,0,0" mininfo="680,400" bkcolor="#FF12151A">
|
|
<HorizontalLayout bkcolor="#FF12151A" bordercolor="#FF282D35" bordersize="1">
|
|
<VerticalLayout width="196" bkcolor="#FF1A2230">
|
|
<HorizontalLayout height="44" inset="24,0,0,0">
|
|
<Label text="VFY" textcolor="#FF4CC2FF" font="1" width="120" />
|
|
<Control />
|
|
</HorizontalLayout>
|
|
<VerticalLayout inset="24,4,24,0">
|
|
<Label text="软件授权" textcolor="#FFC8D3E0" height="28" font="1" />
|
|
<Label text="SOFTWARE LICENSE" textcolor="#FF63707E" height="20" />
|
|
<Label text="登录后绑定本机设备" textcolor="#FF4C5A68" height="20" margin="0,14,0,0" />
|
|
</VerticalLayout>
|
|
<VerticalLayout />
|
|
<HorizontalLayout height="28" inset="24,0,24,16">
|
|
<Label text="v9 · DuiLib" textcolor="#FF4A5764" />
|
|
</HorizontalLayout>
|
|
</VerticalLayout>
|
|
<VerticalLayout>
|
|
<HorizontalLayout height="44" inset="24,0,16,0">
|
|
<Button name="tabLogin" text="登录" width="72" height="44" bkcolor="#00000000" textcolor="#FF4CC2FF" font="1" />
|
|
<Button name="tabRegister" text="注册" width="72" height="44" bkcolor="#00000000" textcolor="#FF97A5B4" />
|
|
<Button name="tabCard" text="卡密充值" width="92" height="44" bkcolor="#00000000" textcolor="#FF97A5B4" />
|
|
<Button name="tabReset" text="忘记密码" width="92" height="44" bkcolor="#00000000" textcolor="#FF97A5B4" />
|
|
<Button name="btnClose" text="X" width="40" height="44" textcolor="#FF8E9BAA" bkcolor="#FF12151A" hotbkcolor="#22FFFFFF" />
|
|
</HorizontalLayout>
|
|
<VerticalLayout inset="24,4,24,14">
|
|
<Label name="lblApp" text="演示程序" textcolor="#FFF6FAFF" height="30" font="2" />
|
|
<Control height="8" />
|
|
<VerticalLayout name="panelLogin" height="248">
|
|
<Label name="lblUser" text="账号或卡密" textcolor="#FF8794A3" height="18" />
|
|
<Edit name="editUser" height="40" bkcolor="#FF1A1F27" nativebkcolor="#FF1A1F27" textcolor="#FFF2F6FA" bordercolor="#FF2E343D" inset="10,0,0,0" />
|
|
<Control height="12" />
|
|
<Label name="lblPass" text="密码" textcolor="#FF8794A3" height="18" />
|
|
<Edit name="editPass" height="40" bkcolor="#FF1A1F27" nativebkcolor="#FF1A1F27" textcolor="#FFF2F6FA" bordercolor="#FF2E343D" inset="10,0,0,0" password="true" />
|
|
<Control height="12" />
|
|
<HorizontalLayout name="rowRemember" height="22">
|
|
<Button name="btnRemember" text="[ ] 记住账号" textcolor="#FF8794A3" bkcolor="#00000000" width="104" height="22" />
|
|
</HorizontalLayout>
|
|
<Control height="14" />
|
|
<Button name="btnLogin" text="登录" height="44" bkcolor="#FF2C7BE5" textcolor="#FFFFFFFF" font="1" />
|
|
<Label name="lblTip" text="" textcolor="#FFE08A8A" height="22" margin="0,8,0,0" />
|
|
</VerticalLayout>
|
|
|
|
<VerticalLayout name="panelRegister" height="404" visible="false">
|
|
<Label text="用户名" textcolor="#FF8794A3" height="18" />
|
|
<Edit name="regUser" height="38" bkcolor="#FF1A1F27" nativebkcolor="#FF1A1F27" textcolor="#FFF2F6FA" bordercolor="#FF2E343D" inset="10,0,0,0" />
|
|
<Control height="10" />
|
|
<Label text="邮箱" textcolor="#FF8794A3" height="18" />
|
|
<HorizontalLayout height="38">
|
|
<Edit name="regEmail" bkcolor="#FF1A1F27" nativebkcolor="#FF1A1F27" textcolor="#FFF2F6FA" bordercolor="#FF2E343D" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="btnSendCode" text="发送验证码" width="104" height="38" bkcolor="#FF2B6A50" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="10" />
|
|
<Label name="lblRegCode" text="邮箱验证码" textcolor="#FF8794A3" height="18" />
|
|
<Edit name="regCode" height="38" bkcolor="#FF1A1F27" nativebkcolor="#FF1A1F27" textcolor="#FFF2F6FA" bordercolor="#FF2E343D" inset="10,0,0,0" />
|
|
<Control height="10" />
|
|
<Label text="密码" textcolor="#FF8794A3" height="18" />
|
|
<Edit name="regPass" height="38" bkcolor="#FF1A1F27" nativebkcolor="#FF1A1F27" textcolor="#FFF2F6FA" bordercolor="#FF2E343D" inset="10,0,0,0" password="true" />
|
|
<Control height="10" />
|
|
<Label text="确认密码" textcolor="#FF8794A3" height="18" />
|
|
<Edit name="regPass2" height="38" bkcolor="#FF1A1F27" nativebkcolor="#FF1A1F27" textcolor="#FFF2F6FA" bordercolor="#FF2E343D" inset="10,0,0,0" password="true" />
|
|
<Control height="14" />
|
|
<Button name="btnRegister" text="注册并登录" height="44" bkcolor="#FF2C7BE5" textcolor="#FFFFFFFF" font="1" />
|
|
<Label name="regTip" text="" textcolor="#FFE08A8A" height="22" margin="0,8,0,0" />
|
|
</VerticalLayout>
|
|
|
|
<VerticalLayout name="panelCard" height="250" visible="false">
|
|
<Label text="用户名" textcolor="#FF8794A3" height="18" />
|
|
<Edit name="cardUser" height="40" bkcolor="#FF1A1F27" nativebkcolor="#FF1A1F27" textcolor="#FFF2F6FA" bordercolor="#FF2E343D" inset="10,0,0,0" />
|
|
<Control height="12" />
|
|
<Label text="卡密" textcolor="#FF8794A3" height="18" />
|
|
<Edit name="cardKey" height="40" bkcolor="#FF1A1F27" nativebkcolor="#FF1A1F27" textcolor="#FFF2F6FA" bordercolor="#FF2E343D" inset="10,0,0,0" />
|
|
<Control height="10" />
|
|
<Label text="卡密充入该账号余额,充值后请用账号密码登录" textcolor="#FF8794A3" height="18" />
|
|
<Control height="14" />
|
|
<Button name="btnRecharge" text="立即充值" height="44" bkcolor="#FF2C7BE5" textcolor="#FFFFFFFF" font="1" />
|
|
<Label name="cardTip" text="" textcolor="#FFE08A8A" height="22" margin="0,8,0,0" />
|
|
</VerticalLayout>
|
|
|
|
<VerticalLayout name="panelReset" height="322" visible="false">
|
|
<Label name="lblResetCard" text="卡密" textcolor="#FF8794A3" height="18" visible="false" />
|
|
<Edit name="resetCardKey" height="40" bkcolor="#FF1A1F27" nativebkcolor="#FF1A1F27" textcolor="#FFF2F6FA" bordercolor="#FF2E343D" inset="10,0,0,0" visible="false" />
|
|
<Control name="spResetCard" height="12" visible="false" />
|
|
<Label text="邮箱" textcolor="#FF8794A3" height="18" />
|
|
<HorizontalLayout height="40">
|
|
<Edit name="resetEmail" bkcolor="#FF1A1F27" nativebkcolor="#FF1A1F27" textcolor="#FFF2F6FA" bordercolor="#FF2E343D" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="btnSendCode2" text="发送验证码" width="104" height="40" bkcolor="#FF2B6A50" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="12" />
|
|
<Label text="邮箱验证码" textcolor="#FF8794A3" height="18" />
|
|
<Edit name="resetCode" height="40" bkcolor="#FF1A1F27" nativebkcolor="#FF1A1F27" textcolor="#FFF2F6FA" bordercolor="#FF2E343D" inset="10,0,0,0" />
|
|
<Control height="12" />
|
|
<Label text="新密码" textcolor="#FF8794A3" height="18" />
|
|
<Edit name="resetPass" height="40" bkcolor="#FF1A1F27" nativebkcolor="#FF1A1F27" textcolor="#FFF2F6FA" bordercolor="#FF2E343D" inset="10,0,0,0" password="true" />
|
|
<Control height="14" />
|
|
<Button name="btnReset" text="重置密码" height="44" bkcolor="#FF2C7BE5" textcolor="#FFFFFFFF" font="1" />
|
|
<Label name="resetTip" text="" textcolor="#FFE08A8A" height="22" margin="0,8,0,0" />
|
|
</VerticalLayout>
|
|
|
|
<VerticalLayout name="panelNotice" height="322" visible="false">
|
|
<Label text="公 告" textcolor="#FF2C7BE5" font="1" height="30" />
|
|
<Label name="noticeTitle" text="" textcolor="#FFF2F6FA" height="26" />
|
|
<Control height="6" />
|
|
<Label name="noticeBody" text="" textcolor="#FF8794A3" height="150" multiline="true" endellipsis="true" />
|
|
<HorizontalLayout height="34">
|
|
<Button name="btnNoticePrev" text="上一条" width="86" height="32" bkcolor="#FF1A1F27" textcolor="#FFF2F6FA" />
|
|
<Control width="8" />
|
|
<Button name="btnNoticeNext" text="下一条" width="86" height="32" bkcolor="#FF1A1F27" textcolor="#FFF2F6FA" />
|
|
<Control />
|
|
<Label name="noticeIdx" text="" textcolor="#FF7E8B99" width="54" />
|
|
</HorizontalLayout>
|
|
<Control height="12" />
|
|
<Button name="btnNoticeOk" text="我知道了" height="44" bkcolor="#FF2C7BE5" textcolor="#FFFFFFFF" font="1" />
|
|
</VerticalLayout>
|
|
<VerticalLayout name="panelUpdate" height="300" visible="false">
|
|
<Label text="版本更新" textcolor="#FF2C7BE5" font="1" height="28" />
|
|
<Label name="updTitle" text="" textcolor="#FFF2F6FA" height="26" />
|
|
<Control height="6" />
|
|
<Label name="updNotes" text="" textcolor="#FF8794A3" height="130" multiline="true" endellipsis="true" />
|
|
<Label name="updTip" text="" textcolor="#FF7E8B99" height="24" />
|
|
<HorizontalLayout height="44">
|
|
<Button name="btnUpdLater" text="稍后提醒" width="112" height="44" bkcolor="#FF1A1F27" textcolor="#FFF2F6FA" />
|
|
<Control width="10" />
|
|
<Button name="btnUpdate" text="立即更新" height="44" bkcolor="#FF2C7BE5" textcolor="#FFFFFFFF" font="1" />
|
|
</HorizontalLayout>
|
|
</VerticalLayout>
|
|
<VerticalLayout name="panelDevice" height="-1" visible="false">
|
|
<Label name="devHead" text="设备数量已满" textcolor="#FF2C7BE5" font="1" height="28" />
|
|
<Label name="devTitle" text="" textcolor="#FFF2F6FA" height="24" />
|
|
<Control height="6" />
|
|
<Label name="lblDevCard" text="卡密" textcolor="#FF8794A3" height="18" visible="false" />
|
|
<Edit name="devCardKey" height="36" bkcolor="#FF1A1F27" nativebkcolor="#FF1A1F27" textcolor="#FFF2F6FA" bordercolor="#FF2E343D" inset="10,0,0,0" visible="false" />
|
|
<Control name="spDevCard" height="6" visible="false" />
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox0" height="40">
|
|
<Button name="devRow0" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind0" text="解绑" width="84" height="40" bkcolor="#FF2C7BE5" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox1" height="40">
|
|
<Button name="devRow1" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind1" text="解绑" width="84" height="40" bkcolor="#FF2C7BE5" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox2" height="40">
|
|
<Button name="devRow2" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind2" text="解绑" width="84" height="40" bkcolor="#FF2C7BE5" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox3" height="40">
|
|
<Button name="devRow3" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind3" text="解绑" width="84" height="40" bkcolor="#FF2C7BE5" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox4" height="40">
|
|
<Button name="devRow4" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind4" text="解绑" width="84" height="40" bkcolor="#FF2C7BE5" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox5" height="40">
|
|
<Button name="devRow5" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind5" text="解绑" width="84" height="40" bkcolor="#FF2C7BE5" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox6" height="40">
|
|
<Button name="devRow6" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind6" text="解绑" width="84" height="40" bkcolor="#FF2C7BE5" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox7" height="40">
|
|
<Button name="devRow7" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind7" text="解绑" width="84" height="40" bkcolor="#FF2C7BE5" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<Control height="6" />
|
|
<Label visible="false" text="输入要解绑的设备序号" textcolor="#FF7E8B99" height="18" />
|
|
<Edit visible="false" name="devIdx" height="36" bkcolor="#FF1A1F27" nativebkcolor="#FF1A1F27" textcolor="#FFF2F6FA" bordercolor="#FF2E343D" inset="10,0,0,0" />
|
|
<Label name="devTip" text="" textcolor="#FF7E8B99" height="22" />
|
|
<HorizontalLayout height="44">
|
|
<Button visible="false" name="btnUnbind" text="解绑该设备" width="118" height="44" bkcolor="#FF2C7BE5" textcolor="#FFFFFFFF" font="1" />
|
|
<Control width="8" />
|
|
<Button name="btnUnbindOld" text="解绑最早一台" width="118" height="44" bkcolor="#FF2C7BE5" textcolor="#FFFFFFFF" />
|
|
<Control width="8" />
|
|
<Button name="btnRetryLogin" text="重试" width="72" height="44" bkcolor="#FF1A1F27" textcolor="#FFF2F6FA" />
|
|
<Control width="8" />
|
|
<Button name="btnBack" text="返回" width="72" height="44" bkcolor="#FF1A1F27" textcolor="#FFF2F6FA" />
|
|
</HorizontalLayout>
|
|
</VerticalLayout>
|
|
|
|
<Label name="lblDevice" text="设备" textcolor="#FF7E8B99" height="18" margin="0,6,0,0" />
|
|
|
|
</VerticalLayout>
|
|
</VerticalLayout>
|
|
</HorizontalLayout>
|
|
</Window>)SKIN";
|
|
|
|
static const char *kSkin_card = R"SKIN(<?xml version="1.0" encoding="utf-8"?>
|
|
<Window size="720,460" caption="0,0,-1,88" mininfo="720,400" bkcolor="#FFF5F6F9">
|
|
<VerticalLayout bkcolor="#FFF5F6F9" bordercolor="#FFD7DBE3" bordersize="1">
|
|
<HorizontalLayout height="88" bkcolor="#FF3B2BD6">
|
|
<VerticalLayout inset="28,16,0,0">
|
|
<Label name="lblTitle" text="软件授权验证" textcolor="#FFFFFFFF" font="1" height="32" />
|
|
<Label name="lblApp" text="演示程序" textcolor="#FFD9D4FF" height="22" />
|
|
</VerticalLayout>
|
|
<Control />
|
|
<Button name="btnClose" text="X" width="46" height="88" textcolor="#FFEDEBFF" bkcolor="#FF3B2BD6" hotbkcolor="#22000000" />
|
|
</HorizontalLayout>
|
|
<HorizontalLayout height="50" inset="28,12,28,0">
|
|
<Button name="tabLogin" text="登录" height="36" bkcolor="#FFFFFFFF" textcolor="#FF3B2BD6" font="1" />
|
|
<Control width="8" />
|
|
<Button name="tabRegister" text="注册" height="36" bkcolor="#FFE8E6FF" textcolor="#FF5B56A8" />
|
|
<Control width="8" />
|
|
<Button name="tabCard" text="卡密充值" height="36" bkcolor="#FFE8E6FF" textcolor="#FF5B56A8" />
|
|
<Control width="8" />
|
|
<Button name="tabReset" text="忘记密码" height="36" bkcolor="#FFE8E6FF" textcolor="#FF5B56A8" />
|
|
</HorizontalLayout>
|
|
<HorizontalLayout inset="28,14,28,16">
|
|
<VerticalLayout width="248">
|
|
<Label text="账号安全" textcolor="#FF1F2430" height="24" font="1" />
|
|
<Label text="登录后账号与本机设备绑定," textcolor="#FF4B5563" height="20" />
|
|
<Label text="超出设备上限时请先解绑一台。" textcolor="#FF4B5563" height="20" />
|
|
<Control height="12" />
|
|
<Label name="lblDevice" text="设备" textcolor="#FF8A8F99" height="18" margin="0,6,0,0" />
|
|
|
|
</VerticalLayout>
|
|
<Control width="24" />
|
|
<Control width="1" bkcolor="#FFE3E6EC" />
|
|
<Control width="24" />
|
|
<VerticalLayout>
|
|
<VerticalLayout name="panelLogin" height="248">
|
|
<Label name="lblUser" text="账号或卡密" textcolor="#FF4B5563" height="18" />
|
|
<Edit name="editUser" height="40" bkcolor="#FFFFFFFF" nativebkcolor="#FFFFFFFF" textcolor="#FF1F2430" bordercolor="#FFC9D1DC" inset="10,0,0,0" />
|
|
<Control height="12" />
|
|
<Label name="lblPass" text="密码" textcolor="#FF4B5563" height="18" />
|
|
<Edit name="editPass" height="40" bkcolor="#FFFFFFFF" nativebkcolor="#FFFFFFFF" textcolor="#FF1F2430" bordercolor="#FFC9D1DC" inset="10,0,0,0" password="true" />
|
|
<Control height="12" />
|
|
<HorizontalLayout name="rowRemember" height="22">
|
|
<Button name="btnRemember" text="[ ] 记住账号" textcolor="#FF4B5563" bkcolor="#00000000" width="104" height="22" />
|
|
</HorizontalLayout>
|
|
<Control height="14" />
|
|
<Button name="btnLogin" text="登录" height="44" bkcolor="#FF3B2BD6" textcolor="#FFFFFFFF" font="1" />
|
|
<Label name="lblTip" text="" textcolor="#FFE08A8A" height="22" margin="0,8,0,0" />
|
|
</VerticalLayout>
|
|
|
|
<VerticalLayout name="panelRegister" height="404" visible="false">
|
|
<Label text="用户名" textcolor="#FF4B5563" height="18" />
|
|
<Edit name="regUser" height="38" bkcolor="#FFFFFFFF" nativebkcolor="#FFFFFFFF" textcolor="#FF1F2430" bordercolor="#FFC9D1DC" inset="10,0,0,0" />
|
|
<Control height="10" />
|
|
<Label text="邮箱" textcolor="#FF4B5563" height="18" />
|
|
<HorizontalLayout height="38">
|
|
<Edit name="regEmail" bkcolor="#FFFFFFFF" nativebkcolor="#FFFFFFFF" textcolor="#FF1F2430" bordercolor="#FFC9D1DC" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="btnSendCode" text="发送验证码" width="104" height="38" bkcolor="#FF128A5B" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="10" />
|
|
<Label name="lblRegCode" text="邮箱验证码" textcolor="#FF4B5563" height="18" />
|
|
<Edit name="regCode" height="38" bkcolor="#FFFFFFFF" nativebkcolor="#FFFFFFFF" textcolor="#FF1F2430" bordercolor="#FFC9D1DC" inset="10,0,0,0" />
|
|
<Control height="10" />
|
|
<Label text="密码" textcolor="#FF4B5563" height="18" />
|
|
<Edit name="regPass" height="38" bkcolor="#FFFFFFFF" nativebkcolor="#FFFFFFFF" textcolor="#FF1F2430" bordercolor="#FFC9D1DC" inset="10,0,0,0" password="true" />
|
|
<Control height="10" />
|
|
<Label text="确认密码" textcolor="#FF4B5563" height="18" />
|
|
<Edit name="regPass2" height="38" bkcolor="#FFFFFFFF" nativebkcolor="#FFFFFFFF" textcolor="#FF1F2430" bordercolor="#FFC9D1DC" inset="10,0,0,0" password="true" />
|
|
<Control height="14" />
|
|
<Button name="btnRegister" text="注册并登录" height="44" bkcolor="#FF3B2BD6" textcolor="#FFFFFFFF" font="1" />
|
|
<Label name="regTip" text="" textcolor="#FFE08A8A" height="22" margin="0,8,0,0" />
|
|
</VerticalLayout>
|
|
|
|
<VerticalLayout name="panelCard" height="250" visible="false">
|
|
<Label text="用户名" textcolor="#FF4B5563" height="18" />
|
|
<Edit name="cardUser" height="40" bkcolor="#FFFFFFFF" nativebkcolor="#FFFFFFFF" textcolor="#FF1F2430" bordercolor="#FFC9D1DC" inset="10,0,0,0" />
|
|
<Control height="12" />
|
|
<Label text="卡密" textcolor="#FF4B5563" height="18" />
|
|
<Edit name="cardKey" height="40" bkcolor="#FFFFFFFF" nativebkcolor="#FFFFFFFF" textcolor="#FF1F2430" bordercolor="#FFC9D1DC" inset="10,0,0,0" />
|
|
<Control height="10" />
|
|
<Label text="卡密充入该账号余额,充值后请用账号密码登录" textcolor="#FF4B5563" height="18" />
|
|
<Control height="14" />
|
|
<Button name="btnRecharge" text="立即充值" height="44" bkcolor="#FF3B2BD6" textcolor="#FFFFFFFF" font="1" />
|
|
<Label name="cardTip" text="" textcolor="#FFE08A8A" height="22" margin="0,8,0,0" />
|
|
</VerticalLayout>
|
|
|
|
<VerticalLayout name="panelReset" height="322" visible="false">
|
|
<Label name="lblResetCard" text="卡密" textcolor="#FF4B5563" height="18" visible="false" />
|
|
<Edit name="resetCardKey" height="40" bkcolor="#FFFFFFFF" nativebkcolor="#FFFFFFFF" textcolor="#FF1F2430" bordercolor="#FFC9D1DC" inset="10,0,0,0" visible="false" />
|
|
<Control name="spResetCard" height="12" visible="false" />
|
|
<Label text="邮箱" textcolor="#FF4B5563" height="18" />
|
|
<HorizontalLayout height="40">
|
|
<Edit name="resetEmail" bkcolor="#FFFFFFFF" nativebkcolor="#FFFFFFFF" textcolor="#FF1F2430" bordercolor="#FFC9D1DC" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="btnSendCode2" text="发送验证码" width="104" height="40" bkcolor="#FF128A5B" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="12" />
|
|
<Label text="邮箱验证码" textcolor="#FF4B5563" height="18" />
|
|
<Edit name="resetCode" height="40" bkcolor="#FFFFFFFF" nativebkcolor="#FFFFFFFF" textcolor="#FF1F2430" bordercolor="#FFC9D1DC" inset="10,0,0,0" />
|
|
<Control height="12" />
|
|
<Label text="新密码" textcolor="#FF4B5563" height="18" />
|
|
<Edit name="resetPass" height="40" bkcolor="#FFFFFFFF" nativebkcolor="#FFFFFFFF" textcolor="#FF1F2430" bordercolor="#FFC9D1DC" inset="10,0,0,0" password="true" />
|
|
<Control height="14" />
|
|
<Button name="btnReset" text="重置密码" height="44" bkcolor="#FF3B2BD6" textcolor="#FFFFFFFF" font="1" />
|
|
<Label name="resetTip" text="" textcolor="#FFE08A8A" height="22" margin="0,8,0,0" />
|
|
</VerticalLayout>
|
|
|
|
<VerticalLayout name="panelNotice" height="322" visible="false">
|
|
<Label text="公 告" textcolor="#FF3B2BD6" font="1" height="30" />
|
|
<Label name="noticeTitle" text="" textcolor="#FF1F2430" height="26" />
|
|
<Control height="6" />
|
|
<Label name="noticeBody" text="" textcolor="#FF4B5563" height="150" multiline="true" endellipsis="true" />
|
|
<HorizontalLayout height="34">
|
|
<Button name="btnNoticePrev" text="上一条" width="86" height="32" bkcolor="#FFFFFFFF" textcolor="#FF1F2430" />
|
|
<Control width="8" />
|
|
<Button name="btnNoticeNext" text="下一条" width="86" height="32" bkcolor="#FFFFFFFF" textcolor="#FF1F2430" />
|
|
<Control />
|
|
<Label name="noticeIdx" text="" textcolor="#FF8A8F99" width="54" />
|
|
</HorizontalLayout>
|
|
<Control height="12" />
|
|
<Button name="btnNoticeOk" text="我知道了" height="44" bkcolor="#FF3B2BD6" textcolor="#FFFFFFFF" font="1" />
|
|
</VerticalLayout>
|
|
<VerticalLayout name="panelUpdate" height="300" visible="false">
|
|
<Label text="版本更新" textcolor="#FF3B2BD6" font="1" height="28" />
|
|
<Label name="updTitle" text="" textcolor="#FF1F2430" height="26" />
|
|
<Control height="6" />
|
|
<Label name="updNotes" text="" textcolor="#FF4B5563" height="130" multiline="true" endellipsis="true" />
|
|
<Label name="updTip" text="" textcolor="#FF8A8F99" height="24" />
|
|
<HorizontalLayout height="44">
|
|
<Button name="btnUpdLater" text="稍后提醒" width="112" height="44" bkcolor="#FFFFFFFF" textcolor="#FF1F2430" />
|
|
<Control width="10" />
|
|
<Button name="btnUpdate" text="立即更新" height="44" bkcolor="#FF3B2BD6" textcolor="#FFFFFFFF" font="1" />
|
|
</HorizontalLayout>
|
|
</VerticalLayout>
|
|
<VerticalLayout name="panelDevice" height="-1" visible="false">
|
|
<Label name="devHead" text="设备数量已满" textcolor="#FF3B2BD6" font="1" height="28" />
|
|
<Label name="devTitle" text="" textcolor="#FF1F2430" height="24" />
|
|
<Control height="6" />
|
|
<Label name="lblDevCard" text="卡密" textcolor="#FF4B5563" height="18" visible="false" />
|
|
<Edit name="devCardKey" height="36" bkcolor="#FFFFFFFF" nativebkcolor="#FFFFFFFF" textcolor="#FF1F2430" bordercolor="#FFC9D1DC" inset="10,0,0,0" visible="false" />
|
|
<Control name="spDevCard" height="6" visible="false" />
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox0" height="40">
|
|
<Button name="devRow0" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind0" text="解绑" width="84" height="40" bkcolor="#FF3B2BD6" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox1" height="40">
|
|
<Button name="devRow1" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind1" text="解绑" width="84" height="40" bkcolor="#FF3B2BD6" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox2" height="40">
|
|
<Button name="devRow2" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind2" text="解绑" width="84" height="40" bkcolor="#FF3B2BD6" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox3" height="40">
|
|
<Button name="devRow3" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind3" text="解绑" width="84" height="40" bkcolor="#FF3B2BD6" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox4" height="40">
|
|
<Button name="devRow4" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind4" text="解绑" width="84" height="40" bkcolor="#FF3B2BD6" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox5" height="40">
|
|
<Button name="devRow5" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind5" text="解绑" width="84" height="40" bkcolor="#FF3B2BD6" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox6" height="40">
|
|
<Button name="devRow6" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind6" text="解绑" width="84" height="40" bkcolor="#FF3B2BD6" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox7" height="40">
|
|
<Button name="devRow7" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind7" text="解绑" width="84" height="40" bkcolor="#FF3B2BD6" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<Control height="6" />
|
|
<Label visible="false" text="输入要解绑的设备序号" textcolor="#FF8A8F99" height="18" />
|
|
<Edit visible="false" name="devIdx" height="36" bkcolor="#FFFFFFFF" nativebkcolor="#FFFFFFFF" textcolor="#FF1F2430" bordercolor="#FFC9D1DC" inset="10,0,0,0" />
|
|
<Label name="devTip" text="" textcolor="#FF8A8F99" height="22" />
|
|
<HorizontalLayout height="44">
|
|
<Button visible="false" name="btnUnbind" text="解绑该设备" width="118" height="44" bkcolor="#FF3B2BD6" textcolor="#FFFFFFFF" font="1" />
|
|
<Control width="8" />
|
|
<Button name="btnUnbindOld" text="解绑最早一台" width="118" height="44" bkcolor="#FF3B2BD6" textcolor="#FFFFFFFF" />
|
|
<Control width="8" />
|
|
<Button name="btnRetryLogin" text="重试" width="72" height="44" bkcolor="#FFFFFFFF" textcolor="#FF1F2430" />
|
|
<Control width="8" />
|
|
<Button name="btnBack" text="返回" width="72" height="44" bkcolor="#FFFFFFFF" textcolor="#FF1F2430" />
|
|
</HorizontalLayout>
|
|
</VerticalLayout>
|
|
|
|
</VerticalLayout>
|
|
</HorizontalLayout>
|
|
</VerticalLayout>
|
|
</Window>)SKIN";
|
|
|
|
static const char *kSkin_industrial = R"SKIN(<?xml version="1.0" encoding="utf-8"?>
|
|
<Window size="600,452" caption="0,0,-1,46" mininfo="600,400" bkcolor="#FF0A1520">
|
|
<VerticalLayout bkcolor="#FF0A1520" bordercolor="#FF1F4E79" bordersize="1">
|
|
<HorizontalLayout height="46" bkcolor="#FF10304C">
|
|
<Label text="AUTHORIZATION" textcolor="#FF7FD1FF" font="1" width="200" textpadding="18,0,0,0" />
|
|
<Control />
|
|
<Button name="tabLogin" text="LOGIN" width="76" height="46" bkcolor="#FF1A5A8C" textcolor="#FFFFFFFF" />
|
|
<Button name="tabRegister" text="SIGN UP" width="84" height="46" bkcolor="#00000000" textcolor="#FF9FC8E6" />
|
|
<Button name="tabCard" text="CARD" width="66" height="46" bkcolor="#00000000" textcolor="#FF9FC8E6" />
|
|
<Button name="tabReset" text="RESET" width="70" height="46" bkcolor="#00000000" textcolor="#FF9FC8E6" />
|
|
<Button name="btnClose" text="X" width="44" height="46" textcolor="#FFBEE3FF" bkcolor="#FF10304C" hotbkcolor="#33FFFFFF" />
|
|
</HorizontalLayout>
|
|
<VerticalLayout inset="24,14,24,14">
|
|
<Label name="lblApp" text="演示程序" textcolor="#FFA8D4F0" height="30" font="2" />
|
|
<Control height="8" />
|
|
<VerticalLayout name="panelLogin" height="248">
|
|
<Label name="lblUser" text="账号或卡密" textcolor="#FF9FC0D8" height="18" />
|
|
<Edit name="editUser" height="40" bkcolor="#FF14304A" nativebkcolor="#FF14304A" textcolor="#FFEAF6FF" bordercolor="#FF23567F" inset="10,0,0,0" />
|
|
<Control height="12" />
|
|
<Label name="lblPass" text="密码" textcolor="#FF9FC0D8" height="18" />
|
|
<Edit name="editPass" height="40" bkcolor="#FF14304A" nativebkcolor="#FF14304A" textcolor="#FFEAF6FF" bordercolor="#FF23567F" inset="10,0,0,0" password="true" />
|
|
<Control height="12" />
|
|
<HorizontalLayout name="rowRemember" height="22">
|
|
<Button name="btnRemember" text="[ ] 记住账号" textcolor="#FF9FC0D8" bkcolor="#00000000" width="104" height="22" />
|
|
</HorizontalLayout>
|
|
<Control height="14" />
|
|
<Button name="btnLogin" text="登录" height="44" bkcolor="#FF1F6FB2" textcolor="#FFFFFFFF" font="1" />
|
|
<Label name="lblTip" text="" textcolor="#FFE08A8A" height="22" margin="0,8,0,0" />
|
|
</VerticalLayout>
|
|
|
|
<VerticalLayout name="panelRegister" height="404" visible="false">
|
|
<Label text="用户名" textcolor="#FF9FC0D8" height="18" />
|
|
<Edit name="regUser" height="38" bkcolor="#FF14304A" nativebkcolor="#FF14304A" textcolor="#FFEAF6FF" bordercolor="#FF23567F" inset="10,0,0,0" />
|
|
<Control height="10" />
|
|
<Label text="邮箱" textcolor="#FF9FC0D8" height="18" />
|
|
<HorizontalLayout height="38">
|
|
<Edit name="regEmail" bkcolor="#FF14304A" nativebkcolor="#FF14304A" textcolor="#FFEAF6FF" bordercolor="#FF23567F" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="btnSendCode" text="发送验证码" width="104" height="38" bkcolor="#FF1B4A3C" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="10" />
|
|
<Label name="lblRegCode" text="邮箱验证码" textcolor="#FF9FC0D8" height="18" />
|
|
<Edit name="regCode" height="38" bkcolor="#FF14304A" nativebkcolor="#FF14304A" textcolor="#FFEAF6FF" bordercolor="#FF23567F" inset="10,0,0,0" />
|
|
<Control height="10" />
|
|
<Label text="密码" textcolor="#FF9FC0D8" height="18" />
|
|
<Edit name="regPass" height="38" bkcolor="#FF14304A" nativebkcolor="#FF14304A" textcolor="#FFEAF6FF" bordercolor="#FF23567F" inset="10,0,0,0" password="true" />
|
|
<Control height="10" />
|
|
<Label text="确认密码" textcolor="#FF9FC0D8" height="18" />
|
|
<Edit name="regPass2" height="38" bkcolor="#FF14304A" nativebkcolor="#FF14304A" textcolor="#FFEAF6FF" bordercolor="#FF23567F" inset="10,0,0,0" password="true" />
|
|
<Control height="14" />
|
|
<Button name="btnRegister" text="注册并登录" height="44" bkcolor="#FF1F6FB2" textcolor="#FFFFFFFF" font="1" />
|
|
<Label name="regTip" text="" textcolor="#FFE08A8A" height="22" margin="0,8,0,0" />
|
|
</VerticalLayout>
|
|
|
|
<VerticalLayout name="panelCard" height="250" visible="false">
|
|
<Label text="用户名" textcolor="#FF9FC0D8" height="18" />
|
|
<Edit name="cardUser" height="40" bkcolor="#FF14304A" nativebkcolor="#FF14304A" textcolor="#FFEAF6FF" bordercolor="#FF23567F" inset="10,0,0,0" />
|
|
<Control height="12" />
|
|
<Label text="卡密" textcolor="#FF9FC0D8" height="18" />
|
|
<Edit name="cardKey" height="40" bkcolor="#FF14304A" nativebkcolor="#FF14304A" textcolor="#FFEAF6FF" bordercolor="#FF23567F" inset="10,0,0,0" />
|
|
<Control height="10" />
|
|
<Label text="卡密充入该账号余额,充值后请用账号密码登录" textcolor="#FF9FC0D8" height="18" />
|
|
<Control height="14" />
|
|
<Button name="btnRecharge" text="立即充值" height="44" bkcolor="#FF1F6FB2" textcolor="#FFFFFFFF" font="1" />
|
|
<Label name="cardTip" text="" textcolor="#FFE08A8A" height="22" margin="0,8,0,0" />
|
|
</VerticalLayout>
|
|
|
|
<VerticalLayout name="panelReset" height="322" visible="false">
|
|
<Label name="lblResetCard" text="卡密" textcolor="#FF9FC0D8" height="18" visible="false" />
|
|
<Edit name="resetCardKey" height="40" bkcolor="#FF14304A" nativebkcolor="#FF14304A" textcolor="#FFEAF6FF" bordercolor="#FF23567F" inset="10,0,0,0" visible="false" />
|
|
<Control name="spResetCard" height="12" visible="false" />
|
|
<Label text="邮箱" textcolor="#FF9FC0D8" height="18" />
|
|
<HorizontalLayout height="40">
|
|
<Edit name="resetEmail" bkcolor="#FF14304A" nativebkcolor="#FF14304A" textcolor="#FFEAF6FF" bordercolor="#FF23567F" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="btnSendCode2" text="发送验证码" width="104" height="40" bkcolor="#FF1B4A3C" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="12" />
|
|
<Label text="邮箱验证码" textcolor="#FF9FC0D8" height="18" />
|
|
<Edit name="resetCode" height="40" bkcolor="#FF14304A" nativebkcolor="#FF14304A" textcolor="#FFEAF6FF" bordercolor="#FF23567F" inset="10,0,0,0" />
|
|
<Control height="12" />
|
|
<Label text="新密码" textcolor="#FF9FC0D8" height="18" />
|
|
<Edit name="resetPass" height="40" bkcolor="#FF14304A" nativebkcolor="#FF14304A" textcolor="#FFEAF6FF" bordercolor="#FF23567F" inset="10,0,0,0" password="true" />
|
|
<Control height="14" />
|
|
<Button name="btnReset" text="重置密码" height="44" bkcolor="#FF1F6FB2" textcolor="#FFFFFFFF" font="1" />
|
|
<Label name="resetTip" text="" textcolor="#FFE08A8A" height="22" margin="0,8,0,0" />
|
|
</VerticalLayout>
|
|
|
|
<VerticalLayout name="panelNotice" height="322" visible="false">
|
|
<Label text="公 告" textcolor="#FF1F6FB2" font="1" height="30" />
|
|
<Label name="noticeTitle" text="" textcolor="#FFEAF6FF" height="26" />
|
|
<Control height="6" />
|
|
<Label name="noticeBody" text="" textcolor="#FF9FC0D8" height="150" multiline="true" endellipsis="true" />
|
|
<HorizontalLayout height="34">
|
|
<Button name="btnNoticePrev" text="上一条" width="86" height="32" bkcolor="#FF14304A" textcolor="#FFEAF6FF" />
|
|
<Control width="8" />
|
|
<Button name="btnNoticeNext" text="下一条" width="86" height="32" bkcolor="#FF14304A" textcolor="#FFEAF6FF" />
|
|
<Control />
|
|
<Label name="noticeIdx" text="" textcolor="#FF5F89A6" width="54" />
|
|
</HorizontalLayout>
|
|
<Control height="12" />
|
|
<Button name="btnNoticeOk" text="我知道了" height="44" bkcolor="#FF1F6FB2" textcolor="#FFFFFFFF" font="1" />
|
|
</VerticalLayout>
|
|
<VerticalLayout name="panelUpdate" height="300" visible="false">
|
|
<Label text="版本更新" textcolor="#FF1F6FB2" font="1" height="28" />
|
|
<Label name="updTitle" text="" textcolor="#FFEAF6FF" height="26" />
|
|
<Control height="6" />
|
|
<Label name="updNotes" text="" textcolor="#FF9FC0D8" height="130" multiline="true" endellipsis="true" />
|
|
<Label name="updTip" text="" textcolor="#FF5F89A6" height="24" />
|
|
<HorizontalLayout height="44">
|
|
<Button name="btnUpdLater" text="稍后提醒" width="112" height="44" bkcolor="#FF14304A" textcolor="#FFEAF6FF" />
|
|
<Control width="10" />
|
|
<Button name="btnUpdate" text="立即更新" height="44" bkcolor="#FF1F6FB2" textcolor="#FFFFFFFF" font="1" />
|
|
</HorizontalLayout>
|
|
</VerticalLayout>
|
|
<VerticalLayout name="panelDevice" height="-1" visible="false">
|
|
<Label name="devHead" text="设备数量已满" textcolor="#FF1F6FB2" font="1" height="28" />
|
|
<Label name="devTitle" text="" textcolor="#FFEAF6FF" height="24" />
|
|
<Control height="6" />
|
|
<Label name="lblDevCard" text="卡密" textcolor="#FF9FC0D8" height="18" visible="false" />
|
|
<Edit name="devCardKey" height="36" bkcolor="#FF14304A" nativebkcolor="#FF14304A" textcolor="#FFEAF6FF" bordercolor="#FF23567F" inset="10,0,0,0" visible="false" />
|
|
<Control name="spDevCard" height="6" visible="false" />
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox0" height="40">
|
|
<Button name="devRow0" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind0" text="解绑" width="84" height="40" bkcolor="#FF1F6FB2" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox1" height="40">
|
|
<Button name="devRow1" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind1" text="解绑" width="84" height="40" bkcolor="#FF1F6FB2" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox2" height="40">
|
|
<Button name="devRow2" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind2" text="解绑" width="84" height="40" bkcolor="#FF1F6FB2" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox3" height="40">
|
|
<Button name="devRow3" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind3" text="解绑" width="84" height="40" bkcolor="#FF1F6FB2" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox4" height="40">
|
|
<Button name="devRow4" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind4" text="解绑" width="84" height="40" bkcolor="#FF1F6FB2" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox5" height="40">
|
|
<Button name="devRow5" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind5" text="解绑" width="84" height="40" bkcolor="#FF1F6FB2" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox6" height="40">
|
|
<Button name="devRow6" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind6" text="解绑" width="84" height="40" bkcolor="#FF1F6FB2" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox7" height="40">
|
|
<Button name="devRow7" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind7" text="解绑" width="84" height="40" bkcolor="#FF1F6FB2" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<Control height="6" />
|
|
<Label visible="false" text="输入要解绑的设备序号" textcolor="#FF5F89A6" height="18" />
|
|
<Edit visible="false" name="devIdx" height="36" bkcolor="#FF14304A" nativebkcolor="#FF14304A" textcolor="#FFEAF6FF" bordercolor="#FF23567F" inset="10,0,0,0" />
|
|
<Label name="devTip" text="" textcolor="#FF5F89A6" height="22" />
|
|
<HorizontalLayout height="44">
|
|
<Button visible="false" name="btnUnbind" text="解绑该设备" width="118" height="44" bkcolor="#FF1F6FB2" textcolor="#FFFFFFFF" font="1" />
|
|
<Control width="8" />
|
|
<Button name="btnUnbindOld" text="解绑最早一台" width="118" height="44" bkcolor="#FF1F6FB2" textcolor="#FFFFFFFF" />
|
|
<Control width="8" />
|
|
<Button name="btnRetryLogin" text="重试" width="72" height="44" bkcolor="#FF14304A" textcolor="#FFEAF6FF" />
|
|
<Control width="8" />
|
|
<Button name="btnBack" text="返回" width="72" height="44" bkcolor="#FF14304A" textcolor="#FFEAF6FF" />
|
|
</HorizontalLayout>
|
|
</VerticalLayout>
|
|
|
|
<Label name="lblDevice" text="设备" textcolor="#FF5F89A6" height="18" margin="0,6,0,0" />
|
|
|
|
</VerticalLayout>
|
|
</VerticalLayout>
|
|
</Window>)SKIN";
|
|
|
|
static const char *kSkin_terminal = R"SKIN(<?xml version="1.0" encoding="utf-8"?>
|
|
<Window size="620,446" caption="0,0,-1,38" mininfo="620,400" bkcolor="#FF0B0F0C">
|
|
<VerticalLayout bkcolor="#FF0B0F0C" bordercolor="#FF2B3A2D" bordersize="1">
|
|
<HorizontalLayout height="38" bkcolor="#FF101710" inset="0,0,8,0">
|
|
<Label text="vfy@local:~$ auth" textcolor="#FF7FE39B" width="220" textpadding="14,0,0,0" />
|
|
<Control />
|
|
<Button name="btnClose" text="X" width="38" height="38" textcolor="#FF7FB08C" bkcolor="#FF101710" hotbkcolor="#22FFFFFF" />
|
|
</HorizontalLayout>
|
|
<HorizontalLayout height="34" bkcolor="#FF0E150F" inset="8,0,8,0">
|
|
<Button name="tabLogin" text="login" width="76" height="34" bkcolor="#00000000" textcolor="#FF7FE39B" font="1" />
|
|
<Button name="tabRegister" text="register" width="92" height="34" bkcolor="#00000000" textcolor="#FF7FAE90" />
|
|
<Button name="tabCard" text="card" width="66" height="34" bkcolor="#00000000" textcolor="#FF7FAE90" />
|
|
<Button name="tabReset" text="reset" width="70" height="34" bkcolor="#00000000" textcolor="#FF7FAE90" />
|
|
<Control />
|
|
</HorizontalLayout>
|
|
<VerticalLayout inset="16,10,16,12">
|
|
<Label name="lblApp" text="# 演示程序" textcolor="#FF7FE39B" height="28" font="2" />
|
|
<Control height="6" />
|
|
<VerticalLayout name="panelLogin" height="248">
|
|
<Label name="lblUser" text="账号或卡密" textcolor="#FF7FAE90" height="18" />
|
|
<Edit name="editUser" height="40" bkcolor="#FF16211A" nativebkcolor="#FF16211A" textcolor="#FFD7F5DF" bordercolor="#FF2B3A2D" inset="10,0,0,0" />
|
|
<Control height="12" />
|
|
<Label name="lblPass" text="密码" textcolor="#FF7FAE90" height="18" />
|
|
<Edit name="editPass" height="40" bkcolor="#FF16211A" nativebkcolor="#FF16211A" textcolor="#FFD7F5DF" bordercolor="#FF2B3A2D" inset="10,0,0,0" password="true" />
|
|
<Control height="12" />
|
|
<HorizontalLayout name="rowRemember" height="22">
|
|
<Button name="btnRemember" text="[ ] 记住账号" textcolor="#FF7FAE90" bkcolor="#00000000" width="104" height="22" />
|
|
</HorizontalLayout>
|
|
<Control height="14" />
|
|
<Button name="btnLogin" text="[ 执行登录 ]" height="44" bkcolor="#FF1B7A4E" textcolor="#FFFFFFFF" font="1" />
|
|
<Label name="lblTip" text="" textcolor="#FFE08A8A" height="22" margin="0,8,0,0" />
|
|
</VerticalLayout>
|
|
|
|
<VerticalLayout name="panelRegister" height="404" visible="false">
|
|
<Label text="用户名" textcolor="#FF7FAE90" height="18" />
|
|
<Edit name="regUser" height="38" bkcolor="#FF16211A" nativebkcolor="#FF16211A" textcolor="#FFD7F5DF" bordercolor="#FF2B3A2D" inset="10,0,0,0" />
|
|
<Control height="10" />
|
|
<Label text="邮箱" textcolor="#FF7FAE90" height="18" />
|
|
<HorizontalLayout height="38">
|
|
<Edit name="regEmail" bkcolor="#FF16211A" nativebkcolor="#FF16211A" textcolor="#FFD7F5DF" bordercolor="#FF2B3A2D" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="btnSendCode" text="发送验证码" width="104" height="38" bkcolor="#FF234A33" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="10" />
|
|
<Label name="lblRegCode" text="邮箱验证码" textcolor="#FF7FAE90" height="18" />
|
|
<Edit name="regCode" height="38" bkcolor="#FF16211A" nativebkcolor="#FF16211A" textcolor="#FFD7F5DF" bordercolor="#FF2B3A2D" inset="10,0,0,0" />
|
|
<Control height="10" />
|
|
<Label text="密码" textcolor="#FF7FAE90" height="18" />
|
|
<Edit name="regPass" height="38" bkcolor="#FF16211A" nativebkcolor="#FF16211A" textcolor="#FFD7F5DF" bordercolor="#FF2B3A2D" inset="10,0,0,0" password="true" />
|
|
<Control height="10" />
|
|
<Label text="确认密码" textcolor="#FF7FAE90" height="18" />
|
|
<Edit name="regPass2" height="38" bkcolor="#FF16211A" nativebkcolor="#FF16211A" textcolor="#FFD7F5DF" bordercolor="#FF2B3A2D" inset="10,0,0,0" password="true" />
|
|
<Control height="14" />
|
|
<Button name="btnRegister" text="注册并登录" height="44" bkcolor="#FF1B7A4E" textcolor="#FFFFFFFF" font="1" />
|
|
<Label name="regTip" text="" textcolor="#FFE08A8A" height="22" margin="0,8,0,0" />
|
|
</VerticalLayout>
|
|
|
|
<VerticalLayout name="panelCard" height="250" visible="false">
|
|
<Label text="用户名" textcolor="#FF7FAE90" height="18" />
|
|
<Edit name="cardUser" height="40" bkcolor="#FF16211A" nativebkcolor="#FF16211A" textcolor="#FFD7F5DF" bordercolor="#FF2B3A2D" inset="10,0,0,0" />
|
|
<Control height="12" />
|
|
<Label text="卡密" textcolor="#FF7FAE90" height="18" />
|
|
<Edit name="cardKey" height="40" bkcolor="#FF16211A" nativebkcolor="#FF16211A" textcolor="#FFD7F5DF" bordercolor="#FF2B3A2D" inset="10,0,0,0" />
|
|
<Control height="10" />
|
|
<Label text="卡密充入该账号余额,充值后请用账号密码登录" textcolor="#FF7FAE90" height="18" />
|
|
<Control height="14" />
|
|
<Button name="btnRecharge" text="立即充值" height="44" bkcolor="#FF1B7A4E" textcolor="#FFFFFFFF" font="1" />
|
|
<Label name="cardTip" text="" textcolor="#FFE08A8A" height="22" margin="0,8,0,0" />
|
|
</VerticalLayout>
|
|
|
|
<VerticalLayout name="panelReset" height="322" visible="false">
|
|
<Label name="lblResetCard" text="卡密" textcolor="#FF7FAE90" height="18" visible="false" />
|
|
<Edit name="resetCardKey" height="40" bkcolor="#FF16211A" nativebkcolor="#FF16211A" textcolor="#FFD7F5DF" bordercolor="#FF2B3A2D" inset="10,0,0,0" visible="false" />
|
|
<Control name="spResetCard" height="12" visible="false" />
|
|
<Label text="邮箱" textcolor="#FF7FAE90" height="18" />
|
|
<HorizontalLayout height="40">
|
|
<Edit name="resetEmail" bkcolor="#FF16211A" nativebkcolor="#FF16211A" textcolor="#FFD7F5DF" bordercolor="#FF2B3A2D" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="btnSendCode2" text="发送验证码" width="104" height="40" bkcolor="#FF234A33" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="12" />
|
|
<Label text="邮箱验证码" textcolor="#FF7FAE90" height="18" />
|
|
<Edit name="resetCode" height="40" bkcolor="#FF16211A" nativebkcolor="#FF16211A" textcolor="#FFD7F5DF" bordercolor="#FF2B3A2D" inset="10,0,0,0" />
|
|
<Control height="12" />
|
|
<Label text="新密码" textcolor="#FF7FAE90" height="18" />
|
|
<Edit name="resetPass" height="40" bkcolor="#FF16211A" nativebkcolor="#FF16211A" textcolor="#FFD7F5DF" bordercolor="#FF2B3A2D" inset="10,0,0,0" password="true" />
|
|
<Control height="14" />
|
|
<Button name="btnReset" text="重置密码" height="44" bkcolor="#FF1B7A4E" textcolor="#FFFFFFFF" font="1" />
|
|
<Label name="resetTip" text="" textcolor="#FFE08A8A" height="22" margin="0,8,0,0" />
|
|
</VerticalLayout>
|
|
|
|
<VerticalLayout name="panelNotice" height="322" visible="false">
|
|
<Label text="公 告" textcolor="#FF1B7A4E" font="1" height="30" />
|
|
<Label name="noticeTitle" text="" textcolor="#FFD7F5DF" height="26" />
|
|
<Control height="6" />
|
|
<Label name="noticeBody" text="" textcolor="#FF7FAE90" height="150" multiline="true" endellipsis="true" />
|
|
<HorizontalLayout height="34">
|
|
<Button name="btnNoticePrev" text="上一条" width="86" height="32" bkcolor="#FF16211A" textcolor="#FFD7F5DF" />
|
|
<Control width="8" />
|
|
<Button name="btnNoticeNext" text="下一条" width="86" height="32" bkcolor="#FF16211A" textcolor="#FFD7F5DF" />
|
|
<Control />
|
|
<Label name="noticeIdx" text="" textcolor="#FF6F9E80" width="54" />
|
|
</HorizontalLayout>
|
|
<Control height="12" />
|
|
<Button name="btnNoticeOk" text="我知道了" height="44" bkcolor="#FF1B7A4E" textcolor="#FFFFFFFF" font="1" />
|
|
</VerticalLayout>
|
|
<VerticalLayout name="panelUpdate" height="300" visible="false">
|
|
<Label text="版本更新" textcolor="#FF1B7A4E" font="1" height="28" />
|
|
<Label name="updTitle" text="" textcolor="#FFD7F5DF" height="26" />
|
|
<Control height="6" />
|
|
<Label name="updNotes" text="" textcolor="#FF7FAE90" height="130" multiline="true" endellipsis="true" />
|
|
<Label name="updTip" text="" textcolor="#FF6F9E80" height="24" />
|
|
<HorizontalLayout height="44">
|
|
<Button name="btnUpdLater" text="稍后提醒" width="112" height="44" bkcolor="#FF16211A" textcolor="#FFD7F5DF" />
|
|
<Control width="10" />
|
|
<Button name="btnUpdate" text="立即更新" height="44" bkcolor="#FF1B7A4E" textcolor="#FFFFFFFF" font="1" />
|
|
</HorizontalLayout>
|
|
</VerticalLayout>
|
|
<VerticalLayout name="panelDevice" height="-1" visible="false">
|
|
<Label name="devHead" text="设备数量已满" textcolor="#FF1B7A4E" font="1" height="28" />
|
|
<Label name="devTitle" text="" textcolor="#FFD7F5DF" height="24" />
|
|
<Control height="6" />
|
|
<Label name="lblDevCard" text="卡密" textcolor="#FF7FAE90" height="18" visible="false" />
|
|
<Edit name="devCardKey" height="36" bkcolor="#FF16211A" nativebkcolor="#FF16211A" textcolor="#FFD7F5DF" bordercolor="#FF2B3A2D" inset="10,0,0,0" visible="false" />
|
|
<Control name="spDevCard" height="6" visible="false" />
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox0" height="40">
|
|
<Button name="devRow0" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind0" text="解绑" width="84" height="40" bkcolor="#FF1B7A4E" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox1" height="40">
|
|
<Button name="devRow1" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind1" text="解绑" width="84" height="40" bkcolor="#FF1B7A4E" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox2" height="40">
|
|
<Button name="devRow2" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind2" text="解绑" width="84" height="40" bkcolor="#FF1B7A4E" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox3" height="40">
|
|
<Button name="devRow3" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind3" text="解绑" width="84" height="40" bkcolor="#FF1B7A4E" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox4" height="40">
|
|
<Button name="devRow4" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind4" text="解绑" width="84" height="40" bkcolor="#FF1B7A4E" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox5" height="40">
|
|
<Button name="devRow5" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind5" text="解绑" width="84" height="40" bkcolor="#FF1B7A4E" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox6" height="40">
|
|
<Button name="devRow6" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind6" text="解绑" width="84" height="40" bkcolor="#FF1B7A4E" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox7" height="40">
|
|
<Button name="devRow7" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind7" text="解绑" width="84" height="40" bkcolor="#FF1B7A4E" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<Control height="6" />
|
|
<Label visible="false" text="输入要解绑的设备序号" textcolor="#FF6F9E80" height="18" />
|
|
<Edit visible="false" name="devIdx" height="36" bkcolor="#FF16211A" nativebkcolor="#FF16211A" textcolor="#FFD7F5DF" bordercolor="#FF2B3A2D" inset="10,0,0,0" />
|
|
<Label name="devTip" text="" textcolor="#FF6F9E80" height="22" />
|
|
<HorizontalLayout height="44">
|
|
<Button visible="false" name="btnUnbind" text="解绑该设备" width="118" height="44" bkcolor="#FF1B7A4E" textcolor="#FFFFFFFF" font="1" />
|
|
<Control width="8" />
|
|
<Button name="btnUnbindOld" text="解绑最早一台" width="118" height="44" bkcolor="#FF1B7A4E" textcolor="#FFFFFFFF" />
|
|
<Control width="8" />
|
|
<Button name="btnRetryLogin" text="重试" width="72" height="44" bkcolor="#FF16211A" textcolor="#FFD7F5DF" />
|
|
<Control width="8" />
|
|
<Button name="btnBack" text="返回" width="72" height="44" bkcolor="#FF16211A" textcolor="#FFD7F5DF" />
|
|
</HorizontalLayout>
|
|
</VerticalLayout>
|
|
|
|
<Label name="lblDevice" text="设备" textcolor="#FF6F9E80" height="18" margin="0,6,0,0" />
|
|
|
|
</VerticalLayout>
|
|
</VerticalLayout>
|
|
</Window>)SKIN";
|
|
|
|
static const char *kSkin_compact = R"SKIN(<?xml version="1.0" encoding="utf-8"?>
|
|
<Window size="760,392" caption="0,0,-1,38" mininfo="760,300" bkcolor="#FF11151A">
|
|
<VerticalLayout bkcolor="#FF11151A" bordercolor="#FF2A3440" bordersize="1">
|
|
<HorizontalLayout height="38" bkcolor="#FF161C22">
|
|
<Label text="账号中心" textcolor="#FFA8BCCE" width="160" textpadding="16,0,0,0" />
|
|
<Control />
|
|
<Button name="btnClose" text="X" width="38" height="38" textcolor="#FFA8BCCE" bkcolor="#FF161C22" hotbkcolor="#22FFFFFF" />
|
|
</HorizontalLayout>
|
|
<HorizontalLayout inset="16,12,16,12">
|
|
<VerticalLayout width="176">
|
|
<Label name="lblApp" text="演示程序" textcolor="#FFF2F8FF" height="28" font="2" />
|
|
<Control height="10" />
|
|
<Button name="tabLogin" text="登录" width="100" height="32" bkcolor="#FF1C6142" textcolor="#FFFFFFFF" />
|
|
<Control height="6" />
|
|
<Button name="tabRegister" text="注册" width="100" height="32" bkcolor="#FF161C22" textcolor="#FF9FB3C8" />
|
|
<Control height="6" />
|
|
<Button name="tabCard" text="卡密充值" width="100" height="32" bkcolor="#FF161C22" textcolor="#FF9FB3C8" />
|
|
<Control height="6" />
|
|
<Button name="tabReset" text="忘记密码" width="100" height="32" bkcolor="#FF161C22" textcolor="#FF9FB3C8" />
|
|
<VerticalLayout />
|
|
<Label name="lblDevice" text="设备" textcolor="#FF8698A8" height="18" margin="0,6,0,0" />
|
|
|
|
</VerticalLayout>
|
|
<Control width="14" />
|
|
<Control width="1" bkcolor="#FF2A3440" />
|
|
<Control width="14" />
|
|
<VerticalLayout>
|
|
<VerticalLayout name="panelLogin" height="248">
|
|
<Label name="lblUser" text="账号或卡密" textcolor="#FF95A7B8" height="18" />
|
|
<Edit name="editUser" height="40" bkcolor="#FF1B232B" nativebkcolor="#FF1B232B" textcolor="#FFFFFFFF" bordercolor="#FF32404E" inset="10,0,0,0" />
|
|
<Control height="12" />
|
|
<Label name="lblPass" text="密码" textcolor="#FF95A7B8" height="18" />
|
|
<Edit name="editPass" height="40" bkcolor="#FF1B232B" nativebkcolor="#FF1B232B" textcolor="#FFFFFFFF" bordercolor="#FF32404E" inset="10,0,0,0" password="true" />
|
|
<Control height="12" />
|
|
<HorizontalLayout name="rowRemember" height="22">
|
|
<Button name="btnRemember" text="[ ] 记住账号" textcolor="#FF95A7B8" bkcolor="#00000000" width="104" height="22" />
|
|
</HorizontalLayout>
|
|
<Control height="14" />
|
|
<Button name="btnLogin" text="登录" height="44" bkcolor="#FF2E9E6B" textcolor="#FFFFFFFF" font="1" />
|
|
<Label name="lblTip" text="" textcolor="#FFE08A8A" height="22" margin="0,8,0,0" />
|
|
</VerticalLayout>
|
|
|
|
<VerticalLayout name="panelRegister" height="404" visible="false">
|
|
<Label text="用户名" textcolor="#FF95A7B8" height="18" />
|
|
<Edit name="regUser" height="38" bkcolor="#FF1B232B" nativebkcolor="#FF1B232B" textcolor="#FFFFFFFF" bordercolor="#FF32404E" inset="10,0,0,0" />
|
|
<Control height="10" />
|
|
<Label text="邮箱" textcolor="#FF95A7B8" height="18" />
|
|
<HorizontalLayout height="38">
|
|
<Edit name="regEmail" bkcolor="#FF1B232B" nativebkcolor="#FF1B232B" textcolor="#FFFFFFFF" bordercolor="#FF32404E" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="btnSendCode" text="发送验证码" width="104" height="38" bkcolor="#FF234A33" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="10" />
|
|
<Label name="lblRegCode" text="邮箱验证码" textcolor="#FF95A7B8" height="18" />
|
|
<Edit name="regCode" height="38" bkcolor="#FF1B232B" nativebkcolor="#FF1B232B" textcolor="#FFFFFFFF" bordercolor="#FF32404E" inset="10,0,0,0" />
|
|
<Control height="10" />
|
|
<Label text="密码" textcolor="#FF95A7B8" height="18" />
|
|
<Edit name="regPass" height="38" bkcolor="#FF1B232B" nativebkcolor="#FF1B232B" textcolor="#FFFFFFFF" bordercolor="#FF32404E" inset="10,0,0,0" password="true" />
|
|
<Control height="10" />
|
|
<Label text="确认密码" textcolor="#FF95A7B8" height="18" />
|
|
<Edit name="regPass2" height="38" bkcolor="#FF1B232B" nativebkcolor="#FF1B232B" textcolor="#FFFFFFFF" bordercolor="#FF32404E" inset="10,0,0,0" password="true" />
|
|
<Control height="14" />
|
|
<Button name="btnRegister" text="注册并登录" height="44" bkcolor="#FF2E9E6B" textcolor="#FFFFFFFF" font="1" />
|
|
<Label name="regTip" text="" textcolor="#FFE08A8A" height="22" margin="0,8,0,0" />
|
|
</VerticalLayout>
|
|
|
|
<VerticalLayout name="panelCard" height="250" visible="false">
|
|
<Label text="用户名" textcolor="#FF95A7B8" height="18" />
|
|
<Edit name="cardUser" height="40" bkcolor="#FF1B232B" nativebkcolor="#FF1B232B" textcolor="#FFFFFFFF" bordercolor="#FF32404E" inset="10,0,0,0" />
|
|
<Control height="12" />
|
|
<Label text="卡密" textcolor="#FF95A7B8" height="18" />
|
|
<Edit name="cardKey" height="40" bkcolor="#FF1B232B" nativebkcolor="#FF1B232B" textcolor="#FFFFFFFF" bordercolor="#FF32404E" inset="10,0,0,0" />
|
|
<Control height="10" />
|
|
<Label text="卡密充入该账号余额,充值后请用账号密码登录" textcolor="#FF95A7B8" height="18" />
|
|
<Control height="14" />
|
|
<Button name="btnRecharge" text="立即充值" height="44" bkcolor="#FF2E9E6B" textcolor="#FFFFFFFF" font="1" />
|
|
<Label name="cardTip" text="" textcolor="#FFE08A8A" height="22" margin="0,8,0,0" />
|
|
</VerticalLayout>
|
|
|
|
<VerticalLayout name="panelReset" height="322" visible="false">
|
|
<Label name="lblResetCard" text="卡密" textcolor="#FF95A7B8" height="18" visible="false" />
|
|
<Edit name="resetCardKey" height="40" bkcolor="#FF1B232B" nativebkcolor="#FF1B232B" textcolor="#FFFFFFFF" bordercolor="#FF32404E" inset="10,0,0,0" visible="false" />
|
|
<Control name="spResetCard" height="12" visible="false" />
|
|
<Label text="邮箱" textcolor="#FF95A7B8" height="18" />
|
|
<HorizontalLayout height="40">
|
|
<Edit name="resetEmail" bkcolor="#FF1B232B" nativebkcolor="#FF1B232B" textcolor="#FFFFFFFF" bordercolor="#FF32404E" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="btnSendCode2" text="发送验证码" width="104" height="40" bkcolor="#FF234A33" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="12" />
|
|
<Label text="邮箱验证码" textcolor="#FF95A7B8" height="18" />
|
|
<Edit name="resetCode" height="40" bkcolor="#FF1B232B" nativebkcolor="#FF1B232B" textcolor="#FFFFFFFF" bordercolor="#FF32404E" inset="10,0,0,0" />
|
|
<Control height="12" />
|
|
<Label text="新密码" textcolor="#FF95A7B8" height="18" />
|
|
<Edit name="resetPass" height="40" bkcolor="#FF1B232B" nativebkcolor="#FF1B232B" textcolor="#FFFFFFFF" bordercolor="#FF32404E" inset="10,0,0,0" password="true" />
|
|
<Control height="14" />
|
|
<Button name="btnReset" text="重置密码" height="44" bkcolor="#FF2E9E6B" textcolor="#FFFFFFFF" font="1" />
|
|
<Label name="resetTip" text="" textcolor="#FFE08A8A" height="22" margin="0,8,0,0" />
|
|
</VerticalLayout>
|
|
|
|
<VerticalLayout name="panelNotice" height="322" visible="false">
|
|
<Label text="公 告" textcolor="#FF2E9E6B" font="1" height="30" />
|
|
<Label name="noticeTitle" text="" textcolor="#FFFFFFFF" height="26" />
|
|
<Control height="6" />
|
|
<Label name="noticeBody" text="" textcolor="#FF95A7B8" height="150" multiline="true" endellipsis="true" />
|
|
<HorizontalLayout height="34">
|
|
<Button name="btnNoticePrev" text="上一条" width="86" height="32" bkcolor="#FF1B232B" textcolor="#FFFFFFFF" />
|
|
<Control width="8" />
|
|
<Button name="btnNoticeNext" text="下一条" width="86" height="32" bkcolor="#FF1B232B" textcolor="#FFFFFFFF" />
|
|
<Control />
|
|
<Label name="noticeIdx" text="" textcolor="#FF8698A8" width="54" />
|
|
</HorizontalLayout>
|
|
<Control height="12" />
|
|
<Button name="btnNoticeOk" text="我知道了" height="44" bkcolor="#FF2E9E6B" textcolor="#FFFFFFFF" font="1" />
|
|
</VerticalLayout>
|
|
<VerticalLayout name="panelUpdate" height="300" visible="false">
|
|
<Label text="版本更新" textcolor="#FF2E9E6B" font="1" height="28" />
|
|
<Label name="updTitle" text="" textcolor="#FFFFFFFF" height="26" />
|
|
<Control height="6" />
|
|
<Label name="updNotes" text="" textcolor="#FF95A7B8" height="130" multiline="true" endellipsis="true" />
|
|
<Label name="updTip" text="" textcolor="#FF8698A8" height="24" />
|
|
<HorizontalLayout height="44">
|
|
<Button name="btnUpdLater" text="稍后提醒" width="112" height="44" bkcolor="#FF1B232B" textcolor="#FFFFFFFF" />
|
|
<Control width="10" />
|
|
<Button name="btnUpdate" text="立即更新" height="44" bkcolor="#FF2E9E6B" textcolor="#FFFFFFFF" font="1" />
|
|
</HorizontalLayout>
|
|
</VerticalLayout>
|
|
<VerticalLayout name="panelDevice" height="-1" visible="false">
|
|
<Label name="devHead" text="设备数量已满" textcolor="#FF2E9E6B" font="1" height="28" />
|
|
<Label name="devTitle" text="" textcolor="#FFFFFFFF" height="24" />
|
|
<Control height="6" />
|
|
<Label name="lblDevCard" text="卡密" textcolor="#FF95A7B8" height="18" visible="false" />
|
|
<Edit name="devCardKey" height="36" bkcolor="#FF1B232B" nativebkcolor="#FF1B232B" textcolor="#FFFFFFFF" bordercolor="#FF32404E" inset="10,0,0,0" visible="false" />
|
|
<Control name="spDevCard" height="6" visible="false" />
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox0" height="40">
|
|
<Button name="devRow0" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind0" text="解绑" width="84" height="40" bkcolor="#FF2E9E6B" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox1" height="40">
|
|
<Button name="devRow1" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind1" text="解绑" width="84" height="40" bkcolor="#FF2E9E6B" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox2" height="40">
|
|
<Button name="devRow2" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind2" text="解绑" width="84" height="40" bkcolor="#FF2E9E6B" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox3" height="40">
|
|
<Button name="devRow3" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind3" text="解绑" width="84" height="40" bkcolor="#FF2E9E6B" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox4" height="40">
|
|
<Button name="devRow4" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind4" text="解绑" width="84" height="40" bkcolor="#FF2E9E6B" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox5" height="40">
|
|
<Button name="devRow5" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind5" text="解绑" width="84" height="40" bkcolor="#FF2E9E6B" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox6" height="40">
|
|
<Button name="devRow6" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind6" text="解绑" width="84" height="40" bkcolor="#FF2E9E6B" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<HorizontalLayout name="rowBox7" height="40">
|
|
<Button name="devRow7" height="40" width="-96" bkcolor="#FF2A2A33" textcolor="#FFF4F4F8" textalign="left" inset="10,0,0,0" />
|
|
<Control width="8" />
|
|
<Button name="devUnbind7" text="解绑" width="84" height="40" bkcolor="#FF2E9E6B" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
<Control height="6" />
|
|
<Control height="6" />
|
|
<Label visible="false" text="输入要解绑的设备序号" textcolor="#FF8698A8" height="18" />
|
|
<Edit visible="false" name="devIdx" height="36" bkcolor="#FF1B232B" nativebkcolor="#FF1B232B" textcolor="#FFFFFFFF" bordercolor="#FF32404E" inset="10,0,0,0" />
|
|
<Label name="devTip" text="" textcolor="#FF8698A8" height="22" />
|
|
<HorizontalLayout height="44">
|
|
<Button visible="false" name="btnUnbind" text="解绑该设备" width="118" height="44" bkcolor="#FF2E9E6B" textcolor="#FFFFFFFF" font="1" />
|
|
<Control width="8" />
|
|
<Button name="btnUnbindOld" text="解绑最早一台" width="118" height="44" bkcolor="#FF2E9E6B" textcolor="#FFFFFFFF" />
|
|
<Control width="8" />
|
|
<Button name="btnRetryLogin" text="重试" width="72" height="44" bkcolor="#FF1B232B" textcolor="#FFFFFFFF" />
|
|
<Control width="8" />
|
|
<Button name="btnBack" text="返回" width="72" height="44" bkcolor="#FF1B232B" textcolor="#FFFFFFFF" />
|
|
</HorizontalLayout>
|
|
</VerticalLayout>
|
|
|
|
</VerticalLayout>
|
|
</HorizontalLayout>
|
|
</VerticalLayout>
|
|
</Window>)SKIN";
|
|
|
|
struct SkinDef { const char *name; const char *xml; int w, h; };
|
|
static const SkinDef kSkins[] = {
|
|
{ "dark", kSkin_dark, 470, 436 },
|
|
{ "light", kSkin_light, 470, 436 },
|
|
{ "split", kSkin_split, 680, 452 },
|
|
{ "card", kSkin_card, 720, 460 },
|
|
{ "industrial", kSkin_industrial, 600, 452 },
|
|
{ "terminal", kSkin_terminal, 620, 446 },
|
|
{ "compact", kSkin_compact, 760, 392 },
|
|
{ NULL, NULL, 0, 0 }
|
|
};
|