7900.5681e07b.js 9.6 KB

1
  1. (self["webpackChunkuview2_0_cli"]=self["webpackChunkuview2_0_cli"]||[]).push([[7900],{35397:function(t,o,e){var n=e(91340);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);var i=e(56).Z;i("522838eb",n,!0,{sourceMap:!1,shadowMode:!1})},88888:function(t,o,e){var n=e(32489);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);var i=e(56).Z;i("63c2130b",n,!0,{sourceMap:!1,shadowMode:!1})},81009:function(t,o,e){var n=e(42422);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);var i=e(56).Z;i("2be7183f",n,!0,{sourceMap:!1,shadowMode:!1})},12682:function(t,o,e){"use strict";e.d(o,{Z:function(){return c}});var n,i={uTransition:e(46800).Z},u=function(){var t=this,o=t.$createElement,e=t._self._c||o;return e("u-transition",{attrs:{show:t.show,"custom-class":"u-overlay",duration:t.duration,"custom-style":t.overlayStyle},on:{click:function(o){arguments[0]=o=t.$handleEvent(o),t.clickHandler.apply(void 0,arguments)}}},[t._t("default")],2)},r=[],s=(e(9653),{props:{show:{type:Boolean,default:uni.$u.props.overlay.show},zIndex:{type:[String,Number],default:uni.$u.props.overlay.zIndex},duration:{type:[String,Number],default:uni.$u.props.overlay.duration},opacity:{type:[String,Number],default:uni.$u.props.overlay.opacity}}}),a={name:"u-overlay",mixins:[uni.$u.mpMixin,uni.$u.mixin,s],computed:{overlayStyle:function(){var t={position:"fixed",top:0,left:0,right:0,zIndex:this.zIndex,bottom:0,"background-color":"rgba(0, 0, 0, ".concat(this.opacity,")")};return uni.$u.deepMerge(t,uni.$u.addStyle(this.customStyle))}},methods:{clickHandler:function(){this.$emit("click")}}},p=a,l=(e(35397),e(69453)),d=(0,l.Z)(p,u,r,!1,null,"ed62b646",null,!1,i,n),c=d.exports},64606:function(t,o,e){"use strict";e.d(o,{Z:function(){return c}});var n,i={uOverlay:e(12682).Z,uTransition:e(46800).Z,uStatusBar:e(94898).Z,uIcon:e(38275).Z,uSafeBottom:e(93809).Z},u=function(){var t=this,o=t.$createElement,e=t._self._c||o;return e("v-uni-view",{staticClass:"u-popup"},[t.overlay?e("u-overlay",{attrs:{show:t.show,duration:t.overlayDuration,customStyle:t.overlayStyle,opacity:t.overlayOpacity},on:{click:function(o){arguments[0]=o=t.$handleEvent(o),t.overlayClick.apply(void 0,arguments)}}}):t._e(),e("u-transition",{attrs:{show:t.show,customStyle:t.transitionStyle,mode:t.position,duration:t.duration},on:{afterEnter:function(o){arguments[0]=o=t.$handleEvent(o),t.afterEnter.apply(void 0,arguments)},click:function(o){arguments[0]=o=t.$handleEvent(o),t.clickHandler.apply(void 0,arguments)}}},[e("v-uni-view",{staticClass:"u-popup__content",style:[t.contentStyle],on:{click:function(o){o.stopPropagation(),arguments[0]=o=t.$handleEvent(o),t.noop.apply(void 0,arguments)}}},[t.safeAreaInsetTop?e("u-status-bar"):t._e(),t._t("default"),t.closeable?e("v-uni-view",{staticClass:"u-popup__content__close",class:["u-popup__content__close--"+t.closeIconPos],attrs:{"hover-class":"u-popup__content__close--hover","hover-stay-time":"150"},on:{click:function(o){o.stopPropagation(),arguments[0]=o=t.$handleEvent(o),t.close.apply(void 0,arguments)}}},[e("u-icon",{attrs:{name:"close",color:"#909399",size:"18",bold:!0}})],1):t._e(),t.safeAreaInsetBottom?e("u-safe-bottom"):t._e()],2)],1)],1)},r=[],s=(e(9653),{props:{show:{type:Boolean,default:uni.$u.props.popup.show},overlay:{type:Boolean,default:uni.$u.props.popup.overlay},mode:{type:String,default:uni.$u.props.popup.mode},duration:{type:[String,Number],default:uni.$u.props.popup.duration},closeable:{type:Boolean,default:uni.$u.props.popup.closeable},overlayStyle:{type:[Object,String],default:uni.$u.props.popup.overlayStyle},closeOnClickOverlay:{type:Boolean,default:uni.$u.props.popup.closeOnClickOverlay},zIndex:{type:[String,Number],default:uni.$u.props.popup.zIndex},safeAreaInsetBottom:{type:Boolean,default:uni.$u.props.popup.safeAreaInsetBottom},safeAreaInsetTop:{type:Boolean,default:uni.$u.props.popup.safeAreaInsetTop},closeIconPos:{type:String,default:uni.$u.props.popup.closeIconPos},round:{type:[Boolean,String,Number],default:uni.$u.props.popup.round},zoom:{type:Boolean,default:uni.$u.props.popup.zoom},bgColor:{type:String,default:uni.$u.props.popup.bgColor},overlayOpacity:{type:[Number,String],default:uni.$u.props.popup.overlayOpacity}}}),a={name:"u-popup",mixins:[uni.$u.mpMixin,uni.$u.mixin,s],data:function(){return{overlayDuration:this.duration+50}},watch:{show:function(t,o){}},computed:{transitionStyle:function(){var t={zIndex:this.zIndex,position:"fixed",display:"flex"};return t[this.mode]=0,"left"===this.mode||"right"===this.mode?uni.$u.deepMerge(t,{bottom:0,top:0}):"top"===this.mode||"bottom"===this.mode?uni.$u.deepMerge(t,{left:0,right:0}):"center"===this.mode?uni.$u.deepMerge(t,{alignItems:"center","justify-content":"center",top:0,left:0,right:0,bottom:0}):void 0},contentStyle:function(){var t={},o=uni.$u.sys();o.safeAreaInsets;if("center"!==this.mode&&(t.flex=1),this.bgColor&&(t.backgroundColor=this.bgColor),this.round){var e=uni.$u.addUnit(this.round);"top"===this.mode?(t.borderBottomLeftRadius=e,t.borderBottomRightRadius=e):"bottom"===this.mode?(t.borderTopLeftRadius=e,t.borderTopRightRadius=e):"center"===this.mode&&(t.borderRadius=e)}return uni.$u.deepMerge(t,uni.$u.addStyle(this.customStyle))},position:function(){return"center"===this.mode?this.zoom?"fade-zoom":"fade":"left"===this.mode?"slide-left":"right"===this.mode?"slide-right":"bottom"===this.mode?"slide-up":"top"===this.mode?"slide-down":void 0}},methods:{overlayClick:function(){this.closeOnClickOverlay&&this.$emit("close")},close:function(t){this.$emit("close")},afterEnter:function(){this.$emit("open")},clickHandler:function(){"center"===this.mode&&this.overlayClick(),this.$emit("click")}}},p=a,l=(e(88888),e(69453)),d=(0,l.Z)(p,u,r,!1,null,"63bc9907",null,!1,i,n),c=d.exports},93809:function(t,o,e){"use strict";var n;e.d(o,{Z:function(){return c}});var i,u=function(){var t=this,o=t.$createElement,e=t._self._c||o;return e("v-uni-view",{staticClass:"u-safe-bottom",class:[!t.isNvue&&"u-safe-area-inset-bottom"],style:[t.style]})},r=[],s={props:{}},a={name:"u-safe-bottom",mixins:[uni.$u.mpMixin,uni.$u.mixin,s],data:function(){return{safeAreaBottomHeight:0,isNvue:!1}},computed:{style:function(){var t={};return uni.$u.deepMerge(t,uni.$u.addStyle(this.customStyle))}},mounted:function(){}},p=a,l=(e(81009),e(69453)),d=(0,l.Z)(p,u,r,!1,null,"b1c30928",null,!1,n,i),c=d.exports},91340:function(t,o,e){"use strict";e.r(o);var n=e(43481),i=e.n(n),u=e(2400),r=e.n(u),s=r()(i());s.push([t.id,'@charset "UTF-8";\n/**\n * 下方引入的为uView UI的集成样式文件,为scss预处理器,其中包含了一些"u-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * uView自定义的css类名和scss变量,均以"u-"开头,不会造成冲突,请放心使用\n */uni-view[data-v-ed62b646], uni-scroll-view[data-v-ed62b646], uni-swiper-item[data-v-ed62b646]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-overlay[data-v-ed62b646]{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.7)}',""]),o["default"]=s},32489:function(t,o,e){"use strict";e.r(o);var n=e(43481),i=e.n(n),u=e(2400),r=e.n(u),s=r()(i());s.push([t.id,'@charset "UTF-8";\n/**\n * 下方引入的为uView UI的集成样式文件,为scss预处理器,其中包含了一些"u-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * uView自定义的css类名和scss变量,均以"u-"开头,不会造成冲突,请放心使用\n */uni-view[data-v-63bc9907], uni-scroll-view[data-v-63bc9907], uni-swiper-item[data-v-63bc9907]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-popup[data-v-63bc9907]{flex:1}.u-popup__content[data-v-63bc9907]{background-color:#fff;position:relative}.u-popup__content--round-top[data-v-63bc9907]{border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:10px;border-bottom-right-radius:10px}.u-popup__content--round-left[data-v-63bc9907]{border-top-left-radius:0;border-top-right-radius:10px;border-bottom-left-radius:0;border-bottom-right-radius:10px}.u-popup__content--round-right[data-v-63bc9907]{border-top-left-radius:10px;border-top-right-radius:0;border-bottom-left-radius:10px;border-bottom-right-radius:0}.u-popup__content--round-bottom[data-v-63bc9907]{border-top-left-radius:10px;border-top-right-radius:10px;border-bottom-left-radius:0;border-bottom-right-radius:0}.u-popup__content--round-center[data-v-63bc9907]{border-top-left-radius:10px;border-top-right-radius:10px;border-bottom-left-radius:10px;border-bottom-right-radius:10px}.u-popup__content__close[data-v-63bc9907]{position:absolute}.u-popup__content__close--hover[data-v-63bc9907]{opacity:.4}.u-popup__content__close--top-left[data-v-63bc9907]{top:15px;left:15px}.u-popup__content__close--top-right[data-v-63bc9907]{top:15px;right:15px}.u-popup__content__close--bottom-left[data-v-63bc9907]{bottom:15px;left:15px}.u-popup__content__close--bottom-right[data-v-63bc9907]{right:15px;bottom:15px}',""]),o["default"]=s},42422:function(t,o,e){"use strict";e.r(o);var n=e(43481),i=e.n(n),u=e(2400),r=e.n(u),s=r()(i());s.push([t.id,'@charset "UTF-8";\n/**\n * 下方引入的为uView UI的集成样式文件,为scss预处理器,其中包含了一些"u-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * uView自定义的css类名和scss变量,均以"u-"开头,不会造成冲突,请放心使用\n */.u-safe-bottom[data-v-b1c30928]{width:100%}',""]),o["default"]=s}}]);