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 7a6beec9
authored
Jul 09, 2025
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit 提交
1 parent
4f1beab4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
69 additions
and
70 deletions
assets/css/sprite.scss
assets/images/sprite.png
components/HomeFrame/components/LeftSide.vue
components/HomeFrame/index.vue
components/SwiperComponent.vue
pages/boutique/index.vue
pages/common/components/Scene.vue
pages/equity/detail/components/MediaComponent.vue
pages/equity/detail/components/Reception.vue
uni.scss
assets/css/sprite.scss
View file @
7a6beec
This diff is collapsed.
Click to expand it.
assets/images/sprite.png
View file @
7a6beec
2.42 MB
|
W:
|
H:
2.42 MB
|
W:
|
H:
2-up
Swipe
Onion skin
components/HomeFrame/components/LeftSide.vue
View file @
7a6beec
...
@@ -48,15 +48,12 @@
...
@@ -48,15 +48,12 @@
v-if="messageTotal > 0"
v-if="messageTotal > 0"
></view>
></view>
</view> -->
</view> -->
<
template
v-if=
"showSceneChange"
>
<view
<view
class=
"btn"
class=
"btn"
@
click=
"$refs.sceneTypeRef.open()"
@
click=
"$refs.sceneTypeRef.open()"
>
>
<view
class=
"sprite-icon icon-scene-change"
></view>
<view
class=
"sprite-icon icon-scene-change"
></view>
</view>
</view>
</
template
>
<view
<view
class=
"btn"
class=
"btn"
@
click=
"handleSetting"
@
click=
"handleSetting"
...
@@ -138,21 +135,6 @@ export default {
...
@@ -138,21 +135,6 @@ export default {
hasPerson
:
false
,
hasPerson
:
false
,
messageType
:
'study'
,
messageType
:
'study'
,
sopCount
:
0
,
sopCount
:
0
,
sceneTypeList
:
Object
.
freeze
([
{
title
:
'轻改'
,
describe
:
'太阳膜升级转化'
,
icon
:
'icon-scene-1'
,
zoom
:
2.91
,
id
:
1
},
{
title
:
'会员权益/升级'
,
describe
:
'权益延保'
,
icon
:
'icon-scene-0'
,
zoom
:
2.91
,
id
:
0
}
])
}
}
},
},
watch
:
{
watch
:
{
...
@@ -169,21 +151,39 @@ export default {
...
@@ -169,21 +151,39 @@ export default {
perRecordNumber
()
{
perRecordNumber
()
{
return
this
.
$store
.
state
.
audio
.
perRecordNumber
return
this
.
$store
.
state
.
audio
.
perRecordNumber
},
},
showSceneChange
()
{
sceneTypeList
()
{
const
{
openSceneArr
}
=
uni
.
$storage
.
get
(
"userInfo"
)
const
sceneTypeObject
=
{
1
:
{
title
:
'轻改'
,
describe
:
'太阳膜升级转化'
,
icon
:
'icon-scene-1'
,
zoom
:
2.91
,
},
0
:
{
title
:
'会员权益/升级'
,
describe
:
'权益延保'
,
icon
:
'icon-scene-0'
,
zoom
:
2.91
,
}
}
let
{
openSceneArr
}
=
uni
.
$storage
.
get
(
"userInfo"
)
let
result
=
[]
let
result
=
[]
if
(
openSceneArr
&&
openSceneArr
.
length
>
1
)
{
if
(
openSceneArr
&&
openSceneArr
.
length
)
{
openSceneArr
.
map
(
e
=>
{
openSceneArr
.
map
(
e
=>
{
if
(
e
==
1
||
e
==
0
)
result
.
push
(
e
)
if
(
e
==
1
||
e
==
0
)
{
result
.
push
({
...
sceneTypeObject
[
e
],
id
:
e
})
}
})
})
}
}
return
result
.
length
>
1
return
result
}
}
},
},
created
()
{
created
()
{
// 监听自定义事件
// 监听自定义事件
uni
.
$on
(
'pageBack'
,
()
=>
{
uni
.
$on
(
'pageBack'
,
()
=>
{
console
.
log
(
'pageBack'
)
this
.
getMessageInfo
();
this
.
getMessageInfo
();
});
});
uni
.
$on
(
'studyCenter'
,
()
=>
{
uni
.
$on
(
'studyCenter'
,
()
=>
{
...
@@ -226,7 +226,6 @@ export default {
...
@@ -226,7 +226,6 @@ export default {
leaveTrack
()
{
leaveTrack
()
{
if
(
!
this
.
trackId
)
return
if
(
!
this
.
trackId
)
return
uni
.
$api
.
commonApi
.
dynamicrecordLeave
({
id
:
this
.
trackId
}).
then
(
res
=>
{
uni
.
$api
.
commonApi
.
dynamicrecordLeave
({
id
:
this
.
trackId
}).
then
(
res
=>
{
console
.
log
(
res
)
})
})
},
},
startTrack
()
{
startTrack
()
{
...
@@ -247,7 +246,6 @@ export default {
...
@@ -247,7 +246,6 @@ export default {
return
new
Promise
(
resolve
=>
{
return
new
Promise
(
resolve
=>
{
const
url
=
'https%3A%2F%2Fcloud.italent.cn%2FPageHome%2FIndex%3Fproduct%3DLearning%26keyName%3DNusion%26pageCode%3DLearningNewHomepage%26appCode%3DLearning%26_qsrcapp%3DLearning%26_qrt%3Dhtml%26quark_s%3D5102bff371c00da5b19968ee53a8c3f1499ecd2447a19f72f3e3ba2390cc9617%23%2FviewDynamic%3Fshadow_context%3D%257BappModel%253A%2522italent%2522%252Cuppid%253A%25221%2522%257D%26quark_s%3D028930f1066f8ef8d28790940d53ae64337f44bde3a44cf89a290e4a3611e3e2'
const
url
=
'https%3A%2F%2Fcloud.italent.cn%2FPageHome%2FIndex%3Fproduct%3DLearning%26keyName%3DNusion%26pageCode%3DLearningNewHomepage%26appCode%3DLearning%26_qsrcapp%3DLearning%26_qrt%3Dhtml%26quark_s%3D5102bff371c00da5b19968ee53a8c3f1499ecd2447a19f72f3e3ba2390cc9617%23%2FviewDynamic%3Fshadow_context%3D%257BappModel%253A%2522italent%2522%252Cuppid%253A%25221%2522%257D%26quark_s%3D028930f1066f8ef8d28790940d53ae64337f44bde3a44cf89a290e4a3611e3e2'
uni
.
$api
.
commonApi
.
findBeiSenSSOToken
({}).
then
(
res
=>
{
uni
.
$api
.
commonApi
.
findBeiSenSSOToken
({}).
then
(
res
=>
{
console
.
log
(
res
,
'res'
)
uni
.
$storage
.
set
(
'beisenToken'
,
res
.
data
)
uni
.
$storage
.
set
(
'beisenToken'
,
res
.
data
)
const
studyUrl
=
res
.
data
?
`
${
res
.
data
}
&return_url=
${
url
}
`
:
''
const
studyUrl
=
res
.
data
?
`
${
res
.
data
}
&return_url=
${
url
}
`
:
''
resolve
(
studyUrl
)
resolve
(
studyUrl
)
...
@@ -255,7 +253,6 @@ export default {
...
@@ -255,7 +253,6 @@ export default {
})
})
},
},
async
changeIndex
(
index
,
item
)
{
async
changeIndex
(
index
,
item
)
{
console
.
log
(
index
,
'changeIndex'
)
// if (this.tabIndex == index) return;
// if (this.tabIndex == index) return;
// 点击学习中心要跳从北森回后台配置的学习中心,学习中心为3
// 点击学习中心要跳从北森回后台配置的学习中心,学习中心为3
if
(
this
.
tabIndex
==
index
&&
!
item
.
isTrack
)
return
;
if
(
this
.
tabIndex
==
index
&&
!
item
.
isTrack
)
return
;
...
@@ -266,7 +263,6 @@ export default {
...
@@ -266,7 +263,6 @@ export default {
jumpUrl
=
await
this
.
findBeiSenSSOToken
()
jumpUrl
=
await
this
.
findBeiSenSSOToken
()
this
.
jumpUrl
=
jumpUrl
this
.
jumpUrl
=
jumpUrl
}
catch
(
error
)
{
}
catch
(
error
)
{
console
.
log
(
error
)
}
}
if
(
jumpUrl
)
{
if
(
jumpUrl
)
{
this
.
addTrack
()
this
.
addTrack
()
...
@@ -310,7 +306,6 @@ export default {
...
@@ -310,7 +306,6 @@ export default {
},
},
// 获取话术未读列表
// 获取话术未读列表
async
getMessage
()
{
async
getMessage
()
{
console
.
log
(
'获取话术'
,
uni
.
$storage
.
get
(
"userInfo"
))
const
{
sceneType
,
uuid
}
=
uni
.
$storage
.
get
(
"userInfo"
)
const
{
sceneType
,
uuid
}
=
uni
.
$storage
.
get
(
"userInfo"
)
const
res
=
await
uni
.
$api
.
commonApi
.
getUnreadRecord
({
const
res
=
await
uni
.
$api
.
commonApi
.
getUnreadRecord
({
businessType
:
sceneType
,
businessType
:
sceneType
,
...
@@ -329,7 +324,6 @@ export default {
...
@@ -329,7 +324,6 @@ export default {
status
:
0
,
// 待查看,未读
status
:
0
,
// 待查看,未读
businessType
:
sceneType
businessType
:
sceneType
})
})
console
.
log
(
res
)
this
.
messageTotal
=
res
this
.
messageTotal
=
res
},
},
// 学习中心消息弹窗,优先级高于有修改话术弹窗
// 学习中心消息弹窗,优先级高于有修改话术弹窗
...
@@ -350,9 +344,7 @@ export default {
...
@@ -350,9 +344,7 @@ export default {
return
return
}
}
const
res
=
await
uni
.
$api
.
commonApi
.
getMessagePop
({})
const
res
=
await
uni
.
$api
.
commonApi
.
getMessagePop
({})
console
.
log
(
res
,
'res111'
)
if
(
res
.
ids
&&
res
.
ids
.
length
>
0
)
{
if
(
res
.
ids
&&
res
.
ids
.
length
>
0
)
{
console
.
log
(
res
.
contentType
,
res
.
contentType
==
5
,
'res'
)
if
(
res
.
contentType
==
5
)
{
if
(
res
.
contentType
==
5
)
{
const
_token
=
uni
.
$storage
.
get
(
'beisenToken'
)
const
_token
=
uni
.
$storage
.
get
(
'beisenToken'
)
if
(
_token
)
{
if
(
_token
)
{
...
@@ -394,8 +386,10 @@ export default {
...
@@ -394,8 +386,10 @@ export default {
}
}
},
},
chooseSceneType
(
index
)
{
chooseSceneType
(
index
)
{
let
{
userInfo
,
sceneTypeList
}
=
this
let
{
userInfo
,
sceneTypeList
}
=
this
,
userInfo
.
sceneType
=
sceneTypeList
[
index
].
id
sceneType
=
sceneTypeList
[
index
].
id
if
(
sceneType
==
userInfo
.
sceneType
)
return
userInfo
.
sceneType
=
sceneType
uni
.
showLoading
({
uni
.
showLoading
({
title
:
'切换中'
,
title
:
'切换中'
,
mask
:
true
mask
:
true
...
...
components/HomeFrame/index.vue
View file @
7a6beec
...
@@ -35,6 +35,7 @@
...
@@ -35,6 +35,7 @@
:moduleList=
"moduleList"
:moduleList=
"moduleList"
@
click=
"swiperClick"
@
click=
"swiperClick"
:stopAutoPlay=
"previewOff"
:stopAutoPlay=
"previewOff"
:imgKey=
"bannerKey"
></swiper-component>
></swiper-component>
</view>
</view>
</view>
</view>
...
@@ -186,7 +187,8 @@ export default {
...
@@ -186,7 +187,8 @@ export default {
moduleList
:
{
moduleList
:
{
type
:
Array
,
type
:
Array
,
default
:
()
=>
[]
default
:
()
=>
[]
}
},
bannerKey
:
String
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -397,6 +399,7 @@ export default {
...
@@ -397,6 +399,7 @@ export default {
height
:
100vh
;
height
:
100vh
;
background-image
:
url('@/assets/images/common/home-bg-1.webp')
;
background-image
:
url('@/assets/images/common/home-bg-1.webp')
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
z-index
:
1
;
}
}
.home
,
.home
,
.detail
{
.detail
{
...
@@ -407,6 +410,7 @@ export default {
...
@@ -407,6 +410,7 @@ export default {
top
:
0
;
top
:
0
;
left
:
0
;
left
:
0
;
visibility
:
hidden
;
visibility
:
hidden
;
opacity
:
0
;
}
}
.point-page
{
.point-page
{
position
:
fixed
;
position
:
fixed
;
...
@@ -458,8 +462,9 @@ export default {
...
@@ -458,8 +462,9 @@ export default {
}
}
}
}
.show
{
.show
{
opacity
:
1
;
position
:
absolute
;
position
:
absolute
;
z-index
:
1
;
z-index
:
2
;
visibility
:
visible
;
visibility
:
visible
;
animation
:
show-content-left
0.15s
forwards
;
animation
:
show-content-left
0.15s
forwards
;
}
}
...
...
components/SwiperComponent.vue
View file @
7a6beec
...
@@ -14,6 +14,7 @@
...
@@ -14,6 +14,7 @@
@
change=
"change"
@
change=
"change"
:disabled=
"item.class != 'block-center'"
:disabled=
"item.class != 'block-center'"
:x=
"item.class != 'block-center' ? 0 : viewX"
:x=
"item.class != 'block-center' ? 0 : viewX"
:data-index=
"item.isIndex"
>
>
<image
<image
class=
"image-block"
class=
"image-block"
...
@@ -32,6 +33,7 @@
...
@@ -32,6 +33,7 @@
</movable-area>
</movable-area>
<view
class=
"module-title flex"
>
<view
class=
"module-title flex"
>
{{moduleTitle}}
{{moduleTitle}}
</view>
<view
class=
"module-dots flex"
>
<view
class=
"module-dots flex"
>
<
template
v-for=
"(i,index) in moduleList"
>
<
template
v-for=
"(i,index) in moduleList"
>
<div
<div
...
@@ -42,7 +44,6 @@
...
@@ -42,7 +44,6 @@
</
template
>
</
template
>
</view>
</view>
</view>
</view>
</view>
</template>
</template>
<
script
>
<
script
>
import
utils
from
"@/utils/utils.js"
;
import
utils
from
"@/utils/utils.js"
;
...
@@ -150,8 +151,9 @@ export default {
...
@@ -150,8 +151,9 @@ export default {
item
.
isIndex
=
dataIndex
item
.
isIndex
=
dataIndex
item
.
isToor
=
index
item
.
isToor
=
index
item
.
imgKey
=
datalist
[
dataIndex
]?.[
this
.
imgKey
]
||
''
item
.
imgKey
=
datalist
[
dataIndex
]?.[
this
.
imgKey
]
||
''
item
.
x
=
1
0
item
.
x
=
0
})
})
console
.
log
(
this
.
imagelist
)
if
(
autoplay
)
this
.
autoPlayFunction
()
if
(
autoplay
)
this
.
autoPlayFunction
()
},
},
autoPlayFunction
()
{
autoPlayFunction
()
{
...
@@ -179,7 +181,6 @@ export default {
...
@@ -179,7 +181,6 @@ export default {
updateCarouselPositions
(
direction
=
'left'
)
{
updateCarouselPositions
(
direction
=
'left'
)
{
let
{
imagelist
,
datalist
}
=
this
,
let
{
imagelist
,
datalist
}
=
this
,
len
=
datalist
.
length
-
1
,
len
=
datalist
.
length
-
1
,
index
=
direction
==
'left'
?
0
:
2
,
list
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
style_object
))
list
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
style_object
))
this
.
imagelist
.
forEach
(
item
=>
{
this
.
imagelist
.
forEach
(
item
=>
{
let
toor
=
direction
==
'left'
?
let
toor
=
direction
==
'left'
?
...
@@ -188,14 +189,22 @@ export default {
...
@@ -188,14 +189,22 @@ export default {
item
.
isToor
=
toor
item
.
isToor
=
toor
item
.
class
=
list
[
toor
].
class
item
.
class
=
list
[
toor
].
class
item
.
x
=
0
item
.
x
=
0
if
(
item
.
index
==
index
)
{
let
isIndex
=
item
.
isIndex
let
isIndex
=
item
.
isIndex
+
3
if
(
isIndex
==
len
+
3
)
isIndex
=
2
if
(
direction
==
'left'
&&
item
.
class
==
'block-right'
)
{
if
(
isIndex
==
len
+
1
)
isIndex
=
0
if
(
isIndex
==
len
)
isIndex
=
2
if
(
isIndex
>
len
)
isIndex
=
1
else
if
(
isIndex
==
len
-
1
)
isIndex
=
1
else
isIndex
+=
3
if
(
isIndex
>
len
)
isIndex
=
0
}
if
(
direction
==
'right'
&&
item
.
class
==
'block-left'
)
{
if
(
isIndex
==
1
)
isIndex
=
len
-
1
else
if
(
isIndex
==
0
)
isIndex
=
len
-
2
else
isIndex
-=
3
if
(
isIndex
<
0
)
isIndex
=
len
}
item
.
isIndex
=
isIndex
item
.
isIndex
=
isIndex
item
.
imgKey
=
datalist
[
isIndex
][
this
.
imgKey
]
||
''
item
.
imgKey
=
datalist
[
isIndex
][
this
.
imgKey
]
||
''
}
item
.
index
=
list
[
toor
].
index
item
.
index
=
list
[
toor
].
index
})
})
let
currentIndex
=
this
.
imagelist
.
findIndex
(
item
=>
item
.
index
==
1
)
let
currentIndex
=
this
.
imagelist
.
findIndex
(
item
=>
item
.
index
==
1
)
...
@@ -247,7 +256,7 @@ export default {
...
@@ -247,7 +256,7 @@ export default {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.swiper-carousel
{
.swiper-carousel
{
width
:
100%
;
width
:
100%
;
height
:
toRpx
(
4
28
);
height
:
toRpx
(
4
40
);
position
:
relative
;
position
:
relative
;
overflow
:
hidden
;
overflow
:
hidden
;
.carousel-block
{
.carousel-block
{
...
@@ -290,14 +299,16 @@ export default {
...
@@ -290,14 +299,16 @@ export default {
top
:
toRpx
(
68
);
top
:
toRpx
(
68
);
height
:
toRpx
(
306
);
height
:
toRpx
(
306
);
width
:
toRpx
(
468
);
width
:
toRpx
(
468
);
z-index
:
15
;
transition
:
all
0.1s
;
transition
:
all
0.1s
;
}
}
.block-left
{
.block-left
{
left
:
toRpx
(
150
);
left
:
toRpx
(
150
);
z-index
:
10
;
}
}
.block-right
{
.block-right
{
left
:
toRpx
(
592
);
left
:
toRpx
(
592
);
z-index
:
15
;
}
}
.block-center
{
.block-center
{
left
:
toRpx
(
294
);
left
:
toRpx
(
294
);
...
@@ -314,11 +325,11 @@ export default {
...
@@ -314,11 +325,11 @@ export default {
margin-top
:
toRpx
(
24
);
margin-top
:
toRpx
(
24
);
justify-content
:
center
;
justify-content
:
center
;
position
:
relative
;
position
:
relative
;
.module-dots
{
}
.module-dots
{
position
:
absolute
;
position
:
absolute
;
top
:
50%
;
bottom
:
56
rpx
;
right
:
toRpx
(
48
);
right
:
toRpx
(
48
);
transform
:
translateY
(
-50%
);
gap
:
toRpx
(
12
);
gap
:
toRpx
(
12
);
.dot
{
.dot
{
width
:
toRpx
(
12
);
width
:
toRpx
(
12
);
...
@@ -330,6 +341,5 @@ export default {
...
@@ -330,6 +341,5 @@ export default {
.active
{
.active
{
background
:
#fff
;
background
:
#fff
;
}
}
}
}
}
</
style
>
</
style
>
pages/boutique/index.vue
View file @
7a6beec
...
@@ -12,6 +12,7 @@
...
@@ -12,6 +12,7 @@
class=
"container"
class=
"container"
:moduleList=
"moduleList"
:moduleList=
"moduleList"
@
swiperClick=
"toDetail"
@
swiperClick=
"toDetail"
bannerKey=
"bannerImg"
>
>
<template
slot=
"detail"
>
<template
slot=
"detail"
>
<detail
<detail
...
@@ -113,9 +114,7 @@ export default {
...
@@ -113,9 +114,7 @@ export default {
},
},
onLoad
()
{
onLoad
()
{
this
.
init
();
this
.
init
();
uni
.
$api
.
systemApi
.
getMockData
(
true
).
then
(
res
=>
{
uni
.
$api
.
systemApi
.
getMockData
(
true
)
console
.
log
(
res
)
})
},
},
onShow
()
{
onShow
()
{
const
userInfo
=
uni
.
$storage
.
get
(
"userInfo"
)
const
userInfo
=
uni
.
$storage
.
get
(
"userInfo"
)
...
@@ -221,7 +220,6 @@ export default {
...
@@ -221,7 +220,6 @@ export default {
this
.
moduleList
=
moduleList
this
.
moduleList
=
moduleList
this
.
toolList
=
toolList
this
.
toolList
=
toolList
this
.
defaultCarId
=
defaultCarId
this
.
defaultCarId
=
defaultCarId
// this.getInviteRecordCount()
},
},
toDetail
(
index
)
{
toDetail
(
index
)
{
let
item
=
this
.
moduleList
[
index
]
let
item
=
this
.
moduleList
[
index
]
...
@@ -376,17 +374,6 @@ export default {
...
@@ -376,17 +374,6 @@ export default {
if
(
index
!=
0
&&
item
.
seriesId
==
carBannerList
[
index
-
1
].
seriesId
)
result
=
false
if
(
index
!=
0
&&
item
.
seriesId
==
carBannerList
[
index
-
1
].
seriesId
)
result
=
false
return
result
return
result
},
},
async
getInviteRecordCount
()
{
const
{
moduleList
}
=
this
,
userInfo
=
uni
.
$storage
.
get
(
"userInfo"
),
{
shopMerchantId
:
merchantId
}
=
userInfo
,
{
notInvitedCount
}
=
await
uni
.
$api
.
boutiqueApi
.
getInviteRecordCount
({
merchantIds
:
[
merchantId
]
})
moduleList
.
map
(
e
=>
{
if
(
e
.
id
==
3
)
e
.
count
=
notInvitedCount
?
notInvitedCount
>
99
?
99
:
notInvitedCount
:
0
})
}
}
}
}
}
</
script
>
</
script
>
...
...
pages/common/components/Scene.vue
View file @
7a6beec
...
@@ -55,6 +55,7 @@ export default {
...
@@ -55,6 +55,7 @@ export default {
uni
.
$logger
.
local
.
info
(
`进入选择场景页!`
)
uni
.
$logger
.
local
.
info
(
`进入选择场景页!`
)
},
},
getSceneArr
()
{
getSceneArr
()
{
this
.
openSceneArr
=
[]
uni
.
showLoading
({
uni
.
showLoading
({
mask
:
true
mask
:
true
})
})
...
...
pages/equity/detail/components/MediaComponent.vue
View file @
7a6beec
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
-->
<
template
>
<
template
>
<view
class=
"layout
"
>
<view
:class=
"['layout',
{ 'byd-layout': isByd }]
">
<wnCanvas
<wnCanvas
:drawStatus=
"penSwitch"
:drawStatus=
"penSwitch"
:canvasId=
"`c-$
{madiaId}`"
:canvasId=
"`c-$
{madiaId}`"
...
...
pages/equity/detail/components/Reception.vue
View file @
7a6beec
<
template
>
<
template
>
<view
:class=
"['layout']"
>
<view
:class=
"['layout'
,
{ 'byd-layout': isByd }
]">
<wnCanvas
<wnCanvas
saveImageType=
"3"
saveImageType=
"3"
canvasId=
"c-1"
canvasId=
"c-1"
...
@@ -90,7 +90,8 @@ export default {
...
@@ -90,7 +90,8 @@ export default {
show
:
Boolean
,
show
:
Boolean
,
title
:
String
,
title
:
String
,
views
:
[
Array
,
Object
],
views
:
[
Array
,
Object
],
aitoCarModelIds
:
Array
aitoCarModelIds
:
Array
,
isByd
:
Boolean
},
},
name
:
'Reception'
,
name
:
'Reception'
,
data
()
{
data
()
{
...
...
uni.scss
View file @
7a6beec
...
@@ -96,7 +96,8 @@ $margin: 0 calc((100vmax - #{$detailVW}) / 2);
...
@@ -96,7 +96,8 @@ $margin: 0 calc((100vmax - #{$detailVW}) / 2);
}
}
.byd-layout
{
.byd-layout
{
background-image
:
url("@/assets/images/media/byd-media-bg.webp")
;
background
:
url("@/assets/images/media/byd-media-bg.webp")
no-repeat
;
background-size
:
100%
100%
;
}
}
@media
screen
and
(
min-width
:
500px
)
{
@media
screen
and
(
min-width
:
500px
)
{
...
...
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