(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["circle-page-create-index"],{"1d69":function(t,e,i){"use strict";i("6a54");var o=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("dd2b"),i("aa9c");var n=i("e0a2"),a=i("3b14"),l=i("419c"),c=o(i("265b")),s=i("262c"),r=i("f9ce"),u=i("e0a2"),d={components:{VLineTitle:c.default},data:function(){return{icon:[u.staticUrl+"api/images/20250729/images_1753754616.png",u.staticUrl+"api/images/20250729/images_1753755030.png"],checkVideo:!1,choice_file_type:"image",cateid:"",content:"",action:"".concat(n.BASE_URL,"api/upload/image"),imgData:[],circleSelectData:["请选择","社交圈子","求职"],circleSelectIndex:0,imgNum:0,isSubmit:!0,image_lenth:0,open:!1,location:"",childList:[],classIdx:"",childId:"",videoObj:{video_url:"",video_cover:""},header:{uniacid:n.UNIACID},title:"",store:""}},onLoad:function(t){var e;this.title=null!==(e=null===t||void 0===t?void 0:t.title)&&void 0!==e?e:"提交动态内容",this.isSubmit=!0,t.id&&(this.cateid=t.id,this.getCircle())},onShow:function(){var t=this;uni.getStorageSync("updataStoreCircle")&&(this.store=uni.getStorageSync("updataStoreCircle"),console.log("updataStoreCircle",this.store),uni.removeStorageSync("updataStoreCircle")),(0,r.checkUserIsLogin)().then((function(){t.getOpentState()})).catch((function(){uni.showModal({title:"提示",content:"请先登录",showCancel:!1,success:function(){setTimeout((function(){uni.navigateTo({url:"/user-info-page/login/login?from=expireLogin"})}),500)}})}))},methods:{deleteVideo:function(){this.checkVideo=!1},uploadVideoSuccess:function(t){this.videoObj=t,this.imgData=[],this.image_lenth=0},getCircle:function(){var t=this,e=(0,s.getLocationInfoFromCache)(),i=e.lat,o=e.lng;(0,a.getCircleData)({lat:i||1,lng:o||1}).then((function(e){console.log(e.data.category,t.cateid);for(var i=e.data.category,o=0;o",e),console.log("详细地址:"+e.address),console.log("纬度:"+e.latitude),console.log("经度:"+e.longitude),t.location=e}})},seleStore:function(){uni.navigateTo({url:"/store-page/store-list/index?type=store"})},videoChange:function(){this.choice_file_type="video",this.checkVideo=!0},imgListChange:function(t){t.length