Browse Source

修改积分页面

xuchunyang 8 years ago
parent
commit
10a1b314b4
2 changed files with 10 additions and 1 deletions
  1. 5 1
      app/html/rewards-list.html
  2. 5 0
      app/js/myaccount.js

+ 5 - 1
app/html/rewards-list.html

9
<link href="../css/app.css" rel="stylesheet" />
9
<link href="../css/app.css" rel="stylesheet" />
10
</head>
10
</head>
11
<body>
11
<body>
12
<header class="mui-bar mui-bar-nav toptitbox" style="background: #1fc4f9;">
12
<header class="mui-bar mui-bar-nav toptitbox" style="background: #1fc4f9;" id="goback">
13
	<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left topback"></a>
13
	<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left topback"></a>
14
	<h1 class="mui-title toptit">我的积分</h1>
14
	<h1 class="mui-title toptit">我的积分</h1>
15
	<span class="mui-pull-right topsave" id="topsave">规则</span>
15
	<span class="mui-pull-right topsave" id="topsave">规则</span>
38
			}
38
			}
39
			self.append(sub);
39
			self.append(sub);
40
		}
40
		}
41
		document.getElementById("goback").addEventListener('tap', function() {
42
			var myaccountPage = plus.webview.getWebviewById('html/rewards-list.html');
43
			mui.fire(myaccountPage, 'rewards', {});	
44
		})
41
	});
45
	});
42
	
46
	
43
	document.getElementById("topsave").addEventListener('tap', function() {
47
	document.getElementById("topsave").addEventListener('tap', function() {

+ 5 - 0
app/js/myaccount.js

47
			isexpert();
47
			isexpert();
48
		})
48
		})
49

49

50
		/*退出登录刷新页面*/
51
		window.addEventListener('rewards', function(event) {
52
			plus.navigator.setStatusBarBackground( "#FF9900" );
53
		});
54
		
50
		/*退出登录刷新页面*/
55
		/*退出登录刷新页面*/
51
		window.addEventListener('closeUser', function(event) {
56
		window.addEventListener('closeUser', function(event) {
52
			userId = event.detail.id;
57
			userId = event.detail.id;