| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259 |
- <!doctype html>
- <html>
- <head>
- <meta charset="UTF-8">
- <title>个人中心</title>
- <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
- <meta name="apple-mobile-web-app-capable" content="yes">
- <meta name="apple-mobile-web-app-status-bar-style" content="black">
- <link href="../css/mui.min.css" rel="stylesheet" />
- <link rel="stylesheet" href="../css/iconfont.css" />
- <link rel="stylesheet" href="../css/inits.css" />
- <script src="../js/zepto.js?1.1"></script>
- <script src="../js/mui.min.js?1.1"></script>
- <script src="../js/jquery.min.js?1.1"></script>
- <script src="../Script/Common/huayi.config.js?1.1"></script>
- <script src="../Script/Common/huayi.http.js?1.1"></script>
- <style>
- .mui-bar-popover {
- width: 30%;
- }
- .mui-popover.mui-bar-popover .mui-table-view {
- width: 100%;
- }
- .san {
- font-size: 14px;
- margin-right: 5px
- }
- .nav_a {
- border-right: 1px solid #ccc;
- }
- .time {
- text-align: right;
- }
- .mui-table-view .mui-media-object {
- /* line-height: 71px; */
- max-width: 80px;
- height: 80px;
- }
- input[type=search] {
- border: 1px solid #ccc;
- border-radius: 18px;
- background-color: rgb(255, 255, 255);
- }
- .mui-table-view {
- margin-top: 20px;
- }
- .head-img {
- width: 50px;
- height: 50px;
- margin-right: 10px;
- }
- .index-message {
- width: 80%;
- /*height: 150px;*/
- margin: 0 auto;
- background-color: #fff;
- box-shadow: 0 4px 6px 0 rgba(0, 0, 0, .16);
- position: relative;
- top: -30px;
- border-radius: 5px;
- text-align: center;
- }
- .back {
- width: 60%;
- margin: 0 auto;
- border-radius: 50px;
- text-align: center;
- }
- .mui-table-view {
- border-radius: 50px;
- }
- #exit {
- width: 100%;
- padding: 12px;
- border-radius: 50px;
- }
- #CC {
- /* width: 100px; */
- /* height: 100px; */
- position: relative;
- top: -50px;
- border-radius: 50%;
- }
- .img_ {
- width: 100px;
- height: 100px;
- border-radius: 50%;
- border: 2px solid #fff;
- }
- .box15 {
- margin: 40px auto;
- width: 320px;
- min-height: 310px;
- padding: 10px;
- position: relative;
- background: -webkit-gradient(linear, 100% 100%, 50% 10%, from(#fff), to(#f3f3f3), color-stop(.1, #fff));
- border: 1px solid #ccc;
- -webkit-box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1);
- -webkit-border-bottom-right-radius: 60px 5px;
- }
- .box15:before {
- content: '';
- width: 98%;
- z-index: -1;
- height: 100%;
- padding: 0 0 1px 0;
- position: absolute;
- bottom: 0;
- right: 0;
- background: -webkit-gradient(linear, 0% 20%, 0% 92%, from(#fff), to(#f9f9f9), color-stop(.1, #fff));
- border: 1px solid #ccc;
- -webkit-box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.1);
- -webkit-border-bottom-right-radius: 60px 5px;
- -webkit-transform: skew(2deg, 2deg) translate(3px, 8px)
- }
- .box15:after {
- content: '';
- width: 98%;
- z-index: -1;
- height: 98%;
- padding: 0 0 1px 0;
- position: absolute;
- bottom: 0;
- right: 0;
- background: -webkit-gradient(linear, 0% 20%, 0% 100%, from(#f3f3f3), to(#f6f6f6), color-stop(.1, #fff));
- border: 1px solid #ccc;
- -webkit-box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1);
- -webkit-transform: skew(2deg, 2deg) translate(-1px, 2px)
- }
- .box15_ribbon {
- position: absolute;
- top: 0;
- left: 0;
- width: 130px;
- height: 40px;
- background: -webkit-gradient(linear, 555% 20%, 0% 92%, from(rgba(0, 0, 0, 0.1)), to(rgba(0, 0, 0, 0.0)), color-stop(.1, rgba(0, 0, 0, 0.2)));
- border-left: 1px dashed rgba(0, 0, 0, 0.1);
- border-right: 1px dashed rgba(0, 0, 0, 0.1);
- -webkit-box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.2);
- -webkit-transform: rotate(-30deg) skew(0, 0) translate(-30px, -20px);
- }
- #userRole {
- display: none;
- }
- </style>
- </head>
- <body>
- <!--<ul class="mui-table-view mui-table-view-chevron" style="margin-top: 15px">
- <li class="mui-table-view-cell mui-media">
- <a class="mui-navigate-right Img-box" href="#account">
- <img class=" mui-pull-left head-img" id="head-img" src="../img/shuijiao.jpg">
- <div class="mui-media-body">
- <div style="margin: 8px 0;">
- <span class="size-16">蓝胖子</span> <span>领导</span>
- </div>
- <h5 class="mui-ellipsis">我的账号:18839115206</h5>
- </div>
- </a>
- </li>
- </ul>-->
- <!--<ul class="mui-table-view mui-table-view-chevron">
- <li class="mui-table-view-cell">
- <a id="Question" class="mui-navigate-right">
- 常见问题 <i class="mui-pull-right "></i></a>
- </li>
- <li class="mui-table-view-cell">
- <a id="feedback" class="mui-navigate-right">
- 问题反馈 <i class="mui-pull-right "></i></a>
- </li>
- <li class="mui-table-view-cell">
- <a href="#about" class="mui-navigate-right">
- 保密协议 <i class="mui-pull-right "></i></a>
- </li>
- <li class="mui-table-view-cell">
- <a href="#" id="update">
- 版本更新 <i class="mui-pull-right update"></i></a>
- </li>
- </ul>-->
- <!--<ul class="mui-table-view">
- <li class="mui-table-view-cell" style="text-align: center;">
- <a id="exit" class="">退出</a>
- </li>
- </ul>-->
- <div>
- <!--背景图片-->
- <div>
- <div>
- <img src="../img/per_bg_01.png" alt="" style="height: 150px;width: 100%;" />
- </div>
- <div class="index-message">
- <div>
- <div id="CC">
- </div>
- <div style="position: relative;top: -40px;">
- <h3 class="userdata"></h3>
- <h5 id="userRole">员工</h5>
- </div>
- </div>
- <div class="box15_ribbon"></div>
- </div>
- <div class="back">
- <button class="mui-btn" id="exit" class="">切换账号</button>
- </div>
- </div>
- </div>
- <script type="text/javascript">
- //获取用户信息
- $(document).ready(function () {
- var userdata = localStorage.getItem("username");
- var weixin_name = localStorage.getItem("weixin_name");
- var weixin_img = localStorage.getItem("weixin_img");
- var userRole = localStorage.getItem("userRole");
- if (userRole) {
- $('#userRole').show();
- } else {
- $('#userRole').hide();
- }
- $(".userdata").text(userdata)
- $('<img class="img_" src="' + weixin_img + '" alt="" />').appendTo($('#CC'));
- $("#exit").on('tap', function () {
- var btnArray = ['否', '是'];
- mui.confirm('要切换到管理员账号吗?', '温馨提示', btnArray, function (e) {
- if (e.index == 1) {
- localStorage.clear();
- window.location.href = "../login.html";
- } else {
- }
- })
- });
- });
- </script>
- </body>
- </html>
|