mirror of
https://shylinux.com/x/community
synced 2025-04-25 17:48:06 +08:00
add some
This commit is contained in:
parent
3ae374e164
commit
f629639aa4
@ -26,7 +26,7 @@ $output>div>div.list.myplace>div.output { padding:0 10px; max-height:320px; }
|
||||
$output>div>div.list.mynotice { cursor:pointer; }
|
||||
$output>div>div.list.mynotice:not(.hide) { display:flex; align-items:center; }
|
||||
$output>div>div.list.mynotice>span.title { flex-grow:1; margin:0 5px; }
|
||||
$output>div>div.list.mynotice>span:first-child { background-color:var(--hover-bg-color); color:var(--notice-bg-color); margin-right:5px; }
|
||||
$output>div>div.list.mynotice>span:first-child { background-color:var(--hover-bg-color); color:var(--notice-bg-color); padding:0 5px; margin-right:5px; }
|
||||
$output>div>div.list.mynotice>span:last-child { color:gray; }
|
||||
$output>div>div.list>div.title { font-weight:bold; display:flex; align-items:center; }
|
||||
$output>div>div.list>div.title span:first-child { flex-grow:1; }
|
||||
|
@ -114,6 +114,15 @@ func (s Portal) List(m *ice.Message, arg ...string) {
|
||||
s.Hash.List(m, kit.Slice(arg, 1)...).PushAction(mdb.DETAIL, s.Hash.Remove).Action().SortInt(mdb.ORDER)
|
||||
return
|
||||
}
|
||||
if m.Option(model.USER_UID) == "" && m.IsTech() {
|
||||
if msg := m.Cmd(s.user, s.Table.Select, model.OPEN_ID, m.Option(ice.MSG_USERNAME)); msg.Length() == 0 {
|
||||
msg := m.Cmd(s.user, s.Table.Create, m.Option(ice.MSG_USERNAME))
|
||||
m.ProcessCookie(model.USER_UID, msg.Result())
|
||||
} else {
|
||||
m.ProcessCookie(model.USER_UID, msg.Append(model.UID))
|
||||
}
|
||||
return
|
||||
}
|
||||
m.Option(model.SERVICE_UID, ServiceUID(m))
|
||||
if len(arg) == 0 {
|
||||
m.Cmdy(m.PrefixKey(), s.PlaceList, m.Option(model.USER_UID)).PushAction(s.PlaceRemove).Action(s.PlaceCreate)
|
||||
|
@ -9,41 +9,3 @@ field web.chat.wx.menu
|
||||
field web.code.mysql.client
|
||||
field web.code.mysql.query args `mysql gonganxitong`
|
||||
field web.code.db.models
|
||||
field web.code.db.mysql
|
||||
order `
|
||||
sess.go
|
||||
user.go
|
||||
userPlace.go
|
||||
placeUser.go
|
||||
place.go
|
||||
street.go
|
||||
city.go
|
||||
|
||||
qrcode.go
|
||||
apply.go
|
||||
apply.js
|
||||
allow.go
|
||||
allow.js
|
||||
event.go
|
||||
event.js
|
||||
|
||||
common.go
|
||||
common.js
|
||||
portal.css
|
||||
portal.go
|
||||
portal.js
|
||||
portal.json
|
||||
portal.shy
|
||||
|
||||
message.go
|
||||
message.js
|
||||
recent.go
|
||||
recent.js
|
||||
search.go
|
||||
search.js
|
||||
command.go
|
||||
service.go
|
||||
service.js
|
||||
support.go
|
||||
email.go
|
||||
`
|
||||
|
@ -10,3 +10,5 @@ import (
|
||||
)
|
||||
|
||||
func main() { print(ice.Run()) }
|
||||
|
||||
func init() { ice.Info.NodeMain = "web.team.gonganxitong.portal" }
|
||||
|
Loading…
x
Reference in New Issue
Block a user