Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
techbook
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
front-end-dev
techbook
Commits
e34627ba
Commit
e34627ba
authored
Jul 02, 2020
by
zhangyanni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
查看大图
parent
1ffdc8f6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
9 deletions
+33
-9
detail.vue
src/views/mobile/topic/detail.vue
+17
-3
discussdetail.vue
src/views/mobile/topic/discussdetail.vue
+16
-6
No files found.
src/views/mobile/topic/detail.vue
View file @
e34627ba
...
...
@@ -311,7 +311,7 @@
<div
class=
"imageListInfo"
:style=
"
{borderBottomColor:item.contentUrlList?'#e8eaf3':'transparent'}"
v-if="item.contentUrlList">
<div
class=
"thumbs"
v-if=
"item.contentUrlList&&item.contentUrlList.length>=2"
>
<div
class=
"thumbs"
@
click=
"handleVuePreview($event)"
v-if=
"item.contentUrlList&&item.contentUrlList.length>=2"
>
<vue-preview
:slides=
"item.contentUrlList"
></vue-preview>
</div>
<div
class=
"imgOne"
v-if=
"item.contentUrlList&&item.contentUrlList.length==1"
>
...
...
@@ -506,6 +506,10 @@
},
methods
:
{
handleVuePreview
(
e
){
console
.
log
(
e
)
},
handleClickHtml
(
e
,
data
)
{
if
(
e
.
toElement
.
dataset
.
id
)
{
var
proData
=
e
.
target
.
innerText
;
...
...
@@ -1799,9 +1803,14 @@
}
/
deep
/
.pswp__img
{
height
:
unset
!
important
;
position
:
static
;
}
/
deep
/
.pswp__zoom-wrap
{
transform
:
translate3d
(
0px
,
40px
,
0px
)
scale
(
1
)
!
important
;
margin
:
auto
;
height
:
100vh
;
transform
:
unset
!
important
;
display
:
flex
;
align-items
:
center
;
}
}
.imgOne
{
...
...
@@ -1822,9 +1831,14 @@
}
/
deep
/
.pswp__img
{
height
:
unset
!
important
;
position
:
static
;
}
/
deep
/
.pswp__zoom-wrap
{
transform
:
translate3d
(
0px
,
40px
,
0px
)
scale
(
1
)
!
important
;
margin
:
auto
;
height
:
100vh
;
transform
:
unset
!
important
;
display
:
flex
;
align-items
:
center
;
}
/*> div {*/
/*width: 4.7rem;*/
...
...
src/views/mobile/topic/discussdetail.vue
View file @
e34627ba
...
...
@@ -1110,9 +1110,14 @@
}
/
deep
/
.pswp__img
{
height
:
unset
!
important
;
position
:
static
;
}
/
deep
/
.pswp__zoom-wrap
{
transform
:
translate3d
(
0px
,
40px
,
0px
)
scale
(
1
)
!
important
;
margin
:
auto
;
height
:
100vh
;
transform
:
unset
!
important
;
display
:
flex
;
align-items
:
center
;
}
}
.imgOne
{
...
...
@@ -1131,12 +1136,17 @@
}
}
}
/
deep
/
.pswp__img
{
width
:
unset
!
important
;
/
deep
/
.pswp__img
{
height
:
unset
!
important
;
position
:
static
;
}
/
deep
/
.pswp__zoom-wrap
{
margin
:
auto
;
height
:
100vh
;
transform
:
unset
!
important
;
display
:
flex
;
align-items
:
center
;
}
/*/deep/ .pswp__zoom-wrap{*/
/*transform:translate3d(30%, 209px, 0px) scale(1) !important;*/
/*}*/
/*> div {*/
/*width: 4.7rem;*/
/*height: 3rem;*/
...
...
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