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
c01d148b
authored
Jun 30, 2022
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
9659c8f6
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
9 deletions
yazhaiTest/lib/login.js
yazhaiTest/pc.html
yazhaiTest/space/index.html
yazhaiTest/space/myRoom.html
yazhaiTest/lib/login.js
View file @
c01d148b
...
...
@@ -25,7 +25,7 @@ function loginGo(){
html
+=
' <span class="login-input-phone-span">+886</span>'
;
html
+=
' <input oninput="value=value.replace(/[^\\d]/g,\'\')" class="login-input1" maxlength="15" placeholder="請輸入手機號碼" type="text">'
;
html
+=
' </div>'
;
html
+=
' <div class="login-submit-btn">登入</div>'
;
html
+=
' <div class="login-submit-btn">登入
/註冊
</div>'
;
html
+=
' <div class="more-login"><img src="https://www.footseen.xyz/yazhaiTest/images/more-login.png" alt=""></div>'
;
html
+=
' <div class="more-login-box">'
;
html
+=
' <div class="more-login-icon more-login-icon1" id="buttonDiv1"></div>'
;
...
...
@@ -149,7 +149,7 @@ function loginGo(){
if
(
typeof
(
indexOk
)
==
"undefined"
){
var
html
=
[];
html
+=
'<ul class="neck-nav-ul">'
;
html
+=
'<a href="https://www.footseen.xyz/yazhaiTest/pc.html"><li data-type="1"><span>首頁</span> <img src="https://www.footseen.xyz/yazhaiTest/images/front/nack-icon.png" alt=""></li></a>'
;
html
+=
'<a href="https://www.footseen.xyz/yazhaiTest/pc.html
?jump=2&v=20220627
"><li data-type="1"><span>首頁</span> <img src="https://www.footseen.xyz/yazhaiTest/images/front/nack-icon.png" alt=""></li></a>'
;
html
+=
'<a target="_blank" href="https://www.footseen.xyz/yazhaiTest/pc.html?jump=2&v=20220627"><li data-type="2"><span>直播</span> <img src="https://www.footseen.xyz/yazhaiTest/images/front/nack-icon.png" alt=""></li></a>'
;
html
+=
'<a target="_blank" href="https://www.footseen.xyz/yazhaiTest/pc.html?jump=3&v=20220627"><li data-type="3"><span>追蹤</span> <img src="https://www.footseen.xyz/yazhaiTest/images/front/nack-icon.png" alt=""></li></a>'
;
html
+=
'<a target="_blank" href="https://www.footseen.xyz/yazhaiTest/pc.html?jump=4&v=20220627"><li data-type="4"><span>影片</span> <img src="https://www.footseen.xyz/yazhaiTest/images/front/nack-icon.png" alt=""></li></a>'
;
...
...
yazhaiTest/pc.html
View file @
c01d148b
...
...
@@ -849,7 +849,7 @@ $(function(){
$
(
".video-list-box"
).
hide
()
$
(
".like-box"
).
hide
()
$
(
".images-list-box"
).
show
()
getTopics
(
1
,
typeNum
,
tagNum
,
timeNum
,
sortNum
,
dayNum
)
//
getTopics(1,typeNum,tagNum,timeNum,sortNum,dayNum)
}
if
(
sessionStorage
.
jump
==
6
){
scrollNav
=
false
...
...
yazhaiTest/space/index.html
View file @
c01d148b
...
...
@@ -263,12 +263,16 @@ $(function(){
else
html
+=
'
<
div
data
-
type
=
"'+data.room.roomId+'"
data
-
type2
=
"1"
class
=
"like-btn"
><
/div>'
;
$
(
".space-top"
).
html
(
html
);
var
html
=
[]
html
+=
'
<
li
><
span
>
性別
:
<
/span>女</
li
>
';
if
(
data
.
roomBaseInfo
.
sex
==-
1
)
html
+=
'
<
li
><
span
>
性別
:
<
/span>未知</
li
>
';
else if(data.roomBaseInfo.sex==1)html+='
<
li
><
span
>
性別
:
<
/span>男</
li
>
';
else if(data.roomBaseInfo.sex==0)html+='
<
li
><
span
>
性別
:
<
/span>女</
li
>
';
html+='
<
li
><
span
>
年齡
:
<
/span>'+data.roomBaseInfo.age+'</
li
>
';
if (data.roomBaseInfo.addr != '')html+='
<
li
><
span
>
來自
:
<
/span>'+data.roomBaseInfo.addr+'</
li
>
';
else html+='
<
li
><
span
>
來自
:
<
/span>未知</
li
>
';
html+='
<
li
><
span
>
身高
:
<
/span>'+data.roomBaseInfo.height+'cm</
li
>
';
html+='
<
li
><
span
>
體重
:
<
/span>' + data.roomBaseInfo.weight + 'kg</
li
>
';
if(data.roomBaseInfo.height=='')html+='
<
li
><
span
>
身高
:
<
/span>未知</
li
>
';
else html+='
<
li
><
span
>
身高
:
<
/span>'+data.roomBaseInfo.height+'cm</
li
>
';
if(data.roomBaseInfo.weight=='')html+='
<
li
><
span
>
體重
:
<
/span>未知</
li
>
';
else html+='
<
li
><
span
>
體重
:
<
/span>' + data.roomBaseInfo.weight + 'kg</
li
>
';
html+='
<
li
><
span
>
星座
:
<
/span>' + data.roomBaseInfo.constellation + '</
li
>
';
html+='
<
li
><
span
>
學歷
:
<
/span>' + data.roomBaseInfo.culture + '</
li
>
';
html+='
<
li
><
span
>
職業
:
<
/span>' + data.roomBaseInfo.work + '</
li
>
';
...
...
yazhaiTest/space/myRoom.html
View file @
c01d148b
...
...
@@ -218,7 +218,7 @@ $(function(){
day
=
$
(
"#days option:selected"
).
val
()
})
for
(
var
i
=
0
;
i
<
$
(
"#year option"
).
length
;
i
++
){
if
(
data
.
zoneInfo
.
birth
.
split
(
'-'
)[
0
]
==
$
(
"#year option"
).
eq
(
i
).
val
()){
if
(
data
.
zoneInfo
.
birth
.
split
(
'-'
)[
0
]
!=
''
&&
data
.
zoneInfo
.
birth
.
split
(
'-'
)[
0
]
==
$
(
"#year option"
).
eq
(
i
).
val
()){
$
(
"#year option"
).
eq
(
i
).
attr
(
"selected"
,
"true"
)
$
(
"#month option:selected"
).
html
(
data
.
zoneInfo
.
birth
.
split
(
'-'
)[
1
]
+
'月'
)
$
(
"#days option:selected"
).
html
(
data
.
zoneInfo
.
birth
.
split
(
'-'
)[
2
]
+
'日'
)
...
...
@@ -259,9 +259,10 @@ $(function(){
if
(
$
(
'.profession-input'
).
val
()
!=
data
.
zoneInfo
.
work
){
var
workNum
=
$
(
'.profession-input'
).
val
()
}
if
(
$
(
".
culture-select option:selected"
).
html
()
!=
data
.
zoneInfo
.
culture
&&
$
(
".culture
-select option:selected"
).
html
()
!=
'幼稚園'
){
var
cultureNum
=
$
(
".
culture
-select option:selected"
).
val
()
if
(
$
(
".
education-select option:selected"
).
html
()
!=
data
.
zoneInfo
.
culture
&&
$
(
".education
-select option:selected"
).
html
()
!=
'幼稚園'
){
var
cultureNum
=
$
(
".
education
-select option:selected"
).
val
()
}
$
.
ajax
({
url
:
$ip
+
'user/updateUserData'
,
data
:{
...
...
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