text: // { "framework": "Vue"} 
  if(typeof app=="undefined"){app=weex}
  if(typeof eeuiLog=="undefined"){var eeuiLog={_:function(t,e){var s=e.map(function(e){return e="[object object]"===Object.prototype.toString.call(e).toLowerCase()?JSON.stringify(e):e});if(typeof this.__m==='undefined'){this.__m=app.requireModule('debug')}this.__m.addLog(t,s)},debug:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];this._("debug",e)},log:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];this._("log",e)},info:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];this._("info",e)},warn:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];this._("warn",e)},error:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];this._("error",e)}}}
  /******/ (function(modules) { // webpackBootstrap
  /******/ 	// The module cache
  /******/ 	var installedModules = {};
  /******/
  /******/ 	// The require function
  /******/ 	function __webpack_require__(moduleId) {
  /******/
  /******/ 		// Check if module is in cache
  /******/ 		if(installedModules[moduleId]) {
  /******/ 			return installedModules[moduleId].exports;
  /******/ 		}
  /******/ 		// Create a new module (and put it into the cache)
  /******/ 		var module = installedModules[moduleId] = {
  /******/ 			i: moduleId,
  /******/ 			l: false,
  /******/ 			exports: {}
  /******/ 		};
  /******/
  /******/ 		// Execute the module function
  /******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
  /******/
  /******/ 		// Flag the module as loaded
  /******/ 		module.l = true;
  /******/
  /******/ 		// Return the exports of the module
  /******/ 		return module.exports;
  /******/ 	}
  /******/
  /******/
  /******/ 	// expose the modules object (__webpack_modules__)
  /******/ 	__webpack_require__.m = modules;
  /******/
  /******/ 	// expose the module cache
  /******/ 	__webpack_require__.c = installedModules;
  /******/
  /******/ 	// define getter function for harmony exports
  /******/ 	__webpack_require__.d = function(exports, name, getter) {
  /******/ 		if(!__webpack_require__.o(exports, name)) {
  /******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
  /******/ 		}
  /******/ 	};
  /******/
  /******/ 	// define __esModule on exports
  /******/ 	__webpack_require__.r = function(exports) {
  /******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
  /******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
  /******/ 		}
  /******/ 		Object.defineProperty(exports, '__esModule', { value: true });
  /******/ 	};
  /******/
  /******/ 	// create a fake namespace object
  /******/ 	// mode & 1: value is a module id, require it
  /******/ 	// mode & 2: merge all properties of value into the ns
  /******/ 	// mode & 4: return value when already ns object
  /******/ 	// mode & 8|1: behave like require
  /******/ 	__webpack_require__.t = function(value, mode) {
  /******/ 		if(mode & 1) value = __webpack_require__(value);
  /******/ 		if(mode & 8) return value;
  /******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
  /******/ 		var ns = Object.create(null);
  /******/ 		__webpack_require__.r(ns);
  /******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
  /******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
  /******/ 		return ns;
  /******/ 	};
  /******/
  /******/ 	// getDefaultExport function for compatibility with non-harmony modules
  /******/ 	__webpack_require__.n = function(module) {
  /******/ 		var getter = module && module.__esModule ?
  /******/ 			function getDefault() { return module['default']; } :
  /******/ 			function getModuleExports() { return module; };
  /******/ 		__webpack_require__.d(getter, 'a', getter);
  /******/ 		return getter;
  /******/ 	};
  /******/
  /******/ 	// Object.prototype.hasOwnProperty.call
  /******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
  /******/
  /******/ 	// __webpack_public_path__
  /******/ 	__webpack_require__.p = "";
  /******/
  /******/
  /******/ 	// Load entry module and return exports
  /******/ 	return __webpack_require__(__webpack_require__.s = "./src/pages/myGift.vue?entry=true");
  /******/ })
  /************************************************************************/
  /******/ ({
  
  /***/ "./src/backend/api.js":
  /*!****************************!*\
    !*** ./src/backend/api.js ***!
    \****************************/
  /*! exports provided: _serializeUrl, get, post, rechargeGet, rechargePost, ylTrim, getVvalcoostr1, getVokwan, ValidateCodeapi */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_serializeUrl", function() { return _serializeUrl; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "get", function() { return get; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "post", function() { return post; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "rechargeGet", function() { return rechargeGet; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "rechargePost", function() { return rechargePost; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ylTrim", function() { return ylTrim; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getVvalcoostr1", function() { return getVvalcoostr1; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getVokwan", function() { return getVokwan; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ValidateCodeapi", function() { return ValidateCodeapi; });
  var eeui = app.requireModule('eeui');
  
  var endpoint = __webpack_require__(/*! ./endpoint */ "./src/backend/endpoint.js");
  
  var stream = weex.requireModule('stream') || {};
  var modal = weex.requireModule('modal') || {};
  
  function _serialize(data) {
    return Object.keys(data).map(function (keyName) {
      return encodeURIComponent(keyName) + '=' + encodeURIComponent(data[keyName]);
    }).join('&');
  }
  
  function _serializeUrl(data) {
    var parameter = '';
  
    if (data) {
      for (var i in data) {
        parameter += '/' + i + '-' + data[i];
      }
    }
  
    return parameter;
  } // 工具方法
  
  function toParams(obj) {
    var param = "";
  
    for (var name in obj) {
      if (typeof obj[name] != 'function') {
        param += "&" + name + "=" + encodeURI(obj[name]);
      }
    }
  
    return param.substring(1);
  }
  
  ;
  /**
  * 接口处理函数
  */
  
  function apiStream(method, url, params, success, failure) {
    params = params || {}; // eeuiLog.log("16666677777", url ,eeui.getCaches('valcoostr1')+eeui.getCaches('.okwan.com'));
  
    /*** stream ***/
  
    if (method === 'GET') {
      if (params) {
        url += '?';
  
        for (var key in params) {
          url += "&".concat(key, "=").concat(params[key]);
        }
      } // GET 方法
  
  
      stream.fetch({
        method: method,
        url: url,
        type: 'json',
        headers: {
          'Cookie': getVvalcoostr1() + getVokwan()
        }
      }, function (ret) {
        if (!ret.ok) {// modal.toast({
          //   message: ret,
          //   duration: 3
          // });
        } else {
          var data = ret.data || {}; // eeuiLog.log("166666", url , ret.headers["Set-Cookie"])
  
          success(data);
        }
      });
    } else if (method === 'POST') {
      // POST 方法
      stream.fetch({
        method: method,
        url: url,
        type: 'json',
        headers: {
          'Content-Type': 'application/x-www-form-urlencoded',
          'Cookie': getVvalcoostr1() + getVokwan()
        },
        body: toParams(params)
      }, function (ret) {
        if (!ret.ok) {// modal.toast({
          //   message: ret,
          //   duration: 3
          // });
        } else {
          if (ret.headers["Set-Cookie"] && ret.headers["Set-Cookie"].length) {
            var coo = ret.headers["Set-Cookie"];
            coo = coo.replace("[", '');
            coo = coo.replace("]", '');
            coo = coo.replace("Path=/; HttpOnly, ", '');
            coo = coo.replace("path=/, ", '');
            coo = coo.replace(/expires=[^;]+;\ /, '');
            coo = coo.replace(/Max-Age=[^;]+;\ /, '');
            var coostr = coo;
  
            if (url.indexOf('api-sh5.okwan') == -1 && coostr.indexOf("plate_info") > -1) {
              eeui.setCaches(".okwan.com", coostr, 0);
            }
          }
  
          var data = ret.data || {};
          success(data);
        }
      });
    }
  
    ;
  } // 返回在vue模板中的调用接口
  
  
  function get(url, params, success, failure) {
    return apiStream('GET', url, params, success, failure);
  }
  function post(url, params, success, failure) {
    return apiStream('POST', url, params, success, failure);
  } //充值调用接口
  
  function rechargeGet(url, params, success, failure) {
    return apiStream('GET', url + _serializeUrl(params), {}, success, failure);
  }
  function rechargePost(url, params, success, failure) {
    return apiStream('POST', url + _serializeUrl(params), {}, success, failure);
  }
  function ylTrim(s) {
    if (typeof s === 'string') {
      return s.replace(/^\s+|\s+$/g, "");
    } else {
      return 'not string';
    }
  }
  function getVvalcoostr1() {
    return eeui.getCaches('valcoostr1') ? eeui.getCaches('valcoostr1') : '';
  }
  function getVokwan() {
    return eeui.getCaches('.okwan.com') ? eeui.getCaches('.okwan.com') : '';
  } // 验证码
  
  function ValidateCodeapi(callback) {
    stream.fetch({
      method: 'GET',
      url: endpoint.validateCode,
      type: 'json',
      headers: {
        'Cookie': getVvalcoostr1() + getVokwan()
      }
    }, function (ret) {
      if (!ret.ok) {// modal.toast({
        //   message: ret,
        //   duration: 3
        // });
      } else {
        if (ret.headers["Set-Cookie"] && ret.headers["Set-Cookie"].length) {
          var valCoo = ret.headers["Set-Cookie"];
          var coo1 = /plate_checkCode=.*?(?=(e))/;
          var valcoostr = valCoo.match(coo1)[0];
          eeui.setCaches("valcoostr1", valcoostr, 0);
        }
  
        var data = ret.data || {};
        callback(ret.data.mes);
      }
    });
  }
  
  /***/ }),
  
  /***/ "./src/backend/endpoint.js":
  /*!*********************************!*\
    !*** ./src/backend/endpoint.js ***!
    \*********************************/
  /*! exports provided: APIHOST, signin, signup, validateCode, checkauthcode, sendPhoneCodeByReg, checkname, sendValidateCode, savePasswordByPhone, sendValidateCodeLogin, savePasswordByEmail, editphone, getlogout, getuserInfo, getsaveFace, getsaveUser, getaccount, getmessage, sendValidateCodeByEmail1, emailBind, checkEmail, checkPhone, sendValidateCodeBySms, sendChangeValidateCodeBySms, phoneBind, checkChangeSMSCode, sendNewValidateCodeBySms, sendPhoneCodeByLogin, loginPhoneReg, getgiftRecord, getrecharge, getIndex, getRecentHome, getPhoneGame, getH5Game, getDyGame, getGameDetail, getH5GameDetail, getGiftDetail, getOtherGame, getgameGuide, getgameGuideDetail, getGameNotice, getGameActivity, getGameGuide, getArtBanner, getPhoneGift, getPhoneGiftDetail, getH5Gift, getH5GiftDetail, getGift, getService, getGameList, getchangeAccount, getVirtualCoin, getRServiceList, getRoleList, getpayActivity, jumpAppFirst, jumpAppSecond */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "APIHOST", function() { return APIHOST; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "signin", function() { return signin; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "signup", function() { return signup; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "validateCode", function() { return validateCode; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "checkauthcode", function() { return checkauthcode; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sendPhoneCodeByReg", function() { return sendPhoneCodeByReg; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "checkname", function() { return checkname; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sendValidateCode", function() { return sendValidateCode; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "savePasswordByPhone", function() { return savePasswordByPhone; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sendValidateCodeLogin", function() { return sendValidateCodeLogin; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "savePasswordByEmail", function() { return savePasswordByEmail; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "editphone", function() { return editphone; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getlogout", function() { return getlogout; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getuserInfo", function() { return getuserInfo; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getsaveFace", function() { return getsaveFace; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getsaveUser", function() { return getsaveUser; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getaccount", function() { return getaccount; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getmessage", function() { return getmessage; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sendValidateCodeByEmail1", function() { return sendValidateCodeByEmail1; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "emailBind", function() { return emailBind; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "checkEmail", function() { return checkEmail; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "checkPhone", function() { return checkPhone; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sendValidateCodeBySms", function() { return sendValidateCodeBySms; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sendChangeValidateCodeBySms", function() { return sendChangeValidateCodeBySms; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "phoneBind", function() { return phoneBind; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "checkChangeSMSCode", function() { return checkChangeSMSCode; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sendNewValidateCodeBySms", function() { return sendNewValidateCodeBySms; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sendPhoneCodeByLogin", function() { return sendPhoneCodeByLogin; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "loginPhoneReg", function() { return loginPhoneReg; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getgiftRecord", function() { return getgiftRecord; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getrecharge", function() { return getrecharge; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getIndex", function() { return getIndex; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getRecentHome", function() { return getRecentHome; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getPhoneGame", function() { return getPhoneGame; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getH5Game", function() { return getH5Game; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getDyGame", function() { return getDyGame; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getGameDetail", function() { return getGameDetail; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getH5GameDetail", function() { return getH5GameDetail; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getGiftDetail", function() { return getGiftDetail; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getOtherGame", function() { return getOtherGame; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getgameGuide", function() { return getgameGuide; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getgameGuideDetail", function() { return getgameGuideDetail; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getGameNotice", function() { return getGameNotice; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getGameActivity", function() { return getGameActivity; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getGameGuide", function() { return getGameGuide; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getArtBanner", function() { return getArtBanner; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getPhoneGift", function() { return getPhoneGift; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getPhoneGiftDetail", function() { return getPhoneGiftDetail; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getH5Gift", function() { return getH5Gift; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getH5GiftDetail", function() { return getH5GiftDetail; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getGift", function() { return getGift; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getService", function() { return getService; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getGameList", function() { return getGameList; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getchangeAccount", function() { return getchangeAccount; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getVirtualCoin", function() { return getVirtualCoin; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getRServiceList", function() { return getRServiceList; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getRoleList", function() { return getRoleList; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getpayActivity", function() { return getpayActivity; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "jumpAppFirst", function() { return jumpAppFirst; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "jumpAppSecond", function() { return jumpAppSecond; });
  var APIHOST = 'http://api.sh5.okwan.com'; // 登陆
  
  var signin = 'https://wap-api.okwan.com/index/login/login'; // 注册
  
  var signup = 'https://wap-api.okwan.com/index/login/register'; // 验证码
  
  var validateCode = 'https://wap-api.okwan.com/index/user/code?from=app'; //校验验证码
  
  var checkauthcode = 'https://wap-api.okwan.com/index/user/check_authcode'; //发送手机验证码(注册)
  
  var sendPhoneCodeByReg = 'https://wap-api.okwan.com/index/user/sendPhoneCodeByReg'; //检查用户是否存在
  
  var checkname = 'https://wap-api.okwan.com/index/login/checkname'; //发送手机验证码（忘记密码）
  
  var sendValidateCode = 'https://wap-api.okwan.com/index/login/sendValidateCodeBySms'; //通过手机修改密码
  
  var savePasswordByPhone = 'https://wap-api.okwan.com/index/login/savePasswordByPhone'; //发送邮箱验证码（忘记密码）
  
  var sendValidateCodeLogin = 'https://wap-api.okwan.com/index/login/sendValidateCodeByEmail'; //通过邮箱修改密码
  
  var savePasswordByEmail = 'https://wap-api.okwan.com/index/login/savePasswordByEmail'; //更绑手机
  
  var editphone = 'https://wap-api.okwan.com/index/user/editphone'; //退出登录
  
  var getlogout = 'https://wap-api.okwan.com/index/login/logout'; //个人资料
  
  var getuserInfo = 'https://wap-api.okwan.com/index/user/userInfo'; //修改头像
  
  var getsaveFace = 'https://wap-api.okwan.com/index/user/saveFace'; //修改资料
  
  var getsaveUser = 'https://wap-api.okwan.com/index/user/saveUserInfo'; //我的账户
  
  var getaccount = 'https://wap-api.okwan.com/index/user/account'; //我的消息
  
  var getmessage = 'https://wap-api.okwan.com/index/user/message'; //发送邮箱验证码
  
  var sendValidateCodeByEmail1 = 'https://wap-api.okwan.com/index/user/sendValidateCodeByEmail'; //邮箱绑定
  
  var emailBind = 'https://wap-api.okwan.com/index/user/emailBind'; //是否绑定过邮箱
  
  var checkEmail = 'https://wap-api.okwan.com/index/user/checkEmail'; //是否绑定过手机
  
  var checkPhone = 'https://wap-api.okwan.com/index/user/checkPhone'; //发送手机验证码
  
  var sendValidateCodeBySms = 'https://wap-api.okwan.com/index/user/sendValidateCodeBySms'; //发送更绑手机号验证码
  
  var sendChangeValidateCodeBySms = 'https://wap-api.okwan.com/index/user/sendChangeValidateCodeBySms'; //绑定手机号
  
  var phoneBind = 'https://wap-api.okwan.com/index/user/phoneBind'; //验证更绑手机号验证码
  
  var checkChangeSMSCode = 'https://wap-api.okwan.com/index/user/checkChangeSMSCode'; //发送新手机验证码
  
  var sendNewValidateCodeBySms = 'https://wap-api.okwan.com/index/user/sendNewValidateCodeBySms'; //发送手机验证码(登录)
  
  var sendPhoneCodeByLogin = 'https://wap-api.okwan.com/index/user/sendPhoneCodeByLogin'; //手机登录
  
  var loginPhoneReg = 'https://wap-api.okwan.com/index/login/loginPhone'; //礼包记录
  
  var getgiftRecord = 'https://wap-api.okwan.com/index/gift/giftRecordBox'; //充值记录
  
  var getrecharge = 'https://wap-api.okwan.com/index/user/recharge'; // 首页
  
  var getIndex = 'https://api-sh5.okwan.com/api/home/index'; //最近在玩
  
  var getRecentHome = 'https://api-sh5.okwan.com/api/home/recentGame'; //手机游戏列表
  
  var getPhoneGame = 'https://api-sh5.okwan.com/api/game/phoneGame'; //H5游戏列表
  
  var getH5Game = 'https://api-sh5.okwan.com/api/game/h5Game'; //抖音热游列表
  
  var getDyGame = 'https://api-sh5.okwan.com/api/game/douyinGame'; //游戏详情
  
  var getGameDetail = 'https://api-sh5.okwan.com/api/game/gameDetail'; //H5详情
  
  var getH5GameDetail = 'https://api-sh5.okwan.com/api/index/gameDetail'; //游戏礼包列表
  
  var getGiftDetail = 'https://wap-api.okwan.com/index/gift/getGiftDetail'; //其他人在玩儿
  
  var getOtherGame = 'https://api-sh5.okwan.com/api/game/otherGame'; //游戏攻略
  
  var getgameGuide = 'https://api-sh5.okwan.com/api/game/gameGuide'; //攻略详情
  
  var getgameGuideDetail = 'https://wap-api.okwan.com/index/game/gameGuideDetail'; //游戏公告
  
  var getGameNotice = 'https://api-sh5.okwan.com/api/news/gameNotice'; //游戏活动
  
  var getGameActivity = 'https://api-sh5.okwan.com/api/news/gameActivity'; //游戏攻略
  
  var getGameGuide = 'https://api-sh5.okwan.com/api/news/gameGuide'; //游戏公告
  // export const getGameActivity ='/api/news/gameActivity';
  //咨询banner
  
  var getArtBanner = 'https://api-sh5.okwan.com/api/news/articleBanner'; //礼包列表(手游)
  
  var getPhoneGift = 'https://api-sh5.okwan.com/api/gift/phoneGift'; //礼包详情(手游)
  
  var getPhoneGiftDetail = 'https://api-sh5.okwan.com/api/gift/phoneGiftDetail'; //礼包列表(H5)
  
  var getH5Gift = 'https://api-sh5.okwan.com/api/gift/h5Gift'; //礼包详情(H5)
  
  var getH5GiftDetail = 'https://api-sh5.okwan.com/api/gift/h5GiftDetail'; //领取礼包
  
  var getGift = 'https://api-sh5.okwan.com/api/gift/getGift'; //开服表
  
  var getService = 'https://api-sh5.okwan.com/api/server/index'; //充值到游戏列表
  
  var getGameList = 'https://api-game.okwan.com/game/api/index'; //充值账号切换
  
  var getchangeAccount = 'https://wap-api.okwan.com/index/recharge/changeAccount'; //充值OK豆和OK币
  
  var getVirtualCoin = 'https://wap-api.okwan.com/index/recharge/getVirtualCoin'; //充值服务器列表
  
  var getRServiceList = 'https://api-game.okwan.com/game/api/serverList'; //充值角色列表
  
  var getRoleList = 'https://api-role.okwan.com/role/roles/getForce'; //充值活动列表
  
  var getpayActivity = 'https://api-role.okwan.com/index/recharge/payActivity'; //App webview跳转
  
  var jumpAppFirst = 'https://wap-api.okwan.com/index/user/jumpAppFirst'; //App webview跳转2
  
  var jumpAppSecond = 'https://wap-api.okwan.com/index/user/jumpAppSecond';
  
  /***/ }),
  
  /***/ "./src/components/nav.vue":
  /*!********************************!*\
    !*** ./src/components/nav.vue ***!
    \********************************/
  /*! no static exports found */
  /***/ (function(module, exports, __webpack_require__) {
  
  var __vue_exports__, __vue_options__
  var __vue_styles__ = []
  
  /* styles */
  __vue_styles__.push(__webpack_require__(/*! !C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/style-loader!C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/style-rewriter?id=data-v-6bfeffe3!C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/selector?type=styles&index=0!./nav.vue */ "C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\style-loader.js!C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\style-rewriter.js?id=data-v-6bfeffe3!C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\selector.js?type=styles&index=0!./src/components/nav.vue")
  )
  
  /* script */
  __vue_exports__ = __webpack_require__(/*! !C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/script-loader!babel-loader!C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/selector?type=script&index=0!./nav.vue */ "C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\script-loader.js!C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\node_modules\\_babel-loader@8.0.6@babel-loader\\lib\\index.js!C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\selector.js?type=script&index=0!./src/components/nav.vue")
  
  /* template */
  var __vue_template__ = __webpack_require__(/*! !C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/template-compiler?id=data-v-6bfeffe3!C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/selector?type=template&index=0!./nav.vue */ "C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\template-compiler.js?id=data-v-6bfeffe3!C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\selector.js?type=template&index=0!./src/components/nav.vue")
  __vue_options__ = __vue_exports__ = __vue_exports__ || {}
  if (
    typeof __vue_exports__.default === "object" ||
    typeof __vue_exports__.default === "function"
  ) {
  if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {eeuiLog.error("named exports are not supported in *.vue files.")}
  __vue_options__ = __vue_exports__ = __vue_exports__.default
  }
  if (typeof __vue_options__ === "function") {
    __vue_options__ = __vue_options__.options
  }
  __vue_options__.__file = "f:\\workspace\\gameBox\\src\\components\\nav.vue"
  __vue_options__.render = __vue_template__.render
  __vue_options__.staticRenderFns = __vue_template__.staticRenderFns
  __vue_options__._scopeId = "data-v-6bfeffe3"
  __vue_options__.style = __vue_options__.style || {}
  __vue_styles__.forEach(function (module) {
    for (var name in module) {
      __vue_options__.style[name] = module[name]
    }
  })
  if (typeof __register_static_styles__ === "function") {
    __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
  }
  
  module.exports = __vue_exports__
  
  
  /***/ }),
  
  /***/ "./src/components/topCom.vue":
  /*!***********************************!*\
    !*** ./src/components/topCom.vue ***!
    \***********************************/
  /*! no static exports found */
  /***/ (function(module, exports, __webpack_require__) {
  
  var __vue_exports__, __vue_options__
  var __vue_styles__ = []
  
  /* styles */
  __vue_styles__.push(__webpack_require__(/*! !C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/style-loader!C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/style-rewriter?id=data-v-502c79dc!C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/selector?type=styles&index=0!./topCom.vue */ "C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\style-loader.js!C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\style-rewriter.js?id=data-v-502c79dc!C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\selector.js?type=styles&index=0!./src/components/topCom.vue")
  )
  
  /* script */
  __vue_exports__ = __webpack_require__(/*! !C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/script-loader!babel-loader!C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/selector?type=script&index=0!./topCom.vue */ "C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\script-loader.js!C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\node_modules\\_babel-loader@8.0.6@babel-loader\\lib\\index.js!C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\selector.js?type=script&index=0!./src/components/topCom.vue")
  
  /* template */
  var __vue_template__ = __webpack_require__(/*! !C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/template-compiler?id=data-v-502c79dc!C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/selector?type=template&index=0!./topCom.vue */ "C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\template-compiler.js?id=data-v-502c79dc!C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\selector.js?type=template&index=0!./src/components/topCom.vue")
  __vue_options__ = __vue_exports__ = __vue_exports__ || {}
  if (
    typeof __vue_exports__.default === "object" ||
    typeof __vue_exports__.default === "function"
  ) {
  if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {eeuiLog.error("named exports are not supported in *.vue files.")}
  __vue_options__ = __vue_exports__ = __vue_exports__.default
  }
  if (typeof __vue_options__ === "function") {
    __vue_options__ = __vue_options__.options
  }
  __vue_options__.__file = "f:\\workspace\\gameBox\\src\\components\\topCom.vue"
  __vue_options__.render = __vue_template__.render
  __vue_options__.staticRenderFns = __vue_template__.staticRenderFns
  __vue_options__._scopeId = "data-v-502c79dc"
  __vue_options__.style = __vue_options__.style || {}
  __vue_styles__.forEach(function (module) {
    for (var name in module) {
      __vue_options__.style[name] = module[name]
    }
  })
  if (typeof __register_static_styles__ === "function") {
    __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
  }
  
  module.exports = __vue_exports__
  
  
  /***/ }),
  
  /***/ "./src/pages/myGift.vue?entry=true":
  /*!*****************************************!*\
    !*** ./src/pages/myGift.vue?entry=true ***!
    \*****************************************/
  /*! no static exports found */
  /***/ (function(module, exports, __webpack_require__) {
  
  var __vue_exports__, __vue_options__
  var __vue_styles__ = []
  
  /* styles */
  __vue_styles__.push(__webpack_require__(/*! !C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/style-loader!C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/style-rewriter?id=data-v-34de989a!C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/selector?type=styles&index=0!./myGift.vue */ "C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\style-loader.js!C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\style-rewriter.js?id=data-v-34de989a!C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\selector.js?type=styles&index=0!./src/pages/myGift.vue")
  )
  
  /* script */
  __vue_exports__ = __webpack_require__(/*! !C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/script-loader!babel-loader!C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/selector?type=script&index=0!./myGift.vue */ "C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\script-loader.js!C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\node_modules\\_babel-loader@8.0.6@babel-loader\\lib\\index.js!C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\selector.js?type=script&index=0!./src/pages/myGift.vue")
  
  /* template */
  var __vue_template__ = __webpack_require__(/*! !C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/template-compiler?id=data-v-34de989a!C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/selector?type=template&index=0!./myGift.vue */ "C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\template-compiler.js?id=data-v-34de989a!C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\selector.js?type=template&index=0!./src/pages/myGift.vue")
  __vue_options__ = __vue_exports__ = __vue_exports__ || {}
  if (
    typeof __vue_exports__.default === "object" ||
    typeof __vue_exports__.default === "function"
  ) {
  if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {eeuiLog.error("named exports are not supported in *.vue files.")}
  __vue_options__ = __vue_exports__ = __vue_exports__.default
  }
  if (typeof __vue_options__ === "function") {
    __vue_options__ = __vue_options__.options
  }
  __vue_options__.__file = "f:\\workspace\\gameBox\\src\\pages\\myGift.vue"
  __vue_options__.render = __vue_template__.render
  __vue_options__.staticRenderFns = __vue_template__.staticRenderFns
  __vue_options__._scopeId = "data-v-34de989a"
  __vue_options__.style = __vue_options__.style || {}
  __vue_styles__.forEach(function (module) {
    for (var name in module) {
      __vue_options__.style[name] = module[name]
    }
  })
  if (typeof __register_static_styles__ === "function") {
    __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
  }
  
  module.exports = __vue_exports__
  module.exports.el = 'true'
  new Vue(module.exports)
  
  
  /***/ }),
  
  /***/ "C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\script-loader.js!C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\node_modules\\_babel-loader@8.0.6@babel-loader\\lib\\index.js!C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\selector.js?type=script&index=0!./src/components/nav.vue":
  /*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
    !*** C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/script-loader.js!C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/node_modules/_babel-loader@8.0.6@babel-loader/lib!C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/selector.js?type=script&index=0!./src/components/nav.vue ***!
    \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
  /*! exports provided: default */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  var eeui = app.requireModule('eeui');
  
  var endpoint = __webpack_require__(/*! ../backend/endpoint */ "./src/backend/endpoint.js");
  
  var api = __webpack_require__(/*! ../backend/api */ "./src/backend/api.js");
  
  var okTools = app.requireModule('okTools');
  /* harmony default export */ __webpack_exports__["default"] = ({
    props: {
      reposition: {
        type: Number,
        "default": 0
      }
    },
    data: function data() {
      return {
        position: 0,
        tabPages: [{
          tabName: 'index',
          title: '首页',
          unSelectedIcon: '../images/navico1.png',
          selectedIcon: '../images/curNav1.png',
          url: '../pages/index.js'
        }, {
          tabName: 'gemes',
          title: '游戏',
          unSelectedIcon: '../images/navico2.png',
          selectedIcon: '../images/curNav2.png',
          url: '../pages/gemes.js'
        }, {
          tabName: 'recharge',
          title: '充值',
          unSelectedIcon: '../images/navico3.png',
          selectedIcon: '../images/navico3.png',
          url: '../pages/recharge.js'
        }, {
          tabName: 'newsList',
          title: '资讯',
          unSelectedIcon: '../images/navico4.png',
          selectedIcon: '../images/curNav4.png',
          url: '../pages/newsList.js'
        }, {
          tabName: 'personal',
          title: '我的',
          unSelectedIcon: '../images/navico5.png',
          selectedIcon: '../images/curNav5.png',
          url: '../pages/personal.js'
        }],
        uid: '',
        rkey: ''
      };
    },
    methods: {
      switchPage: function switchPage(item, index) {
        var self = this;
        var platform = WXEnvironment.platform;
        this.position = index;
        eeui.toastClose();
  
        if (item.tabName == 'recharge') {
          var _self = this;
  
          api.get(endpoint.getuserInfo, {}, function (res) {
            if (res.code == 1) {
              var _platform = WXEnvironment.platform.toLowerCase();
  
              if (_platform === 'ios') {
                eeui.openWeb('https://wap-api.okwan.com/index/user/jumpAppSecond?key=' + encodeURIComponent(_self.rkey));
              } else {
                okTools.pay('https://wap-api.okwan.com/index/user/jumpAppSecond?key=' + encodeURIComponent(_self.rkey), '充值页面');
              }
            } else {
              eeui.openPage({
                url: '../pages/login.js',
                pageType: 'app'
              });
            }
          });
          return;
        }
  
        if (item.tabName == 'personal') {
          api.get(endpoint.getuserInfo, {}, function (res) {
            if (res.code == 1) {
              self.uid = res.mes.uid;
  
              if (eeui.getPageInfo().url.indexOf(item.tabName) > -1) {
                return;
              }
  
              eeui.openPage({
                pageName: item.tabName,
                pageType: 'app',
                url: item.url,
                params: {
                  position: self.position,
                  uid: self.uid
                }
              }, function (result) {});
            } else {
              eeui.openPage({
                url: '../pages/login.js',
                pageType: 'app'
              });
            }
          });
        } else {
          if (eeui.getPageInfo().url.indexOf(item.tabName) > -1) {
            return;
          }
  
          eeui.openPage({
            pageName: item.tabName,
            pageType: 'app',
            url: item.url,
            params: {
              position: self.position
            }
          });
        }
      },
      jumpAppFirst: function jumpAppFirst() {
        var self = this;
        var parmars = {
          url: 'https://www.okwan.com/m/#/rechargeGame',
          cookie: api.getVokwan()
        };
        api.post(endpoint.jumpAppFirst, parmars, function (res) {
          if (res.code == 1) {
            self.rkey = res.mes;
          } else {// eeui.toast(res.mes);
          }
        });
      }
    },
    mounted: function mounted() {},
    created: function created() {
      this.jumpAppFirst();
    }
  });
  
  /***/ }),
  
  /***/ "C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\script-loader.js!C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\node_modules\\_babel-loader@8.0.6@babel-loader\\lib\\index.js!C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\selector.js?type=script&index=0!./src/components/topCom.vue":
  /*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
    !*** C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/script-loader.js!C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/node_modules/_babel-loader@8.0.6@babel-loader/lib!C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/selector.js?type=script&index=0!./src/components/topCom.vue ***!
    \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
  /*! exports provided: default */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  var eeui = app.requireModule('eeui');
  
  var endpoint = __webpack_require__(/*! ../backend/endpoint */ "./src/backend/endpoint.js");
  
  var api = __webpack_require__(/*! ../backend/api */ "./src/backend/api.js");
  
  /* harmony default export */ __webpack_exports__["default"] = ({
    name: 'topCom',
    props: {
      "title": ''
    },
    methods: {
      goback: function goback() {
        eeui.toastClose();
        api.get(endpoint.getuserInfo, {}, function (res) {
          if (res.code == 1) {
            eeui.closePage();
          } else {
            eeui.openPage({
              url: '../pages/index.js',
              pageType: 'app',
              params: {
                position: 0
              }
            });
          }
        });
      }
    },
    mounted: function mounted() {},
    created: function created() {}
  });
  
  /***/ }),
  
  /***/ "C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\script-loader.js!C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\node_modules\\_babel-loader@8.0.6@babel-loader\\lib\\index.js!C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\selector.js?type=script&index=0!./src/pages/myGift.vue":
  /*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
    !*** C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/script-loader.js!C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/node_modules/_babel-loader@8.0.6@babel-loader/lib!C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/selector.js?type=script&index=0!./src/pages/myGift.vue ***!
    \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
  /*! exports provided: default */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  /* harmony import */ var _components_topCom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../components/topCom */ "./src/components/topCom.vue");
  /* harmony import */ var _components_topCom__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_components_topCom__WEBPACK_IMPORTED_MODULE_0__);
  /* harmony import */ var _components_nav__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../components/nav */ "./src/components/nav.vue");
  /* harmony import */ var _components_nav__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_components_nav__WEBPACK_IMPORTED_MODULE_1__);
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  
  
  var eeui = app.requireModule('eeui');
  
  var endpoint = __webpack_require__(/*! ../backend/endpoint */ "./src/backend/endpoint.js");
  
  var api = __webpack_require__(/*! ../backend/api */ "./src/backend/api.js");
  
  /* harmony default export */ __webpack_exports__["default"] = ({
    data: function data() {
      return {
        giftRecordList: [],
        lists: [],
        limit: 10,
        curPage: 1,
        uid: app.config.params.uid,
        loadinging: false,
        loadingMsgShow: false
      };
    },
    components: {
      topCom: _components_topCom__WEBPACK_IMPORTED_MODULE_0___default.a,
      nav: _components_nav__WEBPACK_IMPORTED_MODULE_1___default.a
    },
    mounted: function mounted() {},
    methods: {
      getuserInfo: function getuserInfo() {
        var self = this;
        api.get(endpoint.getuserInfo, {}, function (res) {
          if (res.code == 1) {
            self.uid = res.mes.uid;
          }
        });
      },
      loadMore: function loadMore() {
        var self = this;
        self.loadinging = true;
        self.loadingMsgShow = false;
        self.curPage = parseInt(self.lists.length / self.limit) + 1;
        var params = {
          page: this.curPage,
          uid: this.uid
        };
        api.get(endpoint.getgiftRecord, params, function (res) {
          if (res.code == 1) {
            self.giftRecordList = res.mes;
  
            if (self.giftRecordList.length > 0) {
              if (self.lists.length % self.limit > 0) {
                self.loadinging = false;
                self.loadingMsgShow = true;
                return;
              }
  
              self.giftRecordList.forEach(function (val, index) {
                self.lists.push(val);
              });
              self.loadinging = true;
            }
  
            if (self.giftRecordList.length < 10) {
              self.loadinging = false;
              self.loadingMsgShow = true;
            }
          }
        });
      },
      copy: function copy(item) {
        var copyTxt = eeui.copyText(item.cardno);
        eeui.toast('复制成功');
      },
      _isLogin: function _isLogin(cb) {
        var self = this;
        api.get(endpoint.getuserInfo, {}, function (res) {
          if (res.code == 1) {
            if (typeof cb != 'undefined') {
              self.uid = res.mes.uid;
              cb();
            }
          }
        });
      }
    },
    watch: {
      uid: function uid(val) {
        this.uid = val;
      }
    },
    filters: {
      handleUrl: function handleUrl(value) {
        if (value == '' || value == null) {
          return value;
        } else {
          return 'https://img.okwan.com/' + value;
        }
      }
    },
    created: function created() {
      this.getuserInfo();
      this.loadMore();
    }
  });
  
  /***/ }),
  
  /***/ "C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\style-loader.js!C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\style-rewriter.js?id=data-v-34de989a!C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\selector.js?type=styles&index=0!./src/pages/myGift.vue":
  /*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
    !*** C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/style-loader.js!C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/style-rewriter.js?id=data-v-34de989a!C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/selector.js?type=styles&index=0!./src/pages/myGift.vue ***!
    \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
  /*! no static exports found */
  /***/ (function(module, exports) {
  
  module.exports = {
    "app": {
      "flex": 1,
      "backgroundColor": "#f7f7f7"
    },
    "scrollList": {
      "width": "750",
      "flex": 1
    },
    "myGift": {
      "backgroundColor": "#ffffff",
      "paddingTop": 0,
      "paddingRight": "30",
      "paddingBottom": 0,
      "paddingLeft": "30"
    },
    "giftC": {
      "position": "relative",
      "height": "182",
      "borderBottomStyle": "solid",
      "borderBottomColor": "#dddada",
      "borderBottomWidth": "1",
      "flexDirection": "row",
      "alignItems": "center"
    },
    "pic": {
      "width": "131",
      "height": "131"
    },
    "con": {
      "marginLeft": "22"
    },
    "t": {
      "color": "#2a2a2a",
      "fontSize": "28"
    },
    "c": {
      "paddingTop": "18",
      "color": "#666666",
      "fontSize": "22"
    },
    "time": {
      "paddingTop": "7",
      "color": "#bbbbbb",
      "fontSize": "22"
    },
    "copy": {
      "position": "absolute",
      "right": 0,
      "width": "114",
      "height": "56",
      "lineHeight": "56",
      "textAlign": "center",
      "color": "#ffbd58",
      "fontSize": "28",
      "borderRadius": "12"
    },
    "nullpage": {
      "paddingTop": "150",
      "alignItems": "center",
      "justifyContent": "center"
    },
    "nullPic": {
      "width": "257",
      "height": "276"
    },
    "nullTxt": {
      "color": "#666666",
      "fontSize": "28",
      "paddingTop": "18"
    },
    "loadingbox": {
      "alignItems": "center",
      "paddingTop": "20",
      "paddingRight": "20",
      "paddingBottom": "20",
      "paddingLeft": "20",
      "height": "80"
    },
    "loading": {
      "height": "40",
      "width": "40"
    },
    "loadMsg": {
      "alignItems": "center",
      "height": "80",
      "lineHeight": "80",
      "textAlign": "center",
      "color": "#666666",
      "fontSize": "24"
    }
  }
  
  /***/ }),
  
  /***/ "C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\style-loader.js!C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\style-rewriter.js?id=data-v-502c79dc!C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\selector.js?type=styles&index=0!./src/components/topCom.vue":
  /*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
    !*** C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/style-loader.js!C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/style-rewriter.js?id=data-v-502c79dc!C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/selector.js?type=styles&index=0!./src/components/topCom.vue ***!
    \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
  /*! no static exports found */
  /***/ (function(module, exports) {
  
  module.exports = {
    "headerC": {
      "width": "750",
      "height": "93",
      "position": "relative"
    },
    "topBg": {
      "width": "750",
      "height": "93",
      "position": "absolute",
      "top": 0,
      "left": 0
    },
    "navbar": {
      "width": "750",
      "height": "88",
      "backgroundColor": "#ffffff"
    },
    "icon": {
      "color": "#0f0f0f",
      "width": "100",
      "height": "88",
      "fontSize": "54"
    },
    "text": {
      "fontSize": "34",
      "color": "#0d0f13"
    }
  }
  
  /***/ }),
  
  /***/ "C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\style-loader.js!C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\style-rewriter.js?id=data-v-6bfeffe3!C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\selector.js?type=styles&index=0!./src/components/nav.vue":
  /*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
    !*** C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/style-loader.js!C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/style-rewriter.js?id=data-v-6bfeffe3!C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/selector.js?type=styles&index=0!./src/components/nav.vue ***!
    \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
  /*! no static exports found */
  /***/ (function(module, exports) {
  
  module.exports = {
    "nav": {
      "position": "fixed",
      "bottom": 0,
      "left": 0,
      "width": "750",
      "height": "137",
      "flexDirection": "row",
      "alignItems": "center",
      "justifyContent": "space-between"
    },
    "navbg": {
      "width": "750",
      "height": "137",
      "position": "absolute",
      "bottom": 0,
      "left": 0
    },
    "tabPages": {
      "flex": 1,
      "width": "750",
      "alignItems": "center"
    },
    "nav-item": {
      "flex": 1,
      "paddingTop": 0,
      "paddingRight": "30",
      "paddingBottom": 0,
      "paddingLeft": "30",
      "alignItems": "center"
    },
    "navico": {
      "width": "44",
      "height": "44",
      "marginTop": "50",
      "marginBottom": "14"
    },
    "navico1": {
      "width": "113",
      "height": "113",
      "marginTop": "4"
    },
    "navTxt": {
      "color": "#b8b8b8",
      "fontSize": "24",
      "textAlign": "center",
      "marginTop": "-6"
    },
    "navTxt-active": {
      "color": "#ffbd58",
      "fontSize": "24",
      "textAlign": "center",
      "marginTop": "-6"
    }
  }
  
  /***/ }),
  
  /***/ "C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\template-compiler.js?id=data-v-34de989a!C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\selector.js?type=template&index=0!./src/pages/myGift.vue":
  /*!**************************************************************************************************************************************************************************************************************************************************************************************************!*\
    !*** C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/template-compiler.js?id=data-v-34de989a!C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/selector.js?type=template&index=0!./src/pages/myGift.vue ***!
    \**************************************************************************************************************************************************************************************************************************************************************************************************/
  /*! no static exports found */
  /***/ (function(module, exports) {
  
  module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
    return _c('div', {
      staticClass: ["app"]
    }, [_c('top-com', {
      attrs: {
        "title": "我的礼包"
      }
    }), (_vm.lists.length == 0) ? _c('div', {
      staticClass: ["nullpage"]
    }, [_c('image', {
      staticClass: ["nullPic"],
      attrs: {
        "src": "root://images/null.png"
      }
    }), _c('text', {
      staticClass: ["nullTxt"]
    }, [_vm._v("暂无礼包哦~")])]) : _vm._e(), (_vm.lists.length > 0) ? _c('scroller', {
      staticClass: ["scrollList"],
      attrs: {
        "loadmoreoffset": "1"
      },
      on: {
        "loadmore": _vm.loadMore
      }
    }, [_vm._l((_vm.lists), function(item, i) {
      return _c('div', {
        key: i,
        staticClass: ["myGift"]
      }, [_c('div', {
        staticClass: ["giftC"]
      }, [_c('image', {
        staticClass: ["pic"],
        attrs: {
          "src": _vm._f("handleUrl")(item.logo)
        }
      }), _c('div', {
        staticClass: ["con"]
      }, [_c('text', {
        staticClass: ["t"]
      }, [_vm._v(_vm._s(item.giftName))]), _c('text', {
        staticClass: ["c"]
      }, [_vm._v("礼包码：" + _vm._s(item.cardno))]), _c('text', {
        staticClass: ["time"]
      }, [_vm._v("领取时间：" + _vm._s(item.used_time || item.create_time))])]), _c('button', {
        staticClass: ["copy"],
        attrs: {
          "eeui": {
            text: '复制',
            borderWidth: 2,
            borderColor: '#ffbd58',
            backgroundColor: '#fff'
          }
        },
        on: {
          "click": function($event) {
            _vm.copy(item)
          }
        }
      })], 1)])
    }), (_vm.loadinging) ? _c('div', {
      staticClass: ["loadingbox"]
    }, [_c('image', {
      staticClass: ["loading"],
      attrs: {
        "src": "root://images/loding.gif"
      }
    })]) : _vm._e(), (_vm.loadingMsgShow) ? _c('div', [_c('text', {
      staticClass: ["loadMsg"]
    }, [_vm._v("没有更多数据了~")])]) : _vm._e()], 2) : _vm._e()], 1)
  },staticRenderFns: []}
  module.exports.render._withStripped = true
  
  /***/ }),
  
  /***/ "C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\template-compiler.js?id=data-v-502c79dc!C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\selector.js?type=template&index=0!./src/components/topCom.vue":
  /*!*******************************************************************************************************************************************************************************************************************************************************************************************************!*\
    !*** C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/template-compiler.js?id=data-v-502c79dc!C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/selector.js?type=template&index=0!./src/components/topCom.vue ***!
    \*******************************************************************************************************************************************************************************************************************************************************************************************************/
  /*! no static exports found */
  /***/ (function(module, exports) {
  
  module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
    return _c('div', {
      staticClass: ["headerC"]
    }, [_c('image', {
      staticClass: ["topBg"],
      attrs: {
        "src": "root://images/topbg.png"
      }
    }), _c('navbar', {
      ref: "reflectName",
      staticClass: ["navbar"]
    }, [_c('navbar-item', {
      attrs: {
        "type": "left"
      },
      on: {
        "click": _vm.goback
      }
    }, [_c('icon', {
      staticClass: ["icon"],
      attrs: {
        "content": "tb-back-light"
      }
    })], 1), _c('navbar-item', {
      attrs: {
        "type": "title"
      }
    }, [_c('text', {
      staticClass: ["text"]
    }, [_vm._v(_vm._s(_vm.title))])])], 1)], 1)
  },staticRenderFns: []}
  module.exports.render._withStripped = true
  
  /***/ }),
  
  /***/ "C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\template-compiler.js?id=data-v-6bfeffe3!C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\selector.js?type=template&index=0!./src/components/nav.vue":
  /*!****************************************************************************************************************************************************************************************************************************************************************************************************!*\
    !*** C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/template-compiler.js?id=data-v-6bfeffe3!C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/selector.js?type=template&index=0!./src/components/nav.vue ***!
    \****************************************************************************************************************************************************************************************************************************************************************************************************/
  /*! no static exports found */
  /***/ (function(module, exports) {
  
  module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
    return _c('div', {
      staticClass: ["nav"]
    }, [_c('image', {
      staticClass: ["navbg"],
      attrs: {
        "src": "root://images/navBg.png"
      }
    }), _vm._l((_vm.tabPages), function(item, index) {
      return _c('div', {
        key: index,
        staticClass: ["tabPage"]
      }, [_c('div', {
        staticClass: ["nav-item"],
        on: {
          "click": function($event) {
            _vm.switchPage(item, index)
          }
        }
      }, [_c('image', {
        class: [index === 2 ? 'navico1' : 'navico'],
        attrs: {
          "src": index === _vm.reposition ? item.selectedIcon : item.unSelectedIcon
        }
      }), _c('text', {
        class: [index === _vm.reposition ? 'navTxt-active' : 'navTxt']
      }, [_vm._v(_vm._s(item.title))])])])
    })], 2)
  },staticRenderFns: []}
  module.exports.render._withStripped = true
  
  /***/ })
  
  /******/ });