<!DOCTYPE html>
<html lang="zh-cn">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="./vue.js"></script>
    <title>团体会员入会申请登记表</title>
    <style scoped="scoped">
        .header{
          width: 880px;
          margin: 0 auto;
          display: flex;
          justify-content: center;
          align-items: center;
          margin-top: 25px;
        }
        .header .img{
          margin-right: 24px;
          width: 90px;
          height: 90px;
          /* border: 1px solid red; */
          /* background-color: pink; */
        }
          .table {
              border-collapse: collapse;
              border-spacing: 0;
              background-color: transparent;
              display: table;
              max-width: 100%;
              margin: 0 auto;
          }
          .table td {
          height: 44px;
              text-align: center;
              vertical-align: middle;
              font-size: 18px;
              font-family: 'Arial Normal', 'Arial';
              color: #333333;
              padding: 4px 12px;
          }
      
          .table-bordered {
              border: 1px solid #ddd;
          }
          * {
              margin: 0px;
              padding: 0px;
          }
        .info{
          width: 800px;
          margin: 0 auto;
          display: flex;
          justify-content: space-between;
          margin-top: 12px;
          font-size:16px;
        }
        .date{
          display: flex;
          justify-content: flex-end;
        }
        .gap{
          display: block;
          height: 4px;
          width: 26px;
        }
          .column {
              width: 100px;
              height: 15px;
              border: 1px solid #333;
              background: #f1f1f1;
          }
        .box{
              border: 1px solid #333;
      
        }
        .column01{
          width: 100px;
              height: 15px;
              border: 1px solid #333;
              /* background: #f1f1f1; */
        }
        .checkbox{
              width: 20px;
              height: 15px;
              border: 1px solid #333;
      
      
          
          /* justify-content: center; */
        }
        .box01{
            margin-right: 3px;
            margin-left: 3px;
      
          }
          .tpl{
              width: 50px !important;
              height: 15px;
              border: 1px solid #333;
              background: #f1f1f1;
          }
        .tpl01{
          width: 50px !important;
              height: 15px;
              border: 1px solid #333;
        }
          .title{
              font-size: 18px !important;
              font-weight: bold;
          }
          .value {
              width: 120px;
              height: 15px;
              border: 1px solid #333;
          }
          .value1-tip{
              border: 1px solid #333;
          }
          .value1{
              width:110px;
              display: inline-block;
          }
          .value9{
                  width:550px;
              display: inline-block;
              text-align: left;
          }
          .value2{
              width:550px;
              display: inline-block;
              text-align: left;
          }
          .value3{
              width:610px;
              display: inline-block;
              text-align: left;
          }
          .value4{
              padding: 8px 0px;
          }
          .value5{
              padding-right: 180px;
              text-align: right;
          }
          .value6{
              text-align: right;
              padding: 8px 45px;
          }
          .value7{
              text-align: right;
              padding-right: 180px;
              padding-top: 10px;
          }
          .value8{
              text-align: right;
              padding: 8px 45px;
          }
          .tp{
              width: 60px;
              display: inline-block;
          }
          
          .cameraCheckBoxTop{
              margin-right: 8px;
              width: 15px;
              height: 15px;
          }
          .portrait {
              width: 100px;
              height: 100px;
          }
          .button-dayin{
              background-color: #FF0000;
              color: #FFFFFF;
              width: 200px;
              padding: 20px 0px;
              margin: 50px auto;
              text-align: center;
              font-size: 30px;
          }
      </style>
</head>

<body>
    <div id="app">
        <div id="app">
        <div class="header">
            <div class="img">
                <img style="height: 90px; width: 90px;" src="http://red.liuniu946.com/dru/img/h.png" />
            </div>
            <div class="left">
                <div style="font-size: 30px;">中国红十字会团体会员</div>
                <div style="margin-top: 5px;text-align: center;font-size: 30px;">入会申请登记表</div>
            </div>
        </div>
        <div style="margin:8px auto;">
            <table class="table table-striped table-bordered" align="center" valign="center">
                <tr>
                    <td class="column">单位名称</td>
                    <td class="value" colspan="7">{{decodeURIComponent(hh.company_name)}}</td>
                </tr>
                <tr>
                    <td class="column">单位性质</td>
                    <td class="value" colspan="2">{{decodeURIComponent(hh.nature)}}</td>
                    <td class="column">法人代表</td>
                    <td class="value" colspan="2">{{decodeURIComponent(hh.legal_person)}}</td>
                </tr>
                <tr>
                    <td class="column">单位人数</td>
                    <td class="value" colspan="2">{{decodeURIComponent(hh.company_member)}}</td>
                    <td class="column">联系人</td>
                    <td class="value" colspan="2">{{decodeURIComponent(hh.full_name)}}</td>
                </tr>
                <tr>
                    <td class="column">常驻地区</td>
                    <td class="value" colspan="2">{{decodeURIComponent(hh.address)}}</td>
                    <td class="column">邮政编码</td>
                    <td class="value" colspan="2">{{decodeURIComponent(hh.zip_code)}}</td>
                </tr>
                <tr>
                    <td class="column">联系电话</td>
                    <td class="value" colspan="2">{{decodeURIComponent(hh.mobile)}}</td>

                    <td class="column">电子邮箱</td>
                    <td class="value" colspan="2">{{decodeURIComponent(hh.company_email)}}</td>

                </tr>
                <tr>
                    <td class="column">联系地址</td>
                    <td class="value" colspan="7">{{decodeURIComponent(hh.address)}}</td>
                </tr>
                <tr>
                    <td class="column" style="height: 440px;">会员申请</td>
                    <td class="value" colspan="7" style="padding: 32px 12px;text-indent: 30px;">
                        <div style="text-align: left;line-height: 26px;">
                            我单位自愿加入中国红十字会，遵守《中华人民共和国红十字会法》，承认《中国红十字会章程》，按时交纳会费，积极参加红十字会活动，维护红十字会合法权益，发扬“人道、博爱、奉献”的红十字精神，为发展红十字事业做贡献。
                        </div>
                        <div style="text-align: right;margin-right: 196px;margin-top: 220px;">申请单位（盖章）</div>
                        <div style="text-align: right;margin-top: 24px;" class="date">发证日期: <span
                                class="gap"></span>年<span class="gap"></span>月<span class="gap"></span>日</div>
                    </td>
                </tr>
                <tr style="height: 260px;">
                    <td class="column">批准单位意见</td>
                    <td class="value" colspan="7">
                        <div style="text-align: right;margin-right: 196px;margin-top: 84px;">（盖章）</div>
                        <div class="date" style="margin-top: 24px;">发证日期: <span class="gap"></span>年<span
                                class="gap"></span>月<span class="gap"></span>日</div>
                    </td>
                </tr>
            </table>
        </div>
    </div>
</body>
<script>
    var app = new Vue({
        el: '#app',
        data() {
            return {
                hh: {}
            }
        },
        created() {
            this.hh = this.GetRequest()
        },
        computed: {

        },
        methods: {
            GetRequest() {
                var url = location.search; //获取url中"?"符后的字串
                var theRequest = new Object();
                if (url.indexOf("?") != -1) {
                        var str = url.substr(1);
                        strs = str.split("&");
                        for(var i = 0; i < strs.length; i ++) {
                        theRequest[strs[i].split("=")[0]]=(strs[i].split("=")[1]);
                    }
                }
                return theRequest;
            }
        }
    })
</script>

</html>