12 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3467d3c0"],{1325:function(t,n,e){"use strict";e.d(n,"b",function(){return a}),e.d(n,"a",function(){return u}),e.d(n,"c",function(){return s});var r=e("a142"),o=!1;if(!r["d"])try{var i={};Object.defineProperty(i,"passive",{get:function(){o=!0}}),window.addEventListener("test-passive",null,i)}catch(f){}function a(t,n,e,i){void 0===i&&(i=!1),r["d"]||t.addEventListener(n,e,!!o&&{capture:!1,passive:i})}function u(t,n,e){r["d"]||t.removeEventListener(n,e)}function c(t){t.stopPropagation()}function s(t,n){("boolean"!==typeof t.cancelable||t.cancelable)&&t.preventDefault(),n&&c(t)}},3875:function(t,n,e){"use strict";e.d(n,"a",function(){return a});var r=e("2b0e"),o=10;function i(t,n){return t>n&&t>o?"horizontal":n>t&&n>o?"vertical":""}var a=r["default"].extend({data:function(){return{direction:""}},methods:{touchStart:function(t){this.resetTouchStatus(),this.startX=t.touches[0].clientX,this.startY=t.touches[0].clientY},touchMove:function(t){var n=t.touches[0];this.deltaX=n.clientX-this.startX,this.deltaY=n.clientY-this.startY,this.offsetX=Math.abs(this.deltaX),this.offsetY=Math.abs(this.deltaY),this.direction=this.direction||i(this.offsetX,this.offsetY)},resetTouchStatus:function(){this.direction="",this.deltaX=0,this.deltaY=0,this.offsetX=0,this.offsetY=0}}})},4598:function(t,n,e){"use strict";(function(t){e.d(n,"b",function(){return c}),e.d(n,"a",function(){return s});var r=e("a142"),o=Date.now();function i(t){var n=Date.now(),e=Math.max(0,16-(n-o)),r=setTimeout(t,e);return o=n+e,r}var a=r["d"]?t:window,u=a.requestAnimationFrame||i;a.cancelAnimationFrame||a.clearTimeout;function c(t){return u.call(a,t)}function s(t){c(function(){c(t)})}}).call(this,e("c8ba"))},"5fbe":function(t,n,e){"use strict";e.d(n,"a",function(){return o});var r=e("1325");function o(t){function n(){this.binded||(t.call(this,r["b"],!0),this.binded=!0)}function e(){this.binded&&(t.call(this,r["a"],!1),this.binded=!1)}return{mounted:n,activated:n,deactivated:e,beforeDestroy:e}}},"68ef":function(t,n,e){},a142:function(t,n,e){"use strict";e.d(n,"d",function(){return o}),e.d(n,"b",function(){return i}),e.d(n,"c",function(){return a}),e.d(n,"a",function(){return u});var r=e("2b0e"),o=r["default"].prototype.$isServer;function i(t){return void 0!==t&&null!==t}function a(t){var n=typeof t;return null!==t&&("object"===n||"function"===n)}function u(t,n){var e=n.split("."),r=t;return e.forEach(function(t){r=i(r[t])?r[t]:""}),r}},a8c1:function(t,n,e){"use strict";e.d(n,"b",function(){return o}),e.d(n,"c",function(){return i}),e.d(n,"d",function(){return c}),e.d(n,"a",function(){return s});var r=/scroll|auto/i;function o(t,n){void 0===n&&(n=window);var e=t;while(e&&"HTML"!==e.tagName&&1===e.nodeType&&e!==n){var o=window.getComputedStyle(e),i=o.overflowY;if(r.test(i)){if("BODY"!==e.tagName)return e;var a=window.getComputedStyle(e.parentNode),u=a.overflowY;if(r.test(u))return e}e=e.parentNode}return n}function i(t){return"scrollTop"in t?t.scrollTop:t.pageYOffset}function a(t,n){"scrollTop"in t?t.scrollTop=n:t.scrollTo(t.scrollX,n)}function u(){return window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0}function c(t){a(window,t),a(document.body,t)}function s(t){return(t===window?0:t.getBoundingClientRect().top)+u()}},c31d:function(t,n,e){"use strict";function r(){return r=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},r.apply(this,arguments)}e.d(n,"a",function(){return r})},d282:function(t,n,e){"use strict";var r="__",o="--";function i(t,n,e){return n?t+e+n:t}function a(t,n){if("string"===typeof n)return i(t,n,o);if(Array.isArray(n))return n.map(function(n){return a(t,n)});var e={};return n&&Object.keys(n).forEach(function(r){e[t+o+r]=n[r]}),e}function u(t){return function(n,e){return n&&"string"!==typeof n&&(e=n,n=""),n=i(t,n,r),e?[n,a(n,e)]:n}}var c=/-(\w)/g;function s(t){return t.replace(c,function(t,n){return n.toUpperCase()})}var f=e("2b0e"),d=f["default"].extend({methods:{slots:function(t,n){void 0===t&&(t="default");var e=this.$slots,r=this.$scopedSlots,o=r[t];return o?o(n):e[t]}}});function l(t){var n=this.name;t.component(n,this),t.component(s("-"+n),this)}function p(t){var n=t.scopedSlots||t.data.scopedSlots||{},e=t.slots();return Object.keys(e).forEach(function(t){n[t]||(n[t]=function(){return e[t]})}),n}function v(t){return{functional:!0,props:t.props,model:t.model,render:function(n,e){return t(n,e.props,p(e),e)}}}function h(t){return function(n){return"function"===typeof n&&(n=v(n)),n.functional||(n.mixins=n.mixins||[],n.mixins.push(d)),n.name=t,n.install=l,n}}var m=e("a142"),b=Object.prototype.hasOwnProperty;function y(t,n,e){var r=n[e];Object(m["b"])(r)&&(b.call(t,e)&&Object(m["c"])(r)&&"function"!==typeof r?t[e]=g(Object(t[e]),n[e]):t[e]=r)}function g(t,n){return Object.keys(n).forEach(function(e){y(t,n,e)}),t}var w={name:"姓名",tel:"电话",save:"保存",confirm:"确认",cancel:"取消",delete:"删除",complete:"完成",loading:"加载中...",telEmpty:"请填写电话",nameEmpty:"请填写姓名",confirmDelete:"确定要删除么",telInvalid:"请填写正确的电话",vanContactCard:{addText:"添加联系人"},vanContactList:{addText:"新建联系人"},vanPagination:{prev:"上一页",next:"下一页"},vanPullRefresh:{pulling:"下拉即可刷新...",loosing:"释放即可刷新..."},vanSubmitBar:{label:"合计:"},vanCoupon:{valid:"有效期",unlimited:"无使用门槛",discount:function(t){return t+"折"},condition:function(t){return"满"+t+"元可用"}},vanCouponCell:{title:"优惠券",tips:"使用优惠",count:function(t){return t+"张可用"}},vanCouponList:{empty:"暂无优惠券",exchange:"兑换",close:"不使用优惠",enable:"可使用优惠券",disabled:"不可使用优惠券",placeholder:"请输入优惠码"},vanAddressEdit:{area:"地区",postal:"邮政编码",areaEmpty:"请选择地区",addressEmpty:"请填写详细地址",postalEmpty:"邮政编码格式不正确",defaultAddress:"设为默认收货地址",telPlaceholder:"收货人手机号",namePlaceholder:"收货人姓名",areaPlaceholder:"选择省 / 市 / 区"},vanAddressEditDetail:{label:"详细地址",placeholder:"街道门牌、楼层房间号等信息"},vanAddressList:{add:"新增地址"}},O=f["default"].prototype,E=f["default"].util.defineReactive;E(O,"$vantLang","zh-CN"),E(O,"$vantMessages",{"zh-CN":w});var T={messages:function(){return O.$vantMessages[O.$vantLang]},use:function(t,n){var e;O.$vantLang=t,this.add((e={},e[t]=n,e))},add:function(t){void 0===t&&(t={}),g(O.$vantMessages,t)}};function Y(t){var n=s(t)+".";return function(t){for(var e=Object(m["a"])(T.messages(),n+t)||Object(m["a"])(T.messages(),t),r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return"function"===typeof e?e.apply(void 0,o):e}}function j(t){return t="van-"+t,[h(t),u(t),Y(t)]}e.d(n,"a",function(){return j})},ea8e:function(t,n,e){"use strict";var r=e("a142");function o(t){return/^\d+(\.\d+)?$/.test(t)}function i(t){if(Object(r["b"])(t))return t=String(t),o(t)?t+"px":t}e.d(n,"a",function(){return i})}}]);
- //# sourceMappingURL=chunk-3467d3c0.aea30e69.js.map
|