index.html 6.4 KB
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
    <title>用户个人中心</title>
    <script src="__TMPL__/public/assets/js/fontsize.js"></script>
    <link rel="stylesheet" href="__TMPL__/public/assets/css/init.css">
    <link rel="stylesheet" href="http://at.alicdn.com/t/font_793738_5lr5x3nl9vf.css">
    <link rel="stylesheet" href="__TMPL__/public/assets/css/personalCenter.css">
    <link rel="stylesheet" href="__TMPL__/public/assets/css/comment.css">
    <link rel="stylesheet" href="__TMPL__/public/assets/css/weui.css">
    <link rel="stylesheet" href="__TMPL__/public/assets/css/myweui.css">
</head>
<body style="background:#F5FAF7">
<div class="content_box">
    <div class="banner_box">
        <div class="head_box">
            <img src="{:cmf_get_image_url($user.avatar)}" alt="">
            <div class="user_name">{$user_login|default=$user.user_nickname}</div>
        </div>
        <div class="sign_in">
            <text class="iconfont icon-qiandao"></text>
            <text>签到</text>
        </div>
    </div>
    <div class="banner_info_box">
        <a class="banner_item" href="{:url('user/index/myScore')}">
            <div>{$user.score}</div>
            <div class="banner_info">当前积分</div>
        </a>
        <div class="banner_line"></div>
        <a style="display: none" class="banner_item" href="{:url('user/message/list')}">
            <div>{$message_count}</div>
            <div class="banner_info">站内信</div>
        </a>
        <div class="banner_line"></div>
        <a class="banner_item" href="{:url('portal/shop/index')}">
            <div>兑换积分</div>
        </a>
    </div>
</div>
<div class="content_box"  <if condition="$user['is_expert']==1"> style="display:none"</if>>
    <div class="type_box">
        <a class="type_item" href="{:url('inquiry')}"   >
            <div class="icon_img"><img src="__TMPL__/public/assets/images/dicon02@2x.png" alt=""></div>
            <div>我要问诊</div>
        </a>
        <a class="type_item" href="{:url('transfer')}">
            <div class="icon_img"><img src="__TMPL__/public/assets/images/dicon03@2x.png" alt=""></div>
            <div>我要转诊</div>
        </a>
        <a class="type_item" href="{:url('engage')}">
            <div class="icon_img"><img src="__TMPL__/public/assets/images/dicon04@2x.png" alt=""></div>
            <div>我要进修</div>
        </a>
        <a class="type_item" href="{:url('expert/inquiryAnswer')}">
            <div class="icon_img"><img src="__TMPL__/public/assets/images/dicon06@2x.png" alt=""></div>
            <div>问诊待答</div>
        </a>
        <a class="type_item" href="{:url('expert/transferAnswer')}">
            <div class="icon_img"><img src="__TMPL__/public/assets/images/dicon07@2x.png" alt=""></div>
            <div>转诊待答</div>
        </a>
        <a class="type_item" href="{:url('expert/engageAnswer')}">
            <div class="icon_img"><img src="__TMPL__/public/assets/images/dicon07@2x.png" alt=""></div>
            <div>进修待答</div>
        </a>
    </div>
</div>
<div class="content_box"  <if condition="$user['is_expert']==0"> style="display:none"</if>>
    <div class="type_box"  style="justify-content: flex-start;" >

        <a class="type_item"  href="{:url('expert/inquiryAnswer')}">
            <div class="icon_img"><img src="__TMPL__/public/assets/images/dicon06@2x.png" alt=""></div>
            <div>问诊待答</div>
        </a>
        <a class="type_item" href="{:url('expert/transferAnswer')}">
            <div class="icon_img"><img src="__TMPL__/public/assets/images/dicon07@2x.png" alt=""></div>
            <div>转诊待答</div>
        </a>
    </div>
</div>
<div class="content_box">
    <div class="input_box">
        <a class="list_input" href="{:url('myData')}">
            <div class="list_img_box">
                <text class="list_img"><img src="__TMPL__/public/assets/images/dicon08@2x.png"></text>
                <text>我的资料</text>
            </div>
            <text class="iconfont icon-jiantou1"></text>
        </a>
        <a class="list_input" href="{:url('myOrder')}">
            <div class="list_img_box">
                <text class="list_img"><img src="__TMPL__/public/assets/images/dicon09@2x.png"></text>
                <text>我的订单</text>
            </div>
            <text class="iconfont icon-jiantou1"></text>
        </a>
        <a class="list_input address" >
            <div class="list_img_box ">
                <text class="list_img"><img src="__TMPL__/public/assets/images/dicon10@2x.png"></text>
                <text>我的地址</text>
            </div>
            <text class="iconfont icon-jiantou1"></text>
        </a>
        <a class="list_input budget" href="{:url('kefu')}">
            <div class="list_img_box">
                <text class="list_img"><img src="__TMPL__/public/assets/images/dicon12@2x.png"></text>
                <text>联系客服</text>
            </div>
            <text class="iconfont icon-jiantou1"></text>
        </a>
        <a class="list_input" href="{:url('portal/friends/index')}">
            <div class="list_img_box">
                <text class="list_img"><img src="__TMPL__/public/assets/images/dicon13@2x.png"></text>
                <text>我的圈子</text>
            </div>
            <text class="iconfont icon-jiantou1"></text>
        </a>
    </div>
</div>

<div class="footer">
    <ul>
        <li class=""><a href="/"><em class="footer_icon1"></em>首页</a></li>
        <li class=""><a href="{:url('portal/article/articleIndex')}"><em class="footer_icon2"></em>学术平台</a></li>
        <li class=""><a href="{:url('portal/expert/index')}"><em class="footer_icon3"></em>平台专家</a></li>
        <li class="footer_curr"><a href="#"><em class="footer_icon4"></em>我的</a></li>
    </ul>
</div>

<script src="__TMPL__/public/assets/js/jquery-2.1.0.js"></script>
<script src="__TMPL__/public/assets/js/comment.js"></script>
<script src="http://res.wx.qq.com/open/js/jweixin-1.4.0.js"></script>
<script type="application/javascript">
    $('.sign_in').click(function () {
        window.location.href='{:url('signIn')}'
    })
    wx.config({$sdk});
    $('.address').click(function () {
        wx.openAddress({
            success: function (res) {
               console.log(res);
            }
        });
    })

</script>

</body>
</html>