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.
1 lines
20 KiB
1 lines
20 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-search"],{"111a":function(t,e,a){var i=a("6272");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("967d").default;n("45dd9477",i,!0,{sourceMap:!1,shadowMode:!1})},1799:function(t,e,a){"use strict";a.r(e);var i=a("e217"),n=a.n(i);for(var s in i)["default"].indexOf(s)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(s);e["default"]=n.a},"1cd5":function(t,e,a){t.exports=a.p+"static/nv.png"},2074:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAABABJREFUSEvFlltoHGUUx/9nJskmaalpIyLqiwGFYquFFtFqjIL1Xh/E2EIkLuzMt5tg8FZUqg99UVSsFyJJ9vtmSQQDrQ99qdQLgpZ6Q1qoWiwoqIgpIppi0U02yXzHOWE3bNKdTZqs7YGBndkz5zfnO1fCBRJaKtfzvPVEtJOIOgCsB9BafPcvACeZ+TAz7wuC4ORSbC4KTqVSG1zXfQXAXQDm9Jn5XwEQ0aoyEAP4IAzDp3O53IlqH1AVrJR6CsCL0dUA4DSAt621BycmJo6Ojo6eEcNdXV1rmpqatjiOsx3AIwDWApiKrt1a671x8FiwUqofwKMALDO/mc/n95RgccbkI5qbm/cQ0WMAHABvaa37KulXBCuldgN4AUCemXcYY95bStxKOr7v30dE+wE0A3hOay2nNk/OAmcymeuttV9I+Ky124MgOHQu0JKu53n3OI5zEACHYbg1l8t9XW7nLLDv+58R0U3M/LIx5tnlQMs8f4mInmHmz40xN8eCPc+7wXGcL6PY/llXV3flwMDAPysB9/b2rp6Zmfk5ivXF1tobgyD4qmRvnsdKqdcBPA5gr9Z610qgpXeVUq8CkOp4Q2v9REVwlBRHiWiztfa2IAg+rQXY87xbHcf5hJmPRUm6Jc7jvwGsCcOwNZfLjdcCnEql1rmuK93tjNb6ojiwdB5oraUGZ3/XQEgpZYt250K7MMaTABIAVmmt8zWAQikltSzttaC1bozz+AcAVxHRpmw2+00twOl0+jpmPh511x+11lfHJdc7RNQVxePJKB6S4SsWpZRk8mvMPGqMeTgO/JC0Omb+1hizqQZxJt/3jxPRtcXW+25FcF9fX2JycvInIrpMZm82m5V+u2xJp9M7ZEYz86nGxsa2/v7+QkWwPPR934/AGsAf0QjcHATBb8she553RTQqjwG4JAIrY4wpt1NpOsnxvE9EdwI4MTU1tW1kZOT3c4Enk8lL6+vrPyaia5j5Q2PM3QvDVnEs9vT0rA3D8DCAjQB+ZeZuY4zcLypKqTuiyhiV/gzgO9d1OwYHB2WJmCexi0Cx4xwA0MHMHCXIAWbuN8YckeVggR3H9/12IuqLEvMBIhK78tr9cbO86urT2dnptrS07CKi5wGsLsLGpS6J6JTcM7MkolTAuuL/MtFkCt0OYHx6erp9eHj4+yV7XK7Y3d3dmkgkFICdcvxFj+ZUxDU5VgD7CoWCbmtrOz02NrafiB6UUDmOs3VoaGhsseSqGkcJgay3juPMrrfW2tn1duFQkdIsFAofAbil+FHt0ViUITQri663i2ZTFYVkMtnS0NAgObGBmQ8ZY+49L2CBZDKZy621Mtt/0VpvO2/guAP5X4+6WpguGPg/nXKXLugOm9EAAAAASUVORK5CYII="},"208a":function(t,e,a){var i=a("add6");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("967d").default;n("8e3e9d4e",i,!0,{sourceMap:!1,shadowMode:!1})},"2ec5":function(t,e,a){"use strict";t.exports=function(t,e){return e||(e={}),t=t&&t.__esModule?t.default:t,"string"!==typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t)}},"35a6":function(t,e,a){"use strict";a.r(e);var i=a("cb77"),n=a.n(i);for(var s in i)["default"].indexOf(s)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(s);e["default"]=n.a},5428:function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return s})),a.d(e,"a",(function(){return i}));var i={uPopup:a("a434").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"search"},[i("v-uni-view",{staticClass:"search-hd"},[i("v-uni-view",{staticClass:"a"},[i("v-uni-image",{attrs:{src:a("2074")}}),i("v-uni-input",{attrs:{type:"search",placeholder:"请输入名称搜索"}}),i("v-uni-view",{staticClass:"btn"},[t._v("搜索")])],1),i("v-uni-view",{staticClass:"b",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.openPage(1)}}},[i("v-uni-image",{attrs:{src:a("b501")}})],1)],1),i("v-uni-view",{staticClass:"search-bd"},[t._l(3,(function(e){return i("v-uni-view",{key:e,staticClass:"item"},[i("v-uni-view",{staticClass:"pic"},[i("v-uni-image",{attrs:{src:a("1cd5")}})],1),i("v-uni-view",{staticClass:"info"},[i("v-uni-view",{staticClass:"name"},[t._v("李哈哈"),i("v-uni-view",{staticClass:"vip"},[t._v("VIP1")])],1),i("v-uni-view",{staticClass:"desc"},[t._v("26岁/178cm")])],1),i("v-uni-view",{staticClass:"chat"},[i("v-uni-image",{attrs:{src:a("5b23")}}),t._v(t._s(1==t.type?"搭讪":"约玩"))],1)],1)})),i("v-uni-view",{staticClass:"empty"},[i("v-uni-image",{attrs:{src:a("9034")}}),i("v-uni-view",{staticClass:"txt"},[t._v("暂无数据")])],1)],2),i("unverified",{attrs:{isPopup:t.isPopup}}),i("insufficient",{attrs:{isCoins:t.isCoins}}),i("u-popup",{attrs:{mode:"center","border-radius":"20"},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[i("v-uni-view",{staticClass:"filter"},[i("v-uni-view",{staticClass:"title"},[t._v("筛选")]),i("v-uni-view",{staticClass:"content"},[i("v-uni-view",{staticClass:"a"},[i("v-uni-view",{staticClass:"fl"},[t._v("年龄")]),i("v-uni-view",{staticClass:"fr"},[t._v("18-80")])],1),i("v-uni-view",{staticClass:"b"},[i("sliderRange",{attrs:{value:t.rangeValue,min:18,max:80,step:1,"bar-height":3,"block-size":26,"background-color":"#EEEEF6","active-color":"#222222",decorationVisible:!1},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.handleRangeChange.apply(void 0,arguments)}}})],1)],1),i("v-uni-view",{staticClass:"btns"},[i("v-uni-view",{staticClass:"reset",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.openPage(1)}}},[t._v("重置")]),i("v-uni-view",{staticClass:"sure",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.openPage(2)}}},[t._v("确定")])],1)],1)],1)],1)},s=[]},"5b23":function(t,e,a){t.exports=a.p+"static/xin.png"},6272:function(t,e,a){var i=a("c86c");e=i(!1),e.push([t.i,'.slider-range[data-v-529cd5ca]{width:100%;position:relative;padding-top:%?40?%}.slider-range-inner[data-v-529cd5ca]{position:relative;width:100%}.slider-range.disabled .slider-bar-inner[data-v-529cd5ca]{opacity:.35}.slider-range.disabled .slider-handle-block[data-v-529cd5ca]{cursor:not-allowed}.slider-bar[data-v-529cd5ca]{position:absolute;top:50%;left:0;right:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.slider-bar-bg[data-v-529cd5ca]{position:absolute;width:100%;height:100%;border-radius:10000px;z-index:10}.slider-bar-inner[data-v-529cd5ca]{position:absolute;width:100%;height:100%;border-radius:10000px;z-index:11}.slider-handle-block[data-v-529cd5ca]{position:absolute;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);border-radius:50%;box-shadow:0 0 3px 2px rgba(227,229,241,.5);z-index:12;text-align:center;border:1px solid #ccc}.slider-handle-block.decoration[data-v-529cd5ca]::before{position:absolute;content:"";width:%?6?%;height:%?24?%;top:50%;left:29%;-webkit-transform:translateY(-50%);transform:translateY(-50%);background:#eeedf2;border-radius:%?3?%;z-index:13}.slider-handle-block.decoration[data-v-529cd5ca]::after{position:absolute;content:"";width:%?6?%;height:%?24?%;top:50%;right:29%;-webkit-transform:translateY(-50%);transform:translateY(-50%);background:#eeedf2;border-radius:%?3?%;z-index:13}.range-tip[data-v-529cd5ca]{position:absolute;top:0;font-size:%?24?%;color:#666;-webkit-transform:translate(-50%,-100%);transform:translate(-50%,-100%)}',""]),t.exports=e},9034:function(t,e,a){t.exports=a.p+"static/empty.png"},a5a3:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAAgCAYAAABO6BuSAAAAAXNSR0IArs4c6QAAAYdJREFUWEfl2L8rRlEcx/H3EyWLicySGGSRHxOLJP4BigWjZ/CfKIMFC+EfUJKFJJKBFKVklTJYGB5xPnVvnW73ec61ud9zxnvucF99vt9zv50K8EM5Vg34AF6AB+AcOAae//L5lRKB81wK6wLYAA6A7xC+7GDf9wisAkeN0JbAcirxbaAKfObBrYFT4w0wA7xm0VbBcqrEx4A3H20ZLOc1MO6Xt3Ww0FvAcppyDGAdZJPAidAxgNN+7td/Ohaw0AvAbkzgKzeUjMYEVi/3xARWWVcF/gJaQkO3kf19gTWJtBsBhRh3At8CA6E3jey/C7wHzBkBhRg1gVeA9dCbVvYF7gaekqnLiquuQ2CtS2DEvNZLdd4lvRMTuAm4dxdhfdbRaUnLOZFce/rPzPmzuE1gyZzSA2XBrcApMGQVnVe+HcCZ1X6u16+dLuVDYNBa0o0OKJW3JrBFS0NJkRN5ClgDei2kXQQsZ7O72J5N5u7hMideFOyHq9l7WvdDycHWBbQBGl7+/foFPqJBAQ/5N6kAAAAASUVORK5CYII="},add6:function(t,e,a){var i=a("c86c"),n=a("2ec5"),s=a("a5a3");e=i(!1);var r=n(s);e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.search .filter[data-v-382bcca5]{width:%?630?%;height:%?500?%}.search .filter .title[data-v-382bcca5]{padding:%?40?% 0 %?30?%;font-weight:500;font-size:%?36?%;color:#222;text-align:center;border-bottom:1px solid #eaeaea}.search .filter .content[data-v-382bcca5]{padding:%?40?%;overflow:hidden}.search .filter .content .a[data-v-382bcca5]{display:flex;align-items:center;font-weight:500;font-size:%?30?%;color:#222;justify-content:space-between}.search .filter .content .b[data-v-382bcca5]{width:100%;display:flex;align-items:center;font-weight:700;font-size:%?30?%;color:#222;justify-content:space-between;position:relative;margin-top:%?45?%}.search .filter .btns[data-v-382bcca5]{height:%?90?%;border-top:1px solid #eaeaea;display:flex;align-items:center}.search .filter .btns .reset[data-v-382bcca5]{flex:1;border-right:1px solid #eaeaea;text-align:center;font-size:%?30?%;color:#222;font-weight:500;text-align:center;line-height:%?90?%}.search .filter .btns .sure[data-v-382bcca5]{flex:1;text-align:center;font-size:%?30?%;color:#222;font-weight:500;text-align:center;line-height:%?90?%}.search-hd[data-v-382bcca5]{width:100%;height:%?110?%;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 %?20?%;box-sizing:border-box}.search-hd .a[data-v-382bcca5]{width:%?620?%;height:%?70?%;background:#f6f6f6;border-radius:%?70?%;border:1px solid #eaeaea;display:flex;align-items:center;padding-left:%?30?%;box-sizing:border-box}.search-hd .a uni-image[data-v-382bcca5]{width:%?30?%;height:%?30?%;margin-right:%?14?%}.search-hd .a uni-input[data-v-382bcca5]{height:%?50?%;line-height:%?50?%;font-weight:500;font-size:%?24?%;color:#212121;flex:1}.search-hd .a .btn[data-v-382bcca5]{width:%?100?%;line-height:%?60?%;background:linear-gradient(0deg,#000,#3d3b38);box-shadow:0 %?4?% %?18?% 0 rgba(42,41,39,.34);border-radius:%?60?%;text-align:center;font-weight:500;font-size:%?24?%;color:#fff}.search-hd .b[data-v-382bcca5]{flex:1;text-align:center}.search-hd .b uni-image[data-v-382bcca5]{width:%?44?%;height:%?44?%}.search-bd[data-v-382bcca5]{padding:0 %?25?% %?25?%;overflow:hidden}.search-bd .empty[data-v-382bcca5]{padding:%?150?% 0;text-align:center;font-weight:500;font-size:%?28?%;color:#222}.search-bd .empty uni-image[data-v-382bcca5]{display:block;width:%?460?%;height:%?400?%;margin:0 auto}.search-bd .item[data-v-382bcca5]{width:100%;height:%?200?%;background:#fff;box-shadow:0 %?4?% %?10?% 0 rgba(0,0,0,.06);border-radius:%?20?%;padding:%?30?%;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;margin-top:%?20?%}.search-bd .item .pic[data-v-382bcca5]{width:%?140?%;height:%?140?%;border-radius:%?10?%;overflow:hidden;margin-right:%?20?%}.search-bd .item .pic uni-image[data-v-382bcca5]{width:100%;height:100%}.search-bd .item .info[data-v-382bcca5]{flex:1}.search-bd .item .info .name[data-v-382bcca5]{font-weight:500;font-size:%?32?%;color:#222;display:flex;align-items:center}.search-bd .item .info .name .vip[data-v-382bcca5]{width:%?60?%;line-height:%?32?%;background:url('+r+") top no-repeat;background-size:contain;text-align:center;font-weight:500;font-size:%?20?%;color:#fff;overflow:hidden;margin-left:%?20?%}.search-bd .item .info .desc[data-v-382bcca5]{width:%?180?%;line-height:%?40?%;background:#f2f2f2;border-radius:%?40?%;font-weight:500;font-size:%?24?%;color:#000;text-align:center;margin-top:%?20?%}.search-bd .item .chat[data-v-382bcca5]{width:%?150?%;height:%?90?%;background:linear-gradient(0deg,#000,#3d3b38);box-shadow:0 %?4?% %?18?% 0 rgba(42,41,39,.34);border-radius:%?90?%;margin-left:%?20?%;text-align:center;font-weight:500;font-size:%?24?%;color:#fff}.search-bd .item .chat uni-image[data-v-382bcca5]{width:%?65?%;height:%?32?%;display:block;margin:%?15?% auto %?5?%}",""]),t.exports=e},b501:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAYAAAAehFoBAAAAAXNSR0IArs4c6QAABE9JREFUWEftmE2IHEUUx9+rZrMHD34gbAIu3a92DwkmRkS9BJzFSDyIIIIQ9eIHCGIOMSCokYDoRhQMRKOYi0HEg3gISEAPelDEk8aoISLZftU9u66yJkoiKstM93NrnFnK2Zme6mFml5Wt20y9j9/861W9mkJYZwPXGS9sAA97xf43CisiOoCIe0UkQkQ1BOWsWJcA4Ossy6bTND3tk6OTwhb2I0Tc4xNgQDY1EXnQGPNBr3grgLXWTwPAS70cBz0vIn8j4lZmrhbFXgFMROcQcZt1EpHfReSRIAgWBg1o42VZdqtS6gjAv6eViBwyxrxQClhr/SsAXNt0OsrM+4cB24qptZ4FgOuawO8YYx4qC/wdAOxoKYyIFWb+fhjQRLQPEV9zFD5sjDlYCpiInkLEV1pOInJRKTUVx/HZQUK35wGAGgBcz8znSwEDwAgRnWo7JS7U6/VKtVo9NwhoInoOEdtr9QlmfrNX/G6NY5PW+n0AuMcJsJBl2VSapj/0Clo0T0TTiPhsm81+Zj7qE7eo0ymt9XsAsNcpj18AYMoY86NP8HYbInoVEQ843wsAPMrMJ3zj9WzNWuu3AeBhJ+BPtVqtMjs7G/smsXZE9Doi7nN8FhHx/jiOT5aJ0xPYBtNa29p63AlcbZaH8UlGRMcR8THH9o88z+9OkuQzH3/XxgvYOkRRdEQp9aRTHsni4uJt8/Pz9hztOjqs0IUsy/akafpNWVhr7w3chD6slHrGSXQ+y7JKmqY/d0hu98C7APCAMzcnInf0uwdKAzfL49DSD33eUfpzY0ylHVhrbTfSctcSESMitydJkvSjbMunlMItJyI6iIgv2s8i8qcx5ioAqLfmoyiKlFJufc8AwO5eFxufH9IXcBRFm5VSjTJoAl/d7FSNnFEU3aiUatSovYXleT7RpWx8GP9j0xcwEYWI2FjaTsBEtBMRzzQzXWJmuwKNMTY2dsXo6Kj1t2dwxxEEQb1bi15V4DAMtyilTiPiZg9pTzLzve12qwqstb4LAE55wFqTy8x85ZoCA4C9o5wQkZuKoBGxnuf5sSRJjq81sKe43c1WtSQsxvj4+PaRkZGddr92wxKRWq1W+3Rubu63NVV4YmJie57nZ5buwoGH1F8x8y0DAXYbg4j8ZYyxm2O5cXQ71rTWuwHgEw9Ye1xeNMa0/lsuu/RVEpOTk6NZlhlE3AIAXzLzLhei4By294tpAFihnOtvSwIR32DmFSdKX8A2eBiGpJTaFQTBhzMzM5c9gX3ELbTpG7goalGnI6IbAGBr0aZDxAwRv4jjeMV7yKoCa613iMi3iOiT9ywzN54b3OHjWHoZuykcRdGdSqmPfQLaVydjzDVrAey22E1EdGypPd+MiHkBuJ17i5nt/8nhKxyG4bYgCFpvGAvMPOajqo/NUErCJm7eGe4DgJd7PfD5gLZshgZcBqKM7QZwGbX6sd1QuB/VyvisO4X/ASg4E0se3oCCAAAAAElFTkSuQmCC"},b76c:function(t,e,a){"use strict";a.r(e);var i=a("5428"),n=a("1799");for(var s in n)["default"].indexOf(s)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(s);a("d2a5");var r=a("828b"),o=Object(r["a"])(n["default"],i["b"],i["c"],!1,null,"382bcca5",null,!1,i["a"],void 0);e["default"]=o.exports},c9ad:function(t,e,a){"use strict";a.r(e);var i=a("d0b2"),n=a("35a6");for(var s in n)["default"].indexOf(s)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(s);a("f7a3");var r=a("828b"),o=Object(r["a"])(n["default"],i["b"],i["c"],!1,null,"529cd5ca",null,!1,i["a"],void 0);e["default"]=o.exports},cb77:function(t,e,a){"use strict";a("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("64aa"),a("bf0f"),a("de6c"),a("7a76"),a("c9b5"),a("5c47");var i={components:{},props:{value:{type:Array,default:function(){return[0,100]}},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Number,default:1},format:{type:Function,default:function(t){return t}},disabled:{type:Boolean,default:!1},height:{height:Number,default:50},barHeight:{type:Number,default:5},backgroundColor:{type:String,default:"#e9e9e9"},activeColor:{type:String,default:"#1aad19"},blockSize:{type:Number,default:20},blockColor:{type:String,default:"#fff"},tipVisible:{type:Boolean,default:!0},decorationVisible:{type:Boolean,default:!1}},data:function(){return{values:[this.min,this.max],startDragPos:0,startVal:0}},computed:{lowerHandlePosition:function(){return(this.values[0]-this.min)/(this.max-this.min)*100},higherHandlePosition:function(){return(this.values[1]-this.min)/(this.max-this.min)*100},lowerTipStyle:function(){return this.lowerHandlePosition<90?"left: ".concat(this.lowerHandlePosition,"%;"):"right: ".concat(100-this.lowerHandlePosition,"%;transform: translate(50%, -100%);")},higherTipStyle:function(){return this.higherHandlePosition<90?"left: ".concat(this.higherHandlePosition,"%;"):"right: ".concat(100-this.higherHandlePosition,"%;transform: translate(50%, -100%);")}},created:function(){},onLoad:function(t){},watch:{value:{immediate:!0,handler:function(t,e){!this._isValuesValid(t)||t[0]===this.values[0]&&t[1]===this.values[1]||this._updateValue(t)}}},methods:{_updateValue:function(t){if(this.step>=this.max-this.min)throw new RangeError("Invalid slider step or slider range");var e=[];Array.isArray(t)&&(e=[t[0],t[1]]),"number"!==typeof e[0]?e[0]=this.values[0]:e[0]=Math.round((e[0]-this.min)/this.step)*this.step+this.min,"number"!==typeof e[1]?e[1]=this.values[1]:e[1]=Math.round((e[1]-this.min)/this.step)*this.step+this.min,this.values[0]===e[0]&&this.values[1]===e[1]||(e[0]<this.min&&(e[0]=this.min),e[1]>this.max&&(e[1]=this.max),e[0]>=e[1]&&(e[0]===this.values[0]?e[1]=e[0]+this.step:e[0]=e[1]-this.step),this.values=e,this.$emit("change",this.values))},_onTouchStart:function(t){if(!this.disabled){this.isDragging=!0;var e=t.target.dataset.tag,a=t.changedTouches?t.changedTouches[0]:t;this.startDragPos=a.pageX,this.startVal="lowerBlock"===e?this.values[0]:this.values[1]}},_onBlockTouchMove:function(t){this.disabled||this._onDrag(t)},_onBlockTouchEnd:function(t){this.disabled||(this.isDragging=!1,this._onDrag(t))},_onDrag:function(t){var e=this;if(this.isDragging){var a=uni.createSelectorQuery().in(this).select(".slider-range-inner");a.boundingClientRect((function(a){var i=a.width,n=t.target.dataset.tag,s=t.changedTouches?t.changedTouches[0]:t,r=(s.pageX-e.startDragPos)/i*(e.max-e.min),o=e.startVal+r;"lowerBlock"===n?e._updateValue([o,null]):e._updateValue([null,o])})).exec()}},_isValuesValid:function(t){return Array.isArray(t)&&2==t.length}}};e.default=i},d0b2:function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"slider-range",class:{disabled:t.disabled},style:{paddingLeft:t.blockSize/2+"px",paddingRight:t.blockSize/2+"px"}},[a("v-uni-view",{staticClass:"slider-range-inner",style:{height:t.height+"px"}},[a("v-uni-view",{staticClass:"slider-bar",style:{height:t.barHeight+"px"}},[a("v-uni-view",{staticClass:"slider-bar-bg",style:{backgroundColor:t.backgroundColor}}),a("v-uni-view",{staticClass:"slider-bar-inner",style:{width:(t.values[1]-t.values[0])/(t.max-t.min)*100+"%",left:t.lowerHandlePosition+"%",backgroundColor:t.activeColor}})],1),a("v-uni-view",{staticClass:"slider-handle-block",class:{decoration:t.decorationVisible},style:{backgroundColor:t.blockColor,width:t.blockSize+"px",height:t.blockSize+"px",left:t.lowerHandlePosition+"%"},attrs:{"data-tag":"lowerBlock"},on:{touchstart:function(e){arguments[0]=e=t.$handleEvent(e),t._onTouchStart.apply(void 0,arguments)},touchmove:function(e){arguments[0]=e=t.$handleEvent(e),t._onBlockTouchMove.apply(void 0,arguments)},touchend:function(e){arguments[0]=e=t.$handleEvent(e),t._onBlockTouchEnd.apply(void 0,arguments)}}},[t._v("L")]),a("v-uni-view",{staticClass:"slider-handle-block",class:{decoration:t.decorationVisible},style:{backgroundColor:t.blockColor,width:t.blockSize+"px",height:t.blockSize+"px",left:t.higherHandlePosition+"%"},attrs:{"data-tag":"higherBlock"},on:{touchstart:function(e){arguments[0]=e=t.$handleEvent(e),t._onTouchStart.apply(void 0,arguments)},touchmove:function(e){arguments[0]=e=t.$handleEvent(e),t._onBlockTouchMove.apply(void 0,arguments)},touchend:function(e){arguments[0]=e=t.$handleEvent(e),t._onBlockTouchEnd.apply(void 0,arguments)}}},[t._v("R")]),t.tipVisible?a("v-uni-view",{staticClass:"range-tip",style:t.lowerTipStyle},[t._v(t._s(t.format(t.values[0])))]):t._e(),t.tipVisible?a("v-uni-view",{staticClass:"range-tip",style:t.higherTipStyle},[t._v(t._s(t.format(t.values[1])))]):t._e()],1)],1)},n=[]},d2a5:function(t,e,a){"use strict";var i=a("208a"),n=a.n(i);n.a},e217:function(t,e,a){"use strict";a("6a54");var i=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(a("c9ad")),s={components:{sliderRange:n.default},data:function(){return{rangeValue:[18,80],show:!1,isPopup:!1,isCoins:!1,type:1}},onLoad:function(t){this.type=t.type},methods:{openPage:function(t){1==t?this.show=!this.show:2==t&&(this.show=!1)},handleRangeChange:function(t){console.log(t)}}};e.default=s},f7a3:function(t,e,a){"use strict";var i=a("111a"),n=a.n(i);n.a}}]); |