Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
court-inner
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
莫晓莉
court-inner
Commits
cc391e8f
Commit
cc391e8f
authored
Oct 10, 2022
by
qinxiaoni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新
parent
f22fd116
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
8 deletions
+29
-8
.env.development
+9
-4
src/views/homePage/index.vue
+12
-4
src/views/verifyLogin.vue
+8
-0
No files found.
.env.development
View file @
cc391e8f
ENV = 'development'
VUE_APP_BASE_API = 'http://192.168.0.150:9888'
VUE_APP_WS_API = 'ws://192.168.0.150:9888'
VUE_APP_FILE_API = 'http://192.168.0.150:9888'
#VUE_APP_BASE_API = 'http://192.168.0.150:9888'
#VUE_APP_WS_API = 'ws://192.168.0.150:9888'
#VUE_APP_FILE_API = 'http://192.168.0.150:9888'
VUE_APP_BASE_API = 'http://192.168.0.28:9888'
VUE_APP_WS_API = 'ws://192.168.0.28:9888'
VUE_APP_FILE_API = 'http://192.168.0.28:9888'
# 内网 登录地址
VUE_APP_LOGIN_API = 'http://171.106.48.55:36003/cas/login?service=http://192.168.0.150:9888/oauth/login?systemTag=oa-interInformation'
#VUE_APP_LOGIN_API = 'http://171.106.48.55:36003/cas/login?service=http://192.168.0.150:9888/oauth/login?systemTag=oa-interInformation'
VUE_APP_LOGIN_API = 'http://171.106.48.55:36003/cas/login?service=http://192.168.0.28:9888/oauth/login?systemTag=oa-interInformation'
#获取菜单标识
VUE_APP_SYSTEAMTAG = ''
...
...
src/views/homePage/index.vue
View file @
cc391e8f
...
...
@@ -3,10 +3,10 @@
<el-row>
<el-col
:span=
"18"
:offset=
"3"
>
<!--第一栏开始-->
<el-row
:gutter=
"20"
class=
"mt-15 first-zone-style"
>
<el-row
:gutter=
"20"
class=
"mt-15 first-zone-style"
type=
"flex"
>
<el-col
:span=
"10"
style=
"padding-left:0;padding-right:0;"
>
<div>
<el-carousel
style=
"border-radius:8px;"
height=
"280px"
:interval=
"4000"
>
<el-carousel
style=
"border-radius:8px;"
:interval=
"4000"
>
<el-carousel-item
style=
"border-radius:8px;"
v-for=
"(item,index) in headlineRotation.slice(0,3)"
...
...
@@ -24,12 +24,15 @@
fit=
"contain"
style=
"width:100%;height:100%;"
></el-image>
-->
<el-image
v-if=
"item.rollAttInfoList[0] && item.rollAttInfoList[0].downloadPath"
:src=
"item.rollAttInfoList[0].downloadPath"
fit=
"contain"
style=
"width:100%;height:100%;"
></el-image>
<div
class=
"carousel-intro"
style
>
<span>
 
{{
item
.
subject
}}
 
</span>
</div>
...
...
@@ -128,7 +131,7 @@
<el-col
:span=
"4"
style=
"background:#fff;box-shadow: -5px 0px 20px 5px rgba(0,0,0,0.05);
"
style=
"background:#fff;box-shadow: -5px 0px 20px 5px rgba(0,0,0,0.05);"
>
<div
class=
"partnerInfo"
>
<ul
class=
"ul-list"
>
...
...
@@ -145,6 +148,10 @@
</el-row>
<!--第一栏结束-->
<!--第二栏按钮列表开始-->
<el-row
class=
"mt-15 out-zone-style"
:gutter=
"10"
>
<el-col
class=
"mb-10"
:span=
"3"
v-for=
"(item,index) in btnsList"
:key=
"index"
>
...
...
@@ -795,7 +802,7 @@ export default {
}
],
videoLiet
:
[],
whole
:
[]
whole
:
[]
,
};
},
watch
:
{
...
...
@@ -901,6 +908,7 @@ export default {
let
rollAttInfoList
=
new
Array
();
rollAttInfoList
.
push
(
aitem
);
item
.
rollAttInfoList
=
rollAttInfoList
;
// 图片列表
console
.
log
(
'------suffix.length != 0'
);
this
.
headlineRotation
.
push
(
item
);
}
}
...
...
src/views/verifyLogin.vue
View file @
cc391e8f
...
...
@@ -31,6 +31,14 @@ export default {
// },
getH
()
{
let
obj
=
this
.
$route
.
query
;
// let token ="Bearer " + "eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJjaGVudGlhbnpob25nQGd4ZnkuY29tIiwiYXV0aCI6InNlYWw6Y291bnQsc2VhbDphZGQsYmFjazpsaXN0LHVuaWZpZWRTaWduYXR1cmU6bG9nLHVuaWZpZWRTaWduYXR1cmU6c2hvdyIsImp0aSI6Ijk3ZTNhOTNiZjQ4MzQ3ZjNhOTY3MjhjNzBhMjk0YTNkIn0.DruV7q_PwSv1jRxTY6r6t-Ewj8nGckkE9faQ7syNIVd5xofqFJtvoS6nyt2YUymM67kh3rxhmOKTb0HbyWQWEw"
// let cookie = obj.JSESSIONID;
// Cookie.set("JSESSIONID---", cookie);
// localStorage.setItem("token", token);
// setToken(token, false);
// this.$router.push("/");
if
(
obj
.
Authorization
)
{
let
token
=
obj
.
Authorization
.
indexOf
(
"Bearer "
)
==
-
1
...
...
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