integral_log.html 2.1 KB

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <link rel="stylesheet" href="https://at.alicdn.com/t/font_834805_0ml90wdq5hzm.css">
    <link rel="stylesheet" href="__INDEX__/css/base.css">
    <link rel="stylesheet" href="__INDEX__/css/swiper.min.css">
    <script type="text/javascript" src="__INDEX__/js/base.js"></script>
    <title>{$title}</title>
    <style>
        .gainlist{
            display:flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.42rem 0.36rem;
            border-bottom: 1px solid #f5f5f5;
            background: #fff;
        }
        .buy_good{
            font-size: 0.32rem;
            color:#000000;
            font-weight: bold;
        }
        .good_date{
            color:#999999;
            font-size: 0.26rem;
            margin-top: 0.1rem;
        }
        .code_intergral{
            color:#FF0800;
            font-size: 0.36rem;
        }
    </style>
</head>
<body>
<div class="container">
    <volist name="log" id="vo">
    <div class="gainlist">
        <div class="good_intergral">
            <p class="buy_good">
                <if condition="$vo['type'] eq '1'">
                    购买商品收入
                </if>
                <if condition="$vo['type'] eq '2'">
                    购买商品支出
                </if>
                <if condition="$vo['type'] eq '3'">
                    好友赠送收入
                </if>
                <if condition="$vo['type'] eq '4'">
                    好友赠送支出
                </if>
            </p>
            <p class="good_date">{$vo.create_time|date='Y-m-d', ###}</p>
            <if condition="$vo['order_sn'] neq ''">
                <p class="good_date">订单号:{$vo.order_sn}</p>
            </if>
        </div>
        <div class="code_intergral">
            {$vo.balance}积分
        </div>
    </div>
    </volist>
</div>
</body>
</html>