Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
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
hujun
tl_estate
Commits
c348afe1
Commit
c348afe1
authored
Oct 09, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
换行 bug
parent
8e0a112f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
1 deletion
+25
-1
eval_faith.vue
public/appnew/src/components/eval/eval_faith.vue
+25
-1
No files found.
public/appnew/src/components/eval/eval_faith.vue
View file @
c348afe1
...
@@ -20,7 +20,9 @@
...
@@ -20,7 +20,9 @@
{{
++
index
}}
、
{{
item
.
title
}}
{{
++
index
}}
、
{{
item
.
title
}}
</div>
</div>
<div>
<div>
<textarea
class=
"detail"
placeholder=
"请输入你的思考"
style=
"height:100px;"
@
input=
"autoTextarea($event,100)"
v-model=
"item.con"
></textarea>
<textarea
class=
"detail detail-divL"
placeholder=
"请输入你的思考"
style=
"height:100px;"
@
input=
"autoTextarea($event,100)"
v-model=
"item.con"
></textarea>
<!--可编辑div-->
<div
class=
"detail-div"
contenteditable=
"true"
v-show=
"false"
>
{{
item
.
con
}}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -114,6 +116,10 @@
...
@@ -114,6 +116,10 @@
getImg
(){
getImg
(){
let
that
=
this
;
let
that
=
this
;
if
(
this
.
validateParams
()
){
if
(
this
.
validateParams
()
){
for
(
var
i
=
0
;
i
<=
5
;
i
++
){
document
.
getElementsByClassName
(
"detail-divL"
)[
i
].
style
.
display
=
"none"
;
document
.
getElementsByClassName
(
"detail-div"
)[
i
].
style
.
display
=
"block"
;
}
window
.
scrollTo
(
0
,
0
)
;
window
.
scrollTo
(
0
,
0
)
;
html2canvas
(
document
.
getElementById
(
"capture"
),{
html2canvas
(
document
.
getElementById
(
"capture"
),{
background
:
"rgba(255,255,255,1)"
,
background
:
"rgba(255,255,255,1)"
,
...
@@ -142,6 +148,10 @@
...
@@ -142,6 +148,10 @@
}).
then
(
function
(
res
)
{
}).
then
(
function
(
res
)
{
if
(
res
.
data
.
code
==
200
){
if
(
res
.
data
.
code
==
200
){
layer
.
tipsX
(
'提交成功'
);
layer
.
tipsX
(
'提交成功'
);
for
(
var
i
=
0
;
i
<=
5
;
i
++
){
document
.
getElementsByClassName
(
"detail-divL"
)[
i
].
style
.
display
=
"block"
;
document
.
getElementsByClassName
(
"detail-div"
)[
i
].
style
.
display
=
"none"
;
}
}
else
{
}
else
{
layer
.
tipsX
(
res
.
data
.
msg
);
layer
.
tipsX
(
res
.
data
.
msg
);
}
}
...
@@ -316,4 +326,17 @@
...
@@ -316,4 +326,17 @@
header
+
.header_seat
{
header
+
.header_seat
{
height
:
0.88rem
;
height
:
0.88rem
;
}
}
.detail-div
{
font-size
:
.28rem
;
font-family
:
PingFangSC-Regular
;
font-weight
:
400
;
color
:
rgba
(
39
,
39
,
39
,
1
);
line-height
:
.4rem
;
width
:
6.38rem
;
/*height: 2rem;*/
border
:
1px
solid
#eeeeee
;
padding
:
.1rem
.2rem
;
box-sizing
:
border-box
;
/*word-break:break-all;*/
}
</
style
>
</
style
>
\ No newline at end of file
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