Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 17000131
authored
Sep 17, 2025
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
新增二手车场景
1 parent
6e85274c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
36 additions
and
22 deletions
assets/css/sprite.scss
assets/images/sprite.png
assets/spritesmith/scene-4.png
components/CenterPopup.vue
components/HomeFrame/components/LeftSide.vue
pages/common/components/Scene.vue
assets/css/sprite.scss
View file @
1700013
This diff is collapsed.
Click to expand it.
assets/images/sprite.png
View file @
1700013
2.65 MB
|
W:
|
H:
2.73 MB
|
W:
|
H:
2-up
Swipe
Onion skin
assets/spritesmith/scene-4.png
0 → 100644
View file @
1700013
76.9 KB
components/CenterPopup.vue
View file @
1700013
...
...
@@ -6,7 +6,7 @@
animation
class=
"center-popup"
>
<view
class=
"box
"
>
<view
:class=
"['box',
{wrap:wrap}]
">
<view
class=
"title flex"
>
<view
class=
"text"
>
{{
title
}}
</view>
<view
...
...
@@ -52,7 +52,8 @@ export default {
list
:
Array
,
title
:
String
,
tag
:
String
,
id
:
[
Number
,
String
]
id
:
[
Number
,
String
],
wrap
:
Boolean
},
data
()
{
return
{
...
...
@@ -138,23 +139,6 @@ export default {
font-size
:
toRpx
(
28
);
justify-content
:
center
;
}
//
&
::before
,
//
&
::after
{
//
content
:
''
;
//
position
:
absolute
;
//
left
:
0
;
//
width
:
100%
;
//
background
:
#edf5ff
;
//
filter
:
blur
(
toRpx
(
40
));
//
}
//
&
::before
{
//
top
:
0
;
//
height
:
toRpx
(
62
);
//
}
//
&
::after
{
//
bottom
:
0
;
//
height
:
toRpx
(
126
);
//
}
&
-title
{
font-weight
:
500
;
font-size
:
toRpx
(
40
);
...
...
@@ -175,4 +159,20 @@ export default {
}
}
}
.wrap
{
height
:
auto
;
.content
{
flex-wrap
:
wrap
;
gap
:
toRpx
(
56
);
.item{
height
:
388
rpx
;
&-title{
font-size
:
36
rpx
;
}
&
-describe
{
font-size
:
28
rpx
}
}
}
}
</
style
>
\ No newline at end of file
components/HomeFrame/components/LeftSide.vue
View file @
1700013
...
...
@@ -81,6 +81,7 @@
title=
"选择场景"
tag=
"当前场景"
:id=
"userInfo.sceneType"
wrap
/>
</view>
</template>
...
...
@@ -162,20 +163,27 @@ export default {
title
:
'轻改'
,
describe
:
'太阳膜升级转化'
,
icon
:
'icon-scene-1'
,
zoom
:
2.91
,
zoom
:
1.8335
,
},
0
:
{
title
:
'会员权益/升级'
,
describe
:
'权益延保'
,
icon
:
'icon-scene-0'
,
zoom
:
2.91
,
zoom
:
1.8335
,
},
4
:{
title
:
'二手车'
,
describe
:
'二手车业务'
,
icon
:
'icon-scene-4'
,
zoom
:
1.8335
,
}
}
let
{
openSceneArr
}
=
uni
.
$storage
.
get
(
"userInfo"
)
let
result
=
[]
if
(
openSceneArr
&&
openSceneArr
.
length
)
{
openSceneArr
.
map
(
e
=>
{
if
(
e
==
1
||
e
==
0
)
{
if
(
e
==
1
||
e
==
0
||
e
==
4
)
{
result
.
push
({
...
sceneTypeObject
[
e
],
id
:
e
...
...
pages/common/components/Scene.vue
View file @
1700013
...
...
@@ -41,6 +41,12 @@ export default {
sceneType
:
0
,
actived
:
false
},
{
sceneName
:
'二手车'
,
sceneDesc
:
'二手车业务'
,
sceneType
:
4
,
actived
:
false
},
],
userInfo
:
{},
openSceneArr
:
[]
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment