{"version":3,"file":"/pc/goods/js/matchtrade.js.map","sources":["/pc/goods/js/matchtrade.js"],"sourcesContent":["/**\n * Created by caixiaohua on 2016/10/28.\n */\n define([\"pcbase\",\"ko\",\"galert\",\"goods/js/matchtrade_data\",\"strhelp\",\"game\",\"captcha\",\"api\",\"login\"],function (pcbase,ko,galert,matchtrade_data,strhelp,game,captcha,api,login){\n return pcbase.extend(function() {\n \"use strict\";\n //声明页面配置\n var my = this;\n var record={num:\"\"};\n var record_quantity={num:\"\"};\n var firstLoad = 0;\n var e_time = new Date().getTime();\n this.init = function(){\n this.needLogin =false;\n this.pageSelector = \".page-goods-matchtrade\";\n this.model = {\n captcha:ko.observable(false),\n showRealName:ko.observable('realName'),//控制实名浮层显示\n sendSmsCallback:'',\n matchTitle:ko.observable('盛趣游戏点券'),\n gameName:ko.observable(),//游戏名\n buyPrice: ko.observable(),//买入价格\n sellPrice: ko.observable(),//卖出价格\n goods_type: ko.observable(),\n dianquannum:ko.observable(''),//购买的件数兑换成对应货币后的数量\n totaldianquannum:ko.observable(''),//编辑浮层购买的数量兑换成点券后的数量\n game_id: ko.observable(),\n book_id: ko.observable(),\n buyQuantity: ko.observable(0),//购买数量\n sellQuantity: ko.observable(0),//出售数量\n totalSellQuantity: ko.observable(),//编辑后总库存\n baseBuyMoney:ko.observable('0'),//购买总金额\n totalBuyMoney:ko.observable('0'),//购买总金额\n totalSellMoney:ko.observable('0'),//出售总金额\n feeMoney:ko.observable('0'),//手续费\n list: ko.observableArray([]),//右侧买入卖出价\n verifyCode: ko.observable(''),//短信验证码\n sendPhone: ko.observable(''),//发送验证码的手机号\n input_receive_account:ko.observable(''),//收货账号\n input_sell_account:ko.observable(''),//出货账号\n smsContext : ko.observable(''),\n accountBuyList: ko.observableArray([]),//购买账号列表\n accountList: ko.observableArray([]),//出售账号列表\n accountListEnable: ko.observableArray([]),//可售账号列表\n accountListDisable: ko.observableArray([]),//不可售账号列表 \n trade_account_list: ko.observableArray([]),//历史买入账户\n p_sdid:ko.observable(),\n base_quantity:ko.observable(),//点券兑换汇率\n exchange_unit:ko.observable(),//1件多少单位\n exchange_name:ko.observable('点券'),//汇率兑换处显示名称\n goods_name:ko.observable(''),//商品类型名称\n order_id:ko.observable(''),//商品类型名称\n currentTab:ko.observable('buy'),//当前买入卖出tab\n minPrice:ko.observable(''),//出售输入框最低价\n minPrice100:ko.observable(''),//点券最低价\n minPrice116:ko.observable(''),//热血传奇元宝最低价\n maxPrice:ko.observable(''),//出售输入框最高价\n maxPrice100:ko.observable(''),//点券最高价\n maxPrice116:ko.observable(''),//热血传奇元宝最高价\n auto_fill_cfg:ko.observable(-1),//自动补货\n default_auto_fill_cfg:ko.observable(),//编辑时界面上默认显示上次填写的自动补货\n curList:ko.observable(),//当前显示的价格列表\n //下面是编辑时数据\n account:ko.observable(),//出售帐号\n balance_text:ko.observable(),//可售点券格式“$数量”+“$商品类型”(如:1000元宝)\n base_price:ko.observable(),//单价\n lock_qty:ko.observable(),//交易中\n sold_qty:ko.observable(),//已售\n ttl_qty:ko.observable(),//初始库存(总库存)\n remain_qty:ko.observable(),//剩余\n payPrice:ko.observable(''),\n ticket_available:ko.observable([{name: \"暂无可用优惠券\",discount:0}]),//可用优惠券\n ticketSortName: ko.observable(\"暂无可用优惠券\"),//选择的优惠券名称\n ticket_price:ko.observable(0),//优惠券价格\n minamountToUseCoupon: ko.observable(false), // 有相同goodstype的优惠券但金额不够最低金额的优惠券的钱\n minamount: ko.observable(false), // 有相同goodstype的优惠券但金额不够时,最低金额的优惠券\n auto_fill_cfg_list:ko.observableArray([\n {\n key:'-1', //dropdown组件里jsonpath不能用10,12形式,所有用10_12代替\n text:'不自动补货',//目前账号不支持手游\n realKey:'-1' //参数用这个传\n },{\n key:'1', //dropdown组件里jsonpath不能用10,12形式,所有用10_12代替\n text:'补货1次',\n realKey:'1' //参数用这个传\n },{\n key:'2', //dropdown组件里jsonpath不能用10,12形式,所有用10_12代替\n text:'补货2次',\n realKey:'2' //参数用这个传\n },{\n key:'3', //dropdown组件里jsonpath不能用10,12形式,所有用10_12代替\n text:'补货3次',\n realKey:'3' //参数用这个传\n },{\n key:'4', //dropdown组件里jsonpath不能用10,12形式,所有用10_12代替\n text:'补货4次',\n realKey:'4' //参数用这个传\n },{\n key:'5', //dropdown组件里jsonpath不能用10,12形式,所有用10_12代替\n text:'补货5次',\n realKey:'5' //参数用这个传\n },{\n key:'0', //dropdown组件里jsonpath不能用10,12形式,所有用10_12代替\n text:'不限,售完即止',\n realKey:'0' //参数用这个传\n }]),\n //自助补货选项\n changeAutoFillCfg:function(newKey, newText, item){\n my.model.auto_fill_cfg(newKey);\n },\n //卖出单价提示\n sellPricePlaceholder:function(){\n var txt;\n if (my.model.goods_type() == '9'&& my.model.game_id() == '4'){\n txt = '最低' + my.model.minPrice116();\n } else {\n txt = '最低' + my.model.minPrice100();\n }\n return txt; \n },\n //修改卖出价格\n changeSellPrice:function(){\n my.model.getMatchBuyList();\n my.model.curList('buy');\n },\n //修改买入价格\n changeBuyPrice:function(){\n my.model.getMatchSellList();\n },\n\n getGoodsList: function (gameId,goodType,areaId,groupId,keyword,refer,gameOs,operatorId,tradeMode) {\n return strhelp.getGoodsListUrl(gameId,goodType,areaId,groupId,keyword,refer,gameOs,operatorId,tradeMode);\n },\n\n //计算买入总价\n getBasePrice:function(buyQuantity,buyPrice){\n var price = (Math.round((buyQuantity || 0) * (Number(buyPrice) * 1000) / 10) / 100).toFixed(2);\n if (Number(price) > 0) my.model.getGoodsTicket(price)\n // 获取价格后再获取优惠券数据\n return price; \n },\n\n //计算买入总价\n getBuyTotalPrice:function(buyQuantity,buyPrice,ticketPrice){\n if (!buyPrice) buyPrice =0\n var price = Math.round(Number(buyQuantity)*(Number(buyPrice) * 1000) / 10) / 100;//修复精度\n my.model.baseBuyMoney(price);\n if (ticketPrice && Number(price) > ticketPrice) {\n price = (price - Number(ticketPrice)).toFixed(2)\n }\n if (price == 'NaN' || price < 0) price = 0\n my.model.totalBuyMoney(price);\n // 获取价格后再获取优惠券数据\n return price; \n },\n\n selProp:function(data,e){\n var t= e.currentTarget;\n var ticketPrice = $(t).attr(\"value\") / 100;\n var ticketSortName = $(t).attr(\"text\");\n var payPrice = Number(my.model.baseBuyMoney()) - Number(ticketPrice)\n if (payPrice <= 0) payPrice = 0\n my.model.payPrice(payPrice)\n my.model.ticket_price(ticketPrice)\n my.model.ticketSortName(ticketSortName)\n },\n\n // 获取可用优惠券\n getGoodsTicket: function(price){\n var self = this;\n // 显示加载提示符\n var goods_type = my.model.goods_type() / 10000 == 9 ? 9 : 19; //服务端只处理 goods_type = 9 等参数\n var game_id = my.model.game_id();\n $.ajax({\n type: \"GET\",\n url: \"/gatew/frontconfigapi\",\n data: {\n \"method\": \"queryCoupons\",\n \"params\": JSON.stringify({\n \"amount\": Number(price),\n \"game_id\": game_id,\n \"goods_type\": goods_type,\n })\n },\n success: function(resp) {\n if (resp.return_code == 0 && resp.data) {\n var available = resp.data.available\n var notAvailable = resp.data.notAvailable\n var firstCouponRisk = resp.data.firstCouponRisk\n var minamount = false\n var discountNum = 0\n if (available){\n var ticketPrice = available[0].discount\n var ticketSortName = available[0].name\n my.model.ticket_available(available)\n if (available.length > 1 && firstCouponRisk == 1) ticketPrice = available[1].discount\n ticketPrice = ticketPrice / 100\n var payPrice = Number(price) - Number(ticketPrice)\n if (payPrice <= 0) payPrice = 0\n my.model.ticket_price(ticketPrice)\n my.model.payPrice(payPrice)\n my.model.ticketSortName(ticketSortName)\n }else if(notAvailable){\n minamount = 9999999\n for(var i = 0; i < notAvailable.length; i++) {\n var goods_types_array = notAvailable[i].itemTypes.split(\",\")\n var flag = false\n for(var j = 0; j < goods_types_array.length; j++) {\n if(goods_types_array[j] == goods_type) {\n flag = true\n break\n }\n }\n if(flag && (notAvailable[i].gameAppIds == -1 || notAvailable[i].gameAppIds == my.model.game_id())) {\n if(notAvailable[i].minAmount < minamount) {\n minamount = notAvailable[i].minAmount\n }\n discountNum = notAvailable[i].amount / 100\n }\n }\n }else{\n my.model.ticket_price(0)\n my.model.ticketSortName('暂无可用优惠券')\n my.model.ticket_available([{name: \"暂无可用优惠券\",discount:0}])\n }\n if(minamount && minamount !== 9999999) {\n my.model.minamountToUseCoupon(Number(minamount/100 - my.model.totalBuyMoney()).toFixed(2))\n my.model.minamount(discountNum)\n my.model.ticketSortName(\"差\" + my.model.minamountToUseCoupon() + \"有\" + my.model.minamount() + \"元优惠\")\n }\n } else if (resp.return_code !== 0) {\n galert(resp.return_message);\n }\n },\n error:function(data){\n // 隐藏加载提示符\n console.log(data)\n }\n });\n },\n //自助补货选项\n changeAutoFillTicket:function(newKey, newText, item){\n var discount = item.discount / 100\n my.model.ticket_price(discount);\n },\n //获得出售时买入价列表\n getMatchBuyList:function(){\n if (my.model.p_sdid()){\n var params = {\n 'ext_goods_type':my.model.goods_type(),\n 'price':my.model.sellPrice() || 0,\n 'p_sdid':my.model.p_sdid()\n };\n $.ajax( \"/gatew/gmmMatchGw/getOnShelfData\",{\n data:params,\n noNeedBlock:true,\n success: function(response){\n var data = response.data;\n if (response.return_code === 0) {\n matchtrade_data.matchBuyList.parse(response,my.model);\n } else {\n galert(response.return_message);\n }\n\n }\n }); \n } else {\n galert('请先选择出货账号'); \n }\n },\n //预估手续费\n getFeeMoney:function(){\n var ope = strhelp.urlParamName('ope');\n var amount = 0;\n if (ope == 'edit'){\n amount = parseInt(my.model.sellQuantity() || 0) + parseInt(my.model.ttl_qty() || 0); //编辑时,手续费是添加的库存+原库存\n } else {\n amount = my.model.sellQuantity(); //重新上架,等于新商品,原库存不再有效\n }\n var params = {\n 'game_id':my.model.game_id(),\n 'ext_goods_type':my.model.goods_type(),\n 'amount':my.model.sellPrice() * amount\n };\n // $.ajax( \"/gmmweb/mygw/getsellerfee\",{\n $.ajax( \"/gatew/mygw/getsellerfee\",{\n data:params,\n noNeedBlock:true,\n success: function(response){\n var data = response.data;\n if (response.return_code === 0) {\n matchtrade_data.getFeePrice.parse(response,my.model);\n } else {\n galert(response.return_message);\n }\n\n }\n }); \n },\n //获得卖出价列表\n getMatchSellList:function(){\n if (firstLoad > 0){\n //if (my.model.buyQuantity() > 0){\n var params = {\n 'ext_goods_type':my.model.goods_type(),\n 'price':my.model.buyPrice()\n };\n //$.ajax( \"/gmmweb/matchgw/querymatchedsellingpricestocklist\",{\n $.ajax( \"/api/dianquanapi/order?method=QueryMatchedSellingPriceStockList\",{\n data:params,\n noNeedBlock:true,\n success: function(response){\n var data = response.data;\n if (response.return_code === 0) {\n matchtrade_data.matchSellList.parse(response,my.model);\n my.model.curList('sell');\n } else {\n galert(response.return_message);\n }\n\n }\n });\n } \n },\n //修改买入数量时,给出推荐价,如果没填数量就显示首页数据\n changeBuyQuantity:function(){\n if (!my.model.buyQuantity()){\n my.model.getMatchList();\n } else { \n my.model.getRecommendPrice();\n }\n },\n //获得首页买入卖出价列表\n getMatchList: function(){\n var params = {\n 'ext_goods_type':my.model.goods_type()\n };\n $.ajax( \"/gatew/gmmMatchGw/getMatchedSellingHomePage\",{\n data:params,\n noNeedBlock:true,\n success: function(response){\n var data = response.data;\n if (response.return_code === 0) {\n matchtrade_data.matchList.parse(response,my.model);\n if (response.data.selling_list.length > 0){\n my.model.buyPrice(response.data.selling_list[0]['price']);//默认买入价设为卖出一价格\n } else {\n my.model.buyPrice(my.model.minPrice()) //没有卖出则用最低价\n }\n record.num=my.model.buyPrice();\n firstLoad = 1;\n } else {\n galert(response.return_message);\n }\n\n }\n });\n },\n //买入时根据数量获得建议单价\n getRecommendPrice:function(num){\n // var params = {\n // 'ext_goods_type':my.model.goods_type(),\n // 'quantity':my.model.buyQuantity() || num\n // };\n var currency_id;\n if (my.model.goods_type() == 90001){//时长\n currency_id = 2;\n } else if (my.model.goods_type() == 90002){//守护点\n currency_id = 7803;\n } else if (my.model.goods_type() == 90003){//传奇永恒专用元宝\n currency_id = 256;\n } else if (my.model.goods_type() == 90004){//传奇永恒归真版专用元宝\n currency_id = 58;\n } else {\n currency_id = 3;//点券\n }\n var params = {\n params:JSON.stringify({\n \"quantity\":Number(my.model.buyQuantity()) || num,\n \"currency_id\":currency_id\n \n })\n }\n //$.ajax( \"/gmmweb/matchgw/gettransactionrecommendprice\",{\n $.ajax( \"/api/dianquanapi/order?method=GetTransactionRecommendPrice\",{\n data:params,\n noNeedBlock:true,\n success: function(response){\n var data = response.data;\n if (response.return_code === 0) {\n matchtrade_data.recommendPrice.parse(response,my.model);\n } else {\n galert(response.return_message);\n }\n\n }\n });\n },\n // //去实名认证\n // gotoRealname() {\n // window.location.href = '/pc/my/realName.html';//单独的实名认证地址\n // },\n // gotoBuy() {\n // $('#modal-realname').modal(\"hide\");\n // $(\"#modal-dianquan-buyinfo\").modal(\"show\");\n // },\n // //实名提示\n // showRealnameTip: function () {\n // //查询是否实名\n // var query_params = {\n // };\n // $.ajax(\"/api/realName/getStatus\", {\n // data: query_params,\n // success: function (response) {\n // if (response.return_code == 0) {\n // if (response.data.realNameStatus == 0) {//未实名,弹提示浮层\n // $('#modal-realname').modal();\n // } else {\n // my.model.gotoBuy();\n // }\n // } else {\n // galert(response.return_message);\n // }\n\n // },\n // error: function () {\n // galert(\"您的网络不给力,请检查网络!\");\n // }\n // });\n // },\n //确认购买信息\n confirmBuyInfo:function(){\n\n if(my.model.buyQuantity() >= 10000000){\n galert(\"数量请输入小于10,000,000的整数!\");\n return false;\n }\n my.model.getMyUserInfo();\n var loginUserId = my.login.getLoginUserId();\n if(typeof (loginUserId) !=\"undefined\" && loginUserId != \"\"){\n if(my.model.checkBuyInfo()){\n my.model.dianquannum(my.model.buyQuantity()*my.model.exchange_unit());\n $(\"#modal-dianquan-buyinfo\").modal(\"show\");\n return;\n }\n }\n\n },\n closeCaptcha:function(){\n my.model.captcha(false);\n },\n succCaptcha:function(sessionKey){\n my.model.confirmBuy(sessionKey);\n my.model.captcha(false);\n },\n beforConfirmBuy:function(){\n var params = {\n object_id:'buygoods_captcha_cfg_7'\n };\n $.ajax(\"/gate/frontconfigapi/GetVersion\",{\n data:params,\n success: function(response){\n var data = response.data;\n if (response.return_code === 0) {\n if(data.memo.goods_type_9 && data.memo.goods_type_9.need_flag == 1){//走滑块验证码\n my.model.captcha(false);//每次都重新初始化验证滑块控件,不然只请求一次滑块接口\n my.model.captcha(true);\n }else{\n my.model.confirmBuy();\n }\n }\n }\n })\n },\n //确认购买\n confirmBuy: function(sessionKey){\n var goods_type = my.model.goods_type(); \n var game_id = my.model.game_id(); \n var params = {\n 'b_account':my.model.input_receive_account(),\n 'ext_goods_type':goods_type,\n 'game_id':my.model.game_id(),\n 'quantity':my.model.buyQuantity(),\n 'price':my.model.buyPrice(),\n 'sessionKey' : sessionKey || '',\n };\n $.ajax( \"/gatew/matchgw/wantbuygoods\",{\n data:params,\n success: function(response){\n var data = response.data;\n if (response.return_code === 0) {\n var order_id = data.order_id;\n matchtrade_data.buyInfo.parse(response,my.model);\n var gbao_url = response.data.gbao_url;\n my.pageInf.routeToPay(gbao_url,goods_type,order_id,game_id);\n return;\n } else {\n galert(response.return_message);\n }\n\n }\n });\n },\n closeRealName: function(){\n my.model.showRealName('completeRealName');\n window.open('/pc/my/realName.html',\"_blank\");\n },\n //判断是否实名\n showConfirm: function(){\n //查询是否实名\n var query_params = {\n };\n $.ajax(api.realName.getStatus , {\n data: query_params,\n success: function (response) {\n if (response.return_code == 0) {\n if (response.data.realNameStatus == 0) {//未实名,弹提示浮层\n my.model.showRealName('realName');\n $('#modal-realname').modal();\n } else {\n // if (my.model.game_id() == 5){ //冒险岛购买\n // $(\"#modal-showTujiao\").modal('show');\n // } else {\n my.model.confirmBuyInfo();\n // }\n }\n } else {\n galert(response.return_message);\n }\n\n },\n error: function () {\n galert(\"您的网络不给力,请检查网络!\");\n }\n });\n },\n //购买页面输入框检查\n checkBuyInfo:function(){\n if(!my.model.input_receive_account()){\n galert(\"请选择收货账号!\");\n return false;\n } else if(!my.model.buyPrice()){\n galert(\"请输入购买单价!\");\n return false;\n } else if(!my.model.buyQuantity()){\n galert(\"请输入购买数量!\");\n return false;\n }else {\n return true;\n }\n },\n //确认信息浮层\n confirmInfo:function(type){ //type:sell:首次发布,edit编辑发布, reshelf重新上架\n // 查实名\n //判断是否实名\n //查询是否实名\n var query_params = {\n };\n $.ajax(\"/api/realName/getStatus\", {\n data: query_params,\n success: function (response) {\n if (response.return_code == 0) {\n if (response.data.realNameStatus == 0) {//未实名,弹提示浮层\n my.model.showRealName('realName');\n $('#modal-realname').modal();\n } else {\n var loginUserId = my.login.getLoginUserId();\n var checktype,\n action;\n if (type == 'sell'){\n checktype = my.model.checkSellInfo();\n action = function(){\n $(\"#modal-dianquan-sellinfo\").modal(\"show\"); \n }\n } else if (type == 'edit'){\n checktype = my.model.checkEditInfo();\n action = function(){\n $(\"#modal-dianquan-editinfo\").modal(\"show\");\n }\n } else if (type == 'reshelf'){\n checktype = my.model.checkReshelfInfo();\n action = function(){\n $(\"#modal-dianquan-reshelfinfo\").modal(\"show\");\n }\n }\n if(typeof (loginUserId) !=\"undefined\" && loginUserId != \"\"){\n if(checktype){ \n my.model.dianquannum(my.model.sellQuantity()*my.model.exchange_unit()); \n my.model.totaldianquannum(my.model.totalSellQuantity()*my.model.exchange_unit());\n action();\n my.model.getFeeMoney();\n }\n\n }else{\n\n }\n\n }\n } else {\n galert(response.return_message);\n }\n\n },\n error: function () {\n galert(\"您的网络不给力,请检查网络!\");\n }\n }); \n },\n //发布上架\n onShelf:function(){\n var params = {\n 'auto_fill_cfg':my.model.auto_fill_cfg(),\n 'ext_goods_type':my.model.goods_type(),\n 'game_id':my.model.game_id(),\n 'quantity':my.model.sellQuantity(),\n 'base_price':my.model.sellPrice(),\n 'p_sdid':my.model.p_sdid()\n };\n $.ajax( \"https://\" + location.hostname + \"/gatew/matchgw/dianquanonshelf.jsonp\",{\n //$.ajax( \"/gatew/matchgw/dianquanonshelf\",{\n data:params,\n async:false,\n type: \"GET\",\n dataType: 'jsonp',\n jsonp: 'jsonp',\n success: function(response){\n var data = response.data;\n if (response.return_code === 0) {\n $(\"#modal-dianquan-sellinfo\").modal(\"hide\");\n $(\"#modal-dianquan-editinfo\").modal(\"hide\");\n $(\"#modal-dianquan-reshelfinfo\").modal(\"hide\");\n $(\"#model-dianquan-onshelf\").modal(\"show\"); \n } else if (response.return_code == -10386133){ //要验短信\n $(\"#modal-dianquan-sellinfo\").modal(\"hide\");\n $(\"#modal-dianquan-editinfo\").modal(\"hide\");\n $(\"#modal-dianquan-reshelfinfo\").modal(\"hide\");\n my.model.getMegCode();\n my.model.sendSmsCallback = 'onshelf';\n }else if(response.return_code == -10289503 || response.return_code == -10242500 || response.return_code == -1024501 || response.return_code == -1024624){\n $(\".modal\").modal(\"hide\");\n $(\"#modal-real-info-tips\").modal(\"show\");\n } else if (response.return_code == -10311001){\n $(\".modal\").modal(\"hide\");\n $(\"#modal-saleup\").modal(\"show\");\n } else {\n galert(response.return_message);\n }\n\n }\n });\n },\n contackKF:function (){\n var callbackAfterLogin = function(){\n var supportCallback = function(){\n my.pageInf.gotoGchat('cs');\n }\n var unsupportCallback = function(){\n $('.modal').modal('hide');\n $('#tips_contackKF').modal('show');\n }\n strhelp.checkIESupport(supportCallback,unsupportCallback);\n }\n login.checkLoginStatusWithShownLoginPage(callbackAfterLogin);\n },\n //出售页面输入框检查\n checkSellInfo:function(){\n if(!my.model.input_sell_account()){\n galert(\"请选择出货账号!\");\n return false;\n } else if(!my.model.sellPrice()){\n galert(\"请输入出售单价!\");\n return false;\n } else if(!my.model.sellQuantity()){\n galert(\"请输入出售数量!\");\n return false;\n } else {\n return true;\n }\n },\n //编辑页面输入框检查\n checkEditInfo:function(){\n if(!my.model.sellPrice()){\n galert(\"请输入出售单价!\");\n return false;\n } else {\n return true;\n }\n },\n //编辑页面输入框检查\n checkReshelfInfo:function(){\n if(!my.model.sellPrice()){\n galert(\"请输入出售单价!\");\n return false;\n } else if(!my.model.sellQuantity()){\n galert(\"请输入库存!\");\n return false;\n } else {\n return true;\n }\n },\n //编辑发布,重新上架也是这个接口,但是重新上架有短信风控\n edit:function(){\n var params = {\n 'auto_fill_cfg':my.model.auto_fill_cfg(),\n 'ext_goods_type':my.model.goods_type(),\n 'game_id':my.model.game_id(),\n 'quantity':my.model.sellQuantity(),\n 'base_price':my.model.sellPrice(),\n 'book_id':my.model.book_id()\n };\n $.ajax( \"https://\" + location.hostname + \"/gatew/matchgw/dianquanedit.jsonp\",{\n //$.ajax( \"/gatew/matchgw/dianquanedit\",{\n data:params,\n async:false,\n type: \"GET\",\n dataType: 'jsonp',\n jsonp: 'jsonp',\n success: function(response){\n var data = response.data;\n if (response.return_code === 0) {\n $(\"#modal-dianquan-sellinfo\").modal(\"hide\");\n $(\"#modal-dianquan-editinfo\").modal(\"hide\");\n $(\"#modal-dianquan-reshelfinfo\").modal(\"hide\");\n $(\"#model-dianquan-onshelf\").modal(\"show\"); \n } else if (response.return_code == -10386133){ //要验短信\n $(\"#modal-dianquan-sellinfo\").modal(\"hide\");\n $(\"#modal-dianquan-editinfo\").modal(\"hide\");\n $(\"#modal-dianquan-reshelfinfo\").modal(\"hide\");\n my.model.getMegCode();\n my.model.sendSmsCallback = 'reshelf';\n }else if(response.return_code == -10289503 || response.return_code == -10242500 || response.return_code == -1024501 || response.return_code == -1024624){\n $(\".modal\").modal(\"hide\");\n $(\"#modal-real-info-tips\").modal(\"show\");\n } else if (response.return_code == -10311001){\n $(\".modal\").modal(\"hide\");\n $(\"#modal-saleup\").modal(\"show\");\n } else {\n galert(response.return_message);\n }\n\n }\n });\n },\n backhome:function(){\n my.pageInf.goHome();\n },\n lookgood:function(){\n my.pageInf.mypublish();\n },\n //获取当前游戏点券兑换汇率\n getBaseQuantity:function(){\n var baseQuantity = game.getExchangeRate(my.model.game_id()); \n my.model.base_quantity(baseQuantity); \n if(my.model.game_id() == 991002359 && my.model.goods_type() == '90003'){\n my.model.exchange_unit(1);\n my.model.exchange_name('专用元宝');\n } else if(my.model.game_id() == 991002670 && my.model.goods_type() == '90004'){\n my.model.exchange_unit(1);\n my.model.exchange_name('专用元宝');\n } else if(my.model.game_id() == 78 && my.model.goods_type() == 90002){\n my.model.exchange_unit(1);\n my.model.exchange_name('守护点');\n } else if(my.model.exchange_name() == '元宝'){\n my.model.exchange_unit(1);\n } else {\n my.model.exchange_unit(baseQuantity); \n } \n },\n //获取当前商品类型\n getDianQuanName:function(){\n var dianquanName = game.getDianquanName(my.model.game_id());\n my.model.exchange_name(dianquanName);\n my.model.getBaseQuantity();\n },\n //获取游戏名\n getGameName:function(gameid){\n var gameName = game.getGameByGameId(gameid)['game_name'];\n my.model.gameName(gameName);\n },\n //弹出短信验证的框\n getMegCode: function () {\n var self = this;\n if (!my.model.sendPhone()){\n my.model.getMyUserInfo();\n }\n var loginUserId = my.login.getLoginUserId();\n if(typeof (loginUserId) !=\"undefined\" && loginUserId != \"\"){\n $(\"#modal-dianquan-sms\").modal(\"show\");\n return;\n }\n },\n //发送短信验证码\n sendSms: function () {\n var self = this;\n var count = 60;\n var query_params = {\n type: \"getAccountList\"\n };\n // $.ajax(\"/gmmweb/MyGW/sendSMS\", {\n $.ajax(\"/gatew/userapi/sendSMS\", {\n data: query_params,\n success: function (response) {\n if (response.return_code == 0) {\n my.model.smsContext(response.data.context);\n var tm = setInterval(function () {\n count--;\n if (count >= 0) {\n $('.group-all-codewd').attr('disabled', \"true\");\n $('.group-all-codewd').html('剩余' + count + '秒');\n }\n if (count === 0) {\n clearInterval(tm);\n $('.group-all-codewd').removeAttr(\"disabled\");\n $('.group-all-codewd').html('重新发送');\n\n }\n }, 1000);\n } else {\n my.galert(response.return_message || \"重发短信失败\");\n $('.group-all-codewd').removeAttr(\"disabled\");\n $('.group-all-codewd').html('发送验证码');\n clearInterval(tm);\n }\n }\n });\n },\n //短信验证码的验证\n verifySms: function (sendSmsCallback) {\n var self = this;\n var verifyCode = my.model.verifyCode();\n // if(!my.model.smsContext()){\n // galert(\"请先发送验证码!\");\n // return;\n // }\n if(!verifyCode){\n galert(\"请输入验证码!\");\n return;\n }\n var type = '';\n if (sendSmsCallback == 'onshelf'){\n type = 'dianquanonshelf';\n } else if (sendSmsCallback == 'reshelf'){\n type = 'dianquanedit';\n } else if (sendSmsCallback == 'getAccountList'){\n type = 'getAccountList';\n }\n var query_params = {\n verifyCode: verifyCode,\n type:type,\n smsContext:my.model.smsContext()\n };\n console.log(my.model.smsContext());\n if (sendSmsCallback == 'onshelf'){\n $.ajax(\"/gmmweb/mycfggw/dianquanonshelfSMS\", {\n data: query_params,\n success: function (response) {\n console.log(response);\n if (response.return_code == 0) { \n $(\"#modal-dianquan-sellinfo\").modal(\"hide\");\n $(\"#modal-dianquan-editinfo\").modal(\"hide\");\n $(\"#modal-dianquan-reshelfinfo\").modal(\"hide\");\n $(\"#model-dianquan-onshelf\").modal(\"show\"); \n } else {\n galert(response.return_message);\n }\n\n },\n error: function () {\n galert(\"您的网络不给力,请检查网络!\");\n }\n });\n } else if (sendSmsCallback == 'reshelf'){\n $.ajax(\"/gmmweb/mycfggw/dianquaneditSMS\", {\n data: query_params,\n success: function (response) {\n console.log(response);\n if (response.return_code == 0) { \n $(\"#modal-dianquan-sellinfo\").modal(\"hide\");\n $(\"#modal-dianquan-editinfo\").modal(\"hide\");\n $(\"#modal-dianquan-reshelfinfo\").modal(\"hide\");\n $(\"#model-dianquan-onshelf\").modal(\"show\"); \n } else {\n galert(response.return_message);\n }\n\n },\n error: function () {\n galert(\"您的网络不给力,请检查网络!\");\n }\n });\n } else if (sendSmsCallback == 'getAccountList'){\n // $.ajax(\"/gmmweb/mycfggw/getAccountListVerifySMS\", {\n $.ajax(\"/gatew/mycfggw/getAccountListVerifySMS\", {\n data: query_params,\n success: function (response) {\n console.log(response);\n if (response.return_code == 0) {\n if (my.model.currentTab() == 'buy'){\n matchtrade_data.selectBuyAccount.parse(response, my.model);\n my.model.getHisAccountList();\n } else if (my.model.currentTab() == 'sell') {\n matchtrade_data.selectSellAccount.parse(response, my.model);\n } \n $('.dropdown-menu-right').show();\n $(\"#modal-dianquan-sms\").modal(\"hide\");\n $(\".modal-backdrop.fade.in\").remove();\n } else {\n galert(response.return_message);\n }\n\n },\n error: function () {\n galert(\"您的网络不给力,请检查网络!\");\n }\n });\n }\n \n\n },\n //获取账号列表\n getAccountList: function (p_sdid) {\n var self = this;\n var query_params = {\n game_id: my.model.game_id(),\n ext_goods_type: my.model.goods_type()\n };\n if ( (my.model.currentTab() == 'buy' && my.model.accountBuyList().length == 0) || (my.model.currentTab() == 'sell' && my.model.accountList().length == 0) ) {\n $.ajax(\"/gatew/gmmMyCfgGw/getAccountList\", {\n data: query_params,\n success: function (response) {\n if (response.return_code == 0) {\n if (my.model.currentTab() == 'buy'){\n matchtrade_data.selectBuyAccount.parse(response, my.model);\n my.model.getHisAccountList();\n } else if (my.model.currentTab() == 'sell') {\n matchtrade_data.selectSellAccount.parse(response, my.model);\n }\n $(\"#modal-dianquan-sms\").modal(\"hide\");\n $('.dropdown-menu-right').show();\n if (p_sdid){\n $('.dropdown-menu-right li[p_sdid=\"' + p_sdid + '\"]').click()\n }\n } else if (response.return_code == -10386133){ //要验短信\n $('.dropdown-menu-right').hide();\n my.model.getMegCode();\n my.model.sendSmsCallback = 'getAccountList';\n } else {\n galert(response.return_message);\n }\n }\n });\n } else {\n $('.dropdown-menu-right').toggle();\n } \n },\n //获取历史买入账户\n getHisAccountList: function () {\n var self = this;\n $.ajax(\"/gatew/gmmMyGw/querytradesndaaccount\", {\n success: function (response) {\n console.log(response);\n if (response.return_code == 0) {\n matchtrade_data.getHisAccountList.parse(response, my.model);\n } else {\n galert(response.return_message);\n }\n }\n });\n\n\n },\n getMyUserInfo: function(){\n var self = this;\n $.ajax( \"/gatew/userapi/getMyUserInfo\",{\n success: function(response){\n var data = response.data;\n if (response.return_code === 0) {\n var phone = response.data.phone;\n var nickname = response.data.nick_name;\n var userphone = phone || nickname;\n //console.log(userphone);\n var start = userphone.substr(0,3);\n var end = userphone.substr(7,4);\n my.model.sendPhone(start+\"****\"+end);\n\n } else {\n galert(response.return_message);\n }\n }\n });\n },\n //买入价减\n buyPriceReduce:function(){\n if (parseFloat(my.model.buyPrice()) > parseFloat(my.model.minPrice()) ){\n my.model.buyPrice((parseFloat(my.model.buyPrice()) - 0.001).toFixed(3));\n } else {\n my.model.buyPrice(my.model.minPrice());\n } \n },\n //买入价加\n buyPriceAdd:function(){\n if (!my.model.buyPrice()){\n my.model.getRecommendPrice(0);\n } else { \n if (parseFloat(my.model.buyPrice()) >= parseFloat(my.model.maxPrice()) ){\n my.model.buyPrice(my.model.maxPrice())\n } else if (parseFloat(my.model.buyPrice()) < parseFloat(my.model.minPrice()) ){\n my.model.sellPrice(my.model.minPrice())\n } else {\n my.model.buyPrice((parseFloat(my.model.buyPrice() || 0) + 0.001).toFixed(3)); \n }\n } \n },\n //售出价减\n sellPriceReduce:function(){ \n if (my.model.p_sdid()){\n if (parseFloat(my.model.sellPrice()) > parseFloat(my.model.minPrice()) ){\n my.model.sellPrice((parseFloat(my.model.sellPrice()) - 0.001).toFixed(3));\n } else {\n my.model.sellPrice(my.model.minPrice());\n } \n } else {\n galert('请先选择出货账号');\n } \n },\n //售出价加\n sellPriceAdd:function(){\n if (my.model.p_sdid()){\n if (!my.model.sellPrice()){\n my.model.sellPrice(my.model.minPrice())\n } else { \n if (parseFloat(my.model.sellPrice()) >= parseFloat(my.model.maxPrice()) ){\n my.model.sellPrice(my.model.maxPrice())\n } else if (parseFloat(my.model.sellPrice()) < parseFloat(my.model.minPrice()) ){\n my.model.sellPrice(my.model.minPrice())\n } else {\n my.model.sellPrice((parseFloat(my.model.sellPrice()) + 0.001).toFixed(3));\n }\n } \n } else {\n galert('请先选择出货账号');\n } \n },\n \n //计算卖出总价\n getSellTotalPrice:function(sellQuantity,sellPrice){\n var price = (Math.round((sellQuantity || 0) * sellPrice *100)/100).toFixed(2);\n my.model.totalSellMoney(price); \n return price; \n },\n //切换买入卖出\n setTab:function(type){\n my.model.currentTab(type);\n if (type == 'buy'){\n my.model.getMatchSellList();\n } else {\n if (my.model.sellPrice()){\n my.model.getMatchBuyList();\n }\n }\n $(\".page-goods-matchtrade .dropdown-menu-right\").hide();\n },\n //取出售最低价\n getLatestVersion:function(){\n var dianquan_cfg;\n if (my.model.goods_type() == '90003'){\n dianquan_cfg = 'dianquan_cfg_256'; //专用元宝\n } else if (my.model.goods_type() == '90004'){\n dianquan_cfg = 'dianquan_cfg_58'; //传奇永恒归真版专用元宝\n } else {\n dianquan_cfg = 'dianquan_cfg'; //通用\n }\n // var params = {\n // 'type':dianquan_cfg\n // };\n var params = {\n params:JSON.stringify({\n type: dianquan_cfg\n })\n }\n if (my.model.game_id() == 991002359 && my.model.goods_type() == '90003'){ //单独某个特殊游戏如传奇永恒专用元宝最低价从gamelist取\n my.model.minPrice(game.getGameByGameId(991002359).ext_info.GoodsType_19_spec_256_minPrice);\n my.model.maxPrice(game.getGameByGameId(991002359).ext_info.GoodsType_19_spec_256_maxPrice);\n } else if (my.model.game_id() == 991002670 && my.model.goods_type() == '90004'){ //单独某个特殊游戏如传奇永恒专用元宝最低价从gamelist取\n my.model.minPrice(game.getGameByGameId(991002670).ext_info.GoodsType_19_spec_58_minPrice);\n my.model.maxPrice(game.getGameByGameId(991002670).ext_info.GoodsType_19_spec_58_maxPrice);\n } else {\n // $.ajax( \"/gmmweb/cfggw/getlatestversion\",{ //这个是全局价格\n $.ajax( \"/gmminf/accountapi/config?method=GetLatestVersion\",{ //这个是全局价格\n data:params,\n success: function(response){\n var data = response.data;\n if (response.return_code === 0) {\n matchtrade_data.latestVersion.parse(response, my.model); \n if (my.model.goods_type() == '90000' && my.model.game_id() == '4'){\n my.model.minPrice(my.model.minPrice116());\n my.model.maxPrice(my.model.maxPrice116());\n } else {\n my.model.minPrice(my.model.minPrice100());\n my.model.maxPrice(my.model.maxPrice100());\n } \n } else {\n galert(response.return_message);\n }\n\n }\n });\n }\n },\n //出售价格失去焦点时设置价格\n setSellPrice:function(){\n if (parseFloat(my.model.sellPrice()) <= parseFloat(my.model.minPrice()) ){\n my.model.sellPrice(my.model.minPrice());\n } else if (parseFloat(my.model.sellPrice()) >= parseFloat(my.model.maxPrice()) ){\n my.model.sellPrice(my.model.maxPrice());\n }\n },\n //购买价格失去焦点时设置价格\n setBuyPrice:function(){\n if (!my.model.buyPrice() || ( parseFloat(my.model.buyPrice()) <= parseFloat(my.model.minPrice()) ) ){\n my.model.buyPrice(my.model.minPrice());\n } else if (parseFloat(my.model.buyPrice()) >= parseFloat(my.model.maxPrice()) ){\n my.model.buyPrice(my.model.maxPrice());\n } \n },\n getEditInfo:function(){\n var self = this;\n var query_params = {\n 'ext_goods_type':my.model.goods_type(),\n 'game_id': my.model.game_id(),\n 'book_id': my.model.book_id()\n };\n $.ajax(\"/gatew/matchgw/dianquangeteditdata\", {\n data: query_params,\n success: function (response) {\n console.log(response);\n if (response.return_code == 0) {\n matchtrade_data.editInfo.parse(response, my.model);\n } else {\n galert(response.return_message);\n }\n }\n });\n },\n //刷新\n refresh:function(){\n if (my.model.curList() == 'buy'){\n my.model.getMatchBuyList();\n } else if (my.model.curList() == 'sell') {\n my.model.getMatchSellList();\n } else {\n my.model.getMatchList();\n }\n \n },\n getTotalSellQuantity:function(sellQuantity,ttl_qty){\n var total;\n var sellQuantity = parseInt(sellQuantity) || 0;\n var ttl_qty = parseInt(ttl_qty) || 0;\n total = sellQuantity + ttl_qty;\n my.model.totalSellQuantity(total);\n return total;\n },\n otherList:function(){ \n var html;\n if (my.model.goods_type() == 90003){//专用元宝\n html = '盛趣游戏点券' +\n '传奇永恒归真版专用元宝';\n } else if (my.model.goods_type() == 90004){//专用元宝\n html = '盛趣游戏点券' +\n '传奇永恒专用元宝';\n } else if (my.model.game_id() == 78 && my.model.goods_type() == 90002) {\n html = '盛趣游戏点券' +\n '传奇永恒专用元宝' +\n '传奇永恒归真版专用元宝';\n } else {\n html = '传奇永恒专用元宝' +\n '传奇永恒归真版专用元宝';\n }\n \n return html;\n },\n // checkPrice:function(data,e){\n // var t= e.currentTarget;\n // var nowPrice = $(t);\n // //console.log(nowPrice);\n // var pricelReg=/^\\d{1,7}\\.{0,1}\\d{0,3}$/;\n // var caseprice=nowPrice.val();\n // if(caseprice> 9999999){\n // nowPrice.val(9999999);\n // galert(\"价格输入过大!\");\n // }\n // if (nowPrice.val()!=\"\" && pricelReg.test(nowPrice.val())){\n // record.num=\"\"\n // record.num=nowPrice.val();\n // return true;\n // }else {\n // if(nowPrice.val()!=\"\"){\n // nowPrice.val(record.num);\n // ///galert(\"价格格式输入错误!\");\n // return false;\n // }else{\n // record.num=\"\"\n // return false;\n // }\n // }\n // },\n checkPrice:function(val,type){\n var pricelReg=/^\\d{1,7}\\.{0,1}\\d{0,3}$/;\n if(val > 9999999){\n galert(\"价格输入过大!\");\n return false;\n }\n if (val!=\"\" && pricelReg.test(val)){\n record.num=\"\"\n record.num=val;\n return true;\n }else {\n if(val!=\"\"){\n if (type == 'sell'){\n my.model.sellPrice(record.num); \n } else if (type == 'buy'){\n my.model.buyPrice(record.num); \n } \n return false;\n }else{\n record.num=\"\"\n return false;\n }\n }\n },\n checkQuantity:function(val,type){\n var pricelReg=/^[1-9]\\d*$/;\n if (val!=\"\" && pricelReg.test(val)){\n record_quantity.num=\"\"\n record_quantity.num=val;\n return true;\n }else {\n if(val!=\"\"){\n if (val.length > 1){\n if (type == 'sell'){\n my.model.sellQuantity(record_quantity.num); \n } else if (type == 'buy'){\n my.model.buyQuantity(record_quantity.num); \n }\n } else {\n if (type == 'sell'){\n my.model.sellQuantity(''); \n } else if (type == 'buy'){\n my.model.buyQuantity(''); \n }\n } \n return false;\n }else{\n record_quantity.num=\"\"\n return false;\n }\n }\n },\n //兔脚提示确定\n showTujiaoTips:function(){\n $(\"#modal-showTujiao\").modal('hide');\n my.model.confirmBuyInfo();\n }\n };\n\n my.model.buyPrice.subscribe(function(newValue) {\n if (newValue != record.num){\n if (newValue && my.model.checkPrice(newValue,'buy')){ \n my.model.changeBuyPrice(); \n } \n }\n });\n my.model.sellPrice.subscribe(function(newValue) {\n if (newValue != record.num){\n if (newValue && my.model.checkPrice(newValue,'sell')){ \n my.model.changeSellPrice(); \n } \n } \n });\n my.model.buyQuantity.subscribe(function(newValue) {\n if (newValue > 100000){\n my.model.buyQuantity(100000); \n } else {\n newValue && my.model.checkQuantity(newValue,'buy'); \n } \n });\n my.model.sellQuantity.subscribe(function(newValue) {\n newValue && my.model.checkQuantity(newValue,'sell'); \n });\n };\n\n this.bindEvent = function(){\n $(document).on(\"click\",\".page-goods-matchtrade .tab-pane-buy .dropdown-menu-right li.enabled\",function(){\n my.model.input_receive_account($(this).text());\n $(\".dropdown-menu-right\").hide();\n return false;\n });\n $(document).on(\"click\",\".page-goods-matchtrade .tab-pane-sell .dropdown-menu-right li.enabled\",function(){\n my.model.input_sell_account($(this).text());\n my.model.p_sdid($(this).attr('p_sdid'));\n $(\".dropdown-menu-right\").hide();\n return false;\n });\n $(document).on('click','.page-goods-matchtrade .auto_fill_cfg', function(event) {\n if($(this).is(':checked')) { \n my.model.auto_fill_cfg(0);\n } else {\n my.model.auto_fill_cfg(-1);\n }\n });\n $(document).ready(function(){\n var onLoadTime = new Date().getTime();\n var url = '/gate/logservice/collectDataLoadingLog';\n var e_page = location.pathname;\n var e_name = location.pathname;\n var e_href = location.href;\n var scr_w = window.screen.width;\n var scr_h = window.screen.height;\n var scr_dpi = window.devicePixelRatio;\n var e_dur = onLoadTime - e_time;\n var params = {\n e_time: e_time,\n user_agent: navigator.userAgent,\n e_page: e_page,\n scr_w: scr_w, \n scr_h: scr_h,\n scr_dpi: scr_dpi,\n e_href: e_href,\n e_type: 'onload',\n e_name: e_name,\n e_dur:e_dur\n }\n $.ajax(url,{\n data:params,\n noNeedBlock:true,\n success: function(response){\n\n }\n });\n })\n };\n\n //定义入口函数\n this.entry = function(){\n var goods_type = parseInt(strhelp.urlParamName('goodType'));\n var game_id = parseInt(strhelp.urlParamName('gameId'));\n var book_id = strhelp.urlParamName('bookId');\n var ope = strhelp.urlParamName('ope');\n var show_name = strhelp.urlParamName('show_name');\n var sdid = strhelp.urlParamName('sdid');\n var ext_info = game.getGameByGameId(game_id).ext_info;\n if (ext_info && ext_info.dianquan_base_quantity == 116){//热血传奇元宝汇率不一样,先跳到通用点券\n // if ((game_id == 4 || game_id == 183) && goods_type == 90000){ //热血传奇元宝汇率不一样,先跳到通用点券\n my.pageInf.gotoMatchTrade(791000218,90000,sdid);\n }\n my.model.game_id(game_id);\n my.model.book_id(book_id);\n my.model.goods_type(goods_type);\n my.model.getMatchList();\n my.model.getGameName(game_id);//取游戏名字\n my.model.getDianQuanName();\n my.model.getLatestVersion();\n strhelp.reportGmm('unhead');\n if (ope == 'edit'){\n $('#buysell-panel').hide();\n $('#reshelf-panel').hide();\n $('#edit-panel').show();\n my.model.getEditInfo();\n } else if (ope == 'reshelf'){\n $('#buysell-panel').hide();\n $('#edit-panel').hide();\n $('#reshelf-panel').show();\n my.model.getEditInfo();\n } else {\n $('#reshelf-panel').hide();\n $('#edit-panel').hide(); \n $('#buysell-panel').show();\n }\n if (sdid){\n $(\"#buysell-panel li.buy\").removeClass('active');\n $(\"#buysell-panel li.sell\").addClass('active');\n $(\".tab-content #buy\").removeClass('active');\n $(\".tab-content #sell\").addClass('active');\n my.model.p_sdid(sdid);\n my.model.getAccountList(sdid);\n my.model.currentTab('sell');\n }\n\n };\n })\n\n})\n"],"names":["define","pcbase","ko","galert","matchtrade_data","strhelp","game","captcha","api","login","extend","my","this","record","num","record_quantity","firstLoad","e_time","Date","getTime","init","needLogin","pageSelector","model","observable","showRealName","sendSmsCallback","matchTitle","gameName","buyPrice","sellPrice","goods_type","dianquannum","totaldianquannum","game_id","book_id","buyQuantity","sellQuantity","totalSellQuantity","baseBuyMoney","totalBuyMoney","totalSellMoney","feeMoney","list","observableArray","verifyCode","sendPhone","input_receive_account","input_sell_account","smsContext","accountBuyList","accountList","accountListEnable","accountListDisable","trade_account_list","p_sdid","base_quantity","exchange_unit","exchange_name","goods_name","order_id","currentTab","minPrice","minPrice100","minPrice116","maxPrice","maxPrice100","maxPrice116","auto_fill_cfg","default_auto_fill_cfg","curList","account","balance_text","base_price","lock_qty","sold_qty","ttl_qty","remain_qty","payPrice","ticket_available","name","discount","ticketSortName","ticket_price","minamountToUseCoupon","minamount","auto_fill_cfg_list","key","text","realKey","changeAutoFillCfg","newKey","sellPricePlaceholder","txt","changeSellPrice","getMatchBuyList","changeBuyPrice","getMatchSellList","getGoodsList","gameId","goodType","areaId","groupId","keyword","refer","gameOs","operatorId","tradeMode","getGoodsListUrl","getBasePrice","price","Math","round","Number","toFixed","getGoodsTicket","getBuyTotalPrice","ticketPrice","selProp","data","e","t","currentTarget","$","attr","ajax","type","url","method","params","JSON","stringify","amount","success","resp","return_code","available","notAvailable","firstCouponRisk","discountNum","length","i","goods_types_array","itemTypes","split","flag","j","gameAppIds","minAmount","return_message","error","changeAutoFillTicket","newText","item","ext_goods_type","noNeedBlock","response","matchBuyList","parse","getFeeMoney","ope","urlParamName","parseInt","getFeePrice","matchSellList","changeBuyQuantity","getRecommendPrice","getMatchList","matchList","selling_list","currency_id","quantity","recommendPrice","confirmBuyInfo","getMyUserInfo","loginUserId","getLoginUserId","checkBuyInfo","modal","closeCaptcha","succCaptcha","sessionKey","confirmBuy","beforConfirmBuy","object_id","memo","goods_type_9","need_flag","b_account","buyInfo","gbao_url","pageInf","routeToPay","closeRealName","window","open","showConfirm","query_params","realName","getStatus","realNameStatus","confirmInfo","checktype","action","checkSellInfo","checkEditInfo","checkReshelfInfo","onShelf","location","hostname","async","dataType","jsonp","getMegCode","contackKF","callbackAfterLogin","supportCallback","gotoGchat","unsupportCallback","checkIESupport","checkLoginStatusWithShownLoginPage","edit","backhome","goHome","lookgood","mypublish","getBaseQuantity","baseQuantity","getExchangeRate","getDianQuanName","dianquanName","getDianquanName","getGameName","gameid","getGameByGameId","sendSms","count","context","tm","setInterval","html","clearInterval","removeAttr","verifySms","selectBuyAccount","getHisAccountList","selectSellAccount","show","remove","getAccountList","click","hide","toggle","phone","nickname","nick_name","userphone","start","substr","end","buyPriceReduce","parseFloat","buyPriceAdd","sellPriceReduce","sellPriceAdd","getSellTotalPrice","setTab","getLatestVersion","dianquan_cfg","ext_info","GoodsType_19_spec_256_minPrice","GoodsType_19_spec_256_maxPrice","GoodsType_19_spec_58_minPrice","GoodsType_19_spec_58_maxPrice","latestVersion","setSellPrice","setBuyPrice","getEditInfo","editInfo","refresh","getTotalSellQuantity","total","otherList","checkPrice","val","pricelReg","test","checkQuantity","showTujiaoTips","subscribe","newValue","bindEvent","document","on","is","ready","onLoadTime","e_page","pathname","e_name","e_href","href","scr_w","screen","width","scr_h","height","scr_dpi","devicePixelRatio","e_dur","user_agent","navigator","userAgent","e_type","entry","sdid","dianquan_base_quantity","gotoMatchTrade","reportGmm","removeClass","addClass"],"mappings":"AAGCA,QAAQ,SAAS,KAAK,SAAS,2BAA2B,UAAU,OAAO,UAAU,MAAM,SAAS,SAAUC,EAAOC,EAAGC,EAAOC,EAAgBC,EAAQC,EAAKC,EAAQC,EAAIC,GACrK,MAAOR,GAAOS,OAAO,WACjB,YAEA,IAAIC,GAAKC,KACLC,GAAQC,IAAI,IACZC,GAAiBD,IAAI,IACrBE,EAAY,EACZC,GAAS,GAAIC,OAAOC,SACxBP,MAAKQ,KAAO,WACRR,KAAKS,WAAW,EAChBT,KAAKU,aAAe,yBACpBV,KAAKW,OACDhB,QAAQL,EAAGsB,YAAW,GACtBC,aAAavB,EAAGsB,WAAW,YAC3BE,gBAAgB,GAChBC,WAAWzB,EAAGsB,WAAW,UACzBI,SAAS1B,EAAGsB,aACZK,SAAU3B,EAAGsB,aACbM,UAAW5B,EAAGsB,aACdO,WAAY7B,EAAGsB,aACfQ,YAAY9B,EAAGsB,WAAW,IAC1BS,iBAAiB/B,EAAGsB,WAAW,IAC/BU,QAAShC,EAAGsB,aACZW,QAASjC,EAAGsB,aACZY,YAAalC,EAAGsB,WAAW,GAC3Ba,aAAcnC,EAAGsB,WAAW,GAC5Bc,kBAAmBpC,EAAGsB,aACtBe,aAAarC,EAAGsB,WAAW,KAC3BgB,cAActC,EA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