mirror of
https://shylinux.com/x/community
synced 2025-07-01 13:14:44 +08:00
add some
This commit is contained in:
parent
3275b534a3
commit
841c3d0948
@ -14,7 +14,7 @@ $action div.item.button span { display:none; }
|
||||
$action div.item.button i { display:none; }
|
||||
$output div.title div.action div.item.notice input { background-color:var(--notice-bg-color); color:var(--notice-fg-color); }
|
||||
$output { background-color:var(--plugin-bg-color); }
|
||||
$output>div.header { background-image:linear-gradient(var(--notice-bg-color), var(--plugin-bg-color)); height:300px; width:100%; position:absolute; top:-50px; left:0; }
|
||||
$output>div.header { background-image:linear-gradient(var(--notice-bg-color), var(--plugin-bg-color)); height:300px; width:100%; position:absolute; left:0; }
|
||||
$output>div.header img { height:100%; width:100%; object-fit:cover; }
|
||||
$output div.output>div.code { font-size:16px; position:relative; }
|
||||
$output div.output>div.code img.avatar { border-radius:10px; height:64px !important; width:64px !important; object-fit:cover; position:absolute; top:153px; left:calc(50% - 32px); }
|
||||
@ -38,6 +38,7 @@ $output>div>div.list>div.title div.action div.item { margin-right:5px; }
|
||||
$output>div>div.list>div.title div.action div.item.button.icons input { display:none; }
|
||||
$output>div>div.list>div.role:not(.hide) { display:flex; align-items:center; justify-content:space-around; }
|
||||
$output>div>div.list>div.role span { padding:5px; cursor:pointer; }
|
||||
body:not(.mobile) $output>div>div.list>div.role span:hover { background-color:var(--hover-bg-color); }
|
||||
$output>div>div.list>div.role span:not(.select) { color:gray; }
|
||||
$output>div>div.list>div.role span.select { border-bottom:var(--box-notice); }
|
||||
$output>div>div.list>div.role span.creator.select { border-bottom:var(--box-danger); }
|
||||
@ -56,9 +57,10 @@ $output div.head div.item.card img { border-radius:25px; }
|
||||
$output div.head>div.item.card div.title div.item.button i { display:none; }
|
||||
$output div.tabs { height:32px; display:flex; position:unset; }
|
||||
$output div.tabs span { padding:5px 10px; }
|
||||
body:not(.mobile) $output div.tabs span:hover { background-color:var(--hover-bg-color); }
|
||||
$output div.tabs span.select { background-color:var(--output-bg-color); color:var(--hover-fg-color); }
|
||||
$output div.item.card:not(:last-child) { margin-bottom:2px; }
|
||||
body:not(.width1) $output div.item.card { background-color:var(--output-bg-color); flex-direction:row-reverse; }
|
||||
body:not(.width1) $output div.item.card { flex-direction:row-reverse; }
|
||||
body:not(.width1) $output div.item.card>div.action { position:static; flex-shrink:0; }
|
||||
body:not(.width1) $output div.item.card>div.output { flex-grow:1; }
|
||||
$output div.item.card>div.output>div { width:100%; }
|
||||
@ -73,7 +75,7 @@ $output div.item.card.sticky>div.output { background-color:var(--plugin-bg-color
|
||||
$action div.item.notice input[type=button] { border:var(--box-notice); color:var(--notice-bg-color); }
|
||||
$action div.item.danger input[type=button] { border:var(--box-danger); color:var(--danger-bg-color); }
|
||||
$output input.notice[type=button] { background-color:var(--notice-bg-color); color:var(--notice-fg-color); }
|
||||
$output input.danger[type=button] { border:var(--box-danger); color:var(--danger-bg-color); }
|
||||
$output input.danger[type=button] { color:var(--danger-bg-color); }
|
||||
$output input[type=button][name=submit] { background-color:var(--notice-bg-color); color:var(--notice-fg-color); }
|
||||
$output span.type { border:none; border-radius:5px; background-color:var(--hover-bg-color); color:var(--notice-bg-color); padding:2px 8px; }
|
||||
$output span.role { border:none; border-radius:5px; background-color:var(--hover-bg-color); color:var(--notice-bg-color); padding:2px 8px; }
|
||||
|
@ -25,7 +25,10 @@ Volcanos(chat.ONIMPORT, {
|
||||
can.page.Append(can, can.page.SelectOne(can, target, "div.code"), [{img: can.misc.Resource(can, avatar||can.ConfIcons()||can.user.info.favicon), className: "avatar"}])
|
||||
},
|
||||
myPortal: function(can, msg) { can.sup.current = {}
|
||||
can.page.tagis(document.body, "body.width1") && (can.user.isMobile = true)
|
||||
can.page.tagis(document.body, "body.width1") && (can.user.isMobile = true, can.sup.user.isMobile = true)
|
||||
can.onmotion.delay(can, function() {
|
||||
can.page.tagis(document.body, "body.width1") && (can.user.isMobile = true, can.sup.user.isMobile = true)
|
||||
}, 300)
|
||||
can.core.List(["_place_uid", "_place_name", "_place_type", "_user_place_role", "_street_name"], function(key) { can.Conf(key, msg.Option(key)) })
|
||||
var PLACE_UID = can.Conf("_place_uid"), PLACE_NAME = can.Conf("_place_name"), PLACE_TYPE = can.Conf("_place_type")
|
||||
var USER_PLACE_ROLE = can.Conf("_user_place_role"), STREET_NAME = can.Conf("_street_name")
|
||||
|
@ -76,6 +76,7 @@
|
||||
"created_at": "创建时间",
|
||||
"operator": "操作人",
|
||||
"operate": "操作",
|
||||
"address": "场景地址",
|
||||
"init": "初始化",
|
||||
"info": "详情",
|
||||
"class": "基类",
|
||||
|
@ -1,11 +0,0 @@
|
||||
chapter "用户场景"
|
||||
refer `
|
||||
公众号 https://mp.weixin.qq.com/cgi-bin/home?t=home/index&lang=zh_CN&token=494166701
|
||||
ICON https://igoutu.cn/icons/officel
|
||||
GORM https://gorm.io/docs/indexes.html
|
||||
`
|
||||
field web.chat.wx.access
|
||||
field web.chat.wx.menu
|
||||
field web.code.mysql.client
|
||||
field web.code.mysql.query args `mysql gonganxitong`
|
||||
field web.code.db.models
|
12
src/main.shy
12
src/main.shy
@ -1,5 +1,11 @@
|
||||
title "云社区"
|
||||
|
||||
field web.team.gonganxitong.portal
|
||||
refer `
|
||||
公众号 https://mp.weixin.qq.com/cgi-bin/home?t=home/index&lang=zh_CN&token=494166701
|
||||
ICON https://igoutu.cn/icons/officel
|
||||
GORM https://gorm.io/docs/indexes.html
|
||||
`
|
||||
field web.chat.wx.access
|
||||
field web.chat.wx.menu
|
||||
field web.code.mysql.client
|
||||
field web.code.mysql.query
|
||||
field web.code.mysql.query
|
||||
field web.code.db.models
|
Loading…
x
Reference in New Issue
Block a user