xiuli.gao 6 years ago
parent
commit
9eafe2dcbb
4 changed files with 6 additions and 4 deletions
  1. 3 2
      Invitation/Invitation.html
  2. 1 0
      api-url.js
  3. 1 0
      share/index.html
  4. 1 2
      share/js/invitation.js

+ 3 - 2
Invitation/Invitation.html

5
 		<meta content="yes" name="apple-mobile-web-app-capable">
5
 		<meta content="yes" name="apple-mobile-web-app-capable">
6
     	<meta name="viewport" content="width=device-width,height=device-height,inital-scale=1.0,maximum-scale=1.0,user-scalable=no">
6
     	<meta name="viewport" content="width=device-width,height=device-height,inital-scale=1.0,maximum-scale=1.0,user-scalable=no">
7
 		<title>邀请好友</title>
7
 		<title>邀请好友</title>
8
+		<script type="text/javascript" src="../api-url.js"></script>
8
 		<style type="text/css">
9
 		<style type="text/css">
9
 			body,html{
10
 			body,html{
10
 				font-size: 0.16rem;
11
 				font-size: 0.16rem;
182
 	var jsons = {
183
 	var jsons = {
183
 				title:'金牛记账',
184
 				title:'金牛记账',
184
 				desc:'每个月都不知道钱花哪里了?金牛记账一款能赚会省的记账软件,我只告诉你,快来和我一起记账吧!',
185
 				desc:'每个月都不知道钱花哪里了?金牛记账一款能赚会省的记账软件,我只告诉你,快来和我一起记账吧!',
185
-				url:'http://mzb.quyaqu.com/register/register.html?share_code=' + share_code + '&appName=' + appName
186
+				url:BASEURL + '/register/register.html?share_code=' + share_code + '&appName=' + appName
186
 	};
187
 	};
187
 	if(appName == '钱多记账'){
188
 	if(appName == '钱多记账'){
188
 		jsons = {
189
 		jsons = {
189
 			title:'钱多记账',
190
 			title:'钱多记账',
190
 			desc:'每个月都不知道钱花哪里了?钱多记账一款能赚会省的记账软件,我只告诉你,快来和我一起记账吧!',
191
 			desc:'每个月都不知道钱花哪里了?钱多记账一款能赚会省的记账软件,我只告诉你,快来和我一起记账吧!',
191
-			url:'http://mzb.quyaqu.com/register/register.html?share_code=' + share_code + '&appName=' + appName
192
+			url:BASEURL + '/register/register.html?share_code=' + share_code + '&appName=' + appName
192
 		};
193
 		};
193
 		$(".bg").css({"background":"url(../H5/invitationBg_qd.png) no-repeat","background-size":"100%"})
194
 		$(".bg").css({"background":"url(../H5/invitationBg_qd.png) no-repeat","background-size":"100%"})
194
 	}
195
 	}

+ 1 - 0
api-url.js

1
+var BASEURL = 'http://mzb.quyaqu.com'

+ 1 - 0
share/index.html

7
 	<title>分享领红包</title>
7
 	<title>分享领红包</title>
8
 	<link rel="stylesheet" type="text/css" href="public/public_css.css"/>
8
 	<link rel="stylesheet" type="text/css" href="public/public_css.css"/>
9
 	<link rel="stylesheet" type="text/css" href="./index.css"/>
9
 	<link rel="stylesheet" type="text/css" href="./index.css"/>
10
+	<script type="text/javascript" src="../api-url.js"></script>
10
 	<script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
11
 	<script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
11
 	<script src="js/weChatShare.js?v=2"></script>
12
 	<script src="js/weChatShare.js?v=2"></script>
12
 	<script type="text/javascript">
13
 	<script type="text/javascript">

+ 1 - 2
share/js/invitation.js

20
 	return false
20
 	return false
21
 })
21
 })
22
 
22
 
23
-
24
 var jsons = {
23
 var jsons = {
25
 			title:'@你,快来瓜分10000个红包!',
24
 			title:'@你,快来瓜分10000个红包!',
26
 			desc:'福利放送!淘宝无门槛购物红包天天领!来看看你的手气~',
25
 			desc:'福利放送!淘宝无门槛购物红包天天领!来看看你的手气~',
27
-			url:'http://mzb.quyaqu.com/share/index.html?userId=' + userId
26
+			url: BASEURL + '/share/index.html?userId=' + userId
28
 };
27
 };
29
 jsons = JSON.stringify(jsons);
28
 jsons = JSON.stringify(jsons);
30
 function shareWeixin () {
29
 function shareWeixin () {