gorw_up_details.html 5.42 KB
<script type="text/javascript" src="__PUBLIC__/js/rem_new.js"></script>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>成长值明细_{$tpshop_config.shop_info_store_title}</title>
    <include file="public/header" />
    <link rel="stylesheet" href="__STATIC__/css/public.css?v=__CSSVERSION__">
    <link rel="stylesheet" href="__STATIC__/css/gorw_up_details.css?v=__CSSVERSION__">
    <script src="__STATIC__/js/grow_up_detal.js?v=__CSSVERSION__"></script>
    <script type="text/javascript" src="__STATIC__/js/jquery.js"></script>
    <script type="text/javascript" src="__STATIC__/js/layer.js"></script>


    <style>
   .xc-grow-top{background:rgba(0, 0, 0, 0) url(__STATIC__/images/weixin/gorw_up_val/grow_backdrop.jpg) no-repeat scroll center center / cover }
   .xc-mongolia{
       position: fixed;
       top: 0rem;
       left: 0rem;
       width: 100%;
       height: 100%;
       z-index: 100;
       background: rgba(0,0,0,0.5);
   }

   .data_btn{ margin: 0 auto; width: 92%; height: 0.4rem;  border-radius: 0.08rem; margin-top: 0.3rem;
       background:#fe527e; line-height: 0.4rem; color: #fff; text-align: center }
   .xc_input{ width: 2.32rem; height: 0.35rem;border-radius: 0.05rem;}

   .xc_sx.clicked .word{ color:#19f;}
   .xc_sx.clicked .box{
      transform:rotate(180deg);border-bottom:0.18rem solid #19f;top:0.07rem;
   }

    .close_pop{position: relative; bottom:-0.5rem; color: #fff;  text-align: center;  line-height:0.25rem;
                  left: 50%; margin-left: -0.15rem;
                 width: 0.25rem; height: 0.25rem; border-radius: 50%; border: 1px solid #fff}
   .negative{
       top: -0.04rem;
   }



    </style>
<body>
<div class="xc-grow-top">
    <div class=" white explain-frame">
        <div class="fs028 fc">当前成长值</div>
        <div class="fs045 fc" id="cz_val">{$cz_data.GradeSum}</div>
        <if condition="$need_money">
          <div class="fs028 distance-val fc" id="need_cz" >距离下一等级会员还需{$need_money}</div>
        </if>
    </div>
    <div class=" xc-card flex-space-between">
        <img onclick='goto(this)'  ind="0"  class="card" src="__STATIC__/images/weixin/gorw_up_val/grow_coupon.jpg"/>
        <img onclick='goto(this)' ind="1"  class="card" src="__STATIC__/images/weixin/gorw_up_val/coupon.jpg"/>
        <img onclick='goto(this)' ind="2"  class="card" src="__STATIC__/images/weixin/gorw_up_val/grow_privilege.jpg"/>
    </div>
    <div class="xc_gorw_frame" >
    <div class="xc-screen-frame flex jc_sb">
        <div class="fs028">成长值明细</div>
        <div>
        <div class="flex three-level-word" >
            <div class="flex ai_center" onclick="reset()">
                <text class="fs028">重置</text>
                <img class="reset_img" src='__STATIC__/images/weixin/reset.png' style='width:0.30rem; height:0.30rem'/>
            </div>
            <div class="xc_sx flex" onclick="choice_time(this)">
               <text id="screen" class="fs028 word" style='margin-left: 0.15rem;'>筛选</text>
               <div  class="box negative" style='position:relative;'></div>
            </div>
        </div>
        </div>
    </div>
</div>
</div>
</div>

<div id="s_select_time"
     style="width: 100%;height: 100%;display: none">
    <div class="xc-mongolia"></div>
    <div class="xc-time-frame" >
        <div class="flex jc_center" style="width: 90%;margin:0 auto;padding-top: 0.3rem;">
            <div class="t_left" style="position: relative; left:-0.1rem">
              <p><text style="margin-left: 0.1rem">开始时间</text></p>
              <p style="margin-top: 0.1rem">
                  <label for="party" >
                  <input placeholder="Date" type="date"class="xc-stime xc_input"
                   id="start_time" onfocus="(this.type='date')"  name="start" value=""/>
                  </label>
              </p>
            </div>

            <div class="t_left" style="margin-left: 0.2rem">
                <p><text style="margin-left: 0.1rem">结束时间</text></p>
                <p style="margin-top: 0.1rem">
                    <label for="party"  >
                        <input placeholder="Date" type="date" class="xc-etime xc_input"
                               id="end_time" onfocus= "(this.type='date')"  min="{$tyear}" max="{$hyear}" name="end" value=""/>
                    </label>
                </p>
            </div>
        </div>

        <div class="data_btn" onclick="show_submit()">确定</div>
        <input  id="start" type="hidden" value="{$start}">
        <input  id="end" type="hidden" value="{$end}">

        <div onclick="close_the_pop()" class="close_pop"></div>
    </div>

</div>
<!--成长值明细列表 -->
<div class="xc-list-frame"></div>
<div class="no_text" style="display: none;">无成长值数据</div>


</body>
</html>
<script>

    var stoid="{:I('stoid')}";
    var user_id="{$tpshop_config['user_id']}";
    var apihost="{$mini_host}";
    function choice_time(ob) {
        if(!$(ob).hasClass("clicked")){
            $(ob).addClass("clicked")
            $("#s_select_time").show();

            var start0=$("#start").val();
            var end0=$("#end").val();

            $("#start_time").val(start0)
            $("#end_time").val(end0)

        }else{
            $(ob).removeClass("clicked negative")
            $("#s_select_time").hide();
        }
    }
    
    function close_the_pop() {
        $("#s_select_time").hide();
        $(".xc_sx ").removeClass("clicked");
    }
</script>