Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
FuLiMini
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangjian
FuLiMini
Commits
7db0b74a
Commit
7db0b74a
authored
Jun 02, 2022
by
wangjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
f8957f29
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
home.vue
pages/home/home.vue
+1
-1
router.js
router/router.js
+1
-0
No files found.
pages/home/home.vue
View file @
7db0b74a
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
<swiper
class=
"swiper"
@
change=
"changeSwiper"
:indicator-dots=
"false"
>
<swiper
class=
"swiper"
@
change=
"changeSwiper"
:indicator-dots=
"false"
>
<swiper-item
v-for=
"(item, index) in headerData"
:key=
"index"
>
<swiper-item
v-for=
"(item, index) in headerData"
:key=
"index"
>
<view
class=
"swiper-list"
>
<view
class=
"swiper-list"
>
<view
class=
"item"
v-for=
"(subItem, subIndex) in item"
:key=
"subIndex"
@
click=
"goToLandPage(
i
tem)"
>
<view
class=
"item"
v-for=
"(subItem, subIndex) in item"
:key=
"subIndex"
@
click=
"goToLandPage(
subI
tem)"
>
<image
class=
"icon"
mode=
"aspectFill"
:src=
"subItem.icon"
></image>
<image
class=
"icon"
mode=
"aspectFill"
:src=
"subItem.icon"
></image>
<view
class=
"item-title"
>
{{
subItem
.
title
}}
</view>
<view
class=
"item-title"
>
{{
subItem
.
title
}}
</view>
<view
class=
"item-desc"
>
{{
subItem
.
subTitle
}}
</view>
<view
class=
"item-desc"
>
{{
subItem
.
subTitle
}}
</view>
...
...
router/router.js
View file @
7db0b74a
...
@@ -72,6 +72,7 @@ export function replaceTo(routerName, params) {
...
@@ -72,6 +72,7 @@ export function replaceTo(routerName, params) {
}
}
export
function
goLandPage
(
url
)
{
export
function
goLandPage
(
url
)
{
console
.
log
(
url
);
let
pageUrl
=
url
let
pageUrl
=
url
let
routerName
=
url
let
routerName
=
url
if
(
url
.
indexOf
(
'?'
)
>-
1
)
{
if
(
url
.
indexOf
(
'?'
)
>-
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