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 ea4b8522
authored
Apr 09, 2024
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit 提交
1 parent
279a1408
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
20 deletions
components/Canvas/wn-canvas.vue
pages/common/merchantList.vue
pages/detail/components/Media_2.vue
pages/detail/detail.vue
components/Canvas/wn-canvas.vue
View file @
ea4b852
...
...
@@ -901,10 +901,14 @@ export default {
}
}
.under-image
{
position
:
absolute
;
left
:
0
;
top
:
0
;
width
:
100%
;
height
:
100%
;
background-size
:
cover
;
background-repeat
:
no-repeat
;
z-index
:
-1
;
}
/* 竖屏 */
...
...
pages/common/merchantList.vue
View file @
ea4b852
...
...
@@ -203,8 +203,9 @@ export default {
this
.
jumpPage
(
item
)
},
jumpPage
(
item
)
{
console
.
log
(
item
)
let
{
openSceneArr
,
selectIndex
}
=
this
,
{
shopMerchantName
,
shopMerchantId
}
=
item
,
{
merchantName
:
shopMerchantName
,
merchantId
:
shopMerchantId
}
=
item
,
userInfo
=
uni
.
$storage
.
get
(
'userInfo'
)
if
(
!
openSceneArr
?.
length
&&
!
userInfo
?.
isSuper
)
return
wx
.
$util
.
showToast
(
'暂无开通业务,请联系总部管理员'
)
uni
.
$storage
.
set
(
'userInfo'
,
{
...
...
pages/detail/components/Media_2.vue
View file @
ea4b852
...
...
@@ -5,12 +5,15 @@
</view>
<view
class=
"content"
>
<view
class=
"title"
>
问界·商城延保价格明细
</view>
<tabs
:list=
"views"
/>
<tabs
:list=
"views"
@
tabclick=
"changeView"
/>
<view
class=
"canvas-box"
>
<template
v-for=
"(i,index) in views"
>
<view
:class=
"['canvas-view',
{showView:viewIndex == index}]"
:key=
"index"
v-show=
"viewIndex == index"
>
<wnCanvas
saveImageType=
"3"
...
...
@@ -43,6 +46,7 @@ export default {
},
methods
:
{
changeView
(
index
)
{
console
.
log
()
this
.
viewIndex
=
index
},
}
...
...
@@ -73,22 +77,6 @@ export default {
padding
:
32
rpx
0
;
text-align
:
center
;
}
.canvas-box
{
width
:
100%
;
//
flex-wrap
:
nowrap
;
}
.canvas-view
{
z-index
:
-1
;
opacity
:
0
;
left
:
0
;
top
:
0
;
display
:
none
;
width
:
100%
;
}
.showView
{
display
:
block
;
z-index
:
2
;
}
}
}
</
style
>
\ No newline at end of file
pages/detail/detail.vue
View file @
ea4b852
...
...
@@ -63,7 +63,8 @@ export default {
},
/**切换素材 */
choose
(
e
)
{
console
.
log
(
e
)
this
.
id
=
e
.
id
this
.
getFindSoureDetail
(
e
.
id
)
},
async
getFindSoureDetail
(
id
)
{
try
{
...
...
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