1 line
14 KiB
JavaScript
1 line
14 KiB
JavaScript
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-goods_details_store-index"],{"0315":function(t,e,n){var o=n("24fb");e=o(!1),e.push([t.i,".geoPage[data-v-72b9ee3e]{position:fixed;width:100%;height:100%;top:0;z-index:10000}.storeBox[data-v-72b9ee3e]{width:100%;background-color:#fff;padding:0 %?30?%}.storeBox-box[data-v-72b9ee3e]{width:100%;height:auto;display:flex;align-items:center;padding:%?23?% 0;justify-content:space-between;border-bottom:1px solid #eee}.store-cent[data-v-72b9ee3e]{display:flex;align-items:center;width:80%}.store-cent-left[data-v-72b9ee3e]{width:45%}.store-img[data-v-72b9ee3e]{width:%?120?%;height:%?120?%;border-radius:%?6?%;margin-right:%?22?%}.store-img img[data-v-72b9ee3e]{width:100%;height:100%}.store-name[data-v-72b9ee3e]{color:#282828;font-size:%?30?%;margin-bottom:%?22?%;font-weight:800}.store-address[data-v-72b9ee3e]{color:#666;font-size:%?24?%}.store-phone[data-v-72b9ee3e]{width:%?50?%;height:%?50?%;color:#fff;border-radius:50%;display:block;text-align:center;line-height:%?50?%;background-color:#e83323;margin-bottom:%?22?%}.store-distance[data-v-72b9ee3e]{font-size:%?22?%;color:#e83323}.iconfont[data-v-72b9ee3e]{font-size:%?20?%}.row-right[data-v-72b9ee3e]{display:flex;flex-direction:column;align-items:flex-end;width:33.5%}",""]),t.exports=e},"28e0":function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.wgsToGcj=void 0;var o=n("5abc");e.wgsToGcj=function(t){try{var e=t,n=o.transformFromWGSToGCJ(t.latitude,t.longitude);return e.latitude=n.latitude,e.longitude=n.longitude,e}catch(n){return t}}},"31de":function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){}));var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{ref:"container",staticClass:"storeBox"},[t._l(t.storeList,(function(e,o){return n("div",{key:o,staticClass:"storeBox-box",on:{click:function(n){n.stopPropagation(),arguments[0]=n=t.$handleEvent(n),t.checked(e)}}},[n("div",{staticClass:"store-img"},[n("v-uni-image",{attrs:{src:e.image,"lazy-load":"true"}})],1),n("div",{staticClass:"store-cent-left"},[n("div",{staticClass:"store-name"},[t._v(t._s(e.name))]),n("div",{staticClass:"store-address line1"},[t._v(t._s(e.address)+t._s(", "+e.detailed_address))])]),n("div",{staticClass:"row-right"},[n("div",[n("a",{staticClass:"store-phone",attrs:{href:"tel:"+e.phone}},[n("span",{staticClass:"iconfont icon-dadianhua01"})])]),n("div",{staticClass:"store-distance",on:{click:function(n){n.stopPropagation(),arguments[0]=n=t.$handleEvent(n),t.showMaoLocation(e)}}},[e.range?n("span",{staticClass:"addressTxt"},[t._v("距离"+t._s(e.range)+"千米")]):n("span",{staticClass:"addressTxt"},[t._v("查看地图")]),n("span",{staticClass:"iconfont icon-youjian"})])])])})),n("Loading",{attrs:{loaded:t.loaded,loading:t.loading}})],2),n("div",[t.locationShow&&!t.isWeixin?n("iframe",{ref:"geoPage",staticStyle:{display:"none"},attrs:{width:"0",height:"0",frameborder:"0",scrolling:"no",src:"https://apis.map.qq.com/tools/geolocation?key="+t.mapKey+"&referer=myapp"}}):t._e()]),t.mapShow?n("div",{staticClass:"geoPage"},[n("iframe",{attrs:{width:"100%",height:"100%",frameborder:"0",scrolling:"no",src:"https://apis.map.qq.com/uri/v1/geocoder?coord="+t.system_store.latitude+","+t.system_store.longitude+"&referer="+t.mapKey}})]):t._e()])},r=[]},"5abc":function(t,e){function n(t,e){return e<72.004||e>137.8347||t<.8293||t>55.8271}function o(t,e){var o=.006693421622965943,r=6378245,a=3.141592653589793;if(n(t,e))t,e;else{var i=function(t,e){var n=3.141592653589793,o=2*t-100+3*e+.2*e*e+.1*t*e+.2*Math.sqrt(Math.abs(t));return o+=2*(20*Math.sin(6*t*n)+20*Math.sin(2*t*n))/3,o+=2*(20*Math.sin(e*n)+40*Math.sin(e/3*n))/3,o+=2*(160*Math.sin(e/12*n)+320*Math.sin(e*n/30))/3,o}(e-105,t-35),u=function(t,e){var n=3.141592653589793,o=300+t+2*e+.1*t*t+.1*t*e+.1*Math.sqrt(Math.abs(t));return o+=2*(20*Math.sin(6*t*n)+20*Math.sin(2*t*n))/3,o+=2*(20*Math.sin(t*n)+40*Math.sin(t/3*n))/3,o+=2*(150*Math.sin(t/12*n)+300*Math.sin(t/30*n))/3,o}(e-10
|