| | |
| | | align-items: center; |
| | | justify-content: center; |
| | | flex-direction: column; |
| | | background-color: rgba(42, 66, 110, 0.8); |
| | | /* background-color: rgba(42, 66, 110, 0.8); */ |
| | | background: #0ED2F7; |
| | | /* fallback for old browsers */ |
| | | background: -webkit-linear-gradient(to left, #B2FEFA, #0ED2F7); |
| | | /* Chrome 10-25, Safari 5.1-6 */ |
| | | background: linear-gradient(to left, #B2FEFA, #0ED2F7); |
| | | /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */ |
| | | |
| | | width: 100%; |
| | | height: 100%; |
| | | } |
| | | |
| | | .top { |
| | | width: 100%; |
| | | height: 250px; |
| | | background-color: aquamarine; |
| | | height: 224px; |
| | | /* background-color: aquamarine; */ |
| | | |
| | | background: #00d2ff; |
| | | /* fallback for old browsers */ |
| | | background: -webkit-linear-gradient(to left, #00d2ff, #13b0ee, #13b0ee, #00d2ff); |
| | | /* Chrome 10-25, Safari 5.1-6 */ |
| | | background: linear-gradient(to left, #00d2ff, #13b0ee, #13b0ee, #00d2ff); |
| | | /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */ |
| | | |
| | | |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | |
| | | margin-top: 15px; |
| | | font-size: 16px; |
| | | letter-spacing: 1px; |
| | | color: #fff; |
| | | } |
| | | |
| | | .content { |
| | | margin-top: 5px; |
| | | width: 90%; |
| | | height: 500px; |
| | | background-color: rgba(74, 66, 98, 0.8); |
| | | background-color: rgba(65, 64, 66, 0.1); |
| | | border-radius: 5px; |
| | | display: flex; |
| | | flex-direction: column; |
| | |
| | | } |
| | | |
| | | .title { |
| | | margin-left: 7%; |
| | | margin-left: 6%; |
| | | display: inline-block; |
| | | width: 26%; |
| | | min-width: 80px; |
| | | } |
| | | </style> |
| | | <script src="https://unpkg.com/axios/dist/axios.min.js"></script> |
| | |
| | | // alert(securityNumber); |
| | | |
| | | |
| | | axios.get('http://223.82.109.183:2080/api/qrCode/getUserInfo?securityNumber=' + securityNumber).then(function(res) { |
| | | // axios.get('http://localhost:81/qrCode/getUserInfo?securityNumber=' + securityNumber).then(function(res) { |
| | | // axios.get('http://223.82.109.183:2080/api/qrCode/getUserInfo?securityNumber=' + securityNumber).then(function (res) { |
| | | axios.get('http://192.168.0.114:81/qrCode/getUserInfo?securityNumber=赣洪202100008').then(function(res) { |
| | | |
| | | var data = res.data; |
| | | console.log(data, 456); |
| | |
| | | <span class="title">名称</span> |
| | | <span> ${data.realName}</span> |
| | | </div> |
| | | <div class="row-content"> |
| | | <span class="title">公司名称</span> |
| | | <span> ${data.deptName}</span> |
| | | </div> |
| | | |
| | | <div class="row-content"> |
| | | <span class="title">性别</span> |
| | | <span> ${data.sex==1?'男':data.sex==2?'女':''}</span> |
| | | </div> |
| | | |
| | | <div class="row-content"> |
| | | <span class="title">年龄</span> |
| | | <span> ${data.age}</span> |
| | | </div> |
| | | |
| | | <div class="row-content"> |
| | | <span class="title">籍 贯</span></span></span> |
| | | <span> ${data.nativeplace}</span> |
| | | </div> |
| | | |
| | | <div class="row-content"> |
| | | <span class="title">是否派遣</span></span> |
| | | <span> ${data.dispatch == 0 ? '已派遣' : '未派遣'}</span> |
| | | </div> |
| | | |
| | | <div class="row-content"> |
| | | <span class="title">联系电话</span> |
| | | <span> ${data.phone}</span> |
| | | </div> |
| | | |
| | | <div class="row-content"> |
| | | <span class="title">公司名称</span> |
| | | <span> ${data.deptName}</span> |
| | | </div> |
| | | |
| | | <div class="row-content"> |
| | | <span class="title">保安证编号</span> |
| | | <span> ${data.securitynumber}</span> |