This commit is contained in:
2025-12-20 08:34:16 +08:00
commit 9d4fdc7242
872 changed files with 3536 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/uni-popup/uni-popup-sku-new"],{"0014":function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i={name:"UniPopup",props:{animation:{type:Boolean,default:!0},type:{type:String,default:"center"},custom:{type:Boolean,default:!1},maskClick:{type:Boolean,default:!0},show:{type:Boolean,default:!0}},data:function(){return{ani:"",showPopup:!1,callback:null,isIphoneX:!1}},watch:{show:function(t){t?this.open():this.close()}},created:function(){this.isIphoneX=this.$util.uniappIsIPhoneX()},methods:{clear:function(){},open:function(t){var n=this;t&&(this.callback=t),this.$emit("change",{show:!0}),this.showPopup=!0,this.$nextTick((function(){setTimeout((function(){n.ani="uni-"+n.type}),30)}))},close:function(t,n){var e=this;!this.maskClick&&t||(this.$emit("change",{show:!1}),this.ani="",this.$nextTick((function(){setTimeout((function(){e.showPopup=!1}),300)})),n&&n(),this.callback&&this.callback.call(this))}}};n.default=i},"078d":function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return o})),e.d(n,"a",(function(){}));var i=function(){var t=this.$createElement;this._self._c},o=[]},"2cdc":function(t,n,e){},4015:function(t,n,e){"use strict";e.r(n);var i=e("0014"),o=e.n(i);for(var u in i)["default"].indexOf(u)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(u);n["default"]=o.a},"97da":function(t,n,e){"use strict";e.r(n);var i=e("078d"),o=e("4015");for(var u in o)["default"].indexOf(u)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(u);e("9f4b");var a=e("828b"),c=Object(a["a"])(o["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);n["default"]=c.exports},"9f4b":function(t,n,e){"use strict";var i=e("2cdc"),o=e.n(i);o.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/uni-popup/uni-popup-sku-new-create-component',
{
'components/uni-popup/uni-popup-sku-new-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("97da"))
})
},
[['components/uni-popup/uni-popup-sku-new-create-component']]
]);

View File

@@ -0,0 +1,4 @@
{
"usingComponents": {},
"component": true
}

View File

@@ -0,0 +1 @@
<block wx:if="{{showPopup}}"><view class="uni-popup"><view data-event-opts="{{[['tap',[['close',[true]]]]]}}" class="{{['uni-popup__mask',ani,animation?'ani':'',!custom?'uni-custom':'']}}" bindtap="__e"></view><block wx:if="{{isIphoneX}}"><view data-event-opts="{{[['tap',[['close',[true]]]]]}}" class="{{['uni-popup__wrapper','goodslist-uni-popup','safe-area',type,ani,animation?'ani':'',!custom?'uni-custom':'']}}" bindtap="__e"><view data-event-opts="{{[['tap',[['clear',['$event']]]]]}}" class="uni-popup__wrapper-box goodslist-uni-popup-box" catchtap="__e"><slot></slot></view></view></block><block wx:else><view data-event-opts="{{[['tap',[['close',[true]]]]]}}" class="{{['uni-popup__wrapper','goodslist-uni-popup',type,ani,animation?'ani':'',!custom?'uni-custom':'']}}" bindtap="__e"><view data-event-opts="{{[['tap',[['clear',['$event']]]]]}}" class="uni-popup__wrapper-box goodslist-uni-popup-box" catchtap="__e"><slot></slot></view></view></block></view></block>

View File

@@ -0,0 +1,8 @@
.uni-popup{position:fixed;top:0;bottom:0;left:0;right:0;z-index:999;overflow:hidden}.uni-popup__mask{position:absolute;top:0;bottom:0;left:0;right:0;z-index:998;background:rgba(0,0,0,.4);opacity:0}.uni-popup__mask.ani{transition:all .3s}.uni-popup__mask.uni-bottom,
.uni-popup__mask.uni-center,
.uni-popup__mask.uni-right,
.uni-popup__mask.uni-left,
.uni-popup__mask.uni-top{opacity:1}.uni-popup__wrapper{position:absolute;z-index:999;box-sizing:border-box}.uni-popup__wrapper.ani{transition:all .3s}.uni-popup__wrapper.top{top:0;left:0;width:100%;-webkit-transform:translateY(-100%);transform:translateY(-100%)}.uni-popup__wrapper.bottom{bottom:0;left:0;width:100%;-webkit-transform:translateY(100%);transform:translateY(100%)}.uni-popup__wrapper.right{bottom:0;left:0;width:100%;-webkit-transform:translateX(100%);transform:translateX(100%)}.uni-popup__wrapper.left{bottom:0;left:0;width:100%;-webkit-transform:translateX(-100%);transform:translateX(-100%)}.uni-popup__wrapper.center{width:100%;height:100%;display:flex;justify-content:center;align-items:center;-webkit-transform:scale(1.2);transform:scale(1.2);opacity:0}.uni-popup__wrapper-box{position:relative;box-sizing:border-box}.uni-popup__wrapper.uni-custom.center .uni-popup__wrapper-box{position:relative;max-width:80%;max-height:80%;overflow-y:scroll}.uni-popup__wrapper.uni-custom.bottom .uni-popup__wrapper-box,
.uni-popup__wrapper.uni-custom.top .uni-popup__wrapper-box{width:100%;max-height:500px;overflow-y:scroll}.uni-popup__wrapper.uni-bottom,
.uni-popup__wrapper.uni-top{-webkit-transform:translateY(0);transform:translateY(0)}.uni-popup__wrapper.uni-left,
.uni-popup__wrapper.uni-right{-webkit-transform:translateX(0);transform:translateX(0)}.uni-popup__wrapper.uni-center{-webkit-transform:scale(1);transform:scale(1);opacity:1}.bottom.safe-area{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}

View File

@@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/uni-popup/uni-popup-sku"],{"07a5":function(t,n,i){"use strict";i.d(n,"b",(function(){return e})),i.d(n,"c",(function(){return a})),i.d(n,"a",(function(){}));var e=function(){var t=this.$createElement;this._self._c},a=[]},"11ca":function(t,n,i){},"945b":function(t,n,i){"use strict";i.r(n);var e=i("f356"),a=i.n(e);for(var o in e)["default"].indexOf(o)<0&&function(t){i.d(n,t,(function(){return e[t]}))}(o);n["default"]=a.a},a8ac:function(t,n,i){"use strict";var e=i("11ca"),a=i.n(e);a.a},d96b:function(t,n,i){"use strict";i.r(n);var e=i("07a5"),a=i("945b");for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(n,t,(function(){return a[t]}))}(o);i("a8ac");var u=i("828b"),c=Object(u["a"])(a["default"],e["b"],e["c"],!1,null,null,null,!1,e["a"],void 0);n["default"]=c.exports},f356:function(t,n,i){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e={name:"UniPopup",props:{animation:{type:Boolean,default:!0},type:{type:String,default:"center"},custom:{type:Boolean,default:!1},maskClick:{type:Boolean,default:!0},show:{type:Boolean,default:!0}},data:function(){return{ani:"",showPopup:!1,callback:null,isIphoneX:!1}},watch:{show:function(t){t?this.open():this.close()}},created:function(){this.isIphoneX=this.$util.uniappIsIPhoneX()},methods:{clear:function(){},open:function(t){var n=this;t&&(this.callback=t),this.$emit("change",{show:!0}),this.showPopup=!0,this.$nextTick((function(){setTimeout((function(){n.ani="uni-"+n.type}),30)}))},close:function(t,n){var i=this;!this.maskClick&&t||(this.$emit("change",{show:!1}),this.ani="",this.$nextTick((function(){setTimeout((function(){i.showPopup=!1}),300)})),n&&n(),this.callback&&this.callback.call(this))}}};n.default=e}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/uni-popup/uni-popup-sku-create-component',
{
'components/uni-popup/uni-popup-sku-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("d96b"))
})
},
[['components/uni-popup/uni-popup-sku-create-component']]
]);

View File

@@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<block wx:if="{{showPopup}}"><view class="uni-popup"><view data-event-opts="{{[['tap',[['close',[true]]]]]}}" class="{{['uni-popup__mask',ani,animation?'ani':'',!custom?'uni-custom':'']}}" bindtap="__e"></view><block wx:if="{{isIphoneX}}"><view data-event-opts="{{[['tap',[['close',[true]]]]]}}" class="{{['uni-popup__wrapper','safe-area',type,ani,animation?'ani':'',!custom?'uni-custom':'']}}" bindtap="__e"><view data-event-opts="{{[['tap',[['clear',['$event']]]]]}}" class="uni-popup__wrapper-box" catchtap="__e"><slot></slot></view></view></block><block wx:else><view data-event-opts="{{[['tap',[['close',[true]]]]]}}" class="{{['uni-popup__wrapper',type,ani,animation?'ani':'',!custom?'uni-custom':'']}}" bindtap="__e"><view data-event-opts="{{[['tap',[['clear',['$event']]]]]}}" class="uni-popup__wrapper-box" catchtap="__e"><slot></slot></view></view></block></view></block>

View File

@@ -0,0 +1,8 @@
.uni-popup{position:fixed;top:0;bottom:0;left:0;right:0;z-index:999;overflow:hidden}.uni-popup__mask{position:absolute;top:0;bottom:0;left:0;right:0;z-index:998;background:rgba(0,0,0,.4);opacity:0}.uni-popup__mask.ani{transition:all .3s}.uni-popup__mask.uni-bottom,
.uni-popup__mask.uni-center,
.uni-popup__mask.uni-right,
.uni-popup__mask.uni-left,
.uni-popup__mask.uni-top{opacity:1}.uni-popup__wrapper{position:absolute;z-index:999;box-sizing:border-box;background:#fff}.uni-popup__wrapper.ani{transition:all .3s}.uni-popup__wrapper.top{top:0;left:0;width:100%;-webkit-transform:translateY(-100%);transform:translateY(-100%)}.uni-popup__wrapper.bottom{bottom:0;left:0;width:100%;-webkit-transform:translateY(100%);transform:translateY(100%)}.uni-popup__wrapper.right{bottom:0;left:0;width:100%;-webkit-transform:translateX(100%);transform:translateX(100%)}.uni-popup__wrapper.left{bottom:0;left:0;width:100%;-webkit-transform:translateX(-100%);transform:translateX(-100%)}.uni-popup__wrapper.center{width:100%;height:100%;display:flex;justify-content:center;align-items:center;-webkit-transform:scale(1.2);transform:scale(1.2);opacity:0}.uni-popup__wrapper-box{position:relative;box-sizing:border-box}.uni-popup__wrapper.uni-custom .uni-popup__wrapper-box{background:#fff}.uni-popup__wrapper.uni-custom.center .uni-popup__wrapper-box{position:relative;max-width:80%;max-height:80%;overflow-y:scroll}.uni-popup__wrapper.uni-custom.bottom .uni-popup__wrapper-box,
.uni-popup__wrapper.uni-custom.top .uni-popup__wrapper-box{width:100%;max-height:500px;overflow-y:scroll}.uni-popup__wrapper.uni-bottom,
.uni-popup__wrapper.uni-top{-webkit-transform:translateY(0);transform:translateY(0)}.uni-popup__wrapper.uni-left,
.uni-popup__wrapper.uni-right{-webkit-transform:translateX(0);transform:translateX(0)}.uni-popup__wrapper.uni-center{-webkit-transform:scale(1);transform:scale(1);opacity:1}.bottom.safe-area{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}

View File

@@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/uni-popup/uni-popup"],{1523:function(t,n,e){},1843:function(t,n,e){"use strict";e.r(n);var i=e("2932"),o=e("adac");for(var a in o)["default"].indexOf(a)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(a);e("a8e9");var u=e("828b"),c=Object(u["a"])(o["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);n["default"]=c.exports},2932:function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return o})),e.d(n,"a",(function(){}));var i=function(){var t=this.$createElement;this._self._c},o=[]},"76d5":function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i={name:"UniPopup",props:{animation:{type:Boolean,default:!0},type:{type:String,default:"center"},custom:{type:Boolean,default:!1},maskClick:{type:Boolean,default:!0},show:{type:Boolean,default:!0},top:{type:String,default:"0"},customClass:{type:String,default:""}},data:function(){return{ani:"",showPopup:!1,callback:null,isIphoneX:!1}},watch:{show:function(t){t?this.open():this.close()}},created:function(){this.isIphoneX=this.$util.uniappIsIPhoneX()},methods:{clear:function(){},open:function(t){var n=this;t&&(this.callback=t),this.$emit("change",{show:!0}),this.showPopup=!0,this.$nextTick((function(){setTimeout((function(){n.ani="uni-"+n.type}),30)}))},close:function(t,n){var e=this;!this.maskClick&&t||(this.$emit("change",{show:!1}),this.ani="",this.$nextTick((function(){setTimeout((function(){e.showPopup=!1}),300)})),n&&n(),this.callback&&this.callback.call(this))}}};n.default=i},a8e9:function(t,n,e){"use strict";var i=e("1523"),o=e.n(i);o.a},adac:function(t,n,e){"use strict";e.r(n);var i=e("76d5"),o=e.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(a);n["default"]=o.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/uni-popup/uni-popup-create-component',
{
'components/uni-popup/uni-popup-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("1843"))
})
},
[['components/uni-popup/uni-popup-create-component']]
]);

View File

@@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<block wx:if="{{showPopup}}"><view class="{{['uni-popup',customClass]}}" style="{{'top:'+(top)+';'}}"><view data-event-opts="{{[['tap',[['close',[true]]]]]}}" class="{{['uni-popup__mask',ani,animation?'ani':'',!custom?'uni-custom':'']}}" bindtap="__e"></view><block wx:if="{{isIphoneX}}"><view data-event-opts="{{[['tap',[['close',[true]]]]]}}" class="{{['uni-popup__wrapper','goodslist-uni-popup','safe-area',type,ani,animation?'ani':'',!custom?'uni-custom':'']}}" bindtap="__e"><view data-event-opts="{{[['tap',[['clear',['$event']]]]]}}" class="uni-popup__wrapper-box goodslist-uni-popup-box" catchtap="__e"><slot></slot></view></view></block><block wx:else><view data-event-opts="{{[['tap',[['close',[true]]]]]}}" class="{{['uni-popup__wrapper','goodslist-uni-popup',type,ani,animation?'ani':'',!custom?'uni-custom':'']}}" bindtap="__e"><view data-event-opts="{{[['tap',[['clear',['$event']]]]]}}" class="uni-popup__wrapper-box goodslist-uni-popup-box" catchtap="__e"><slot></slot></view></view></block></view></block>

View File

@@ -0,0 +1,8 @@
.uni-popup{position:fixed;top:0;bottom:0;left:0;right:0;z-index:999;overflow:hidden}.uni-popup__mask{position:absolute;top:0;bottom:0;left:0;right:0;z-index:998;background:rgba(0,0,0,.4);opacity:0}.uni-popup__mask.ani{transition:all .3s}.uni-popup__mask.uni-bottom,
.uni-popup__mask.uni-center,
.uni-popup__mask.uni-right,
.uni-popup__mask.uni-left,
.uni-popup__mask.uni-top{opacity:1}.uni-popup__wrapper{position:absolute;z-index:999;box-sizing:border-box}.uni-popup__wrapper.ani{transition:all .3s}.uni-popup__wrapper.top{top:0;left:0;width:100%;-webkit-transform:translateY(-100%);transform:translateY(-100%)}.uni-popup__wrapper.bottom{bottom:0;left:0;width:100%;-webkit-transform:translateY(100%);transform:translateY(100%);background:#fff}.uni-popup__wrapper.right{bottom:0;left:0;width:100%;-webkit-transform:translateX(100%);transform:translateX(100%)}.uni-popup__wrapper.left{bottom:0;left:0;width:100%;-webkit-transform:translateX(-100%);transform:translateX(-100%)}.uni-popup__wrapper.center{width:100%;height:100%;display:flex;justify-content:center;align-items:center;-webkit-transform:scale(1.2);transform:scale(1.2);opacity:0}.uni-popup__wrapper-box{position:relative;box-sizing:border-box;border-radius:10rpx}.uni-popup__wrapper.uni-custom.center .uni-popup__wrapper-box{position:relative;max-width:80%;max-height:80%;overflow-y:scroll}.uni-popup__wrapper.uni-custom.bottom .uni-popup__wrapper-box,
.uni-popup__wrapper.uni-custom.top .uni-popup__wrapper-box{width:100%;max-height:500px;overflow-y:scroll}.uni-popup__wrapper.uni-bottom,
.uni-popup__wrapper.uni-top{-webkit-transform:translateY(0);transform:translateY(0)}.uni-popup__wrapper.uni-left,
.uni-popup__wrapper.uni-right{-webkit-transform:translateX(0);transform:translateX(0)}.uni-popup__wrapper.uni-center{-webkit-transform:scale(1);transform:scale(1);opacity:1}.bottom.safe-area{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.left.safe-area{padding-bottom:68rpx}.right.safe-area{padding-bottom:68rpx}