123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <title>我的积分</title>
- <meta charset="UTF-8">
- <meta name="viewport" content="user-scalable=no, initial-scale=1.0, maximum-scale=1.0" />
- <meta name="apple-mobile-web-app-capable" content="yes" />
- <meta name="apple-mobile-web-app-status-bar-style" content="black" />
- <link href="/static/css/font-awesome/css/font-awesome.min.css" rel="stylesheet">
- <link rel="stylesheet" href="/static/css/common.css">
- <script src="http://lib.sinaapp.com/js/jquery/1.9.1/jquery-1.9.1.min.js"></script>
- <script src="/static/js/common.js"></script>
- <script src="/static/js/qrcode.js"></script>
- </head>
- <style>
- *{
- font-family: PingFang SC,Helvetica Neue,Helvetica,Arial,Hiragino Sans GB,Microsoft Yahei,sans-serif;
- }
- .con-top{
- width: 100%;
- height: 7.5rem;
- background: #e35f50;
- text-align: center;
- color: white;
- font-size: 0.9rem;
- }
- .jifen{margin-top:0.3rem;font-size: 2rem;}
- .btop{
- height: 2.8rem;
- line-height: 2.8rem;
- border-bottom: 1px solid #eee;
- color: #666;
- }
- .bItem{
- height: 3rem;
- /*border-bottom: 1px solid #ccc;*/
- box-shadow: 0 1px 4px rgba(180,180,180, 0.1);
- margin-top: 0.5rem;
- background: white;
- }
- .bLeft{
- float:left;
- margin-left: 1rem;
- height: 100%;
- }
- .time{
- color: #ccc;
- font-size:0.7rem ;
- line-height: 0.3rem;
- }
- .title{
- font-size: 0.95rem;
- color: #666;
- line-height: 2rem;
- }
- .bRight{
- float:right;
- margin-right: 1rem;
- }
- .detail{
- font-size: 1.1rem;
- line-height: 3rem;
- }
- .add{
- color: #e35f50;
- }
- </style>
- <body style="background: #f5f5f5;">
- <div class="con-top">
- <p style="padding-top: 1.9rem;">当前积分</p>
- <p class="jifen">{$userInfo.usable_score}</p>
- </div>
- <div class="con-body">
- {if $userInfo.usable_score==0}
- <div class="btop">
- <span style="margin-left: 1rem;">积分记录</span>
- </div>
- {/if}
- <div class="bbody">
- {if $userInfo.total_score==0 && empty($orderInfo)}
- <img src="/static/imgs/noscore.jpg" style=" width: 8rem;
- margin-left: 9rem;
- margin-top: 6rem;" class="pay">
- {/if}
- {if !empty($orderInfo)}
- {foreach $orderInfo as $order}
- <div class="bItem">
- <div class="bLeft">
- <p class="title">购买商品</p>
- <p class="time">{$order['add_time']|date="Y-m-d",###} {$order['add_time']|date="H:i",###}</p>
- </div>
- <div class="bRight">
- <p class="detail add">+{$order.point}</p>
- </div>
- </div>
- {/foreach}
- {/if}
- </div>
- </div>
- </body>
- <script>
- </script>
- </html>
|