Skip to content
切换导航面板
P
项目
G
群组
S
代码片段
帮助
成立
/
weiduh5
当前项目
正在载入...
登录
切换导航面板
转到一个项目
项目
版本库
问题
0
合并请求
0
流水线
维基
代码片段
设置
活动
图像
图表
创建新的问题
作业
提交
问题看板
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
8598b076
authored
Nov 30, 2017
by
颜景龙
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
适配华为h5页面样式
parent
92d10682
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
62 行增加
和
26 行删除
css/form.css
gift/gift.html
groupIntro.html
gz.html
css/form.css
查看文件 @
8598b076
...
...
@@ -272,11 +272,10 @@
*/
.zbtn
{
display
:
inline-block
;
padding
:
0.
7
rem
1rem
;
padding
:
0.
5
rem
1rem
;
margin-bottom
:
0
;
font-size
:
1.
7
5rem
;
font-size
:
1.5rem
;
font-weight
:
normal
;
line-height
:
1.42857143
;
text-align
:
center
;
border-radius
:
0
;
white-space
:
nowrap
;
...
...
@@ -403,6 +402,9 @@
border-bottom-right-radius
:
4px
;
}
.zvalid-resultformat
{
font-size
:
1rem
!important
;
}
...
...
gift/gift.html
查看文件 @
8598b076
...
...
@@ -20,7 +20,7 @@
padding
:
0
;
background
:
rgba
(
243
,
243
,
243
,
1
);
font-family
:
-apple-system-font
,
"Helvetica Neue"
,
sans-serif
;
width
:
23.4375rem
;
/* width: 23.4375rem; */
}
*
{
...
...
@@ -36,21 +36,21 @@
}
.class-banner
{
width
:
23.4375rem
;
width
:
100%
;
height
:
12.5rem
;
background-size
:
cover
;
flex-direction
:
column
;
background-position
:
center
;
/* background-image: url(./banner.png); */
background-image
:
url(./banner.png)
;
}
.gift-panel
{
width
:
23.4375rem
;
width
:
100%
;
}
.gift-list
{
margin-top
:
0.625rem
;
width
:
23.4375rem
;
width
:
100%
;
float
:
left
;
}
...
...
@@ -141,12 +141,13 @@
}
.form-panel
{
padding
:
0.5rem
0.3rem
3
rem
0.3rem
;
padding
:
0.5rem
0.3rem
4
rem
0.3rem
;
background
:
#FFF
;
}
.form-panel
.control-field
{
position
:
relative
;
border-bottom
:
1px
solid
rgba
(
216
,
216
,
216
,
1
);
}
.form-panel
.control-field
label
{
position
:
absolute
;
...
...
@@ -162,7 +163,7 @@
font-size
:
1rem
;
padding
:
0.5rem
0.5rem
0.5rem
7rem
;
border
:
0
;
border-bottom
:
1px
solid
rgba
(
216
,
216
,
216
,
1
);
/* border-bottom: 1px solid rgba(216,216,216,1); */
-webkit-appearance
:
none
;
}
...
...
@@ -389,6 +390,11 @@
onKeyup
:
true
,
sendForm
:
true
,
firstInvalidFocus
:
true
,
invalid
:
function
()
{
setTimeout
(()
=>
{
console
.
log
(
$
(
'.field-tooltipWrap'
).
children
().
children
().
children
());
},
500
);
},
valid
:
function
(
event
,
options
){
//点击提交按钮时,表单通过验证触发函数
event
.
preventDefault
();
...
...
groupIntro.html
查看文件 @
8598b076
...
...
@@ -8,9 +8,45 @@
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=.0, maximum-scale=.0, user-scalable=no"
>
<meta
name=
"format-detection"
content=
"telephone = no"
/>
<title>
团课详情
</title>
<link
rel=
"stylesheet"
href=
'./main.css'
>
<script
src=
"./echarts.min.js"
></script>
<style>
.page2
{
height
:
30rem
;
background
:
#333740
;
color
:
#FFF
;
}
.page2
.title
{
width
:
100%
;
height
:
1.75rem
;
line-height
:
1.75rem
;
background
:
#292c35
;
font-size
:
0.5rem
;
}
.page2
.title
img
{
width
:
0.5rem
;
height
:
0.5rem
;
margin-left
:
0.5rem
;
}
.page2
.title
span
{
display
:
inline-block
;
font-size
:
1rem
;
text-align
:
left
;
margin-left
:
0.4rem
;
}
.page2
.pic
{
width
:
100%
;
height
:
10rem
;
}
.page2
.main
{
padding
:
0
1rem
;
}
.page2
.main
h3
{
font-size
:
0.8rem
;
text-align
:
center
;
}
.page2
.main
p
{
font-size
:
0.65rem
;
}
#chart
{
width
:
100%
;
height
:
12rem
;
...
...
gz.html
查看文件 @
8598b076
...
...
@@ -8,19 +8,14 @@
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=.0, maximum-scale=.0, user-scalable=no"
>
<meta
name=
"format-detection"
content=
"telephone = no"
/>
<title>
规则详情
</title>
<style>
html
{
font-size
:
16px
;
}
html
,
body
{
margin
:
0
;
padding
:
0
;
background
:
#333740
;
color
:
#fff
;
font-family
:
-apple-system-font
,
"Helvetica Neue"
,
sans-serif
;
width
:
23.4375rem
;
color
:
#FFF
;
}
*
{
...
...
@@ -32,11 +27,6 @@
*
::before
,
*
::after
{
box-sizing
:
border-box
;
content
:
''
;
}
.page1
{
width
:
23.4375rem
;
}
.page1
.main
{
padding
:
0
1.25rem
;
...
...
@@ -48,10 +38,10 @@
.page1
.main
p
{
font-size
:
0.8rem
;
}
</style>
</head>
<body
class=
'page1'
>
<div
class=
'main'
>
<body
class=
"page1"
>
<div
class=
"main"
>
<h3>
约课
</h3>
<p>
11:00约课:每天中午11:00开放预约,团操课程提前两天开放
<br/><br/>
...
...
@@ -74,6 +64,7 @@
签到失败:因特殊原因导致课程签到失败,可在门店联系店长工作人员说明签到失败情况进行补签
</p>
</div>
<script
src=
"./echarts.min.js"
></script>
<script
src=
"https://cdn.bootcss.com/zepto/1.0rc1/zepto.min.js"
></script>
<script>
$
(
document
).
ready
(
function
()
{
...
...
@@ -83,7 +74,8 @@
$
(
window
).
resize
(
function
(){
$
(
'html'
).
css
({
'font-size'
:
$
(
window
).
width
()
/
375
*
16
});
});
})
});
</script>
</body>
</html>
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此消息的编辑!
取消
请
注册
或
登录
后发表评论