页面优化
This commit is contained in:
@@ -13,46 +13,40 @@
|
||||
<link rel="stylesheet" href="../../css/sm.css">
|
||||
<link rel="stylesheet" href="../../css/main.css">
|
||||
<link rel="stylesheet" href="../../css/theme-orange.css">
|
||||
<style type="text/css">
|
||||
#feedBackStart{
|
||||
width: 100%;
|
||||
height: 20px;
|
||||
margin: 10px auto;
|
||||
margin-left: 5%;
|
||||
line-height: 20px; /*设置line-height与父级元素的height相等*/
|
||||
overflow: hidden; /*防止内容超出容器或者产生自动换行*/
|
||||
font-size:smaller;
|
||||
color: #AAAAAA;
|
||||
}
|
||||
|
||||
<style>
|
||||
.list-block ul:before{height:0;}
|
||||
.list-block ul:after{height:0;}
|
||||
</style>
|
||||
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="page-group" id="app">
|
||||
<div class="page page-current">
|
||||
<header class="bar bar-nav">
|
||||
<header class="bar bar-nav barBorder">
|
||||
<button class="button button-link button-nav pull-left" onclick="back()">
|
||||
<span class="icon icon-left"></span>
|
||||
</button>
|
||||
<h1 class="title">意见反馈</h1>
|
||||
</header>
|
||||
<div class="content" style="background-color: #EEEEEE;">
|
||||
<div class="list-block media-list">
|
||||
<div id="feedBackStart">
|
||||
您的意见是我们的动力
|
||||
</div>
|
||||
<div class="content f3">
|
||||
<div class="content-block-title">您的意见建议是我们的动力</div>
|
||||
<div class="list-block media-list mb05">
|
||||
<ul>
|
||||
<li style="width:100%;height:150px;">
|
||||
<a class="item-content" style="width:100%;height:100%;">
|
||||
<div class="item-inner" style="width:100%;height:100%;">
|
||||
<textarea v-model="content" placeholder="请输入您的意见或建议" style="width:100%;height:100%;"></textarea>
|
||||
<textarea v-model="content" placeholder="请输入您的意见或建议" style="width:100%;height:100%;"></textarea>
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
<li style="margin-top: 10px;">
|
||||
</ul>
|
||||
</div>
|
||||
<div class="list-block media-list">
|
||||
<ul>
|
||||
<li>
|
||||
<a class="item-content">
|
||||
<div class="item-inner">
|
||||
<div class="item-title-row">
|
||||
@@ -64,7 +58,7 @@
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="content-block loginBox">
|
||||
<p><a class="button button-big button-fill theme" id="bundling_btn" @click="binding">提交意见</a></p>
|
||||
@@ -114,13 +108,9 @@ var vue = new Vue({
|
||||
},
|
||||
// 联系方式检查
|
||||
checkContact: function() {
|
||||
if(this.contact == ""){
|
||||
$.toast("请输入手机或邮箱");
|
||||
return false;
|
||||
}
|
||||
var mobile_reg = /^1\d{10}$/;
|
||||
var email_reg = /^[a-z0-9]+([._\\-]*[a-z0-9])*@([a-z0-9]+[-a-z0-9]*[a-z0-9]+.){1,63}[a-z0-9]+$/;
|
||||
if (!mobile_reg.test(this.contact)&&!email_reg.test(this.contact)) {
|
||||
if (this.contact&&(!mobile_reg.test(this.contact)&&!email_reg.test(this.contact))) {
|
||||
$.toast("手机或邮箱格式错误");
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user