| 12 |
- /*! vue-ydui v1.2.6 by YDCSS (c) 2018 Licensed MIT */
- !function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.ydui=n():e.ydui=n()}(this,function(){return function(e){function n(o){if(t[o])return t[o].exports;var r=t[o]={exports:{},id:o,loaded:!1};return e[o].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}var t={};return n.m=e,n.c=t,n.p="/dist/",n(0)}({0:function(e,n,t){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.Icons=void 0;var r=t(96),i=o(r);n.Icons=i.default},1:function(e,n){e.exports=function(e,n,t,o){var r,i=e=e||{},c=typeof e.default;"object"!==c&&"function"!==c||(r=e,i=e.default);var s="function"==typeof i?i.options:i;if(n&&(s.render=n.render,s.staticRenderFns=n.staticRenderFns),t&&(s._scopeId=t),o){var a=s.computed||(s.computed={});Object.keys(o).forEach(function(e){var n=o[e];a[e]=function(){return n}})}return{esModule:r,exports:i,options:s}}},2:function(e,n){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],n=0;n<this.length;n++){var t=this[n];t[2]?e.push("@media "+t[2]+"{"+t[1]+"}"):e.push(t[1])}return e.join("")},e.i=function(n,t){"string"==typeof n&&(n=[[null,n,""]]);for(var o={},r=0;r<this.length;r++){var i=this[r][0];"number"==typeof i&&(o[i]=!0)}for(r=0;r<n.length;r++){var c=n[r];"number"==typeof c[0]&&o[c[0]]||(t&&!c[2]?c[2]=t:t&&(c[2]="("+c[2]+") and ("+t+")"),e.push(c))}},e}},3:function(e,n,t){function o(e){for(var n=0;n<e.length;n++){var t=e[n],o=f[t.id];if(o){o.refs++;for(var r=0;r<o.parts.length;r++)o.parts[r](t.parts[r]);for(;r<t.parts.length;r++)o.parts.push(i(t.parts[r]));o.parts.length>t.parts.length&&(o.parts.length=t.parts.length)}else{for(var c=[],r=0;r<t.parts.length;r++)c.push(i(t.parts[r]));f[t.id]={id:t.id,refs:1,parts:c}}}}function r(){var e=document.createElement("style");return e.type="text/css",u.appendChild(e),e}function i(e){var n,t,o=document.querySelector('style[data-vue-ssr-id~="'+e.id+'"]');if(o){if(y)return b;o.parentNode.removeChild(o)}if(m){var i=p++;o=l||(l=r()),n=c.bind(null,o,i,!1),t=c.bind(null,o,i,!0)}else o=r(),n=s.bind(null,o),t=function(){o.parentNode.removeChild(o)};return n(e),function(o){if(o){if(o.css===e.css&&o.media===e.media&&o.sourceMap===e.sourceMap)return;n(e=o)}else t()}}function c(e,n,t,o){var r=t?"":o.css;if(e.styleSheet)e.styleSheet.cssText=h(n,r);else{var i=document.createTextNode(r),c=e.childNodes;c[n]&&e.removeChild(c[n]),c.length?e.insertBefore(i,c[n]):e.appendChild(i)}}function s(e,n){var t=n.css,o=n.media,r=n.sourceMap;if(o&&e.setAttribute("media",o),r&&(t+="\n/*# sourceURL="+r.sources[0]+" */",t+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),e.styleSheet)e.styleSheet.cssText=t;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(t))}}var a="undefined"!=typeof document,d=t(4),f={},u=a&&(document.head||document.getElementsByTagName("head")[0]),l=null,p=0,y=!1,b=function(){},m="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());e.exports=function(e,n,t){y=t;var r=d(e,n);return o(r),function(n){for(var t=[],i=0;i<r.length;i++){var c=r[i],s=f[c.id];s.refs--,t.push(s)}n?(r=d(e,n),o(r)):r=[];for(var i=0;i<t.length;i++){var s=t[i];if(0===s.refs){for(var a=0;a<s.parts.length;a++)s.parts[a]();delete f[s.id]}}}};var h=function(){var e=[];return function(n,t){return e[n]=t,e.filter(Boolean).join("\n")}}()},4:function(e,n){e.exports=function(e,n){for(var t=[],o={},r=0;r<n.length;r++){var i=n[r],c=i[0],s=i[1],a=i[2],d=i[3],f={id:e+":"+r,css:s,media:a,sourceMap:d};o[c]?o[c].parts.push(f):t.push(o[c]={id:c,parts:[f]})}return t}},5:function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=function(){var e=function(e){e.preventDefault(),e.stopPropagation()},n=!1;return{lock:function(t){n||(n=!0,(t||document).addEventListener("touchmove",e))},unlock:function(t){n=!1,(t||document).removeEventListener("touchmove",e)}}}(),o=function(){return{lock:function(e){r&&d(e||document.body,"g-fix-ios-prevent-scroll")},unlock:function(e){r&&f(e||document.body,"g-fix-ios-prevent-scroll")}}}(),r=!!(window.navigator&&window.navigator.userAgent||"").match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),i=function(e){var n=/^#([a-fA-F0-9]){3}(([a-fA-F0-9]){3})?$/,t=/^[rR][gG][bB][aA]\(\s*((25[0-5]|2[0-4]\d|1?\d{1,2})\s*,\s*){3}\s*(\.|\d+\.)?\d+\s*\)$/,o=/^[rR][gG][bB]\(\s*((25[0-5]|2[0-4]\d|1?\d{1,2})\s*,\s*){2}(25[0-5]|2[0-4]\d|1?\d{1,2})\s*\)$/;return n.test(e)||t.test(e)||o.test(e)},c=function(e){for(var n=e;n&&"HTML"!==n.tagName&&"BODY"!==n.tagName&&1===n.nodeType;){var t=document.defaultView.getComputedStyle(n).overflowY;if("scroll"===t||"auto"===t)return n;n=n.parentNode}return window},s=function(e,n){var t=e===window?document.body.offsetHeight:e.offsetHeight,o=e===window?0:e.getBoundingClientRect().top,r=n.getBoundingClientRect().top-o,i=r+n.offsetHeight;return r>=0&&r<t||i>0&&i<=t},a=function(e,n){return n=n||"",!(0===n.replace(/\s/g,"").length||!e)&&new RegExp(" "+n+" ").test(" "+e.className+" ")},d=function(e,n){a(e,n)||(e.className=""===e.className?n:e.className+" "+n)},f=function(e,n){if(a(e,n)){for(var t=" "+e.className.replace(/[\t\r\n]/g,"")+" ";t.indexOf(" "+n+" ")>=0;)t=t.replace(" "+n+" "," ");e.className=t.replace(/^\s+|\s+$/g,"")}},u=function(e){function n(t,o,r){if(t===o)return void("function"==typeof i&&i());var c=t+r>o?o:t+r;t>o&&(c=t-r<o?o:t-r),e===window?window.scrollTo(c,c):e.scrollTop=c,window.requestAnimationFrame(function(){return n(c,o,r)})}var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500,i=arguments[4];window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});var c=Math.abs(t-o),s=Math.ceil(c/r*50);n(t,o,s)};n.pageScroll=t,n.preventScroll=o,n.isIOS=r,n.isColor=i,n.getScrollview=c,n.checkInview=s,n.addClass=d,n.removeClass=f,n.scrollTop=u},41:function(e,n,t){n=e.exports=t(2)(),n.push([e.id,'@font-face{font-family:YDUI-ICONS;src:url("//at.alicdn.com/t/font_1461139240_0312312.ttf") format("truetype")}[class*=" yd-icon-"]:before,[class^=yd-icon-]:before{font-family:YDUI-ICONS;font-size:inherit;display:inline-block}[class*=" icon-custom-"]:before,[class^=icon-custom-]:before{font-size:inherit;display:inline-block}.yd-icon-footmark:before{content:"\\E636"}.yd-icon-discount:before{content:"\\E633"}.yd-icon-verifycode:before{content:"\\E632"}.yd-icon-star-outline:before{content:"\\E630"}.yd-icon-star:before{content:"\\E631"}.yd-icon-weibo:before{content:"\\E62F"}.yd-icon-download:before{content:"\\E62E"}.yd-icon-next:before{content:"\\E62D"}.yd-icon-home-outline:before{content:"\\E62C"}.yd-icon-home:before{content:"\\E63D"}.yd-icon-weixin:before{content:"\\E629"}.yd-icon-refresh:before{content:"\\E628"}.yd-icon-tencent-weibo:before{content:"\\E627"}.yd-icon-search:before{content:"\\E626"}.yd-icon-time:before{content:"\\E625"}.yd-icon-prev:before{content:"\\E624"}.yd-icon-like-outline:before{content:"\\E639"}.yd-icon-like:before{content:"\\E63A"}.yd-icon-setting:before{content:"\\E623"}.yd-icon-delete:before{content:"\\E622"}.yd-icon-sortlist:before{content:"\\E621"}.yd-icon-sortlarger:before{content:"\\E620"}.yd-icon-sortlargest:before{content:"\\E61F"}.yd-icon-qq:before{content:"\\E62A"}.yd-icon-more:before{content:"\\E618"}.yd-icon-shopcart-outline:before{content:"\\E61A"}.yd-icon-shopcart:before{content:"\\E619"}.yd-icon-checkoff:before{content:"\\E617"}.yd-icon-bad:before{content:"\\E61C"}.yd-icon-video:before{content:"\\E61D"}.yd-icon-clock:before{content:"\\E61E"}.yd-icon-ucenter-outline:before{content:"\\E616"}.yd-icon-ucenter:before{content:"\\E615"}.yd-icon-warn-outline:before{content:"\\E613"}.yd-icon-warn:before{content:"\\E614"}.yd-icon-share1:before{content:"\\E610"}.yd-icon-share2:before{content:"\\E60E"}.yd-icon-share3:before{content:"\\E60D"}.yd-icon-feedback:before{content:"\\E60F"}.yd-icon-type:before{content:"\\E60C"}.yd-icon-discover:before{content:"\\E60B"}.yd-icon-good:before{content:"\\E61B"}.yd-icon-shield-outline:before{content:"\\E608"}.yd-icon-shield:before{content:"\\E60A"}.yd-icon-qrscan:before{content:"\\E609"}.yd-icon-location:before{content:"\\E607"}.yd-icon-phone1:before{content:"\\E606"}.yd-icon-phone2:before{content:"\\E637"}.yd-icon-phone3:before{content:"\\E63B"}.yd-icon-error-outline:before{content:"\\E602"}.yd-icon-error:before{content:"\\E603"}.yd-icon-play:before{content:"\\E601"}.yd-icon-compose:before{content:"\\E600"}.yd-icon-question:before{content:"\\E62B"}.yd-icon-order:before{content:"\\E638"}',""])},96:function(e,n,t){t(219);var o=t(1)(t(277),t(150),null,null);e.exports=o.exports},150:function(e,n){e.exports={render:function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("i",{class:e.classes,style:e.styles})},staticRenderFns:[]}},219:function(e,n,t){var o=t(41);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);t(3)("33d29a20",o,!0)},277:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o=t(5);n.default={name:"yd-icon",props:{name:String,color:{validator:function(e){return!e||(0,o.isColor)(e)}},size:{validator:function(e){return/^(\.|\d+\.)?\d+(px|rem)$/.test(e)},default:"30px"},custom:{type:Boolean,default:!1}},computed:{classes:function(){return this.custom?"icon-custom-"+this.name:"yd-icon-"+this.name},styles:function(){var e={};return this.size&&(e.fontSize=this.size),this.color&&(e.color=this.color),e}}}}})});
|