codeDownload.html 6.06 KB
<!-- 公告管理详情页 -->
<div class="inmodal code-doenload">
    <div class="modal-header">
        <h4 class="modal-title">小程序码下载</h4>
        <button type="button" class="close" data-dismiss="modal" ng-click="$dismiss()">
            <span aria-hidden="true">×</span> <span class="sr-only">Close</span>
        </button>
    </div>
    <div class="mp-qr-code-body">
        <!-- <img ng-src="{{model.qrcode}}" class="mp-qr-code-body-qrcode" alt="" srcset=""> -->
        <div class="ibox-content">
            <div class="row wo-row">
                <div style="text-align: center; margin: 20px 20px;">
                    <p class="tips">
                        <i class="fa fa-exclamation-circle" style="font-size: 14px;color: #F4791C;"
                            aria-hidden='true'></i>
                        客户端6.5.7版本以上才可识别小程序码,请按照43像素的整数倍缩放,以保持最佳效果
                    </p>
                    <table cellpadding="0" style="text-align: center; width: 100%;">
                        <tr style="background-color:#F9F9F9;">
                            <td style="width: 25%;">尺寸(像素)</td>
                            <td style="width: 25%;">建议扫描距离(m)</td>
                            <td style="width: 25%;">普通二维码 <i class="fa fa-exclamation-circle nav-box icon"
                                    aria-hidden='true'>
                                    <ul class="nav-menu">
                                        <li>普通二维码示例</li>
                                        <li><img src="images/normalCode.png"></li>
                                    </ul>
                                </i>
                            </td>
                            <td style="width: 25%;">小程序码 <i class="fa fa-exclamation-circle nav-box icon"
                                    aria-hidden='true'>
                                    <ul class="nav-menu">
                                        <li>小程序码示例</li>
                                        <li><img src="images/wechatCode.png"></li>
                                    </ul>
                                </i>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 25%;">280*280</td>
                            <td style="width: 25%;">0.5</td>
                            <td style="width: 25%;"><a ng-click="handleDownload('280', 'QR_LIMIT')">下载</a></td>
                            <td style="width: 25%;"><a ng-click="handleDownload('280')">下载</a></td>
                        </tr>
                        <tr>
                            <td style="width: 25%;">430*430</td>
                            <td style="width: 25%;">0.8m</td>
                            <td style="width: 25%;"><a ng-click="handleDownload('430', 'QR_LIMIT')">下载</a></td>
                            <td style="width: 25%;"><a ng-click="handleDownload('430')">下载</a></td>
                        </tr>
                        <tr>
                            <td style="width: 25%;">1280*1280</td>
                            <td style="width: 25%;">1m</td>
                            <td style="width: 25%;"><a ng-click="handleDownload('1280', 'QR_LIMIT')">下载</a></td>
                            <td style="width: 25%;"><a ng-click="handleDownload('1280')">下载</a></td>
                        </tr>
                    </table>
                </div>
            </div>
        </div>
    </div>
    <div class="modal-footer">
        <button type="button" class="btn btn-default" ng-click="$dismiss()">关闭</button>
    </div>
</div>
<style>
    .code-doenload .tips {
        height: 30px;
        line-height: 30px;
        font-size: 12px;
        color: #333333;
        background-color: #FFF0BB;
        border: 1px solid #FFCA78;
        border-radius: 2px;
        border-radius: 2px;
    }

    .code-doenload table tr {
        height: 26px;
        line-height: 26px;
    }

    .code-doenload .icon {
        position: relative;
        cursor: pointer;
    }

    .code-doenload .nav-box .nav-menu {
        position: absolute;
        background: #FFFFFF;
        box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.20);
        width: 128px;
        height: 115px;
        box-sizing: border-box;
        left: 50%;
        top: 20px;
        transform: translateX(-50%);
        padding: 10px 0 0;
        display: none;
    }

    .code-doenload .nav-box:hover .nav-menu {
        display: block;
    }

    .code-doenload .nav-box .nav-menu::before,
    .code-doenload .nav-box .nav-menu::after {
        position: absolute;
        content: '';
        left: 50%;
        transform: translateX(-50%);
    }

    /* .code-doenload .nav-box .nav-menu::before {
        top: -16px;
        border-top: 7.5px solid transparent;
        border-right: 3.75px solid transparent;
        border-bottom: 7.5px solid rgba(0, 0, 0, 0.20);
        border-left: 3.75px solid transparent;
    } */

    /* .code-doenload .nav-box .nav-menu::after {
        top: -14px;
        border-top: 7px solid transparent;
        border-right: 3.5px solid transparent;
        border-bottom: 7px solid #fff;
        border-left: 3.5px solid transparent;
    } */

    .code-doenload .nav-menu li {
        /* height: 20px;
        line-height: 20px; */
        display: block;
        margin-bottom: 10px;
        margin-right: 0 !important;
        text-align: center;
    }

    .code-doenload .icon img {
        width: 60px;
        height: 60px;
        margin: 0;
    }

    /* .code-doenload .icon::after {
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        content: '';
        width: 1px;
        height: 15px;
        background-color: #E3E3E3;
        ;
    } */
    .code-doenload table {
        border-top: 1px solid #EEEEEE;
        border-left: 1px solid #EEEEEE;
    }
    .code-doenload table td {
        height: 37px;
        border-right: 1px solid #EEEEEE;
        border-bottom: 1px solid #EEEEEE;
    }
</style>