连云港陪玩陪聊
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
chunwan/unpackage/dist/build/web/static/js/pages-index-citySearch.223c...

1 lines
8.6 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-citySearch"],{"1eec":function(t,i,n){var a=n("57a3");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var e=n("967d").default;e("6bd0c21c",a,!0,{sourceMap:!1,shadowMode:!1})},"32f7":function(t,i,n){"use strict";n("6a54"),Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var a={data:function(){return{isShow:!1,city:"",keyword:"",list:[],jingweiInfo:{}}},onLoad:function(t){this.city=decodeURIComponent(t.city),this.jingweiInfo=uni.getStorageSync("jingweiInfo")},methods:{clickTap:function(t){console.log(t),this.jingweiInfo.new_city=this.city,this.jingweiInfo.formatted=t.name,this.jingweiInfo.latitude=t.location.split(",")[1],this.jingweiInfo.longitude=t.location.split(",")[0],uni.setStorageSync("jingweiInfo",this.jingweiInfo),this.city="",this.keyword="",this.list=[],this.isShow=!1,uni.$emit("clickTap",t),uni.navigateBack({delta:1})},changeInput:function(t){var i=this;i.keyword=t.detail.value,console.log("https://restapi.amap.com/v3/assistant/inputtips?datatype=poi&citylimit=true&city="+i.city+"&key=4a6e2ba8eac3864f0d88f9b5abd026e6&keywords="+i.keyword),uni.request({url:"https://restapi.amap.com/v3/assistant/inputtips?datatype=poi&citylimit=true&city="+i.city+"&key=4a6e2ba8eac3864f0d88f9b5abd026e6&keywords="+i.keyword,success:function(t){console.log(t.data.tips),t.data.tips&&t.data.tips.length>0?(i.list=t.data.tips,i.isShow=!1,console.log(22233)):(i.list=[],i.isShow=!0,console.log(222))}})}}};i.default=a},"57a3":function(t,i,n){var a=n("c86c");i=a(!1),i.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.city[data-v-78ad558f]{min-height:100vh;background-color:#fff;padding:0 %?25?%;overflow:hidden}.city-hd[data-v-78ad558f]{margin-top:%?30?%;height:%?90?%;background:#f5f5f5;border-radius:%?90?%;border:1px solid #eaeaea;padding:0 %?30?%;box-sizing:border-box;display:flex;align-items:center}.city-hd .sousuo[data-v-78ad558f]{width:%?30?%;height:%?30?%;margin-right:%?15?%}.city-hd uni-input[data-v-78ad558f]{flex:1;font-weight:500;font-size:%?28?%;color:#222;height:%?90?%}.city-hd .clear[data-v-78ad558f]{width:%?45?%;height:%?45?%;margin-left:%?15?%}.city-bd[data-v-78ad558f]{padding:0 %?25?% %?25?%;overflow:hidden}.city-bd .list[data-v-78ad558f]{margin-top:%?20?%;overflow:hidden}.city-bd .list .item[data-v-78ad558f]{padding:%?15?% 0;font-size:%?28?%;color:#222}.city-bd .empty[data-v-78ad558f]{padding:%?150?% 0;text-align:center;font-weight:500;font-size:%?28?%;color:#222}.city-bd .empty uni-image[data-v-78ad558f]{display:block;width:%?460?%;height:%?400?%;margin:0 auto}',""]),t.exports=i},"7d86":function(t,i,n){t.exports=n.p+"static/empty.png"},"8ae9":function(t,i,n){"use strict";var a=n("1eec"),e=n.n(a);e.a},"93aa":function(t,i,n){"use strict";n.d(i,"b",(function(){return a})),n.d(i,"c",(function(){return e})),n.d(i,"a",(function(){}));var a=function(){var t=this,i=t.$createElement,a=t._self._c||i;return a("v-uni-view",{staticClass:"city"},[a("v-uni-view",{staticClass:"city-hd"},[a("v-uni-image",{staticClass:"sousuo",attrs:{src:n("f917")}}),a("v-uni-input",{attrs:{type:"search",value:t.keyword,placeholder:"请输入"},on:{input:function(i){arguments[0]=i=t.$handleEvent(i),t.changeInput.apply(void 0,arguments)}}}),a("v-uni-image",{staticClass:"clear",attrs:{src:n("c5d6")}})],1),a("v-uni-view",{staticClass:"city-bd"},[a("v-uni-view",{staticClass:"list"},t._l(t.list,(function(i,n){return a("v-uni-view",{key:n,staticClass:"item",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.clickTap(i)}}},[t._v(t._s(i.name))])})),1),t.isShow?a("v-uni-view",{staticClass:"empty"},[a("v-uni-image",{attrs:{src:n("7d86")}}),a("v-uni-view",{staticClass:"txt"},[t._v("暂无数据")])],1):t._e()],1)],1)},e=[]},c5d6:function(t,i){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAYAAAAehFoBAAAAAXNSR0IArs4c6QAABX5JREFUWEftmF1sFFUUx8+ZXUqrdqsiJqKRFsOHqVicc9cirR9EH0AEKg8mRoMR0KgxiomoiT5oookgifgRUEEwGKICiiEaGgNZ0IK0O3e21Qeh0SgmQiL4oI22U3fn2Gt2mmG7M3OnW0maeB/3nvM/vz1z77n3XIRxNnCc8cL/wP/1F6s4w5ZltSLiAgC4GQBmIWKtH5qZ+wDgGAAcYuZ2IURHJX9qVMBHjhypqaqqWoWIjyjImADHmHnj4ODglnnz5vXH9I2/hm3bXsLMrwPA1LjBSuxPIOJjpmnujaOjnWGV1YkTJ24AgAfjBNCwfcdxnNW62dYCtizrMgD4HBGv0wCIbcLMOQBYJIQ4FeUcCWxZ1iUAcBgRZ0SJVTLPzL0A0CKEOBOmEwrMzEnbttWubq4EJoZ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ZW1GxOENEyD+W0RWNZbpSBNm3iKEeKCccyBwZ2fnpEQicQwRVdd8zgYznykUCrOam5tVMkaMqCZ0ATPv02l/xuIfFfu9EZUhtEqUBpZSPgsAL44FkIbGc0T0UpidVv8upXwFAJ7UCFiJyXoiWhMloAWsRKSU6phdDwCBlSMqWMC8q5JBRK/q+GsDK7HiW/COoRbqSh1xDZufmfmeOG/GsYAVQEdHR21NTc0zxXeFlAZUOZM/AODN/v7+l1tbW9WDt/aIDewp27Y92XVdVaeXI6Luo/Z3zPy+YRhbTNM8rU3pMxw1sD9YNpudiYhzEXFO8SXo8uL8LwDwLTN3M/PRdDp9fDSQscpapQHG2n9MMjzWUBXX4XMJFBVr3GX4H10VH0sVn2XXAAAAAElFTkSuQmCC"},cc68:function(t,i,n){"use strict";n.r(i);var a=n("93aa"),e=n("cdda");for(var s in e)["default"].indexOf(s)<0&&function(t){n.d(i,t,(function(){return e[t]}))}(s);n("8ae9");var c=n("828b"),o=Object(c["a"])(e["default"],a["b"],a["c"],!1,null,"78ad558f",null,!1,a["a"],void 0);i["default"]=o.exports},cdda:function(t,i,n){"use strict";n.r(i);var a=n("32f7"),e=n.n(a);for(var s in a)["default"].indexOf(s)<0&&function(t){n.d(i,t,(function(){return a[t]}))}(s);i["default"]=e.a},f917:function(t,i){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAABABJREFUSEvFlltoHGUUx/9nJskmaalpIyLqiwGFYquFFtFqjIL1Xh/E2EIkLuzMt5tg8FZUqg99UVSsFyJJ9vtmSQQDrQ99qdQLgpZ6Q1qoWiwoqIgpIppi0U02yXzHOWE3bNKdTZqs7YGBndkz5zfnO1fCBRJaKtfzvPVEtJOIOgCsB9BafPcvACeZ+TAz7wuC4ORSbC4KTqVSG1zXfQXAXQDm9Jn5XwEQ0aoyEAP4IAzDp3O53IlqH1AVrJR6CsCL0dUA4DSAt621BycmJo6Ojo6eEcNdX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