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
Show 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 @@
...
@@ -35,10 +35,10 @@
</view>
</view>
<view
class=
"banner-other"
>
<view
class=
"banner-other"
>
<view
@
click=
"goShopH5(2)"
>
<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>
<view
@
click=
"goShopH5(1)"
>
<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>
</view>
</view>
<u-gap
bgColor=
"transparent"
height=
"20"
></u-gap>
<u-gap
bgColor=
"transparent"
height=
"20"
></u-gap>
...
@@ -489,7 +489,7 @@
...
@@ -489,7 +489,7 @@
width
:
120rpx
;
height
:
112rpx
;
width
:
120rpx
;
height
:
112rpx
;
}
}
&
:last-child
{
&
:last-child
{
margin-top
:
7
0rpx
;
margin-top
:
10
0rpx
;
width
:
172rpx
;
height
:
140rpx
;
width
:
172rpx
;
height
:
140rpx
;
}
}
image
{
image
{
...
...
pages/main.vue
View file @
60165bb7
...
@@ -23,6 +23,7 @@
...
@@ -23,6 +23,7 @@
import
moveCar
from
'./moveCar'
import
moveCar
from
'./moveCar'
import
shop
from
'./shop'
import
shop
from
'./shop'
import
personal
from
'./personal'
import
personal
from
'./personal'
import
util
from
'@/pages/login/util.js'
let
plugin
=
requirePlugin
(
'loginPlugin'
);
let
plugin
=
requirePlugin
(
'loginPlugin'
);
export
default
{
export
default
{
...
@@ -372,10 +373,9 @@
...
@@ -372,10 +373,9 @@
url
:
routerLogin
url
:
routerLogin
})
})
}
}
}
// 判断是否有京东跳转
// 判断是否有京东跳转
let
jdNavto
=
uni
.
setStorageSync
(
'jdNavto'
,
index
)
let
jdNavto
=
uni
.
getStorageSync
(
'jdNavto'
)
if
(
jdNavto
){
if
(
jdNavto
){
let
url
;
let
url
;
if
(
jdNavto
==
1
){
if
(
jdNavto
==
1
){
...
@@ -388,6 +388,9 @@
...
@@ -388,6 +388,9 @@
util
.
navigateToH5
({
page
:
url
})
util
.
navigateToH5
({
page
:
url
})
uni
.
removeStorageSync
(
'jdNavto'
)
uni
.
removeStorageSync
(
'jdNavto'
)
}
}
}
}
else
{
}
else
{
uni
.
hideLoading
()
uni
.
hideLoading
()
...
...
pages/shop.vue
View file @
60165bb7
...
@@ -19,7 +19,10 @@
...
@@ -19,7 +19,10 @@
<image
:src=
"getImage(vo.mainImgUrl)"
/>
<image
:src=
"getImage(vo.mainImgUrl)"
/>
</div>
</div>
<div
class=
"item2__title"
>
{{
vo
.
title
}}
</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>
</div>
</div>
</div>
...
@@ -35,6 +38,7 @@
...
@@ -35,6 +38,7 @@
</view>
</view>
<view
class=
"one_item_price"
>
<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>
<span
class=
"num__two"
>
¥
{{
vo
.
originalPrice
/
100
}}
</span>
</view>
</view>
</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