u-action-sheet.js 2.8 KB

12345678910
  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uview-ui/components/u-action-sheet/u-action-sheet"],{3449:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return u})),n.d(e,"a",(function(){return i}));var i={uPopup:function(){return n.e("uview-ui/components/u-popup/u-popup").then(n.bind(null,"ee8c"))}},o=function(){var t=this,e=t.$createElement,n=(t._self._c,t.tips.text?t.__get_style([t.tipsStyle]):null),i=t.__map(t.list,(function(e,n){var i=t.__get_orig(e),o=t.__get_style([t.itemStyle(n)]);return{$orig:i,s1:o}}));t.$mp.data=Object.assign({},{$root:{s0:n,l0:i}})},u=[]},"4fe6":function(t,e,n){"use strict";var i=n("a3b1"),o=n.n(i);o.a},"999b":function(t,e,n){"use strict";n.r(e);var i=n("3449"),o=n("df6f");for(var u in o)"default"!==u&&function(t){n.d(e,t,(function(){return o[t]}))}(u);n("4fe6");var r,l=n("f0c5"),s=Object(l["a"])(o["default"],i["b"],i["c"],!1,null,"4606ab42",null,!1,i["a"],r);e["default"]=s.exports},a3b1:function(t,e,n){},b125:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={name:"u-action-sheet",props:{maskCloseAble:{type:Boolean,default:!0},list:{type:Array,default:function(){return[]}},tips:{type:Object,default:function(){return{text:"",color:"",fontSize:"26"}}},cancelBtn:{type:Boolean,default:!0},safeAreaInsetBottom:{type:Boolean,default:!1},value:{type:Boolean,default:!1},borderRadius:{type:[String,Number],default:0},zIndex:{type:[String,Number],default:0},cancelText:{type:String,default:"取消"}},computed:{tipsStyle:function(){var t={};return this.tips.color&&(t.color=this.tips.color),this.tips.fontSize&&(t.fontSize=this.tips.fontSize+"rpx"),t},itemStyle:function(){var t=this;return function(e){var n={};return t.list[e].color&&(n.color=t.list[e].color),t.list[e].fontSize&&(n.fontSize=t.list[e].fontSize+"rpx"),t.list[e].disabled&&(n.color="#c0c4cc"),n}},uZIndex:function(){return this.zIndex?this.zIndex:this.$u.zIndex.popup}},methods:{close:function(){this.popupClose(),this.$emit("close")},popupClose:function(){this.$emit("input",!1)},itemClick:function(t){this.list[t].disabled||(this.$emit("click",t),this.$emit("input",!1))}}};e.default=i},df6f:function(t,e,n){"use strict";n.r(e);var i=n("b125"),o=n.n(i);for(var u in i)"default"!==u&&function(t){n.d(e,t,(function(){return i[t]}))}(u);e["default"]=o.a}}]);
  2. ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
  3. 'uview-ui/components/u-action-sheet/u-action-sheet-create-component',
  4. {
  5. 'uview-ui/components/u-action-sheet/u-action-sheet-create-component':(function(module, exports, __webpack_require__){
  6. __webpack_require__('543d')['createComponent'](__webpack_require__("999b"))
  7. })
  8. },
  9. [['uview-ui/components/u-action-sheet/u-action-sheet-create-component']]
  10. ]);