@@ -10,7 +10,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/webapp/framework/ratchet-2.0.2/dist/css/ratchet.min.css">
<link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/webapp/framework/ratchet-2.0.2/dist/css/ratchet-theme-ios.min.css">
- <link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/webapp/o2o/dist/css/main.css?v=2017051205">
+ <link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/webapp/o2o/dist/css/main.css?v=2017051206">
<link href="<?php echo Yii::app()->request->baseUrl; ?>/css/common_o2o/swiper.css" rel="stylesheet">
<script src="<?php echo Yii::app()->request->baseUrl; ?>/js/o2o/swiper.min.js"></script>
<style>
@@ -76,7 +76,7 @@
location.hash = '';
}
var debug = false;
- var main = '<?php echo Yii::app()->request->baseUrl;?>/webapp/o2o/dist/js/main.js?v=2017051205';
+ var main = '<?php echo Yii::app()->request->baseUrl;?>/webapp/o2o/dist/js/main.js?v=2017051206';
if (debug) {
main = '<?php echo Yii::app()->request->baseUrl;?>/webapp/o2o/js/main.js?v=' + (new Date()).getTime();
document.getElementById('debugMain').src = '<?php echo Yii::app()->request->baseUrl; ?>/webapp/common/js/debuggap.js';
@@ -58,13 +58,23 @@
.spa-page-balanceLog .new-time>div:nth-child(1){
- border-right: 1px dashed white;
+ /*border-right: 1px dashed white;*/
.spa-page-balanceLog .new-time>div:nth-child(1)>div{
padding-left: 15px;
.spa-page-balanceLog .new-time>div:nth-child(2),.new-time>div:nth-child(3){
+}
+.spa-page-balanceLog .new-time .btn-recharge{
+ position: absolute;
+ right: 15px;
+ top: 15px;
+ padding: 5px;
+ border: 1px solid rgba(255, 255, 255, 0.52);
+ border-radius: 5px;
+ background-color: #927603;
+ font-size: 13px;
/*第一行字体*/
.spa-page-balanceLog .width-percent-33>div:nth-child(1){
@@ -193,6 +193,19 @@ define(['$', 'template', 'IScroll', 'user', 'product', 'native', 'config', 'addr
select(pageData,$view);
},$view);
+
+ // 充值
+ $.newTouch('.btn-recharge',function (event) {
+ event.preventDefault();
+ $doc.trigger('spa:navigate', {
+ hash: 'recharge',
+ pushData: {
+ needReload: true,
+ backHash: 'balanceLog'
+ }
+ });
+ },$view);
// 扩展显示
$.newTouch('.recharge-details',function (event) {
event.preventDefault();
@@ -26,6 +26,7 @@
<a class="control-item active" data-order-type="1">充值</a>
<a class="control-item" data-order-type="2">消费</a>
</div>
+ <div class="btn-recharge">续费</div>