Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
huarun-binjiang-ipad
/
ipad
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
dd869fdc
authored
Oct 24, 2021
by
liuwange1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
动画吸怪
parent
7679c1e1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
89 additions
and
90 deletions
+89
-90
package-lock.json
+79
-81
src/App.vue
+9
-8
src/utils/request.js
+1
-1
No files found.
package-lock.json
View file @
dd869fdc
...
...
@@ -1752,6 +1752,63 @@
"integrity"
:
"sha1-/q7SVZc9LndVW4PbwIhRpsY1IPo="
,
"dev"
:
true
},
"ansi-styles"
:
{
"version"
:
"4.3.0"
,
"resolved"
:
"https://registry.nlark.com/ansi-styles/download/ansi-styles-4.3.0.tgz?cache=0&sync_timestamp=1618995588464&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fansi-styles%2Fdownload%2Fansi-styles-4.3.0.tgz"
,
"integrity"
:
"sha1-7dgDYornHATIWuegkG7a00tkiTc="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"color-convert"
:
"^2.0.1"
}
},
"chalk"
:
{
"version"
:
"4.1.2"
,
"resolved"
:
"https://registry.nlark.com/chalk/download/chalk-4.1.2.tgz?cache=0&sync_timestamp=1627646655305&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fchalk%2Fdownload%2Fchalk-4.1.2.tgz"
,
"integrity"
:
"sha1-qsTit3NKdAhnrrFr8CqtVWoeegE="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"ansi-styles"
:
"^4.1.0"
,
"supports-color"
:
"^7.1.0"
}
},
"color-convert"
:
{
"version"
:
"2.0.1"
,
"resolved"
:
"https://registry.nlark.com/color-convert/download/color-convert-2.0.1.tgz"
,
"integrity"
:
"sha1-ctOmjVmMm9s68q0ehPIdiWq9TeM="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"color-name"
:
"~1.1.4"
}
},
"color-name"
:
{
"version"
:
"1.1.4"
,
"resolved"
:
"https://registry.npm.taobao.org/color-name/download/color-name-1.1.4.tgz"
,
"integrity"
:
"sha1-wqCah6y95pVD3m9j+jmVyCbFNqI="
,
"dev"
:
true
,
"optional"
:
true
},
"has-flag"
:
{
"version"
:
"4.0.0"
,
"resolved"
:
"https://registry.nlark.com/has-flag/download/has-flag-4.0.0.tgz?cache=0&sync_timestamp=1626715907927&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fhas-flag%2Fdownload%2Fhas-flag-4.0.0.tgz"
,
"integrity"
:
"sha1-lEdx/ZyByBJlxNaUGGDaBrtZR5s="
,
"dev"
:
true
,
"optional"
:
true
},
"loader-utils"
:
{
"version"
:
"2.0.0"
,
"resolved"
:
"https://registry.npmmirror.com/loader-utils/download/loader-utils-2.0.0.tgz?cache=0&sync_timestamp=1634740734133&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Floader-utils%2Fdownload%2Floader-utils-2.0.0.tgz"
,
"integrity"
:
"sha1-5MrOW4FtQloWa18JfhDNErNgZLA="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"big.js"
:
"^5.2.2"
,
"emojis-list"
:
"^3.0.0"
,
"json5"
:
"^2.1.2"
}
},
"ssri"
:
{
"version"
:
"8.0.1"
,
"resolved"
:
"https://registry.nlark.com/ssri/download/ssri-8.0.1.tgz"
,
...
...
@@ -1760,6 +1817,28 @@
"requires"
:
{
"minipass"
:
"^3.1.1"
}
},
"supports-color"
:
{
"version"
:
"7.2.0"
,
"resolved"
:
"https://registry.nlark.com/supports-color/download/supports-color-7.2.0.tgz"
,
"integrity"
:
"sha1-G33NyzK4E4gBs+R4umpRyqiWSNo="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"has-flag"
:
"^4.0.0"
}
},
"vue-loader-v16"
:
{
"version"
:
"npm:vue-loader@16.8.1"
,
"resolved"
:
"https://registry.npmmirror.com/vue-loader/download/vue-loader-16.8.1.tgz?cache=0&sync_timestamp=1632350159599&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fvue-loader%2Fdownload%2Fvue-loader-16.8.1.tgz"
,
"integrity"
:
"sha1-NU8SvAiXlUFYtxWQ+AApVxOneS0="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"chalk"
:
"^4.1.0"
,
"hash-sum"
:
"^2.0.0"
,
"loader-utils"
:
"^2.0.0"
}
}
}
},
...
...
@@ -11159,87 +11238,6 @@
}
}
},
"vue-loader-v16"
:
{
"version"
:
"npm:vue-loader@16.5.0"
,
"resolved"
:
"https://registry.nlark.com/vue-loader/download/vue-loader-16.5.0.tgz?cache=0&sync_timestamp=1628666767864&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fvue-loader%2Fdownload%2Fvue-loader-16.5.0.tgz"
,
"integrity"
:
"sha1-CcTgcSRmiZ40uZpoZSTxkWX7KJI="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"chalk"
:
"^4.1.0"
,
"hash-sum"
:
"^2.0.0"
,
"loader-utils"
:
"^2.0.0"
},
"dependencies"
:
{
"ansi-styles"
:
{
"version"
:
"4.3.0"
,
"resolved"
:
"https://registry.nlark.com/ansi-styles/download/ansi-styles-4.3.0.tgz"
,
"integrity"
:
"sha1-7dgDYornHATIWuegkG7a00tkiTc="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"color-convert"
:
"^2.0.1"
}
},
"chalk"
:
{
"version"
:
"4.1.2"
,
"resolved"
:
"https://registry.nlark.com/chalk/download/chalk-4.1.2.tgz?cache=0&sync_timestamp=1627646734234&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fchalk%2Fdownload%2Fchalk-4.1.2.tgz"
,
"integrity"
:
"sha1-qsTit3NKdAhnrrFr8CqtVWoeegE="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"ansi-styles"
:
"^4.1.0"
,
"supports-color"
:
"^7.1.0"
}
},
"color-convert"
:
{
"version"
:
"2.0.1"
,
"resolved"
:
"https://registry.npm.taobao.org/color-convert/download/color-convert-2.0.1.tgz"
,
"integrity"
:
"sha1-ctOmjVmMm9s68q0ehPIdiWq9TeM="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"color-name"
:
"~1.1.4"
}
},
"color-name"
:
{
"version"
:
"1.1.4"
,
"resolved"
:
"https://registry.npm.taobao.org/color-name/download/color-name-1.1.4.tgz"
,
"integrity"
:
"sha1-wqCah6y95pVD3m9j+jmVyCbFNqI="
,
"dev"
:
true
,
"optional"
:
true
},
"has-flag"
:
{
"version"
:
"4.0.0"
,
"resolved"
:
"https://registry.nlark.com/has-flag/download/has-flag-4.0.0.tgz?cache=0&sync_timestamp=1626715907927&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fhas-flag%2Fdownload%2Fhas-flag-4.0.0.tgz"
,
"integrity"
:
"sha1-lEdx/ZyByBJlxNaUGGDaBrtZR5s="
,
"dev"
:
true
,
"optional"
:
true
},
"loader-utils"
:
{
"version"
:
"2.0.0"
,
"resolved"
:
"https://registry.npm.taobao.org/loader-utils/download/loader-utils-2.0.0.tgz"
,
"integrity"
:
"sha1-5MrOW4FtQloWa18JfhDNErNgZLA="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"big.js"
:
"^5.2.2"
,
"emojis-list"
:
"^3.0.0"
,
"json5"
:
"^2.1.2"
}
},
"supports-color"
:
{
"version"
:
"7.2.0"
,
"resolved"
:
"https://registry.nlark.com/supports-color/download/supports-color-7.2.0.tgz?cache=0&sync_timestamp=1626703400240&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fsupports-color%2Fdownload%2Fsupports-color-7.2.0.tgz"
,
"integrity"
:
"sha1-G33NyzK4E4gBs+R4umpRyqiWSNo="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"has-flag"
:
"^4.0.0"
}
}
}
},
"vue-router"
:
{
"version"
:
"3.5.2"
,
"resolved"
:
"https://registry.nlark.com/vue-router/download/vue-router-3.5.2.tgz?cache=0&sync_timestamp=1628495505697&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fvue-router%2Fdownload%2Fvue-router-3.5.2.tgz"
,
...
...
src/App.vue
View file @
dd869fdc
...
...
@@ -155,18 +155,19 @@ export default {
},
navClickHandle
(
index
)
{
this
.
activeIndex
=
index
;
//
if (index == 0) {
//
//
开场动画 1
//
this.$axios.post("/osc/sendInt", {
//
arg: 1,
//
name: "/KC",
//
});
// }
if
(
index
==
0
)
{
// 开场动画 1
this
.
$axios
.
post
(
"/osc/sendInt"
,
{
arg
:
1
,
name
:
"/KC"
,
});
}
else
{
// 一级动画
this
.
$axios
.
post
(
"/osc/sendInt"
,
{
arg
:
index
,
arg
:
index
-
1
,
name
:
"/YJ"
,
});
}
let
routerName
=
this
.
navList
[
index
].
routerName
;
if
(
routerName
&&
routerName
!=
this
.
$route
.
name
)
{
this
.
$router
.
push
({
name
:
routerName
});
...
...
src/utils/request.js
View file @
dd869fdc
...
...
@@ -3,7 +3,7 @@ import axios from 'axios';
// 进行一些全局配置
// 公共路由(网络请求地址)
axios
.
defaults
.
baseURL
=
'http://1
23.56.242.140
:8088'
;
axios
.
defaults
.
baseURL
=
'http://1
92.168.0.103
:8088'
;
// 请求响应超时时间
axios
.
defaults
.
timeout
=
5000
;
...
...
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