Authored by 毕凯

wx share

... ... @@ -12339,6 +12339,7 @@ define("js/life/login", ["jquery","hammer"], function(require, exports, module){
var $ = require("jquery");
require("js/common");
require("js/plugin/wx-share")();
$('.notice').click(function() {
$('.code').show();
$('.mark').show();
... ... @@ -12380,25 +12381,10 @@ $('.coupon-btn').click(function() {
});
});
define("js/life/coupon", ["jquery"], function(require, exports, module){
define("js/life/coupon", ["jquery","hammer"], function(require, exports, module){
var $ = require("jquery");
var queryString = function() {
var vars = [],
hash,
i;
var hashes = window.location.search.slice(1).split('&');
for (i = 0; i < hashes.length; i++) {
hash = hashes[i].split('=');
vars.push(hash[0]);
vars[hash[0]] = hash[1];
}
return vars;
};
var qs = queryString();
require("js/common");
$('.coupon-input').val(window.cookie('lifeCoupon') || '');
require("js/plugin/wx-share")();
... ...
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.