modifySuggest_frm.html 3.62 KB
<!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/utils/addDevice.css" />
      <link rel="stylesheet" type="text/css" href="../../css/style.css" />
      <style>
          html,
          body{
            background-color: #F4F6F9;
          }
      </style>
  </head>
  <body>
    <div class="info-panel">
      <div class="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="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="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="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="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="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="panel-line margin-top-21"></div>
      </div>
    </div>
    <div class="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>