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
a9f59280
Commit
a9f59280
authored
Jul 02, 2020
by
zhangyanni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
样式
parent
e59e78eb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
9 deletions
+17
-9
phone.scss
public/css/phone.scss
+7
-2
faceCmpt1.vue
src/components/mobile/faceCmpt1.vue
+3
-5
topicCommentCmpt.vue
src/components/mobile/topicCommentCmpt.vue
+7
-2
No files found.
public/css/phone.scss
View file @
a9f59280
...
...
@@ -1987,7 +1987,7 @@ i, em {
}
//举报
.reportElDialog
,
.applyElDialog
,
.successApplyDialog
,
.commentElDialog
,
.shareDialog
{
.reportElDialog
,
.applyElDialog
,
.successApplyDialog
,
.commentElDialog
,
.shareDialog
,
.commentElTopicDialog
{
.el-dialog__header
{
border-bottom
:
1px
solid
#E8EAF3
;
margin
:
0
.2rem
;
...
...
@@ -2135,7 +2135,7 @@ i, em {
width
:
.23rem
;
height
:
.26rem
;
}
.commentElDialog
,
.shareDialog
{
.commentElDialog
,
.shareDialog
,
.commentElTopicDialog
{
.el-dialog__header
{
margin
:
0
.2rem
;
height
:
1
.1rem
;
...
...
@@ -2174,6 +2174,11 @@ i, em {
}
}
}
.commentElTopicDialog
.el-dialog
{
position
:
fixed
;
top
:
0
;
bottom
:
unset
;
}
.textareaDetail
{
.el-textarea
.el-input__count
{
line-height
:
20px
!
important
;
...
...
src/components/mobile/faceCmpt1.vue
View file @
a9f59280
...
...
@@ -439,7 +439,7 @@
handleShowEle
(
event
)
{
var
u
=
navigator
.
userAgent
;
if
(
u
.
indexOf
(
'Android'
)
>
-
1
||
u
.
indexOf
(
'Adr'
)
>
-
1
){
document
.
getElementById
(
"hbl-fa"
).
setAttribute
(
"class"
,
"absoluteDiv"
);
this
.
$emit
(
"showDialogAndroid"
,
true
);
}
if
(
event
.
srcElement
.
setSelectionRange
)
{
setTimeout
(
function
()
{
...
...
@@ -533,10 +533,8 @@
if
(
navigator
.
userAgent
.
match
(
/
\(
i
[^
;
]
+;
(
U;
)?
CPU.+Mac OS X/
))
{
globalMsg
.
$emit
(
"scrollToTop"
);
}
var
u
=
navigator
.
userAgent
;
if
(
u
.
indexOf
(
'Android'
)
>
-
1
||
u
.
indexOf
(
'Adr'
)
>
-
1
){
document
.
getElementById
(
"hbl-fa"
).
classList
.
remove
(
"absoluteDiv"
);
}
this
.
$emit
(
"showDialogAndroid"
,
false
);
},
//让input获取焦点
...
...
src/components/mobile/topicCommentCmpt.vue
View file @
a9f59280
<
template
>
<div>
<el-dialog
:class=
"[className,'commentElDialog',!isReply?'noBorderTitleDialog':'']"
<el-dialog
:class=
"[className,
androidDialog?'commentElTopicDialog':
'commentElDialog',!isReply?'noBorderTitleDialog':'']"
:visible
.
sync=
"visible"
:before-close=
"handleClose"
width=
"100%"
...
...
@@ -9,7 +9,7 @@
:close-on-click-modal=
"true"
:modal-append-to-body=
"false"
>
<comment
@
publishComment=
"publishComment"
:faceVisible=
"visible"
:isEmpty=
"isEmpty"
:isHasReward=
"isHasReward"
:topicTitle=
"topicTitle"
:commentType=
"1"
:replyCreatedBy=
"replyCreatedBy?replyCreatedBy:''"
></comment>
<comment
@
publishComment=
"publishComment"
@
showDialogAndroid=
"showDialogAndroid"
:faceVisible=
"visible"
:isEmpty=
"isEmpty"
:isHasReward=
"isHasReward"
:topicTitle=
"topicTitle"
:commentType=
"1"
:replyCreatedBy=
"replyCreatedBy?replyCreatedBy:''"
></comment>
</el-dialog>
</div>
</
template
>
...
...
@@ -35,6 +35,7 @@
firstNum
:
null
,
lastNum
:
null
,
isEmpty
:
false
,
androidDialog
:
false
}
},
components
:{
...
...
@@ -80,6 +81,10 @@
}
},
showDialogAndroid
(
data
){
this
.
androidDialog
=
data
;
},
//发布
publishComment
(
data
){
let
params
;
...
...
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