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