This commit is contained in:
IT 老营长 @云轩领航-创始人 2025-06-28 00:22:28 +08:00
parent d51a4c41ac
commit 38b327496c
3 changed files with 7 additions and 5 deletions

View File

@ -18,7 +18,9 @@ $action div.item.user_info img { height:32px; border-radius:20px; margin-left:10
$action div.item.user_info { padding:10px; }
$action div.item.user_info>div.name { display:flex; flex-direction:column; align-items:end; }
$action div.item.user_info>div.name>span.time { font-size:10px; color:var(--label-fg-color); }
$action div.item.space { flex-grow:1; }
$action div.item.space { flex-grow:1; background-color:transparent; cursor:default; }
$action div.item.place input { font-weight:bold; font-style:italic; }
body:not(.mobile) $action div.item.scanQRCode { display:none; }
fieldset>div.output>div.tabs { display:flex; }
fieldset>div.output>div.tabs>div.item { padding:5px; line-height:20px; }
fieldset.input.key>div.output>div.tabs { display:none; }

View File

@ -11,6 +11,6 @@ $output>div.item.story i { width:40px; text-align:center; }
body:not(.mobile) $output>div.item:hover { background-color:var(--hover-bg-color); }
$output>div.item.title { margin-left:20px; }
$output>div.item.input input[type=text] { border:none; border-bottom:var(--box-border); text-align:right; flex-shrink:1; padding:0 20px; max-width:100px; }
$output>div.item.button { justify-content:center; margin:10px; }
$output>div.item.button.logout { height:48px; }
$output>div.item.button.logout input[type=button] { width:100%; max-width:240px; }
$output>div.item.button { justify-content:center; margin:10px; height:48px; }
$output>div.item.button input[type=button] { width:100%; max-width:240px; }
$output>div.item.button.logout { }

View File

@ -7,7 +7,7 @@ Volcanos(chat.ONIMPORT, {
can.onappend.input(can, {type: html.BUTTON, name: "website", value: "进入官网", onclick: function() {
can.user.open("/")
}}, "", can._output)
can.onappend.input(can, {type: html.BUTTON, name: "scan", value: "扫码识别", onclick: function(event) {
can.user.isMobile && can.onappend.input(can, {type: html.BUTTON, name: "scan", value: "扫码识别", onclick: function(event) {
can.user.agent.scanQRCode(can, function(value) {
var data = can.misc.ParseURL(can, value.text)
can.onimport.myStory(can, {space: data.pod, index: data.cmd, opts: data})