(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-live_list-index"],{"0c76":function(e,t,a){"use strict";a("7a82"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,a("99af");getApp();var i={data:function(){return{current:"",storecateList:[],dataList:[],cityName:"",navH:"",is_switch:!1,where:{cid:0,keyword:"",priceOrder:"",salesOrder:"",news:0,page:1,limit:10,latitude:"",longitude:""},price:0,stock:0,nows:!1,loadend:!1,loading:!1,bottommenulist:[],host_product:"",title:"",position:"",latitude:"",longitude:"",cid:""}},components:{},props:{},onLoad:function(e){this.current=this.$route.path,this.$request.post("Config.audit",{samkey:(new Date).valueOf()}).then((function(e){1!=e.data.is_submitaudit&&uni.setNavigationBarTitle({title:"直播"})})),this.get_data_list()},onShow:function(){},onPullDownRefresh:function(){this.where.page=1,this.loadend=!1,this.dataList=[],this.get_data_list(),uni.stopPullDownRefresh()},onReachBottom:function(){this.get_data_list()},methods:{onChangePosition:function(e){var t=this;uni.chooseLocation({success:function(e){t.cityName=e.name,uni.setStorageSync("cityName",t.cityName),t.position=e.address,t.where.latitude=e.latitude,t.where.longitude=e.longitude,t.loadend=!1,t.latitude=e.latitude,t.longitude=e.longitude,t.get_data_list(!0)}})},Changswitch:function(){this.is_switch=!this.is_switch},searchSubmit:function(e){this.where.keyword=e.detail.value,this.where.page=1,this.loadend=!1,this.get_data_list(!0)},set_where:function(e){this.cid=e.currentTarget.dataset.cid,this.loadend=!1,this.where.page=1,this.get_data_list(!0)},setWhere:function(){this.where.salesOrder="asc",this.cid&&(this.where.cid=this.cid)},get_data_list:function(e){var t=this;this.setWhere(),t.loadend||t.loading||(!0===e&&(t.dataList=[],t.where.page=1),t.$request.post("Liveroom.index",t.where).then((function(e){var a=e.data;console.log(a);var i=a.length