Skip to content
切换导航面板
P
项目
G
群组
S
代码片段
帮助
成立
/
weiduh5
当前项目
正在载入...
登录
切换导航面板
转到一个项目
项目
版本库
问题
0
合并请求
0
流水线
维基
代码片段
设置
活动
图像
图表
创建新的问题
作业
提交
问题看板
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
854c30a0
authored
Dec 07, 2017
by
颜景龙
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
礼品展示页面
parent
09afab31
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
62 行增加
和
5 行删除
certificate/certificate.html
gift/gift.html
gift/giftindex.html
gift/giftindex.jpg
certificate/certificate.html
查看文件 @
854c30a0
...
...
@@ -65,6 +65,19 @@
if
(
r
!=
null
)
return
unescape
(
r
[
2
]);
return
null
;
//返回参数值
}
var
id
=
getUrlParam
(
'id'
);
var
type
=
getUrlParam
(
'type'
);
// type="1:证书 2:相册 3:学员案例"
if
(
type
==
1
)
{
document
.
title
=
"教练证书"
;
}
else
if
(
type
==
2
)
{
document
.
title
=
"教练相册"
;
}
else
if
(
type
==
3
)
{
document
.
title
=
"学员案例"
;
}
$
(
document
).
ready
(
function
()
{
$
(
window
).
ready
(
function
(){
...
...
@@ -74,10 +87,7 @@
$
(
'html'
).
css
({
'font-size'
:
$
(
window
).
width
()
/
375
*
16
});
});
var
id
=
getUrlParam
(
'id'
);
var
type
=
getUrlParam
(
'type'
);
if
(
id
)
{
if
(
id
&&
type
)
{
$
.
ajax
({
type
:
'POST'
,
url
:
HTTP_URL
+
"/wedofit/fitnessTrainer/getImgageHTM5"
,
...
...
gift/gift.html
查看文件 @
854c30a0
...
...
@@ -301,7 +301,7 @@
<script
src=
"https://cdn.bootcss.com/zepto/1.2.0/zepto.min.js"
></script>
<script
src=
"../js/zepto-mvalidate.js"
></script>
<script
type=
"text/javascript"
>
var
HTTP_URL
=
'http://192.168.31.
217:8080/wedo
'
;
var
HTTP_URL
=
'http://192.168.31.
182:8080/wedo-fit
'
;
function
getUrlParam
(
name
)
{
var
reg
=
new
RegExp
(
"(^|&)"
+
name
+
"=([^&]*)(&|$)"
);
//构造一个含有目标参数的正则表达式对象
...
...
gift/giftindex.html
0 → 100644
查看文件 @
854c30a0
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
charset=
"utf-8"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=Edge,chrome="
>
<meta
http-equiv=
"x-dns-prefetch-control"
content=
"on"
>
<meta
name=
"renderer"
content=
"webkit"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=.0, maximum-scale=.0, user-scalable=no"
>
<meta
name=
"format-detection"
content=
"telephone = no"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../css/validate.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../css/form.css"
>
<title>
礼品首页
</title>
<style>
html
{
font-size
:
16px
;
}
html
,
body
{
margin
:
0
;
padding
:
0
;
background
:
rgba
(
243
,
243
,
243
,
1
);
font-family
:
-apple-system-font
,
"Helvetica Neue"
,
sans-serif
;
/* width: 23.4375rem; */
}
*
{
margin
:
0
;
padding
:
0
;
box-sizing
:
border-box
;
}
*
::before
,
*
::after
{
box-sizing
:
border-box
;
content
:
''
;
}
.img
{
display
:
block
;
width
:
100%
;
}
</style>
</head>
<body>
<img
class=
"img"
src=
"./giftindex.jpg"
>
</body>
</html>
\ No newline at end of file
gift/giftindex.jpg
0 → 100644
查看文件 @
854c30a0
220 KB
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此消息的编辑!
取消
请
注册
或
登录
后发表评论