1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-my-region"],{"0143":function(t,e,i){"use strict";i.r(e);var a=i("b4a1"),n=i("aeab");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("5d00");var s=i("f0c5"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"4168727e",null,!1,a["a"],void 0);e["default"]=r.exports},"094e":function(t,e,i){"use strict";var a=i("9e2b"),n=i.n(a);n.a},"0d511":function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("c975");var a={name:"bar-title",props:{bgColor:{type:String,default:""},isBack:{type:Boolean,default:!0},backText:{type:String,default:""},fixed:{type:Boolean,default:!0},shadow:{type:Boolean,default:!1},title:{type:String,default:""}},data:function(){return{isWechatBrowser:!1}},methods:{BackPage:function(){uni.navigateBack()},leftTap:function(){this.$emit("leftTap")},contentTap:function(){this.$emit("contentTap")},rightTap:function(){this.$emit("rightTap")}},created:function(){uni.setNavigationBarTitle({title:this.title}),this.isWechatBrowser=navigator.userAgent.toLocaleLowerCase().indexOf("micromessenger")>0}};e.default=a},4821:function(t,e,i){"use strict";i("7a82");var a=i("ee27").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("ac1f"),i("e25e");var n=a(i("713c")),o=a(i("b27f")),s={components:{barTitle:n.default},data:function(){return{StatusBar:this.StatusBar,CustomBar:this.CustomBar,hidden:!0,listCurID:"",list:[],listCur:""}},onLoad:function(){for(var t=[{}],e=0;e<26;e++)t[e]={},t[e].name=String.fromCharCode(65+e);this.list=t,this.listCur=t[0]},onReady:function(){var t=this;o.default.setBarColor(!0),uni.pageScrollTo({scrollTop:0,duration:0}),uni.createSelectorQuery().select(".indexBar-box").boundingClientRect((function(e){t.boxTop=e.top})).exec(),uni.createSelectorQuery().select(".indexes").boundingClientRect((function(e){t.barTop=e.top})).exec()},methods:{getCur:function(t){this.hidden=!1,this.listCur=this.list[t.target.id].name},setCur:function(t){this.hidden=!0,this.listCur=this.listCur},tMove:function(t){var e=t.touches[0].clientY,i=this.boxTop;if(e>i){var a=parseInt((e-i)/20);this.listCur=this.list[a].name}},tStart:function(){this.hidden=!1},tEnd:function(){this.hidden=!0,this.listCurID=this.listCur},indexSelect:function(t){for(var e=this.barHeight,i=this.list,a=Math.ceil(i.length*t.detail.y/e),n=0;n<i.length;n++)if(a<n+1)return this.listCur=i[n].name,this.movableY=20*n,!1}}};e.default=s},"559f":function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,'.indexes[data-v-4168727e]{position:relative}.indexBar[data-v-4168727e]{position:fixed;right:0;bottom:16%;padding:%?20?% %?20?% %?20?% %?60?%;display:flex;align-items:center}.indexBar .indexBar-box[data-v-4168727e]{width:%?40?%;height:auto;background:#fff;display:flex;flex-direction:column;box-shadow:0 0 %?20?% rgba(0,0,0,.1);border-radius:%?10?%}.indexBar-item[data-v-4168727e]{flex:1;width:%?40?%;height:%?40?%;display:flex;align-items:center;justify-content:center;font-size:%?24?%;color:#888}uni-movable-view.indexBar-item[data-v-4168727e]{width:%?40?%;height:%?40?%;z-index:9;position:relative}uni-movable-view.indexBar-item[data-v-4168727e]::before{content:"";display:block;position:absolute;left:0;top:%?10?%;height:%?20?%;width:%?4?%;background-color:#f37b1d}.indexToast[data-v-4168727e]{position:fixed;top:0;right:%?80?%;bottom:0;background:rgba(0,0,0,.5);width:%?100?%;height:%?100?%;border-radius:%?10?%;margin:auto;color:#fff;line-height:%?100?%;text-align:center;font-size:%?48?%}',""]),t.exports=e},5606:function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,".zaiui-bar-title-box .cu-bar[data-v-095caefc]{padding-top:0;min-height:calc(0px + %?101?%)}.zaiui-bar-title-box .cu-bar .content[data-v-095caefc]{top:0}.zaiui-bar-title-box .cu-bar .content .cu-tag[data-v-095caefc]{position:relative;top:%?-2.72?%;padding:0 %?5.45?%}.zaiui-bar-title-box .cu-bar .content .cu-tag uni-text[data-v-095caefc]{position:relative;top:%?2?%}.zaiui-bar-title-box .cu-bar.fixed.no-shadow[data-v-095caefc]{box-shadow:inherit}.zaiui-bar-title-box .cu-bar.bg-white[data-v-095caefc]{color:#333}.zaiui-bar-title-box .zaiui-seat-height[data-v-095caefc]{width:100%;height:calc(0px + %?101?%)}",""]),t.exports=e},"5d00":function(t,e,i){"use strict";var a=i("b92a"),n=i.n(a);n.a},"713c":function(t,e,i){"use strict";i.r(e);var a=i("ede5"),n=i("df75a");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("094e");var s=i("f0c5"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"095caefc",null,!1,a["a"],void 0);e["default"]=r.exports},"9e2b":function(t,e,i){var a=i("5606");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("38d2a49e",a,!0,{sourceMap:!1,shadowMode:!1})},aeab:function(t,e,i){"use strict";i.r(e);var a=i("4821"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},b27f:function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("a9e3"),i("d401"),i("d3b7"),i("25f0"),i("e25e"),i("c975"),i("ac1f"),i("5319");var a={strLeng:function(t){if(t){for(var e=t.length,i=0,a=0;a<e;a++)t.charCodeAt(a)>128?i+=2:i+=1;return i}return 0},getPageNum:function(t,e){var i=Number(t)/Number(e);if(i%1!==0){var a=i.toString(),n=parseInt(a.substring(0,a.indexOf("."))),o=a.replace(/\d+\.(\d*)/,"$1");o>0&&(i=n+1)}return i},setBarColor:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];t?uni.setNavigationBarColor({frontColor:"#000000",backgroundColor:"#FAFAFA"}):uni.setNavigationBarColor({frontColor:"#ffffff",backgroundColor:"#FAFAFA"})},zaiui_log:function(t){}},n=a;e.default=n},b4a1:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[i("bar-title",{attrs:{bgColor:"bg-white",isBack:!0}},[i("template",{attrs:{slot:"content"},slot:"content"},[t._v("地区")])],2),i("v-uni-view",{staticClass:"padding"},[t._v("当前位置")]),i("v-uni-view",{staticClass:"cu-list menu"},[i("v-uni-view",{staticClass:"cu-item"},[i("v-uni-view",{staticClass:"content"},[i("v-uni-text",{staticClass:"cuIcon-location text-red"}),i("v-uni-text",{staticClass:"text-black"},[t._v("重庆")])],1)],1)],1),i("v-uni-scroll-view",{staticClass:"indexes",style:[{height:"calc(100vh - "+t.CustomBar+"px - 50px)"}],attrs:{"scroll-y":!0,"scroll-into-view":"indexes-"+t.listCurID,"scroll-with-animation":!0,"enable-back-to-top":!0}},[t._l(t.list,(function(e,a){return[i("v-uni-view",{key:a+"_0",class:"indexItem-"+e.name,attrs:{id:"indexes-"+e.name,"data-index":e.name}},[i("v-uni-view",{staticClass:"padding"},[t._v(t._s(e.name))]),i("v-uni-view",{staticClass:"cu-list menu"},t._l(2,(function(a,n){return i("v-uni-view",{key:n,staticClass:"cu-item"},[i("v-uni-view",{staticClass:"content"},[i("v-uni-text",{staticClass:"text-black"},[t._v(t._s(e.name)+" "+t._s(t.list[n].name))])],1)],1)})),1)],1)]}))],2),i("v-uni-view",{staticClass:"indexBar",style:[{height:"calc(100vh - "+t.CustomBar+"px - 50px)"}]},[i("v-uni-view",{staticClass:"indexBar-box",on:{touchstart:function(e){arguments[0]=e=t.$handleEvent(e),t.tStart.apply(void 0,arguments)},touchend:function(e){arguments[0]=e=t.$handleEvent(e),t.tEnd.apply(void 0,arguments)},touchmove:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.tMove.apply(void 0,arguments)}}},t._l(t.list,(function(e,a){return i("v-uni-view",{key:a,staticClass:"indexBar-item",attrs:{id:a},on:{touchstart:function(e){arguments[0]=e=t.$handleEvent(e),t.getCur.apply(void 0,arguments)},touchend:function(e){arguments[0]=e=t.$handleEvent(e),t.setCur.apply(void 0,arguments)}}},[t._v(t._s(e.name))])})),1)],1),i("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:!t.hidden,expression:"!hidden"}],staticClass:"indexToast"},[t._v(t._s(t.listCur))])],1)},n=[]},b92a:function(t,e,i){var a=i("559f");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("24743b6c",a,!0,{sourceMap:!1,shadowMode:!1})},df75a:function(t,e,i){"use strict";i.r(e);var a=i("0d511"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},ede5:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"zaiui-bar-title-box",style:t.isWechatBrowser?"display: none;":""},[i("v-uni-view",{staticClass:"cu-bar",class:[t.fixed?"fixed":"",t.shadow?"":"no-shadow",t.bgColor]},[t.isBack?i("v-uni-view",{staticClass:"action",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.BackPage.apply(void 0,arguments)}}},[i("v-uni-text",{staticClass:"cuIcon-back"}),i("v-uni-text",[t._v(t._s(t.backText))])],1):t._e(),t.isBack?t._e():i("v-uni-view",{staticClass:"action",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.leftTap.apply(void 0,arguments)}}},[t._t("left")],2),i("v-uni-view",{staticClass:"content",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.contentTap.apply(void 0,arguments)}}},[t._t("content")],2),i("v-uni-view",{staticClass:"action",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.rightTap.apply(void 0,arguments)}}},[t._t("right")],2)],1),t.fixed?i("v-uni-view",{staticClass:"zaiui-seat-height"}):t._e()],1)},n=[]}}]);
|