first commit
This commit is contained in:
10
unpackage/dist/build/mp-weixin/node-modules/uview-ui/components/u-popup/u-popup.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/node-modules/uview-ui/components/u-popup/u-popup.js
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["node-modules/uview-ui/components/u-popup/u-popup"],{"053c":function(t,e,o){"use strict";o.r(e);var n=o("d214"),i=o.n(n);for(var u in n)["default"].indexOf(u)<0&&function(t){o.d(e,t,(function(){return n[t]}))}(u);e["default"]=i.a},"6abc":function(t,e,o){"use strict";o.d(e,"b",(function(){return i})),o.d(e,"c",(function(){return u})),o.d(e,"a",(function(){return n}));var n={uOverlay:function(){return Promise.all([o.e("common/vendor"),o.e("node-modules/uview-ui/components/u-overlay/u-overlay")]).then(o.bind(null,"281b"))},uTransition:function(){return Promise.all([o.e("common/vendor"),o.e("node-modules/uview-ui/components/u-transition/u-transition")]).then(o.bind(null,"1111"))},uStatusBar:function(){return Promise.all([o.e("common/vendor"),o.e("node-modules/uview-ui/components/u-status-bar/u-status-bar")]).then(o.bind(null,"1404"))},uIcon:function(){return Promise.all([o.e("common/vendor"),o.e("node-modules/uview-ui/components/u-icon/u-icon")]).then(o.bind(null,"15bf"))},uSafeBottom:function(){return Promise.all([o.e("common/vendor"),o.e("node-modules/uview-ui/components/u-safe-bottom/u-safe-bottom")]).then(o.bind(null,"b60ec"))}},i=function(){var t=this.$createElement,e=(this._self._c,this.__get_style([this.contentStyle]));this.$mp.data=Object.assign({},{$root:{s0:e}})},u=[]},"6bf2":function(t,e,o){},b787:function(t,e,o){"use strict";o.r(e);var n=o("6abc"),i=o("053c");for(var u in i)["default"].indexOf(u)<0&&function(t){o.d(e,t,(function(){return i[t]}))}(u);o("e776");var r=o("828b"),s=Object(r["a"])(i["default"],n["b"],n["c"],!1,null,"2496386f",null,!1,n["a"],void 0);e["default"]=s.exports},d214:function(t,e,o){"use strict";(function(t){var n=o("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(o("baa6")),u={name:"u-popup",mixins:[t.$u.mpMixin,t.$u.mixin,i.default],data:function(){return{overlayDuration:this.duration+50}},watch:{show:function(t,e){if(!0===t){var o=this.$children;this.retryComputedComponentRect(o)}}},computed:{transitionStyle:function(){var e={zIndex:this.zIndex,position:"fixed",display:"flex"};return e[this.mode]=0,"left"===this.mode||"right"===this.mode?t.$u.deepMerge(e,{bottom:0,top:0}):"top"===this.mode||"bottom"===this.mode?t.$u.deepMerge(e,{left:0,right:0}):"center"===this.mode?t.$u.deepMerge(e,{alignItems:"center","justify-content":"center",top:0,left:0,right:0,bottom:0}):void 0},contentStyle:function(){var e={},o=t.$u.sys();o.safeAreaInsets;if("center"!==this.mode&&(e.flex=1),this.bgColor&&(e.backgroundColor=this.bgColor),this.round){var n=t.$u.addUnit(this.round);"top"===this.mode?(e.borderBottomLeftRadius=n,e.borderBottomRightRadius=n):"bottom"===this.mode?(e.borderTopLeftRadius=n,e.borderTopRightRadius=n):"center"===this.mode&&(e.borderRadius=n)}return t.$u.deepMerge(e,t.$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")},retryComputedComponentRect:function(e){for(var o=this,n=["u-calendar-month","u-album","u-collapse-item","u-dropdown","u-index-item","u-index-list","u-line-progress","u-list-item","u-rate","u-read-more","u-row","u-row-notice","u-scroll-list","u-skeleton","u-slider","u-steps-item","u-sticky","u-subsection","u-swipe-action-item","u-tabbar","u-tabs","u-tooltip"],i=function(i){var u=e[i],r=u.$children;n.includes(u.$options.name)&&"function"===typeof(null===u||void 0===u?void 0:u.init)&&t.$u.sleep(50).then((function(){u.init()})),r.length&&o.retryComputedComponentRect(r)},u=0;u<e.length;u++)i(u)}}};e.default=u}).call(this,o("df3c")["default"])},e776:function(t,e,o){"use strict";var n=o("6bf2"),i=o.n(n);i.a}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'node-modules/uview-ui/components/u-popup/u-popup-create-component',
|
||||
{
|
||||
'node-modules/uview-ui/components/u-popup/u-popup-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("b787"))
|
||||
})
|
||||
},
|
||||
[['node-modules/uview-ui/components/u-popup/u-popup-create-component']]
|
||||
]);
|
||||
10
unpackage/dist/build/mp-weixin/node-modules/uview-ui/components/u-popup/u-popup.json
vendored
Normal file
10
unpackage/dist/build/mp-weixin/node-modules/uview-ui/components/u-popup/u-popup.json
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"usingComponents": {
|
||||
"u-overlay": "/node-modules/uview-ui/components/u-overlay/u-overlay",
|
||||
"u-transition": "/node-modules/uview-ui/components/u-transition/u-transition",
|
||||
"u-status-bar": "/node-modules/uview-ui/components/u-status-bar/u-status-bar",
|
||||
"u-icon": "/node-modules/uview-ui/components/u-icon/u-icon",
|
||||
"u-safe-bottom": "/node-modules/uview-ui/components/u-safe-bottom/u-safe-bottom"
|
||||
},
|
||||
"component": true
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/node-modules/uview-ui/components/u-popup/u-popup.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/node-modules/uview-ui/components/u-popup/u-popup.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="u-popup data-v-2496386f"><block wx:if="{{overlay}}"><u-overlay vue-id="1ee74923-1" show="{{show}}" duration="{{overlayDuration}}" customStyle="{{overlayStyle}}" opacity="{{overlayOpacity}}" data-event-opts="{{[['^click',[['overlayClick']]]]}}" bind:click="__e" class="data-v-2496386f" bind:__l="__l"></u-overlay></block><u-transition vue-id="1ee74923-2" show="{{show}}" customStyle="{{transitionStyle}}" mode="{{position}}" duration="{{duration}}" data-event-opts="{{[['^afterEnter',[['afterEnter']]],['^click',[['clickHandler']]]]}}" bind:afterEnter="__e" bind:click="__e" class="data-v-2496386f" bind:__l="__l" vue-slots="{{['default']}}"><view data-event-opts="{{[['tap',[['noop',['$event']]]]]}}" class="u-popup__content data-v-2496386f" style="{{$root.s0}}" catchtap="__e"><block wx:if="{{safeAreaInsetTop}}"><u-status-bar vue-id="{{('1ee74923-3')+','+('1ee74923-2')}}" class="data-v-2496386f" bind:__l="__l"></u-status-bar></block><slot></slot><block wx:if="{{closeable}}"><view class="{{['u-popup__content__close','data-v-2496386f','u-popup__content__close--'+closeIconPos]}}" hover-class="u-popup__content__close--hover" hover-stay-time="150" data-event-opts="{{[['tap',[['close',['$event']]]]]}}" catchtap="__e"><u-icon vue-id="{{('1ee74923-4')+','+('1ee74923-2')}}" name="close" color="#909399" size="18" bold="{{true}}" class="data-v-2496386f" bind:__l="__l"></u-icon></view></block><block wx:if="{{safeAreaInsetBottom}}"><u-safe-bottom vue-id="{{('1ee74923-5')+','+('1ee74923-2')}}" class="data-v-2496386f" bind:__l="__l"></u-safe-bottom></block></view></u-transition></view>
|
||||
1
unpackage/dist/build/mp-weixin/node-modules/uview-ui/components/u-popup/u-popup.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/node-modules/uview-ui/components/u-popup/u-popup.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
view.data-v-2496386f, scroll-view.data-v-2496386f, swiper-item.data-v-2496386f{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-2496386f{flex:1}.u-popup__content.data-v-2496386f{background-color:#fff;position:relative}.u-popup__content--round-top.data-v-2496386f{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-2496386f{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-2496386f{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-2496386f{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-2496386f{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-2496386f{position:absolute}.u-popup__content__close--hover.data-v-2496386f{opacity:.4}.u-popup__content__close--top-left.data-v-2496386f{top:15px;left:15px}.u-popup__content__close--top-right.data-v-2496386f{top:15px;right:15px}.u-popup__content__close--bottom-left.data-v-2496386f{bottom:15px;left:15px}.u-popup__content__close--bottom-right.data-v-2496386f{right:15px;bottom:15px}
|
||||
Reference in New Issue
Block a user