You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pdd-order-api/app/views/page/user/recharge/sms_pay.php

72 lines
4.1 KiB
PHP

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<div class="row">
<div class="col-md-12">
<div class="right-container">
<div class="page-header m-b">
<h3>短信充值<span class=" ml_10 ft_16" style="color:#F9AC10;">短信永久有效,如软件过期,续订成功后之前剩余短信还可继续使用 </span></h3>
</div>
<div class="pd_10 text-left panel panel-default hide J_linkMobileRewardTip">
<span class="fc-gray ft_16">当短信不足时可以收到免费短信提醒。绑定就能<font class="red">免费获得100条</font>短信!<a id="J_showEditMobileModal" class="fc-blue m-l-sm" data-disabled="true" data-mobile="" data-notice-props="" data-notice-type="common" href="javascript:void(0);">去绑定</a></span>
</div>
<p class="J_topTipsBox warning-tip mb_20 hide">为及时体验短信功能和更好的沟通服务添加客服QQ800806586 <a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=800806586&site=qq&menu=yes"><img border="0" src="<?php echo HtmlTool::getStaticFile('qq.png');?>" alt="点击这里给我发消息" title="点击这里给我发消息 QQ800806586"/></a>即有机会获得500条短信</p>
<div data-toggle="noticeBanner" data-key="SMSPAYPAGERECOMMEND"></div>
<div class="panel panel-default m-t">
<div class="panel-heading"><strong class="ft_16">自定义购买短信数量</strong></div>
<div class="panel-body">
<div class="form-inline">
<div class="form-group">
<label class="control-label" for="textinput">短信数量: </label>
<input id="textinput" name="customSmsNum" type="text" class="form-control input-md J_customSmsNum" style="width:100px;">
<span class="text-muted">条短信 市场价 <del class="fm-georgia J_cumtomSmsMarketPrice lead">0</del> 优惠价 <span class="fm-georgia red lead J_cumtomSmsSalePrice">0</span> &nbsp;</span>
<a href="javascript:void(0);" class="btn btn-primary J_customSmsBuyBtn" data-groups="<?php echo htmlentities(json_encode($groups))?>">立即购买</a>
</div>
</div>
</div>
</div>
<div class="row rg-sms-list">
<?php foreach ($groups as $key => $g){?>
<?php
if($g['display'] == 'hide'){
continue;
}
?>
<div class="col-md-2" style="width:25%;">
<div class="thumbnail">
<h3><?php echo $g['title']; ?></h3>
<p><span class="fm-georgia red" style="font-size: 120%"><strong><?php echo $g['num']?> </strong></span>条短信</p>
<p>市场价<del> <?php echo ($g['num'] / 10)?> </del>元</p>
<p>优惠价<span class="red"> <?php echo (($g['num'] * $g['sale']) / 100)?> </span>元</p>
<p><span class="red"><?php echo $g['sale'] ?>分</span>/条</p>
<div class="caption">
<a href="javascript:void(0);" data-sms-num="<?php echo $g['num']; ?>" class="btn <?php echo ($g['recommend'] ? 'btn-danger':'btn-primary')?> J_smsRecharge" role="button">立即购买 <?php echo ($g['recommend'] ? '<span class="badge">推荐</span>' : '')?></a>
</div>
</div>
</div>
<?php }?>
</div>
<div class="hide">
<?php echo ZcHtmlHelper::drawForm('sms_recharge', Zc::url(RouteConst::userRechargeSmsProcess), 'post', 'id="J_smsRecharge" target="_blank"');?>
<?php echo ZcHtmlHelper::drawHiddenField('smsNum', null, 'id="J_smsNum"');?>
<?php echo '</form>'?>
</div>
</div>
</div>
</div>
<div class="modal fade" id="J_smsPayConfirm">
<div class="modal-dialog modal-sm">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title">是否已成功充值?</h4>
</div>
<div class="modal-body">
<div class="text-center">
<a href="<?php echo Zc::url(RouteConst::userRechargeSmsRechargeOrder, array('ret' => 'success'))?>" class="btn btn-success J_testSendBtn" type="button">已成功充值</a>
<a href="<?php echo Zc::url(RouteConst::userRechargeSmsRechargeOrder, array('ret' => 'fail'))?>" class="btn btn-danger J_testSendBtn" type="button">未成功</a>
</div>
</div>
</div>
</div>
</div>
<?php Zc::W(WidgetConst::commonMallNoticeMobile)?>
<?php echo HtmlTool::getStaticFile(['biz/user_recharge.js', 'biz/home.js'], TsConst::jsUserRecharge)?>