modifySuggest_frm.html
3.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
<title>测量信息_frm</title>
<link rel="stylesheet" type="text/css" href="../../css/api.css"/>
<link rel="stylesheet" type="text/css" href="../../css/aui.css"/>
<link rel="stylesheet" type="text/css" href="../../css/style.css" />
<style>
html,
body{
background-color: #F4F6F9;
}
</style>
</head>
<body>
<div class="modify-suggest-info-panel">
<div class="modify-suggest-info-inside-panel">
<div class="aui-row aui-row-flex padding-top-21">
<div class="aui-col aui-col-span-9 aui-row-flex-start">
<span class="modify-suggest-measure-obj">您的姓名</span>
</div>
<div class="aui-col aui-col-span-15 aui-row-flex-end">
<input id="user_name" class="aui-input" placeholder="非必填" type="text" maxlength="6" style="height:1.26rem;text-align:right;font-weight:500;color:rgba(91,127,248,1);font-size:14px;" >
</div>
</div>
<div class="modify-suggest-panel-line margin-top-21"></div>
<div class="aui-row aui-row-flex padding-top-21">
<div class="aui-col aui-col-span-9 aui-row-flex-start">
<span class="modify-suggest-measure-obj">您的联系方式</span>
</div>
<div class="aui-col aui-col-span-15 aui-row-flex-end">
<input id="user_phone" class="aui-input" placeholder="手机号或邮箱" type="text" maxlength="20" style="height:1.26rem;text-align:right;font-weight:500;color:rgba(91,127,248,1);font-size:14px;" >
</div>
</div>
<div class="modify-suggest-panel-line margin-top-21"></div>
<div class="aui-row aui-row-flex padding-top-21" style="height:98px;">
<div class="aui-col aui-col-span-8 aui-row-flex-start">
<span class="modify-suggest-measure-obj" style="margin-top:1.3rem;">修改意见</span>
</div>
<div class="aui-col aui-col-span-16 aui-row-flex-end" style="margin-top:1.1rem;">
<textarea rows="4" maxlength="100" id="detail_suggest" placeholder="请在这里写下您的建议,帮助我们不断完善产品,谢谢。" style="height:auto;font-weight:500;color:rgba(91,127,248,1);font-size:14px;"></textarea>
</div>
</div>
<div class="modify-suggest-panel-line margin-top-21"></div>
</div>
</div>
<div class="modify-suggest-confirm-btn" tapmode onclick="submit();">提交</div>
</body>
<script type="text/javascript" src="../../script/api.js"></script>
<script type="text/javascript" src="../../script/common.js"></script>
<script type="text/javascript">
var defaultImei;
var token;
var userId;
apiready = function(){
api.parseTapmode();
};
function submit() {
var userphone = $api.val($api.byId('user_phone'));
var usersuggest = $api.val($api.byId('detail_suggest'));
if (userphone == '' || usersuggest == '') {
api.toast({
msg: '信息填写有误!',
duration: 2000,
location: 'bottom'
});
return;
}
api.showProgress({
style: 'default',
animationType: 'fade',
title: '提交中...',
text: '',
modal: true
});
setTimeout("successSubmit()",2000);
}
function successSubmit() {
api.hideProgress();
api.openWin({
name: 'suggestSuccess',
url: './suggestSuccess.html',
slidBackEnabled: false,
});
}
</script>
</html>