Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
J
jd-vx-app
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
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
Administrator
jd-vx-app
Commits
9e899632
Commit
9e899632
authored
Jun 18, 2022
by
lijiongliang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页修改
parent
de05ba3e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
3 deletions
+13
-3
home-new.vue
pages/home-new.vue
+3
-3
main.vue
pages/main.vue
+10
-0
No files found.
pages/home-new.vue
View file @
9e899632
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
<view
class=
"banner"
>
<view
class=
"banner"
>
<view
class=
"banner-img"
>
<view
class=
"banner-img"
>
<image
src=
"http://jdnc-oss.uzosp.com/2022/06/1
5/e7dec07c0dbe4e2faa42530e3a0b2218.pn
g"
></image>
<image
src=
"http://jdnc-oss.uzosp.com/2022/06/1
8/9680b34d2b57444fbc212fcf27a43ffe.jp
g"
></image>
<view
class=
"left"
@
click=
"goJdShop(1)"
>
<view
class=
"left"
@
click=
"goJdShop(1)"
>
<view
class=
"banner-btn"
>
<view
class=
"banner-btn"
>
<image
src=
"../static/index/ban-btn.png"
></image>
<image
src=
"../static/index/ban-btn.png"
></image>
...
@@ -93,9 +93,9 @@
...
@@ -93,9 +93,9 @@
goJdShop
(
index
){
goJdShop
(
index
){
let
sku
;
let
sku
;
if
(
index
==
1
){
if
(
index
==
1
){
sku
=
10002
4847751
sku
=
10002
5676633
}
else
{
}
else
{
sku
=
10002
4847859
sku
=
10002
5676611
}
}
console
.
log
(
sku
,
777777777
)
console
.
log
(
sku
,
777777777
)
uni
.
navigateToMiniProgram
({
uni
.
navigateToMiniProgram
({
...
...
pages/main.vue
View file @
9e899632
...
@@ -48,6 +48,16 @@
...
@@ -48,6 +48,16 @@
tabbar
:
"tabbar"
tabbar
:
"tabbar"
})
})
},
},
onShareAppMessage
(
res
)
{
console
.
log
(
res
,
111111
)
if
(
res
.
from
===
'menu'
)
{
return
{
title
:
'京东汽车挪车牌'
,
path
:
'/pages/main'
,
imageUrl
:
""
};
}
},
onShow
:
function
()
{
onShow
:
function
()
{
uni
.
hideHomeButton
()
uni
.
hideHomeButton
()
if
(
this
.
tab
==
'personal'
)
{
if
(
this
.
tab
==
'personal'
)
{
...
...
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