<%@ page language="java" import="java.util.*" contentType="text/html; charset=utf-8"%>
<%@ include file="/WEB-INF/include/taglib.jsp"%>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="renderer" content="webkit">
    <meta name="description" content="">
    <meta name="keywords" content="">
    <link rel="stylesheet" href="/static/weixin/css/public.css">
    <%--更新展会保险购买情况--%>
    <link rel="stylesheet" href="/static/weixin/css/basic.css">
    <link rel="stylesheet" href="/static/weixin/css/wechat_add_new.css">
    <script src="/static/weixin/js/flexible.js"></script>
    <title>我的推广</title>
</head>
<body id="contain">
<div class="contain">
    <div class="bai-head">
        <span>我的推广</span>
        <a href="/weixin/primaryPage/listNew" class="left">
            <img src="/static/weixin/images/head-left.png"/>
        </a>
    </div>
    <div class="Promotion">
        <div class="lm_Promotion">
            <p>您已获得以下产品种类的推广权限</p>
        </div>
        <div class="lm_Promotion_content">
            <div class="content blb" style="display: none;">
                <h2>
                    <img src="/static/weixin/images/new_bill-banner-s1.png" >
                    <span>保险产品</span>
                </h2>
                <ul>
                    <li>
                        <a href="/weixin/share/index?product_type=6">
                            <img src="/static/weixin/images/lm_Promotion-s1.png">
                            <p>推广产品</p>
                        </a>
                    </li>
                    <c:if test="${flag}">
                        <li>
                            <a href="/weixin/activity/activityListOnline">
                                <img src="/static/weixin/images/lm_Promotion-s2.png">
                                <p>活动管理</p>
                            </a>
                        </li>
                    </c:if>
                </ul>
            </div>
            <div class="content pss" style="display: none;">
                <h2>
                    <img src="/static/weixin/images/new_bill-banner-s2.png" >
                    <span>风评产品</span>
                </h2>
                <ul>
                    <li>
                        <a  href="/weixin/share/index?product_type=7">
                            <img src="/static/weixin/images/lm_Promotion-s1.png">
                            <p>推广产品</p>
                        </a>
                    </li>
                </ul>
            </div>
            <div class="content sts" style="display: none;">
                <h2>
                    <img src="/static/weixin/images/new_bill-banner-s3.png" >
                    <span>培训产品</span>
                </h2>
                <ul>
                    <li>
                        <a href="/weixin/share/index?product_type=8">
                            <img src="/static/weixin/images/lm_Promotion-s1.png">
                            <p>推广产品</p>
                        </a>
                    </li>
                </ul>
            </div>
        </div>
    </div>
</div>
</body>
<script src="/static/weixin/js/jquery-1.8.3.min.js"></script>
<script src="/static/weixin/js/g.js"></script>
<title>我的推广</title>
<script type="text/javascript">
    g_ajax("/weixin/bill/getProductTypeByCompanyId",{},function(json){
        console.log(json);
        for(var i in json){
            if(json[i].product_type=="6"){
                $(".blb").show();
            }
            if(json[i].product_type=="7"){
                $(".pss").show();
            }
            if(json[i].product_type=="8"){
                $(".sts").show();
            }
        }
    },false);

</script>
</html>