Kirin 2 年之前
父节点
当前提交
116b7d26ee
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      app/admin/view/user/user_cert/index.php

+ 7 - 0
app/admin/view/user/user_cert/index.php

@@ -14,6 +14,9 @@
                     <script type="text/html" id="photo">
                         <img src='{{d.photo}}' lay-event='open_image'>
                     </script>
+                    <script type="text/html" id="qrcode">
+                        <img src='{{d.qrcode}}' lay-event='open_image2'>
+                    </script>
 
                     <script type="text/html" id="act">
                         {{# if(d.status == 0 ){ }}
@@ -43,6 +46,7 @@
             {field: 'idcard', title: '身份证号码', width: '15%'},
             {field: 'job', title: '职业', width: '7%'},
             {field: 'photo', title: '照片', width: '10%', toolbar: "#photo"},
+            {field: 'qrcode', title: '二维码', width: '10%', toolbar: "#qrcode"},
             {field: 'level_name', title: '等级', width: '5%'},
             {field: 'code', title: '编码'},
             {field: 'date', title: '录入时间', width: "10%"},
@@ -56,6 +60,9 @@
             case 'open_image':
                 $eb.openImage(data.photo);
                 break;
+            case 'open_image2':
+                $eb.openImage(data.qrcode);
+                break;
             case 'edit':
                 $eb.createModalFrame(data.name + '-确认', layList.U({a: 'check', q: {id: data.id}}), {
                     h: 550,