Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-xcmg-vue-app
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xugong
hls-xcmg-vue-app
Commits
eb2441e2
Commit
eb2441e2
authored
Oct 12, 2019
by
786817560
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'拉取'
parent
631b106e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
home-page.vue
src/pages/home/home-page.vue
+12
-2
No files found.
src/pages/home/home-page.vue
View file @
eb2441e2
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Descrip: 主页
* @Descrip: 主页
* @Author: your name
* @Author: your name
* @Date: 2019-10-10 14:25:15
* @Date: 2019-10-10 14:25:15
* @LastEditTime: 2019-10-1
1 16:26:13
* @LastEditTime: 2019-10-1
2 11:27:42
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
-->
-->
<
template
>
<
template
>
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
<img
class=
"locations"
src=
"@/assets/homePage/location.png"
alt=
""
@
click=
"location"
>
<img
class=
"locations"
src=
"@/assets/homePage/location.png"
alt=
""
@
click=
"location"
>
<span>
徐州
</span>
<span>
徐州
</span>
</div>
</div>
<div
slot=
"center"
>
徐工租赁
</div>
<div
slot=
"center"
@
click=
"getLocation"
>
徐工租赁
</div>
</h-header>
</h-header>
<h-content>
<h-content>
<swipe
:interval=
"5000"
class=
"hls-swipe"
>
<swipe
:interval=
"5000"
class=
"hls-swipe"
>
...
@@ -99,8 +99,18 @@ export default {
...
@@ -99,8 +99,18 @@ export default {
},
},
computed
:
{},
computed
:
{},
watch
:
{},
watch
:
{},
created
()
{
this
.
getLocation
()
},
methods
:
methods
:
{
{
// 定位
getLocation
()
{
let
url
=
'http://api.map.baidu.com/location/ip?ak=2h7McXV8X4CmFkYEuhPGWLKWpdQrdHCg&coor=bd09ll'
this
.
hlsHttp
.
post
(
url
).
then
(
function
(
res
)
{
console
.
log
(
res
)
})
},
goFunctionHome
(
data
)
{
goFunctionHome
(
data
)
{
// if (data.functionState === 'NaturePersonReadOnly') {
// if (data.functionState === 'NaturePersonReadOnly') {
// if (this.user_bp_status === 'APPROVED' && this.user_bp_class === 'NP') {
// if (this.user_bp_status === 'APPROVED' && this.user_bp_class === 'NP') {
...
...
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