pages-in-store-order.d5fd7440.js 26 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-in-store-order"],{"12c1":function(t,e,a){"use strict";a("6a54");var n=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(a("2634")),i=n(a("2fdc"));a("64aa");var o=n(a("c158")),s={name:"tn-nav-bar",mixins:[o.default],props:{zIndex:{type:Number,default:0},height:{type:Number,default:0},unit:{type:String,default:"px"},isBack:{type:Boolean,default:!0},backIcon:{type:String,default:"left"},backTitle:{type:String,default:"返回"},alpha:{type:Boolean,default:!1},fixed:{type:Boolean,default:!0},bottomShadow:{type:Boolean,default:!0},customBack:{type:Boolean,default:!1},beforeBack:{type:Function,default:null}},computed:{navBarStyle:function(){var t={};return t.height=0===this.height?this.customBarHeight+this.unit:this.height+this.unit,this.fixed&&(t.position="fixed"),t.zIndex=this.elZIndex,t},barClass:function(){var t="";return this.backgroundColorClass&&(t+=" ".concat(this.backgroundColorClass)),this.fontColorClass&&(t+="".concat(this.fontColorClass)),this.fixed&&(t+=" tn-custom-nav-bar__bar--fixed"),this.alpha&&(t+=" tn-custom-nav-bar__bar--alpha"),this.bottomShadow&&(t+=" tn-custom-nav-bar__bar--bottom-shadow"),t},barStyle:function(){var t={};return t.height=0===this.height?this.customBarHeight+this.unit:this.height+this.unit,this.fixed&&(t.paddingTop=this.statusBarHeight+"px"),this.backgroundColorClass||(t.backgroundColor=""!==this.backgroundColor?this.backgroundColor:"#FFFFFF"),!this.fontColorClass&&this.fontColor&&(t.color=this.fontColor),t.zIndex=this.elZIndex,t},contentStyle:function(){var t={};if(t.top=this.fixed?this.statusBarHeight+"px":"0px",t.height=0===this.height?this.customBarHeight-this.statusBarHeight+this.unit:this.height+this.unit,t.lineHeight=t.height,this.isBack)if(this.customBack){var e=2*(this.customBackStyleInfo.width+this.customBackStyleInfo.left);t.width="calc(100% - ".concat(e,"px)")}else t.width="calc(100% - 340rpx)";else t.width="100%";return t},elZIndex:function(){return this.zIndex?this.zIndex:this.$t.zIndex.navbar}},data:function(){return{statusBarHeight:0,customBarHeight:0,customBackStyleInfo:{width:86,height:32,left:15}}},mounted:function(){this.updateNavBarInfo()},created:function(){},methods:{updateNavBarInfo:function(){var t=this;return(0,i.default)((0,r.default)().mark((function e(){var a,n,i;return(0,r.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(a=t.vuex_custom_bar_height,n=t.vuex_status_bar_height,a){e.next=15;break}return e.prev=3,e.next=6,t.$t.updateCustomBar();case 6:i=e.sent,a=i.customBarHeight,n=i.statusBarHeight,e.next=15;break;case 11:return e.prev=11,e.t0=e["catch"](3),setTimeout((function(){t.updateNavBarInfo()}),10),e.abrupt("return");case 15:t&&t.$t.vuex("vuex_status_bar_height",n),t&&t.$t.vuex("vuex_custom_bar_height",a),t.customBarHeight=a,t.statusBarHeight=n;case 19:case"end":return e.stop()}}),e,null,[[3,11]])})))()},handlerBack:function(){var t=this;return(0,i.default)((0,r.default)().mark((function e(){var a;return(0,r.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!t.beforeBack||"function"!==typeof t.beforeBack){e.next=10;break}if(a=t.beforeBack.bind(t.$t.$parent.call(t))(),!a||"function"!==typeof a.then){e.next=7;break}return e.next=5,a.then((function(e){t.navBack()})).catch((function(t){}));case 5:e.next=8;break;case 7:!0===a&&t.navBack();case 8:e.next=11;break;case 10:t.navBack();case 11:case"end":return e.stop()}}),e)})))()},navBack:function(){var t=getCurrentPages();if(t&&t.length>0){var e=t[0];1!=t.length||e.route&&"pages/index/index"==e.route?uni.navigateBack({delta:1}):uni.reLaunch({url:"/pages/index"})}else uni.reLaunch({url:"/pages/index"})}}};e.default=s},"181d8":function(t,e,a){"use strict";a.r(e);var n=a("489e"),r=a("6092");for(var i in r)["default"].indexOf(i)<0&&function(t){a.d(e,t,(function(){return r[t]}))}(i);a("34d1");var o=a("828b"),s=Object(o["a"])(r["default"],n["b"],n["c"],!1,null,"908af47a",null,!1,n["a"],void 0);e["default"]=s.exports},"28bf":function(t,e,a){var n=a("8019");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var r=a("967d").default;r("24330ec4",n,!0,{sourceMap:!1,shadowMode:!1})},"34d1":function(t,e,a){"use strict";var n=a("28bf"),r=a.n(n);r.a},"489e":function(t,e,a){"use strict";a.d(e,"b",(function(){return r})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){return n}));var n={tnNavBar:a("7a95").default},r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"delivery tn-safe-area-inset-bottom"},[a("tn-nav-bar",{attrs:{fixed:!0,bottomShadow:!0,backgroundColor:"#FFFFFF"}},[a("v-uni-view",{staticClass:"custom-nav",attrs:{id:"navbar"}},[t._v("店内订单")])],1),a("v-uni-view",{staticClass:"kb",style:"height:"+t.statusBarHeight}),a("v-uni-view",{staticClass:"lee-bar fixed-bar",style:{top:"calc("+t.statusBarHeight+" + 12px)"}},t._l(t.barList,(function(e,n){return a("v-uni-view",{key:n,staticClass:"lee-item",class:t.activeIndex===n?"active":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.tabBarIndex(n)}}},[t._v(t._s(e))])})),1),a("v-uni-view",{staticClass:"lee-list",staticStyle:{"padding-top":"100rpx"}},t._l(10,(function(e){return a("v-uni-view",{key:e,staticClass:"card tn-shadow"},[a("v-uni-view",{staticClass:"header"},[a("v-uni-view",{staticStyle:{width:"48rpx",height:"48rpx",background:"linear-gradient(180deg, #4BCE87 0%, #41AD74 100%)",color:"#FFFFFF",padding:"6rpx","border-radius":"50%","margin-right":"18rpx",display:"flex","align-items":"center","justify-content":"center"}},[t._v("送")]),a("v-uni-text",{staticStyle:{color:"#333333","font-weight":"500","font-size":"36rpx"}},[t._v("A栋2号楼4005")])],1),a("v-uni-view",{staticClass:"content"},[a("v-uni-view",{staticClass:"info-detail"},[a("v-uni-view",{staticClass:"info-data"},[a("v-uni-view",{staticStyle:{padding:"10rpx 30rpx","background-color":"#44B8CC33",color:"#44B8CC",border:"1rpx solid #44B8CC","font-weight":"400","border-radius":"50rpx"}},[t._v("下单时间")]),a("v-uni-view",{staticStyle:{"margin-left":"20rpx","font-size":"32rpx"}},[t._v("2022-04-27 20:34")])],1),a("v-uni-view",{staticClass:"info-data",staticStyle:{"margin-top":"30rpx"}},[a("v-uni-view",{staticStyle:{padding:"10rpx 30rpx","background-color":"#F5742933",color:"#F57429",border:"1rpx solid #F57429","font-weight":"400","border-radius":"50rpx"}},[t._v("下单时间")]),a("v-uni-view",{staticStyle:{"margin-left":"20rpx","font-size":"32rpx"}},[t._v("2022-04-28 · 中餐")])],1)],1)],1),a("v-uni-view",{staticClass:"btn"},[a("v-uni-view",{staticClass:"tn-flex tn-flex-col-center tn-flex-row-center"},[a("v-uni-view",{staticClass:"operation-btn border"},[t._v("联系客人")]),a("v-uni-view",{staticClass:"operation-btn"},[t._v("确认送达")])],1)],1)],1)})),1)],1)},i=[]},"4df5":function(t,e,a){var n=a("c86c");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.tn-custom-nav-bar[data-v-0c6fe6ee]{display:block;position:relative}.tn-custom-nav-bar__bar[data-v-0c6fe6ee]{display:flex;position:relative;align-items:center;min-height:%?100?%;justify-content:space-between;min-height:0;box-shadow:%?0?% %?0?% %?0?%;z-index:9999}.tn-custom-nav-bar__bar--fixed[data-v-0c6fe6ee]{position:fixed;width:100%;top:0;left:0}.tn-custom-nav-bar__bar--alpha[data-v-0c6fe6ee]{background:transparent!important;box-shadow:none!important}.tn-custom-nav-bar__bar--bottom-shadow[data-v-0c6fe6ee]{box-shadow:%?0?% %?0?% %?80?% %?0?% rgba(0,0,0,.05)}.tn-custom-nav-bar__bar__action[data-v-0c6fe6ee]{display:flex;align-items:center;height:100%;justify-content:center;max-width:100%}.tn-custom-nav-bar__bar__action--nav-back[data-v-0c6fe6ee]{\n /* position: absolute; */\n /* top: 50%; */\n /* left: 20rpx; */\n /* margin-top: -15rpx; */margin-left:%?20?%;font-size:%?38?%;line-height:100%}.tn-custom-nav-bar__bar__action--nav-back-text[data-v-0c6fe6ee]{margin-left:%?10?%}.tn-custom-nav-bar__bar__content[data-v-0c6fe6ee]{position:absolute;text-align:center;left:0;right:0;bottom:0;margin:auto;font-size:%?32?%;cursor:none;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}',""]),t.exports=e},"5c4b":function(t,e,a){"use strict";a.r(e);var n=a("12c1"),r=a.n(n);for(var i in n)["default"].indexOf(i)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(i);e["default"]=r.a},6092:function(t,e,a){"use strict";a.r(e);var n=a("9572"),r=a.n(n);for(var i in n)["default"].indexOf(i)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(i);e["default"]=r.a},"7a95":function(t,e,a){"use strict";a.r(e);var n=a("9d12"),r=a("5c4b");for(var i in r)["default"].indexOf(i)<0&&function(t){a.d(e,t,(function(){return r[t]}))}(i);a("7fa2");var o=a("828b"),s=Object(o["a"])(r["default"],n["b"],n["c"],!1,null,"0c6fe6ee",null,!1,n["a"],void 0);e["default"]=s.exports},"7fa2":function(t,e,a){"use strict";var n=a("91cb"),r=a.n(n);r.a},8019:function(t,e,a){var n=a("c86c");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.delivery .custom-nav[data-v-908af47a]{display:flex;align-items:center;justify-content:center;color:#222}.delivery .fixed-bar[data-v-908af47a]{position:fixed;box-shadow:%?0?% %?0?% %?80?% %?0?% rgba(0,0,0,.07);width:100%;left:0;z-index:999}.delivery .lee-bar[data-v-908af47a]{width:calc(100% - %?60?%);height:%?80?%;line-height:%?80?%;background-color:#fff;display:flex;margin:0 %?30?%;border-radius:%?20?%}.delivery .lee-bar .lee-item[data-v-908af47a]{flex:1;text-align:center}.delivery .lee-bar .lee-item.active[data-v-908af47a]{width:100%;position:relative;color:#1fb4c8;font-weight:700}.delivery .lee-bar .lee-item.active[data-v-908af47a]:after{content:"";width:30%;height:%?4?%;background-color:#1fb4c8;position:absolute;bottom:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);border-radius:%?4?%}.delivery .lee-list[data-v-908af47a]{width:100%;height:100%;padding:0 %?30?%;margin:0 0 %?30?% 0}.delivery .lee-list .card[data-v-908af47a]{background-color:#fff;padding:%?30?%;border-radius:%?20?%;margin-top:%?30?%}.delivery .lee-list .card .header[data-v-908af47a]{display:flex;align-items:center;justify-content:flex-start}.delivery .lee-list .card .content[data-v-908af47a]{background-color:#f8f8f8;padding:%?30?%;border-radius:%?20?%;margin-top:%?30?%}.delivery .lee-list .card .content .info-data[data-v-908af47a]{display:flex;align-items:center;justify-content:flex-start;color:#333;font-weight:500}.delivery .lee-list .card .btn[data-v-908af47a]{margin-top:%?30?%}.delivery .operation-btn[data-v-908af47a]{background:linear-gradient(180deg,#53dbeb,#1db4c7);color:#fff;width:calc(100% - %?60?%);margin:%?20?% %?30?%;border-radius:%?300?%;padding:%?15?% 0;display:flex;align-items:center;justify-content:center;font-size:%?32?%;font-weight:500}.delivery .operation-btn.border[data-v-908af47a]{background:#fff;color:#1db4c7;border:%?1?% solid #1db4c7}.delivery .operation-btn.border-no[data-v-908af47a]{padding:%?17?% 0}.delivery .delivery-info-1[data-v-908af47a]{display:flex;align-items:center;justify-content:space-between;margin:%?30?%;padding-left:%?20?%;position:relative;color:#333;font-weight:400}.delivery .delivery-info-1[data-v-908af47a]::before{content:" ";position:absolute;top:50%;left:0;width:%?8?%;height:%?8?%;border-radius:50%;background:linear-gradient(180deg,#53dbeb,#1db4c7);-webkit-transform:translateY(-50%);transform:translateY(-50%)}.delivery .delivery-info-2[data-v-908af47a]{margin:0 %?30?%;width:calc(100% - %?60?%);background-color:#f8f8f8;border-radius:%?20?%;padding:%?34?%}.delivery .delivery-info-2 .info-info[data-v-908af47a]{display:flex;align-items:center;padding:%?37?% %?0?%;position:relative}.delivery .delivery-info-2 .info-info[data-v-908af47a]:first-child{padding-top:%?0?%;border-bottom:%?1?% solid #d8d8d8}.delivery .delivery-info-2 .info-info[data-v-908af47a]:last-child{padding-bottom:%?0?%}.delivery .delivery-info-2 .content[data-v-908af47a]{margin-left:%?20?%}.delivery .delivery-info-2 .title[data-v-908af47a]{color:#666;font-weight:400;font-size:%?26?%}.delivery .delivery-info-2 .address[data-v-908af47a]{color:#333;font-weight:500;font-size:%?30?%}.delivery .delivery-info-2 .qu[data-v-908af47a]{width:%?48?%;height:%?48?%;border-radius:50%;background-color:rgba(29,180,199,.2);color:#1db4c7;display:flex;align-items:center;justify-content:center}.delivery .delivery-info-2 .song[data-v-908af47a]{width:%?48?%;height:%?48?%;border-radius:50%;background-color:rgba(255,121,26,.2);color:#ff791a;display:flex;align-items:center;justify-content:center}\n/* 页面 start*/.tn-shadow[data-v-908af47a]{box-shadow:%?0?% %?0?% %?50?% %?0?% rgba(0,0,0,.07)}',""]),t.exports=e},"91cb":function(t,e,a){var n=a("4df5");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var r=a("967d").default;r("e3174358",n,!0,{sourceMap:!1,shadowMode:!1})},9572:function(t,e,a){"use strict";a("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=a("f5d8"),r={name:"Index",data:function(){return{statusBarHeight:50,activeIndex:0,navBarBackgroundColor:"#FFFFFF",barList:["配送中","已完成"],orderList:(0,n.getArrayByObj)({num1:"num",num2:"num",name1:"name",name2:"name",address1:"address",address2:"address",price:"num",phone1:"phone",phone2:"phone",time:"time"},10)}},created:function(){this.statusBarHeight=(0,n.getStatusBarHeight)()},methods:{tabBarIndex:function(t){this.activeIndex=t},tz:function(t){wx.navigateTo({url:t})}}};e.default=r},"9d12":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"tn-custom-nav-bar-class tn-custom-nav-bar",style:[t.navBarStyle]},[a("v-uni-view",{staticClass:"tn-custom-nav-bar__bar",class:[t.barClass],style:[t.barStyle]},[t.isBack?a("v-uni-view",[t.customBack?a("v-uni-view",[a("v-uni-view",{style:{width:t.customBackStyleInfo.width+"px",height:t.customBackStyleInfo.height+"px",marginLeft:t.customBackStyleInfo.left+"px"}},[t._t("back")],2)],1):a("v-uni-view",{staticClass:"tn-custom-nav-bar__bar__action",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.handlerBack.apply(void 0,arguments)}}},[a("v-uni-text",{staticClass:"tn-custom-nav-bar__bar__action--nav-back",class:["tn-icon-"+t.backIcon]}),t.backTitle?a("v-uni-text",{staticClass:"tn-custom-nav-bar__bar__action--nav-back-text"},[t._v(t._s(t.backTitle))]):t._e()],1)],1):t._e(),a("v-uni-view",{staticClass:"tn-custom-nav-bar__bar__content",style:[t.contentStyle]},[t._t("default")],2),a("v-uni-view",[t._t("right")],2)],1)],1)},r=[]},c158:function(t,e,a){a("64aa"),t.exports={data:function(){},props:{backgroundColor:{type:String,default:""},fontColor:{type:String,default:""},fontSize:{type:Number,default:0},fontUnit:{type:String,default:"rpx"}},computed:{backgroundColorStyle:function(){return this.$t.color.getBackgroundColorStyle(this.backgroundColor)},backgroundColorClass:function(){return this.$t.color.getBackgroundColorInternalClass(this.backgroundColor)},fontColorStyle:function(){return this.$t.color.getFontColorStyle(this.fontColor)},fontColorClass:function(){return this.$t.color.getFontColorInternalClass(this.fontColor)},fontSizeStyle:function(){return this.$t.string.getLengthUnitValue(this.fontSize,this.fontUnit)}},methods:{}}},f5d8:function(t,e,a){"use strict";a("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.debounce=void 0,e.formatDate=n,e.tz=e.throttle=e.isInArray=e.goToMsg=e.getStatusBarHeight=e.getArrayByObj=void 0,a("5c47"),a("a1c1"),a("c9b5"),a("bf0f"),a("ab80"),a("aa9c"),a("c223"),a("e966"),a("0506"),a("23f4"),a("7d2f"),a("9c4e");function n(t,e){var a=function(t){return(parseInt(t,10)<10?"0":"")+t};/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(t.getFullYear()+"").substr(4-RegExp.$1.length)));var n={YYYY:t.getFullYear(),"M+":t.getMonth()+1,"d+":t.getDate(),"h+":t.getHours(),"m+":t.getMinutes(),"s+":t.getSeconds()};for(var r in n)if(new RegExp("(".concat(r,")")).test(e)){var i=n[r]+"";e=e.replace(RegExp.$1,1===RegExp.$1.length?i:a(i))}return e}e.getArrayByObj=function(t,e){for(var a=[],r={name:function(){var t=["赵","钱","孙","李","周","吴","郑","王","冯","陈","褚","卫","蒋","沈","韩","杨","朱","秦","尤","许","何","吕","施","张","孔","曹","严","华","金","魏","陶","姜","戚","谢","邹","喻","柏","水","窦","章","云","苏","潘","葛","奚","范","彭","郎","鲁","韦","昌","马","苗","凤","花","方","俞","任","袁","柳","酆","鲍","史","唐","费","廉","岑","薛","雷","贺","倪","汤","滕","殷","罗","毕","郝","邬","安","常","乐","于","时","傅","皮","卞","齐","康","伍","余","元","卜","顾","孟","平","黄","和","穆","萧","尹"],e=["子璇","淼","国栋","夫子","瑞堂","甜","敏","尚","国贤","贺祥","晨涛","昊轩","易轩","益辰","益帆","益冉","瑾春","瑾昆","春齐","杨","文昊","东东","雄霖","浩晨","熙涵","溶溶","冰枫","欣欣","宜豪","欣慧","建政","美欣","淑慧","文轩","文杰","欣源","忠林","榕润","欣汝","慧嘉","新建","建林","亦菲","林","冰洁","佳欣","涵涵","禹辰","淳美","泽惠","伟洋","涵越","润丽","翔","淑华","晶莹","凌晶","苒溪","雨涵","嘉怡","佳毅","子辰","佳琪","紫轩","瑞辰","昕蕊","萌","明远","欣宜","泽远","欣怡","佳怡","佳怡","家新","家欣","东苑","东坤","嘉澍","嘉玉","佳宇","佳玮","晨茜","晨璐","运昊","慧心","学智","辰齐","泰宁","源涵","旭尧","鑫鹏","鹏飞","昊焱","昊天","和安","和颂","华中","萍","萍","莹莹","颖","彭丽","婷婷","婷婷","玲玲","玲琳","璐璐","璐玥","琳琳","琳露","露露","露静","静静","静琪","静慧","静涵","静淑","静娴","静倩","静柔","静竹","静芝","静筠","静雅","静倩","静涵","静茹","静淑","静竹","静茹","静芝","静筠","静雅","静倩","静涵","静茹","静淑","静竹","静芝","静筠","静雅","静倩","静涵","静茹","静淑","静竹","静芝","静筠","静雅","静倩","静涵","静茹","静淑","静竹","静芝","静筠","静雅","静倩","静涵","静茹","静淑","静竹","静芝","静筠","静雅","静倩","静涵","静茹","静淑","静竹","静芝","静筠","静雅","静倩","静涵","静茹","静淑","静竹","静芝","静筠","静雅","静倩","静涵","静茹","静淑","静竹","静芝","静筠","静雅","静倩","静涵","静茹","静淑","静竹","静芝","静筠","静雅","静倩","静涵","静茹","静淑","静竹","静芝","静筠","静雅"],a=Math.floor(Math.random()*t.length),n=Math.floor(Math.random()*e.length),r=t[a]+e[n];return r},avatar:function(){return"".concat("https://api.uomg.com/api/rand.avatar?sort=%E7%94%B7","&i=").concat(Math.floor(9999*Math.random())+1)},num:function(){return Math.floor(9999*Math.random())+1},percent:function(){return(100*Math.random()).toFixed(2)+"%"},rank:function(){var t=["黑铁","青铜","白银","黄金","钻石","王者"];return t[Math.floor(Math.random()*t.length)]},money:function(){var t=["美元","欧元","英镑","日元","港币","瑞士法郎","瑞典克朗","丹麦克朗","挪威克朗","加拿大元","澳大利亚元","新加坡元","韩元","泰铢","新西兰元","瑞士法郎","瑞典克朗","丹麦克朗","挪威克朗","加拿大元","澳大利亚元","新加坡元","韩元","泰铢","新西兰元"];return t[Math.floor(Math.random()*t.length)]},job:function(){var t=["前端开发","后端开发","移动开发","测试","运维","项目经理","高级工程师","首席工程师","架构师","CTO","CIO","产品经理","产品总监","技术经理","技术总监","首席设计师","设计经理","设计总监","首席运营官","运营总监","首席运营官","运营总监","首席营销官","营销总监","首席营销官","营销总监","首席设计师","设计经理","设计总监","首席运营官","运营总监","首席运营官","运营总监","首席营销官","营销总监","首席营销官","营销总监","首席设计师","设计经理","设计总监","首席运营官","运营总监","首席运营官","运营总监","首席营销官","营销总监","首席营销官","营销总监","首席设计师","设计经理","设计总监","首席运营官","运营总监","首席运营官","运营总监","首席营销官","营销总监","首席营销官","营销总监","首席设计师","设计经理","设计总监","首席运营官","运营总监","首席运营官","运营总监","首席营销官","营销总监","首席营销官","营销总监","首席设计师","设计经理","设计总监","首席运营官","运营总监","首席运营官","运营总监","首席营销官","营销总监","首席营销官","营销总监","首席设计师","设计经理","设计总监","首席运营官","运营总监","首席运营官","运营总监","首席营销官","营销总监","首席营销官","营销总监","首席设计师","设计经理","设计总监","首席运营官","运营总监","首席运营官","运营总监","首席营销官","营销总监","首席营销官","营销总监","首席设计师","设计经理","设计总监","首席运营官","运营总监","首席运营官","运营总监","首席营销官","营销总监","首席营销官","营销总监","首席设计师","设计经理","设计总监","首席运营官"];return t[Math.floor(Math.random()*t.length)]},coin:function(){var t=["BTC","USDT","ETH","XRP","LTC","PPC","NMC","XPM","FTC","EOS","NVC","DOGE","YAC","ETC","XMR","SIGT","PA"];return t[Math.floor(Math.random()*t.length)]},randomFloat:function(){return(98999*Math.random()+1e3).toFixed(4)},randomBoolean:function(){return Math.random()>.5},randomDate:function(){var t=new Date(2019,0,1),e=new Date,a=new Date(t.getTime()+Math.random()*(e.getTime()-t.getTime()));return n(a,"MM-dd")},randomTime:function(){var t=new Date(2019,0,1),e=new Date,a=new Date(t.getTime()+Math.random()*(e.getTime()-t.getTime()));return n(a,"YYYY-MM-dd hh:mm")},thousandBit:function(){return(Math.floor(9999*Math.random())+1).toString().replace(/\d{1,3}(?=(\d{3})+$)/g,"$&,")},randomImgArray:function(){for(var t=Math.floor(9*Math.random())+1,e=function(){var t="https://api.btstu.cn/sjbz/api.php?lx=dongman&format=images&id=",e=Math.floor(24e3*Math.random());return t+e},a=[],n=0;n<t;n++)a.push(e());return a},phone:function(){for(var t="",e=0;e<11;e++)t+=Math.floor(10*Math.random());return t},address:function(){var t=["广东省","江苏省","浙江省","上海市","北京市","天津市","重庆市","河北省","山西省","辽宁省","吉林省","黑龙江省","江西省","山东省","河南省","湖北省","湖南省","广西壮族自治区","甘肃省","陕西省","新疆维吾尔自治区","青海省","宁夏回族自治区","内蒙古自治区","西藏自治区","四川省","云南省","贵州省","海南省","福建省","台湾省","香港特别行政区","澳门特别行政区"],e=["广州市","深圳市","珠海市","汕头市","韶关市","佛山市","江门市","湛江市","茂名市","肇庆市","惠州市","梅州市","汕尾市","河源市","阳江市","清远市","东莞市","中山市","潮州市","揭阳市","云浮市","南宁市","柳州市","桂林市","梧州市","北海市","防城港市","钦州市","贵港市","玉林市","百色市","贺州市","河池市","来宾市","崇左市","海口市","三亚市","三沙市","儋州市","五指山市","琼海市","文昌市","万宁市","东方市","定安县","屯昌县","澄迈县","临高县","白沙黎族自治县","昌江黎族自治县","乐东黎族自治县","陵水黎族自治县","保亭黎族苗族自治县","琼中黎族苗族自治县","西沙群岛","南沙群岛","中沙群岛的岛礁及其海域"],a=["白云区","天河区","越秀区","海珠区","荔湾区","萝岗区","福田区","罗湖区","南山区","宝安区","龙岗区","盐田区","黄浦区","卢湾区","静安区","普陀区","闸北区","虹口区","杨浦区","青浦区","嘉定区","金山区","松江区","长宁区","崇明县","南汇区","奉贤区","浦东新区","嘉定区","宝山区","金山区","松江区","青浦区","闵行区","徐汇区","长宁区","普陀区","闸北区","虹口区","杨浦区","闵行区","静安区","宝山区","嘉定区","松江区","青浦区","金山区","崇明县","南汇区","奉贤区","浦东新区","崇明县","南汇区","奉贤区","浦东新区","崇明县"],n=Math.floor(Math.random()*t.length),r=Math.floor(Math.random()*e.length),i=Math.floor(Math.random()*a.length),o=Math.floor(10*Math.random())+1;return"".concat(t[n]).concat(e[r]).concat(a[i]).concat(o,"号")},randomQuestion:function(){var t=["修改了密码还可以登录","支付宝登录密码是什么","绑定了手机就不能qq和微信登录了","别人可以登录我的账号","我的账号可以登录别人的账号","无法收到验证码"];return t[Math.floor(Math.random()*t.length)]}},i=0;i<e;i++){var o={};for(var s in t){if("function"===typeof t[s])return;"function"===typeof r[t[s]]?o[s]=r[t[s]]():o[s]=o[s]}a.push(o)}return a};e.goToMsg=function(){r("/pages/other/msg")};var r=function(t){uni.navigateTo({url:t||"/pages/index/index"})};e.tz=r;e.isInArray=function(t,e){for(var a=0;a<t.length;a++)if(e===t[a])return!0;return!1};e.getStatusBarHeight=function(){var t=uni.getSystemInfoSync(),e=t.platform,a=t.statusBarHeight,n=a+4;return"android"==e.toLowerCase()&&(n+=4),n+38+"px"};e.throttle=function(t,e){var a,n,r,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=null,s=0,c=function(){s=!1===i.leading?0:Date.now(),o=null,r=t.apply(a,n),o||(a=n=null)};return function(){var l=Date.now();s||!1!==i.leading||(s=l);var d=e-(l-s);return a=this,n=arguments,d<=0||d>e?(o&&(clearTimeout(o),o=null),s=l,r=t.apply(a,n),o||(a=n=null)):o||!1===i.trailing||(o=setTimeout(c,d)),r}};e.debounce=function(t,e){var a=null;return function(){a||clearTimeout(a),a=setTimeout(t,e)}}}}]);