Commit 8f6f5bb2 by 冷斌

fix bug

parent efe9dea0
......@@ -16,7 +16,7 @@
</div>
</div>
<div class="control-group">
<label class="control-label">萌豆</label>
<label class="control-label">钻石</label>
<div class="controls">
<input type="text" name="coin">
<span class="form-required">*</span>
......@@ -43,7 +43,7 @@
</div>
</div>
<div class="control-group">
<label class="control-label">赠送萌豆</label>
<label class="control-label">赠送钻石</label>
<div class="controls">
<input type="text" name="give" value="0">
<span class="form-required">*</span>
......@@ -66,4 +66,4 @@
</div>
<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>
\ No newline at end of file
</html>
......@@ -17,7 +17,7 @@
</div>
</div>
<div class="control-group">
<label class="control-label">萌豆</label>
<label class="control-label">钻石</label>
<div class="controls">
<input type="text" name="coin" value="{$rules['coin']}">
<span class="form-required">*</span>
......@@ -44,7 +44,7 @@
</div>
</div>
<div class="control-group">
<label class="control-label">赠送萌豆</label>
<label class="control-label">赠送钻石</label>
<div class="controls">
<input type="text" name="give" value="{$rules['give']}">
<span class="form-required">*</span>
......@@ -67,4 +67,4 @@
</div>
<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>
\ No newline at end of file
</html>
......@@ -16,11 +16,11 @@
<th>序号</th>
<th align="center">ID</th>
<th>名称</th>
<th>萌豆</th>
<th>钻石</th>
<th>价格</th>
<th>苹果支付价格</th>
<th>苹果项目ID</th>
<th>赠送萌豆</th>
<th>赠送钻石</th>
<th>发布时间</th>
<th align="center">{:L('ACTIONS')}</th>
......@@ -39,7 +39,7 @@
<td>{$vo['give']}</td>
<td>{$vo.addtime|date="Y-m-d H:i:s",###}</td>
<td align="center">
<td align="center">
<a href="{:U('Chargerules/edit',array('id'=>$vo['id']))}" >编辑</a>
<a href="{:U('Chargerules/del',array('id'=>$vo['id']))}" class="js-ajax-dialog-btn" data-msg="您确定要删除吗?">删除</a>
</td>
......@@ -55,4 +55,4 @@
</div>
<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>
\ No newline at end of file
</html>
......@@ -684,7 +684,7 @@ input{
<div class="control-group">
<label class="control-label">上庄限制</label>
<div class="controls">
<input type="text" name="post[game_banker_limit]" value="{$config['game_banker_limit']}"> 上庄限制,上庄游戏 申请上庄的用户拥有的萌豆数的最低值
<input type="text" name="post[game_banker_limit]" value="{$config['game_banker_limit']}"> 上庄限制,上庄游戏 申请上庄的用户拥有的钻石数的最低值
</div>
</div>
<div class="control-group">
......
......@@ -9,7 +9,7 @@
</if>
</ul>
<form class="well form-search" method="post" action="{:U('Gather/index')}">
代理、推广员、主播:
代理、推广员、主播:
<input type="text" name="keyword" style="width: 200px;" value="{$formget.keyword}" placeholder="请输入用户名、昵称...">
时间段:
<input type="text" name="start_time" class="js-date date" id="start_time" value="{$formget.start_time}" style="width: 80px;" autocomplete="off">-
......@@ -19,23 +19,23 @@
{$date}数据统计 (根据筛选条件统计)
<span style="color:red;font-size: 17px;">
普客总充值:¥{$_total_charge}
普客刷礼(萌豆):{$total_coin}
普客刷礼(钻石):{$total_coin}
</span>
</div>
</div>
<if condition="$my eq 1">
<div style="margin-top:10px">
注册人数:{$my_total_reg}
充值金额:{$my_total_charge}
充值人数:{$my_total_charge_num}
自客自销(萌豆):{$mysolt1}
他客自销(萌币):{$mysolt3}
自客他销(萌币):{$mysolt2}
自客自销(钻石):{$mysolt1}
他客自销(钻石):{$mysolt3}
自客他销(钻石):{$mysolt2}
</div>
</if>
</form>
</form>
<table class="table table-hover table-bordered">
<thead>
<tr>
......@@ -47,11 +47,11 @@
<th>注册人数</th>
<th>充值金额</th>
<th>充值人数</th>
<th>守护金额(萌币</th>
<th>商城消费(萌币</th>
<th>自客自销(萌币</th>
<th>他客自销(萌币</th>
<th>自客他销(萌币</th>
<th>守护金额(钻石</th>
<th>商城消费(钻石</th>
<th>自客自销(钻石</th>
<th>他客自销(钻石</th>
<th>自客他销(钻石</th>
</tr>
</thead>
<tbody>
......@@ -81,4 +81,4 @@
</div>
<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>
\ No newline at end of file
</html>
......@@ -15,8 +15,8 @@
<option value="0">默认分类</option>
<volist name="gift_sort" id="vo">
<option value="{$key}">{$vo}</option>
</volist>
</volist>
</select>
<span class="form-required">*</span>
</div>
......@@ -43,7 +43,7 @@
1.用户送出去幸运礼物时,幸运礼物的价值将分成三份,分别为主播、奖池和平台,后台可以设置主播和奖池获得的比例,剩下的归属于平台,主播和奖池的比例不要超过100%【谨记】<br>
2.后台可设置某个礼物为幸运礼物<br>
3.成为幸运礼物后,可设置幸运礼物的的中奖设置以及奖池设置,以下是幸运礼物和奖池说明<br>
a)在中奖设置中可设置每个礼物每组每个倍数的中奖概率【如:小黄瓜 每组送10个中10倍的概率为 5%,小黄瓜 每组送100个中10倍的概率为 <br>6%】,当用户中奖后,返还的奖励以当组礼物总价值为基数返还【如送了一组10个的,总价值为100,中了10倍,那么会获得1000萌豆<br>
a)在中奖设置中可设置每个礼物每组每个倍数的中奖概率【如:小黄瓜 每组送10个中10倍的概率为 5%,小黄瓜 每组送100个中10倍的概率为 <br>6%】,当用户中奖后,返还的奖励以当组礼物总价值为基数返还【如送了一组10个的,总价值为100,中了10倍,那么会获得1000钻石<br>
b)奖池说明:奖池分为三个阶段,后台可设置每个奖池的金额下限,直接当奖池里边的金额达到最低的金额限制时,奖池才会开启,当有用户中奖时,会赢走奖池内的所有奖金<br>
c)幸运礼物与奖池说明:后台可设置每个幸运礼物每个组数相对于奖池每个阶段的中奖概率【如:小黄瓜每组10个对于奖池1阶段的中奖概率为0.01%,】,建议设置:礼物价值越高中奖概率越高,每组数量越多中奖概率越大<br>
</div>
......@@ -70,7 +70,7 @@
<span class="form-required">*</span>
</div>
</div>
<div class="control-group" style="display:none;">
<div class="control-group" style="display:none;">
<label class="control-label">小图</label>
<div class="controls">
<input type="hidden" name="gifticon_mini" id="thumb1" value="">
......@@ -108,11 +108,11 @@
<a href="javascript:void(0);" onclick="flashupload('thumb_images', '附件上传','thumb3',thumb_images,'1,gif,1,,,1','','','');return false;" id="swftype_bd_0">
<img src="__TMPL__Public/assets/images/default-thumbnail.png" id="thumb3_preview" width="135" style="cursor: hand" />
</a>
<a href="javascript:void(0);" id="swftype_bd_1" style="display:none">
<input type="file" name="file">
</a>
<input type="button" class="btn btn-small" onclick="$('#thumb3_preview').attr('src','__TMPL__Public/assets/images/default-thumbnail.png');$('#thumb3').val('');return false;" value="取消图片">
<span class="form-required"></span>
</div>
......@@ -141,7 +141,7 @@
b.siblings().hide();
b.show();
})
$("#type label.radio").on('click',function(){
var v=$("input",this).val();
if(v==0){
......@@ -154,7 +154,7 @@
$("#mark_3").attr('disabled','disabled');
}
})
$("#mark label.radio").on('change',function(){
var v=$("input",this).val();
if(v==3){
......@@ -166,4 +166,4 @@
})()
</script>
</body>
</html>
\ No newline at end of file
</html>
......@@ -16,7 +16,7 @@
<option value="0">默认分类</option>
<volist name="gift_sort" id="vo">
<option value="{$key}" <if condition="$gift['sid'] eq '$key'">selected</if> >{$vo}</option>
</volist>
</volist>
</select>
<span class="form-required">*</span>
</div>
......@@ -42,7 +42,7 @@
1.用户送出去幸运礼物时,幸运礼物的价值将分成三份,分别为主播、奖池和平台,后台可以设置主播和奖池获得的比例,剩下的归属于平台,主播和奖池的比例不要超过100%【谨记】<br>
2.后台可设置某个礼物为幸运礼物<br>
3.成为幸运礼物后,可设置幸运礼物的的中奖设置以及奖池设置,以下是幸运礼物和奖池说明<br>
a)在中奖设置中可设置每个礼物每组每个倍数的中奖概率【如:小黄瓜 每组送10个中10倍的概率为 5%,小黄瓜 每组送100个中10倍的概率为 <br>6%】,当用户中奖后,返还的奖励以当组礼物总价值为基数返还【如送了一组10个的,总价值为100,中了10倍,那么会获得1000萌豆<br>
a)在中奖设置中可设置每个礼物每组每个倍数的中奖概率【如:小黄瓜 每组送10个中10倍的概率为 5%,小黄瓜 每组送100个中10倍的概率为 <br>6%】,当用户中奖后,返还的奖励以当组礼物总价值为基数返还【如送了一组10个的,总价值为100,中了10倍,那么会获得1000钻石<br>
b)奖池说明:奖池分为三个阶段,后台可设置每个奖池的金额下限,直接当奖池里边的金额达到最低的金额限制时,奖池才会开启,当有用户中奖时,会赢走奖池内的所有奖金<br>
c)幸运礼物与奖池说明:后台可设置每个幸运礼物每个组数相对于奖池每个阶段的中奖概率【如:小黄瓜每组10个对于奖池1阶段的中奖概率为0.01%,】,建议设置:礼物价值越高中奖概率越高,每组数量越多中奖概率越大<br>
</div>
......@@ -111,7 +111,7 @@
<label class="control-label">动画图片</label>
<div class="controls">
<input type="hidden" name="swf" id="thumb3" value="{$gift['swf']}">
<a class="swftype_bd" href="javascript:void(0);" onclick="flashupload('thumb_images', '附件上传','thumb3',thumb_images,'1,gif,1,,,1','','','');return false;" id="swftype_bd_0" <if condition="$gift['swftype'] eq '1'">style="display:none;"</if>>
<if condition="$gift['swf'] neq '' && $gift['swftype'] eq '0'" >
<img src="{$gift['swf']}" id="thumb3_preview" width="135" style="cursor: hand" />
......@@ -122,7 +122,7 @@
<a class="swftype_bd" href="javascript:void(0);" id="swftype_bd_1" <if condition="$gift['swftype'] eq '0'">style="display:none;" </if> >
<input type="text" value="{$gift['swf']}" style="width:500px;"> <input type="file" name="file">
</a>
<input type="button" class="btn btn-small" onclick="$('#thumb3_preview').attr('src','__TMPL__Public/assets/images/default-thumbnail.png');$('#thumb3').val('');return false;" value="取消图片">
<span class="form-required"></span>
</div>
......@@ -151,7 +151,7 @@
b.siblings(".swftype_bd").hide();
b.show();
})
$("#type label.radio").on('click',function(){
var v=$("input",this).val();
if(v==0){
......@@ -164,7 +164,7 @@
$("#mark_3").attr('disabled','disabled');
}
})
$("#mark label.radio").on('change',function(){
var v=$("input",this).val();
if(v==3){
......@@ -173,8 +173,8 @@
$("#tips").hide();
}
})
})()
</script>
</body>
</html>
\ No newline at end of file
</html>
......@@ -7,14 +7,14 @@
<li ><a href="{:U('Zombie/add')}">新增僵尸粉</a></li>
</ul>
<form class="well form-search" method="post" action="{:U('Zombie/index')}">
注册时间:
<input type="text" name="start_time" class="js-date date" value="{$formget.start_time}" style="width: 80px;" autocomplete="off">-
<input type="text" class="js-date date" name="end_time" value="{$formget.end_time}" style="width: 80px;" autocomplete="off"> &nbsp; &nbsp;
关键字:
关键字:
<input type="text" name="keyword" style="width: 200px;" value="{$formget.keyword}" placeholder="请输入会员id、用户名或者昵称...">
<input type="submit" class="btn btn-primary" value="搜索">
</form>
</form>
<form method="post" class="js-ajax-form" >
<table class="table table-hover table-bordered">
......@@ -28,10 +28,10 @@
<!-- <th>{:L('EMAIL')}</th> -->
<th>余额</th>
<th>累计消费</th>
<th>萌币</th>
<th>累计萌币</th>
<th>钻石</th>
<th>累计钻石</th>
<th>注册时间</th>
<th align="center">{:L('ACTIONS')}</th>
</tr>
</thead>
......@@ -51,7 +51,7 @@
<td>{$vo.create_time}</td>
<td align="center">
<a href="{:U('Zombie/edit',array('id'=>$vo['id']))}">编辑</a> |
<a href="{:U('Zombie/edit',array('id'=>$vo['id']))}">编辑</a> |
<a href="{:U('Zombie/del',array('id'=>$vo['id']))}" class="js-ajax-dialog-btn" data-msg="您确定要删除此用户吗?">删除</a>
</td>
</tr>
......@@ -63,4 +63,4 @@
</div>
<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>
\ No newline at end of file
</html>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment