Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
libai
/
footseen-large-website
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
56dbf155
authored
2 years ago
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
40e6831a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletions
yazhaiTest/room/imagesRoom.html
yazhaiTest/room/videoRoom.html
yazhaiTest/room/imagesRoom.html
View file @
56dbf155
...
@@ -45,6 +45,7 @@
...
@@ -45,6 +45,7 @@
<div
class=
"video-input-box"
>
<div
class=
"video-input-box"
>
<input
placeholder=
"輸入你想說的內容"
class=
"video-input"
type=
"text"
>
<input
placeholder=
"輸入你想說的內容"
class=
"video-input"
type=
"text"
>
<div
class=
"video-input-btn"
>
評論
</div>
<div
class=
"video-input-btn"
>
評論
</div>
<input
style=
"width: 0;height:0"
type=
"text"
>
</div>
</div>
<div
class=
"video-msg-list-box"
>
<div
class=
"video-msg-list-box"
>
<!-- <div class="video-msg-list">
<!-- <div class="video-msg-list">
...
...
This diff is collapsed.
Click to expand it.
yazhaiTest/room/videoRoom.html
View file @
56dbf155
...
@@ -55,6 +55,7 @@
...
@@ -55,6 +55,7 @@
<div
class=
"video-input-box"
>
<div
class=
"video-input-box"
>
<input
placeholder=
"輸入你想說的內容"
class=
"video-input"
type=
"text"
>
<input
placeholder=
"輸入你想說的內容"
class=
"video-input"
type=
"text"
>
<div
class=
"video-input-btn"
>
評論
</div>
<div
class=
"video-input-btn"
>
評論
</div>
<input
style=
"width: 0;height:0"
type=
"text"
>
</div>
</div>
<div
class=
"video-msg-list-box"
>
<div
class=
"video-msg-list-box"
>
<!-- <div class="video-msg-list">
<!-- <div class="video-msg-list">
...
@@ -399,7 +400,10 @@ $(function(){
...
@@ -399,7 +400,10 @@ $(function(){
var _self=$(this)
var _self=$(this)
_self.parent().parent().parent().parent().append('
<
div
class
=
"reply-input-box"
><
input
placeholder
=
"回复'+_self.parent().siblings("
.
reply
-
box
-
p1
").children().text()+' : "
class
=
"reply2-input"
type
=
"text"
><
span
data
-
type
=
"'+_self.attr("
data
-
type
")+'"
data
-
type2
=
"'+_self.attr("
data
-
type2
")+'"
>
回復
<
/span></
div
>
')
_self.parent().parent().parent().parent().append('
<
div
class
=
"reply-input-box"
><
input
placeholder
=
"回复'+_self.parent().siblings("
.
reply
-
box
-
p1
").children().text()+' : "
class
=
"reply2-input"
type
=
"text"
><
span
data
-
type
=
"'+_self.attr("
data
-
type
")+'"
data
-
type2
=
"'+_self.attr("
data
-
type2
")+'"
>
回復
<
/span></
div
>
')
$(".reply-input-box span").unbind("click").on("click",function(){
$(".reply-input-box span").unbind("click").on("click",function(){
if(localStorage.token==undefined)
if(localStorage.token==undefined){
loginLayer()
return;
}
if($(".reply2-input").val()==''|| $(".reply2-input").val().split(" ").join("").length == 0){
if($(".reply2-input").val()==''|| $(".reply2-input").val().split(" ").join("").length == 0){
layer.msg("請輸入你想說的內容")
layer.msg("請輸入你想說的內容")
return;
return;
...
@@ -506,6 +510,10 @@ $(function(){
...
@@ -506,6 +510,10 @@ $(function(){
layer.msg("請輸入你想說的內容")
layer.msg("請輸入你想說的內容")
return;
return;
}
}
if($(".reply2-input").val()==''|| $(".reply2-input").val().split(" ").join("").length == 0){
layer.msg("請輸入你想說的內容")
return;
}
commentSend(_self.attr("data-type"),_self.attr("data-type2"))
commentSend(_self.attr("data-type"),_self.attr("data-type2"))
})
})
})
})
...
...
This diff is collapsed.
Click to expand it.
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