Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
haishi
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
冷斌
haishi
Commits
8ec482c9
Commit
8ec482c9
authored
Feb 20, 2020
by
冷斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
4ef5c3d8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
55 additions
and
32 deletions
+55
-32
public/appapi/css/reset.css
+4
-5
themes/simplebootx/Appapi/Feedback/index.html
+51
-27
No files found.
public/appapi/css/reset.css
View file @
8ec482c9
...
...
@@ -32,7 +32,7 @@ h3 { font-size: 14px; }
h4
,
h5
,
h6
{
font-size
:
100%
;
}
address
,
cite
,
dfn
,
em
,
var
{
font-style
:
normal
;
}
/* 将斜体扶正 */
code
,
kbd
,
pre
,
samp
,
tt
{
font-family
:
"Courier New"
,
Courier
,
monospace
;
}
/* 统一等宽字体 */
/* code, kbd, pre, samp, tt { font-family: "Courier New", Courier, monospace; } */
/* 统一等宽字体 */
small
{
font-size
:
12px
;
}
/* 小于 12px 的中文很难阅读,让 small 正常化 */
/* 重置列表元素 */
...
...
@@ -80,11 +80,11 @@ html { overflow-y: scroll; }
@media
only
screen
and
(
min-width
:
414px
)
{
html
{
font-size
:
22.2px
!important
;}}
@media
only
screen
and
(
min-width
:
480px
)
{
html
{
font-size
:
25.6px
!important
;}}
@media
only
screen
and
(
min-width
:
640px
)
{
html
{
font-size
:
34.2px
!important
;}}
@media
screen
and
(
min-width
:
750px
)
{
/*
@media screen and ( min-width:750px ) {
.app{ width:750px; margin: 0 auto; }
.loading > div{ width:750px; }
html {font-size: 24px;}
}
}
*/
/* 清除浮动 */
.clearfix
:after
{
content
:
""
;
height
:
0
;
line-height
:
0
;
display
:
block
;
visibility
:
hidden
;
clear
:
both
}
...
...
@@ -92,4 +92,4 @@ html { overflow-y: scroll; }
/* 超出省略 */
.ell
{
white-space
:
nowrap
;
text-overflow
:
ellipsis
;
overflow
:
hidden
;
word-break
:
break-all
;
}
.ell2
{
text-overflow
:
-o-ellipsis-lastline
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
display
:
-webkit-box
;
-webkit-line-clamp
:
2
;
line-clamp
:
2
;
-webkit-box-orient
:
vertical
;
}
\ No newline at end of file
.ell2
{
text-overflow
:
-o-ellipsis-lastline
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
display
:
-webkit-box
;
-webkit-line-clamp
:
2
;
line-clamp
:
2
;
-webkit-box-orient
:
vertical
;
}
themes/simplebootx/Appapi/Feedback/index.html
View file @
8ec482c9
...
...
@@ -3,35 +3,59 @@
<head
lang=
"en"
>
<title>
意见反馈
</title>
<tc
_include
file=
"Appapi/Public/head"
/>
<link
type=
"text/css"
rel=
"stylesheet"
href=
"__PUBLIC__/appapi/css/feedback.css"
/>
<style
type=
"text/css"
>
.headBox
{
width
:
100%
;
height
:
2.2rem
;
margin-top
:
0.5rem
;
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
padding
:
0
0.75rem
;
background
:
#FFFFFF
;
}
.inputTel
{
flex
:
1
;
font-size
:
0.7rem
;
color
:
#333
;
}
.bodyBox
{
width
:
100%
;
margin-top
:
0.5rem
;
background
:
#fff
;
padding
:
0.5rem
0.75rem
;
height
:
7rem
;
}
.content
{
width
:
100%
;
font-size
:
0.7rem
;
color
:
#333
;
resize
:
none
;
height
:
100%
;
}
.btnBox
{
width
:
100%
;
margin-top
:
5rem
;
padding
:
0
4.4rem
;
}
.btnBox
input
{
width
:
100%
;
height
:
2.2rem
;
border-radius
:
1.1rem
;
background
:
#FC7583
;
font-size
:
0.7rem
;
color
:
#fff
;
}
</style>
</head>
<body>
<div
id=
"test"
>
<textarea
placeholder=
"请将您遇到的问题/产品建议反馈给我们,建议您尽可能详细的描述问题,便于运营同学帮您解决。"
id=
"content"
oninput=
"check_input()"
maxlength=
'200'
></textarea>
<div
class=
"num"
>
最多只能输入200字
</div>
<div
class=
"thumb_bd"
>
<div
id=
"upload"
></div>
<input
type=
"hidden"
id=
"thumb"
name=
"thumb"
value=
""
>
<img
src=
"__PUBLIC__/appapi/images/feedback/add.png"
class=
"fl img-sfz"
data-index=
"ipt-file1"
id=
"img_file1"
onclick=
"file_click($(this))"
>
<div
class=
"shad1 shadd"
data-select=
"ipt-file1"
>
<div
class=
"title-upload"
>
正在上传中...
</div>
<div
id=
"progress1"
>
<div
class=
"progress ipt-file1"
></div>
</div>
</div>
<body
style=
"background-color: #f9f9f9;"
>
<div
class=
"app"
id=
"app"
style=
"overflow: hidden;"
>
<div
class=
"headBox"
>
<div
style=
"font-size: 0.7rem; color: #333; margin-right: 1rem;"
>
联系方式
</div>
<input
class=
"inputTel"
type=
"text"
v-model=
"thumb"
placeholder=
"请留下您的微信/QQ/手机号"
/>
</div>
<div
class=
"bodyBox"
>
<textarea
class=
"content"
v-model=
"content"
rows=
""
cols=
""
maxlength=
"200"
placeholder=
"我的意见…"
>
</textarea>
</div>
<!-- 提交 -->
<div
class=
"btnBox"
>
<input
type=
"button"
value=
"提交"
/>
</div>
</div>
<div
id=
"btm"
>
<button
disabled
id=
"save_btn"
class=
"button_default"
>
点击反馈
</button>
</div>
<input
type=
"hidden"
id=
"uid"
value=
"{$uid}"
>
<input
type=
"hidden"
id=
"token"
value=
"{$token}"
>
<input
type=
"hidden"
id=
"version"
value=
"{$version}"
>
<input
type=
"hidden"
id=
"model"
value=
"{$model}"
>
<tc
_include
file=
"Appapi/Public/footer"
/>
<script
src=
"__PUBLIC__/js/ajaxfileupload.js"
></script>
<script
src=
"__PUBLIC__/appapi/js/feedback.js"
></script>
<script>
var
vm
=
new
Vue
({
el
:
'#app'
,
data
:
{
uid
:
"{$uid}"
,
token
:
"{$token}"
,
version
:
"{$version}"
,
model
:
"{$model}"
,
content
:
''
,
thumb
:
''
,
},
methods
:
{
//事件
},
watch
:
{
//数据监测函数
},
created
:
function
()
{
//加载触发函数
}
});
</script>
</body>
</html>
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