Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
semour
/
semour_web
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
e5a31433
authored
Nov 25, 2022
by
肖康
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修改cookie邮箱
parent
16b910ae
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
2 deletions
public/assets/css/common/common.less
public/assets/css/common/common.min.css
public/assets/js/common/tool.js
resources/views/common/js.blade.php
public/assets/css/common/common.less
View file @
e5a31433
...
...
@@ -539,7 +539,7 @@
position : absolute;
width : 160px;
background: #FFFFFF;
top : 1
9
px;
top : 1
7
px;
left : 0px;
box-shadow: 0px 0px 5px #ccc;
padding : 15px 0px;
...
...
public/assets/css/common/common.min.css
View file @
e5a31433
This diff is collapsed.
Click to expand it.
public/assets/js/common/tool.js
View file @
e5a31433
...
...
@@ -50,7 +50,7 @@ define(function (require, exports, module) {
module
.
exports
.
isLogin
=
function
()
{
if
(
module
.
exports
.
getCookie
(
"sem_email"
)){
if
(
$
(
"#emailCookie"
).
val
(
)){
return
true
}
return
false
...
...
resources/views/common/js.blade.php
View file @
e5a31433
...
...
@@ -5,6 +5,7 @@
const
PUBLICXK
=
"
{
{$public}
}
"
;
//资源文件文件目录 js公用变量
const
SO_URL
=
"
{
{$so_url}
}
"
;
//资源文件文件目录 js公用变量
</
script
>
<
input
type
=
"hidden"
id
=
"emailCookie"
value
=
"
{
{$_COOKIE['sem_email']??''}
}
"
>
<
script
src
=
"
{
{$public}}/assets/js/common/sea.js?v={{time()}
}
"
></
script
>
<
script
src
=
"
{
{$public}}/assets/js/common/jquery-1.8.3.min.js?v={{time()}
}
"
></
script
>
<
script
src
=
"
{
{$public}}/assets/js/common/config.js?v={{time()}
}
"
></
script
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment