Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
libai
/
guodong
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
5df9ec98
authored
Feb 25, 2021
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
9e212aec
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
275 additions
and
3 deletions
gzh/css/index.css
gzh/css/index.less
gzh/fml.html
gzh/images/fml-go.jpeg
gzh/index.html
gzh/login.html
gzh/css/index.css
View file @
5df9ec98
...
...
@@ -1039,3 +1039,65 @@
font-size
:
0.4rem
;
line-height
:
1rem
;
}
.fml-go
{
display
:
none
;
text-align
:
center
;
margin-top
:
0.3rem
;
}
.fml-go
img
{
width
:
9.6rem
;
border-radius
:
0.1rem
;
}
.fml-ul
li
{
width
:
10rem
;
height
:
2.2rem
;
}
.fml-ul
.fml-span1
{
width
:
7.3rem
;
height
:
2.2rem
;
float
:
left
;
position
:
relative
;
}
.fml-ul
.fml-span2
{
width
:
2.7rem
;
height
:
2.2rem
;
float
:
left
;
position
:
relative
;
}
.fml-face
{
position
:
absolute
;
width
:
1.35rem
;
height
:
1.35rem
;
border-radius
:
50%
;
top
:
0.425rem
;
left
:
0.25rem
;
}
.fml-p1
{
color
:
#040404
;
font-size
:
0.35rem
;
text-indent
:
2rem
;
padding-top
:
0.55rem
;
}
.fml-p2
{
color
:
#727272
;
font-size
:
0.3rem
;
text-indent
:
2rem
;
padding-top
:
0.1rem
;
}
.fml-btn
{
position
:
absolute
;
width
:
1.9rem
;
height
:
0.9rem
;
background
:
linear-gradient
(
to
right
,
#F6E7B3
,
#F0CC78
);
border-radius
:
1rem
;
line-height
:
0.9rem
;
color
:
#6C4014
;
font-size
:
0.3rem
;
text-align
:
center
;
top
:
0.63rem
;
left
:
0.2rem
;
}
.fml-btn-yes
{
background
:
#999
;
color
:
#fff
;
}
gzh/css/index.less
View file @
5df9ec98
...
...
@@ -1063,4 +1063,68 @@
font-size: 0.4rem;
line-height: 1rem;
}
}
.fml-go{
display: none;
text-align: center;
margin-top: 0.3rem;
img{
width: 9.6rem;
border-radius: 0.1rem;
}
}
.fml-ul{
li{
width: 10rem;
height: 2.2rem;
}
.fml-span1{
width: 7.3rem;
height: 2.2rem;
float: left;
position: relative;
}
.fml-span2{
width: 2.7rem;
height: 2.2rem;
float: left;
position: relative;
}
}
.fml-face{
position: absolute;
width: 1.35rem;
height: 1.35rem;
border-radius: 50%;
top: 0.425rem;
left: 0.25rem;
}
.fml-p1{
color: #040404;
font-size: 0.35rem;
text-indent: 2rem;
padding-top: 0.55rem;
}
.fml-p2{
color: #727272;
font-size: 0.3rem;
text-indent: 2rem;
padding-top: 0.1rem;
}
.fml-btn{
position: absolute;
width: 1.9rem;
height: 0.9rem;
background: linear-gradient(to right, #F6E7B3, #F0CC78);
border-radius: 1rem;
line-height: 0.9rem;
color: #6C4014;
font-size: 0.3rem;
text-align: center;
top: 0.63rem;
left: 0.2rem;
}
.fml-btn-yes{
background:#999;
color: #fff;
}
\ No newline at end of file
gzh/fml.html
0 → 100644
View file @
5df9ec98
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
charset=
"utf-8"
/>
<meta
name=
"viewport"
content=
"width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"
/>
<meta
name=
"apple-mobile-web-app-capable"
content=
"yes"
>
<meta
name=
"apple-mobile-web-app-status-bar-style"
content=
"black-translucent"
>
<meta
content=
"telephone=no"
name=
"format-detection"
>
<meta
http-equiv=
"Cache-Control"
content=
"no-cache, no-store, must-revalidate"
/>
<meta
http-equiv=
"Cache"
content=
"no-cache"
>
<meta
http-equiv=
"Pragma"
content=
"no-cache"
/>
<meta
http-equiv=
"Expires"
content=
"0"
/>
<title>
家族
</title>
<link
rel=
"stylesheet"
href=
"css/base.css"
>
<link
rel=
"stylesheet"
href=
"css/layer.css"
>
<link
rel=
"stylesheet"
href=
"css/index.css?v=2020031801"
>
<script
src=
"lib/fsize.js"
></script>
</head>
<body>
<ul
class=
"fml-ul"
>
<!-- <li>
<span class="fml-span1">
<img class="fml-face" src="https://zhibocdn.lvdou66.com/comm/user/boy.png?x-oss-process=image/resize,w_80" alt="">
<p class="fml-p1">MF</p>
<p class="fml-p2">族长:MF传媒魔法哥</p>
</span>
<span class="fml-span2">
<div class="fml-btn">申请加入</div>
</span>
</li> -->
</ul>
</body>
<script
src=
"lib/jquery-3.1.1.min.js"
></script>
<script
src=
"layer-v3.1.0/layer/layer.js"
></script>
<script>
// $ip = 'http://test.api.lvdou66.com/';
// $ip = 'https://zhibo.lvdou66.com/87server/'
$ip
=
'https://zhibo.lvdou66.com/'
;
cdn
=
'http://zhibocdn.ishuaji.cn/comm'
;
var
bbb
=
location
.
href
;
var
data
=
url_get_params
(
bbb
)
function
url_get_params
(
url_path
)
{
var
url
=
url_path
;
var
theRequest
=
new
Object
();
if
(
url
.
indexOf
(
"?"
)
!=
-
1
)
{
var
str
=
url
.
substr
(
url
.
indexOf
(
"?"
)
+
1
);
strs
=
str
.
split
(
"&"
);
for
(
var
i
=
0
;
i
<
strs
.
length
;
i
++
)
{
theRequest
[
strs
[
i
].
split
(
"="
)[
0
]]
=
unescape
(
strs
[
i
].
split
(
"="
)[
1
]);
}
}
return
theRequest
;
}
//ajax设置默认参数
$
.
ajaxSetup
({
global
:
false
,
type
:
'post'
,
data
:
{
uid
:
localStorage
.
uid
,
token
:
localStorage
.
token
},
dataType
:
"JSON"
})
$
.
ajax
({
url
:
$ip
+
'webfamily/lists.html'
,
data
:{
debug
:
localStorage
.
token
,
},
success
:
function
(
msg
){
var
data
=
JSON
.
parse
(
msg
);
console
.
log
(
'主播申请列表'
,
data
)
var
html
=
[];
for
(
var
i
=
0
;
i
<
data
.
data
.
length
;
i
++
){
var
list
=
data
.
data
[
i
];
html
+=
'
<
li
>
';
html+='
<
span
class
=
"fml-span1"
>
';
html+='
<
img
class
=
"fml-face"
src
=
"https://zhibocdn.lvdou66.com/comm'+list.logo+'?x-oss-process=image/resize,w_80"
alt
=
""
>
';
html+='
<
p
class
=
"fml-p1"
>
'+list.familyname+'
<
/p>'
;
html
+=
'
<
p
class
=
"fml-p2"
>
族长
:
'+list.member.nickname+'
<
/p>'
;
html
+=
'
<
/span>'
;
html
+=
'
<
span
class
=
"fml-span2"
>
';
if(list.isapply==1)html+='
<
div
class
=
"fml-btn fml-btn-yes"
>
申请中
<
/div>'
;
else
html
+=
'
<
div
data
-
type
=
'+list.familyid+'
class
=
"fml-btn fml-btn-no"
>
申请加入
<
/div>'
;
html
+=
'
<
/span>'
;
html
+=
'
<
/li>'
;
}
$
(
".fml-ul"
).
html
(
html
);
$
(
".fml-btn-no"
).
unbind
(
"click"
).
on
(
"click"
,
function
(){
var
_self
=
$
(
this
).
attr
(
"data-type"
)
var
_this
=
$
(
this
)
$
.
ajax
({
url
:
$ip
+
'webfamily/applyadd.html'
,
data
:{
debug
:
localStorage
.
token
,
familyid
:
_self
},
success
:
function
(
msg
){
var
data
=
JSON
.
parse
(
msg
);
console
.
log
(
'家族申请入口'
,
data
)
if
(
data
.
code
==
1
){
layer
.
msg
()
_this
.
addClass
(
".fml-btn-yes"
)
_this
.
text
(
"申请中"
)
_this
.
unbind
(
"click"
)
}
else
{
layer
.
msg
(
decodeURIComponent
(
data
.
msg
));
}
}
})
})
}
})
</script>
</html>
\ No newline at end of file
gzh/images/fml-go.jpeg
0 → 100644
View file @
5df9ec98
105 KB
gzh/index.html
View file @
5df9ec98
...
...
@@ -94,6 +94,8 @@
<p
class=
"href-box"
><span>
小券明细
</span>
|
<span>
提现记录
</span>
|
<span>
收款账户
</span></p>
</div>
</div>
<div
class=
"fml-go"
><img
src=
"images/fml-go.jpeg"
alt=
""
></div>
</div>
</div>
...
...
@@ -210,7 +212,7 @@
dataType
:
"JSON"
})
$
.
ajax
({
url
:
'http
s://zhiboweb.ishuaji.cn
/activesys/getUserBaseInfo'
,
url
:
'http
://test.api.lvdou66.com:8036
/activesys/getUserBaseInfo'
,
type
:
"post"
,
data
:
{
uid
:
localStorage
.
uid
,
...
...
@@ -228,6 +230,31 @@
}
}
})
$
.
ajax
({
url
:
''
+
$ip
+
'webfamily/isdisplay.html'
,
type
:
"get"
,
data
:
{
uid
:
localStorage
.
uid
,
debug
:
localStorage
.
token
,
token
:
''
,
},
success
:
function
(
msg
){
var
data
=
JSON
.
parse
(
msg
)
console
.
log
(
"是否展示"
,
data
)
if
(
data
.
code
==
1
){
if
(
data
.
state
==
1
){
$
(
".withdraw-btn"
).
css
(
"margin-top"
,
"0.8rem"
)
$
(
".fml-go"
).
show
()
}
else
{
}
}
}
})
$
(
".fml-go"
).
on
(
"click"
,
function
(){
})
$
(
".face-out"
).
on
(
"click"
,
function
(){
localStorage
.
uid
=
'undefined'
localStorage
.
token
=
'undefined'
...
...
gzh/login.html
View file @
5df9ec98
...
...
@@ -39,9 +39,9 @@
<script>
$
(
function
()
{
// $ip = 'http://test.api.lvdou66.com:8036/';
$ip
=
"https://zhiboweb.ishuaji.cn/"
;
//
$ip = "https://zhiboweb.ishuaji.cn/";
//$ip = 'https://zhibo.lvdou66.com/87server/'
//
$ip = 'https://zhibo.lvdou66.com/';
$ip
=
'https://zhibo.lvdou66.com/'
;
cdn
=
'http://zhibocdn.ishuaji.cn/comm'
;
var
codeTime
=
null
var
eTime
...
...
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