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
60165bb7
Commit
60165bb7
authored
Oct 14, 2022
by
肖健
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'v1.0.0' into v1.0.0_jd
parents
21f57116
3d22d4d9
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
26 additions
and
19 deletions
+26
-19
home-new.vue
pages/home-new.vue
+3
-3
main.vue
pages/main.vue
+17
-14
shop.vue
pages/shop.vue
+6
-2
1.png
static/index/1.png
+0
-0
2.png
static/index/2.png
+0
-0
No files found.
pages/home-new.vue
View file @
60165bb7
...
...
@@ -35,10 +35,10 @@
</view>
<view
class=
"banner-other"
>
<view
@
click=
"goShopH5(2)"
>
<image
src=
"
../static/index/1
.png"
></image>
<image
src=
"
https://nuoche.s3.cn-north-1.jdcloud-oss.com/2022/10/14/eb67b0d88bd24f71a04b6a939ef3bf74
.png"
></image>
</view>
<view
@
click=
"goShopH5(1)"
>
<image
src=
"
../static/index/
2.png"
></image>
<image
src=
"
https://nuoche.s3.cn-north-1.jdcloud-oss.com/2022/10/14/672f38dadb0f4eacb486af28fe4fe76
2.png"
></image>
</view>
</view>
<u-gap
bgColor=
"transparent"
height=
"20"
></u-gap>
...
...
@@ -489,7 +489,7 @@
width
:
120rpx
;
height
:
112rpx
;
}
&
:last-child
{
margin-top
:
7
0rpx
;
margin-top
:
10
0rpx
;
width
:
172rpx
;
height
:
140rpx
;
}
image
{
...
...
pages/main.vue
View file @
60165bb7
...
...
@@ -23,6 +23,7 @@
import
moveCar
from
'./moveCar'
import
shop
from
'./shop'
import
personal
from
'./personal'
import
util
from
'@/pages/login/util.js'
let
plugin
=
requirePlugin
(
'loginPlugin'
);
export
default
{
...
...
@@ -372,23 +373,25 @@
url
:
routerLogin
})
}
}
// 判断是否有京东跳转
let
jdNavto
=
uni
.
setStorageSync
(
'jdNavto'
,
index
)
if
(
jdNavto
){
let
url
;
if
(
jdNavto
==
1
){
url
=
'https://pro.m.jd.com/mall/active/3L2hs3R3aibYmosCRzA2Rp5z8pTR/index.html?babelChannel=ttt1'
}
else
{
url
=
'https://jarvis.m.jd.com/start?source=2'
}
// 判断是否有京东跳转
let
jdNavto
=
uni
.
getStorageSync
(
'jdNavto'
)
// uni.setStorageSync('h5url',url)
util
.
navigateToH5
({
page
:
url
})
uni
.
removeStorageSync
(
'jdNavto'
)
if
(
jdNavto
){
let
url
;
if
(
jdNavto
==
1
){
url
=
'https://pro.m.jd.com/mall/active/3L2hs3R3aibYmosCRzA2Rp5z8pTR/index.html?babelChannel=ttt1'
}
else
{
url
=
'https://jarvis.m.jd.com/start?source=2'
}
// uni.setStorageSync('h5url',url)
util
.
navigateToH5
({
page
:
url
})
uni
.
removeStorageSync
(
'jdNavto'
)
}
}
}
else
{
uni
.
hideLoading
()
uni
.
showToast
({
...
...
pages/shop.vue
View file @
60165bb7
...
...
@@ -19,7 +19,10 @@
<image
:src=
"getImage(vo.mainImgUrl)"
/>
</div>
<div
class=
"item2__title"
>
{{
vo
.
title
}}
</div>
<div
class=
"item2__price"
>
¥
{{
vo
.
currentPrice
/
100
}}
</div>
<div
class=
"item2__price"
>
¥
{{
vo
.
currentPrice
/
100
}}
<text
style=
"font-size: 22rpx;"
>
起
</text>
</div>
</div>
</div>
</div>
...
...
@@ -34,7 +37,8 @@
{{
vo
.
title
}}
</view>
<view
class=
"one_item_price"
>
¥
{{
vo
.
currentPrice
/
100
}}
¥
{{
vo
.
currentPrice
/
100
}}
<text
style=
"font-size: 22rpx;margin-right:4rpx;"
>
起
</text>
<span
class=
"num__two"
>
¥
{{
vo
.
originalPrice
/
100
}}
</span>
</view>
</view>
...
...
static/index/1.png
deleted
100644 → 0
View file @
21f57116
13.2 KB
static/index/2.png
deleted
100644 → 0
View file @
21f57116
23.9 KB
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