zhaojs
2023-07-18 5b88a5226b40f1c76f62a041d32cd2457ac476af
no message
已修改2个文件
136 ■■■■■ 文件已修改
application/api/logic/ActivityInfo.php 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
public/html/activity/invite2308.html 134 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
application/api/logic/ActivityInfo.php
@@ -162,7 +162,7 @@
            foreach($cusList as $cus)
            {//循环参与活动的会员
                $tradeId=$act['id'].'u'.$cus['user_id'];
                $yqCount=Db::query('select count(1) as count from t_user where invitation_id=? and status=? and invite_bind_time>=? and invite_bind_time<=?',[$cus['user_id'],'normal',$cus['create_time'],$actEndTime]);
                $yqCount=Db::query('select count(DISTINCT(login_deviceid)) as count from t_user where invitation_id=? and status=? and invite_bind_time>=? and invite_bind_time<=?',[$cus['user_id'],'normal',$cus['create_time'],$actEndTime]);
                if(empty($yqCount))
                {
                    Db::execute('update t_recruit_act set settlement_status=?,settlement_time=?,act_count=0,act_award=0 where id=?',[1, date("Y-m-d H:i:s",  time()),$tradeId]);
public/html/activity/invite2308.html
@@ -17,13 +17,141 @@
    <title>邀粉领现金</title>
    
    <style>
   .com_img{
        width:100%;
     }
     .act_po
     {
        position: relative;
     }
     .top_time
     {
        position: absolute;
        z-index: 99;
        color: #91261E;
        width: 100%;
        height: 20px;
        font-size: 0.1rem;
        text-align: center;
        bottom: 0.1rem;
     }
     .mid_count
     {
        position: absolute;
        z-index: 99;
        color: #91261E;
        width: 100%;
        height: 20px;
        font-size: 0.3rem;
        text-align: center;
        bottom: 0.8rem;
        font-weight: 600;
     }
     .top_txt{
        position: absolute;
        z-index: 99;
        color: #91261E;
        width: 100%;
        height: 20px;
        font-size: 0.3rem;
        text-align: center;
        font-weight: 600;
     }
     .ph_cont
     {
        position: absolute;
        display: flex;
        flex-direction: column;
        width: 100%;
        top: 1.4rem;
        justify-content: center;
        font-size: 12px;
        align-items: center;
     }
     .tbl {
        height: 0.7rem;
        display: flex;
        }
        .cell {
            color: #4D2F08;
    font-weight: 700;
            width: 1%;
            height: 100%;
            flex-grow: 1;
            display: flex;
            /*水平居中、垂直居中*/
            justify-content: center;
            align-items: center;
            /*换行*/
            word-break: break-all;
            word-wrap: break-word;
            white-space: normal;
        }
        .tbl div:last-child {
            border-right: 0;
        }
    </style>
</head>
<body style="background: #f5f5f9;">
<body style="background: #f5f5f9; margin: 0px;font-size: 0;">
    <div id="inviteact">
        <div class="act_po">
            <image class="com_img" src="https://yanfeiobpub.obs.cn-east-3.myhuaweicloud.com/dfg/act_invite_230717_01.png"></image>
            <div class="top_time">
                2023年8月1日9:00-2023年8月31日23:59:59
            </div>
        </div>
        <div class="act_po">
            <div class="top_txt">已邀请的人数</div>
            <image class="com_img" src="https://yanfeiobpub.obs.cn-east-3.myhuaweicloud.com/dfg/act_invite_230717_02.png"></image>
            <div class="mid_count">
                当前已解锁的红包金额:1000
            </div>
        </div>
        <div class="act_po">
            <image class="com_img" src="https://yanfeiobpub.obs.cn-east-3.myhuaweicloud.com/dfg/act_invite_230717_03.png"></image>
            <!---排名-->
            <div class="ph_cont">
                <div style="width: 70%;width: 65%;background: #FDECE2;padding: 0.2rem;border-radius: 0.3rem;">
                    <div class="tbl" style="border-bottom: 1px dashed #4D2F08;">
                        <div class="cell" style="justify-content:left;">排名</div>
                        <div class="cell" style="justify-content:left;">用户id</div>
                        <div class="cell">邀请人数</div>
                    </div>
                    <div class="tbl">
                        <div class="cell" style="justify-content:left;">1</div>
                        <div class="cell" style="justify-content:left;">xxx</div>
                        <div class="cell">500</div>
                    </div>
                    <div class="tbl">
                        <div class="cell" style="justify-content:left;">1</div>
                        <div class="cell" style="justify-content:left;">xxx</div>
                        <div class="cell">500</div>
                    </div>
                    <div class="tbl">
                        <div class="cell" style="justify-content:left;">1</div>
                        <div class="cell" style="justify-content:left;">xxx</div>
                        <div class="cell">500</div>
                    </div>
                    <div class="tbl">
                        <div class="cell" style="justify-content:left;">1</div>
                        <div class="cell" style="justify-content:left;">xxx</div>
                        <div class="cell">500</div>
                    </div>
                    <div class="tbl">
                        <div class="cell" style="justify-content:left;">1</div>
                        <div class="cell" style="justify-content:left;">xxx</div>
                        <div class="cell">500</div>
                    </div>
                </div>
            </div>
        </div>
        <div>
            <image class="com_img" src="https://yanfeiobpub.obs.cn-east-3.myhuaweicloud.com/dfg/act_invite_230717_04.png"></image>
        </div>
    </div>
</body>