Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mobi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wbx-PCAndMobi
mobi
Commits
ab6e9a20
Commit
ab6e9a20
authored
May 19, 2021
by
程卓
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
c24f7c1a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
4 deletions
+19
-4
commenHome.vue
src/views/commenHome.vue
+15
-2
homeXuhui.vue
src/views/homeXuhui.vue
+4
-2
No files found.
src/views/commenHome.vue
View file @
ab6e9a20
<
template
>
<div
class=
"content"
>
{{
$api
.
BASE_URL
}}
<xuhui
v-if=
"($api.BASE_URL).indexOf('xuhui') > -1 || ($api.BASE_URL).indexOf('31.0.161.39') > -1||($api.BASE_URL).indexOf('pudong') > -1 || ($api.BASE_URL).indexOf('211.136.105.193') > -1"
/>
{{
url
}}
<xuhui
v-if=
"(url).indexOf('xuhui') > -1 || (url).indexOf('31.0.161.39') > -1||(url).indexOf('pudong') > -1 || (url).indexOf('211.136.105.193') > -1"
/>
<!--
<xuhui
v-if=
"($api.BASE_URL).indexOf('xuhui') > -1 ||
($api.BASE_URL).indexOf('31.0.161.39') > -1||($api.BASE_URL).indexOf('pudong') > -1 || ($api.BASE_URL).indexOf('211.136.105.193') > -1"
/>
-->
<home
v-else
/>
</div>
...
...
@@ -10,11 +14,20 @@
<
script
>
import
xuhui
from
'@/views/homeXuhui'
import
home
from
'@/views/home'
export
default
{
components
:
{
xuhui
,
home
},
data
()
{
return
{
url
:
window
.
location
.
origin
}
},
mounted
()
{
console
.
log
(
window
.
location
.
origin
)
console
.
log
(
this
.
$api
.
BASE_URL
)
}
}
...
...
src/views/homeXuhui.vue
View file @
ab6e9a20
<
template
>
<div>
{{
$api
.
BASE_URL
}}
<!-- 浦东 -->
{{
$api
.
BASE_URL
}}
{{
url
}}
<div
id=
"home"
class=
"layoutPadding"
v-if=
"(this.$api.BASE_URL).indexOf('pudong') > -1 || (this.$api.BASE_URL).indexOf('211.136.105.193') > -1"
>
<div
class=
"topBox-l"
>
<div
class=
"inner"
style=
""
>
...
...
@@ -659,6 +659,8 @@ export default {
},
data
()
{
return
{
url
:
window
.
location
.
origin
,
ok
,
nm
,
date
:
new
Date
(),
...
...
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