1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-securityDeposit-recharge"],{"017e":function(t,e,a){"use strict";a("6a54");var n=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(a("8c60")),o=a("7042"),r={components:{BottomModal:i.default},data:function(){return{sid:"",quickRechargeList:[],currentSelectQucikIndex:-1,minRecharge:.01,customRechargeValue:"",orderId:"",price:0,showSelectModal:!1,remainingCountDownTimes:0,orderFee:0,payTitleValues:{shangpu_pay:"微信支付",alipay:"支付宝支付"},payment:[{value:"shangpu_pay",title:"微信支付",icon:"tn-icon-payment-wechat",tips:"便捷生活, 一点就好",recommend:!0},{value:"alipay",title:"支付宝支付",icon:"tn-icon-payment-alipay",tips:"便捷生活, 一点就好",recommend:!0}],isPayding:!1,paydingIndex:-1}},onLoad:function(t){},methods:{createOrder:function(){var t=this;(0,o.createSecurityDepositOrderApi)({price:this.price}).then((function(e){console.log("res",e);var a=e.data.data;t.order_pay(a)})).catch((function(t){console.log("err",t),uni.showModal({title:"提示",content:t.msg,showCancel:!1})}))},order_pay:function(t){this.orderId=t,this.orderFee=this.price,this.showSelectModal=!0},handleModalClose:function(){this.showSelectModal=!1},handlePayEvent:function(t,e){if(uni.showLoading({title:"支付中...",mask:!0}),"shangpu_pay"==t){var a=uni.getStorageSync("base_url"),n="https://cloud1-9guwmkra80554569-1323318565.tcloudbaseapp.com?id="+this.orderId+"&baseUrl="+encodeURIComponent(a)+"&order_type=security_deposit";console.log("url",n),uni.hideLoading(),n+="&is_webview=1",n+="&title="+encodeURIComponent("跳转收银台"),uni.navigateTo({url:"/pages/webview/webview?url="+encodeURIComponent(n)})}else financeApi.alipayApi({ochannel:"app",id:this.orderId,order_type:"security_deposit",action:"pay",pay_type:"alipay"}).then((function(t){if(console.log("res",t),1==t.code){uni.hideLoading();var e=t.data.orderInfo;uni.requestPayment({provider:"alipay",orderInfo:e,success:function(t){console.log(t)},fail:function(t){console.log(t)}})}else uni.showToast({title:"支付失败",icon:"none"})}))}}};e.default=r},"0d2c":function(t,e,a){"use strict";a("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("64aa");var n={options:{virtualHost:!0},props:{value:{type:Boolean,default:!1},closeBtn:{type:Boolean,default:!0},zIndex:{type:[String,Number],default:""},noPadding:{type:Boolean,default:!1},mask:{type:Boolean,default:!0},closeMask:{type:Boolean,default:!0},transparentMask:{type:Boolean,default:!1}},data:function(){return{openModal:!1}},computed:{modalStyle:function(){var t={};return this.zIndex&&(t.zIndex=Number(this.zIndex-1)),t},closeBtnStyle:function(){var t={};return this.zIndex&&(t.zIndex=Number(this.zIndex)),t},wrapperStyle:function(){var t={};return this.zIndex&&(t.zIndex=Number(this.zIndex)),t}},watch:{value:{handler:function(t){this.openModal=t},immediate:!0}},methods:{closeModal:function(t){("mask"!==t||this.closeMask)&&(this.$emit("cancel"),this.$emit("input",!1),this.$emit("close"))}}};e.default=n},1266:function(t,e,a){var n=a("c86c");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.bottom-modal[data-v-1ccee06c]{position:fixed;left:0;top:0;width:100vw;height:100vh;z-index:99998\n /* mask */\n /* close-btn */\n /* wrapper */}.bottom-modal__mask[data-v-1ccee06c]{position:absolute;left:0;top:0;width:100%;height:100%;background-color:rgba(0,0,0,.5);opacity:0;-webkit-animation:showMask-data-v-1ccee06c .25s ease .1s forwards;animation:showMask-data-v-1ccee06c .25s ease .1s forwards}.bottom-modal__mask.transparent[data-v-1ccee06c]{background-color:transparent}.bottom-modal__close-btn[data-v-1ccee06c]{position:absolute;top:%?30?%;right:%?30?%;z-index:99999}.bottom-modal__wrapper[data-v-1ccee06c]{position:absolute;left:0;bottom:0;width:100%;background-color:#fff;border-radius:%?20?% %?20?% %?0?% %?0?%;padding:%?40?%;padding-top:%?60?%;padding-bottom:%?40?%;padding-bottom:calc(constant(safe-area-inset-bottom) + %?40?%);padding-bottom:calc(env(safe-area-inset-bottom) + %?40?%);-webkit-transform-origin:center bottom;transform-origin:center bottom;-webkit-transform:scaleY(0);transform:scaleY(0);-webkit-animation:showWrapper-data-v-1ccee06c .25s ease .1s forwards;animation:showWrapper-data-v-1ccee06c .25s ease .1s forwards;z-index:99999;overflow:hidden}.bottom-modal__wrapper.no-padding[data-v-1ccee06c]{padding:%?0?%;padding-bottom:%?40?%;padding-bottom:calc(constant(safe-area-inset-bottom) + %?40?%);padding-bottom:calc(env(safe-area-inset-bottom) + %?40?%)}@-webkit-keyframes showMask-data-v-1ccee06c{0%{opacity:0}100%{opacity:1}}@keyframes showMask-data-v-1ccee06c{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes showWrapper-data-v-1ccee06c{0%{-webkit-transform:scaleY(0);transform:scaleY(0)}100%{-webkit-transform:scaleY(1);transform:scaleY(1)}}@keyframes showWrapper-data-v-1ccee06c{0%{-webkit-transform:scaleY(0);transform:scaleY(0)}100%{-webkit-transform:scaleY(1);transform:scaleY(1)}}',""]),t.exports=e},"12c1":function(t,e,a){"use strict";a("6a54");var n=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(a("2634")),o=n(a("2fdc"));a("64aa");var r=n(a("c158")),s={name:"tn-nav-bar",mixins:[r.default],props:{zIndex:{type:Number,default:0},height:{type:Number,default:0},unit:{type:String,default:"px"},isBack:{type:Boolean,default:!0},backIcon:{type:String,default:"left"},backTitle:{type:String,default:"返回"},alpha:{type:Boolean,default:!1},fixed:{type:Boolean,default:!0},bottomShadow:{type:Boolean,default:!0},customBack:{type:Boolean,default:!1},beforeBack:{type:Function,default:null}},computed:{navBarStyle:function(){var t={};return t.height=0===this.height?this.customBarHeight+this.unit:this.height+this.unit,this.fixed&&(t.position="fixed"),t.zIndex=this.elZIndex,t},barClass:function(){var t="";return this.backgroundColorClass&&(t+=" ".concat(this.backgroundColorClass)),this.fontColorClass&&(t+="".concat(this.fontColorClass)),this.fixed&&(t+=" tn-custom-nav-bar__bar--fixed"),this.alpha&&(t+=" tn-custom-nav-bar__bar--alpha"),this.bottomShadow&&(t+=" tn-custom-nav-bar__bar--bottom-shadow"),t},barStyle:function(){var t={};return t.height=0===this.height?this.customBarHeight+this.unit:this.height+this.unit,this.fixed&&(t.paddingTop=this.statusBarHeight+"px"),this.backgroundColorClass||(t.backgroundColor=""!==this.backgroundColor?this.backgroundColor:"#FFFFFF"),!this.fontColorClass&&this.fontColor&&(t.color=this.fontColor),t.zIndex=this.elZIndex,t},contentStyle:function(){var t={};if(t.top=this.fixed?this.statusBarHeight+"px":"0px",t.height=0===this.height?this.customBarHeight-this.statusBarHeight+this.unit:this.height+this.unit,t.lineHeight=t.height,this.isBack)if(this.customBack){var e=2*(this.customBackStyleInfo.width+this.customBackStyleInfo.left);t.width="calc(100% - ".concat(e,"px)")}else t.width="calc(100% - 340rpx)";else t.width="100%";return t},elZIndex:function(){return this.zIndex?this.zIndex:this.$t.zIndex.navbar}},data:function(){return{statusBarHeight:0,customBarHeight:0,customBackStyleInfo:{width:86,height:32,left:15}}},mounted:function(){this.updateNavBarInfo()},created:function(){},methods:{updateNavBarInfo:function(){var t=this;return(0,o.default)((0,i.default)().mark((function e(){var a,n,o;return(0,i.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(a=t.vuex_custom_bar_height,n=t.vuex_status_bar_height,a){e.next=15;break}return e.prev=3,e.next=6,t.$t.updateCustomBar();case 6:o=e.sent,a=o.customBarHeight,n=o.statusBarHeight,e.next=15;break;case 11:return e.prev=11,e.t0=e["catch"](3),setTimeout((function(){t.updateNavBarInfo()}),10),e.abrupt("return");case 15:t&&t.$t.vuex("vuex_status_bar_height",n),t&&t.$t.vuex("vuex_custom_bar_height",a),t.customBarHeight=a,t.statusBarHeight=n;case 19:case"end":return e.stop()}}),e,null,[[3,11]])})))()},handlerBack:function(){var t=this;return(0,o.default)((0,i.default)().mark((function e(){var a;return(0,i.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!t.beforeBack||"function"!==typeof t.beforeBack){e.next=10;break}if(a=t.beforeBack.bind(t.$t.$parent.call(t))(),!a||"function"!==typeof a.then){e.next=7;break}return e.next=5,a.then((function(e){t.navBack()})).catch((function(t){}));case 5:e.next=8;break;case 7:!0===a&&t.navBack();case 8:e.next=11;break;case 10:t.navBack();case 11:case"end":return e.stop()}}),e)})))()},navBack:function(){var t=getCurrentPages();if(t&&t.length>0){var e=t[0];1!=t.length||e.route&&"pages/index/index"==e.route?uni.navigateBack({delta:1}):uni.reLaunch({url:"/pages/index"})}else uni.reLaunch({url:"/pages/index"})}}};e.default=s},"31f0":function(t,e,a){"use strict";var n=a("efe0"),i=a.n(n);i.a},"4df5":function(t,e,a){var n=a("c86c");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.tn-custom-nav-bar[data-v-0c6fe6ee]{display:block;position:relative}.tn-custom-nav-bar__bar[data-v-0c6fe6ee]{display:flex;position:relative;align-items:center;min-height:%?100?%;justify-content:space-between;min-height:0;box-shadow:%?0?% %?0?% %?0?%;z-index:9999}.tn-custom-nav-bar__bar--fixed[data-v-0c6fe6ee]{position:fixed;width:100%;top:0;left:0}.tn-custom-nav-bar__bar--alpha[data-v-0c6fe6ee]{background:transparent!important;box-shadow:none!important}.tn-custom-nav-bar__bar--bottom-shadow[data-v-0c6fe6ee]{box-shadow:%?0?% %?0?% %?80?% %?0?% rgba(0,0,0,.05)}.tn-custom-nav-bar__bar__action[data-v-0c6fe6ee]{display:flex;align-items:center;height:100%;justify-content:center;max-width:100%}.tn-custom-nav-bar__bar__action--nav-back[data-v-0c6fe6ee]{\n /* position: absolute; */\n /* top: 50%; */\n /* left: 20rpx; */\n /* margin-top: -15rpx; */margin-left:%?20?%;font-size:%?38?%;line-height:100%}.tn-custom-nav-bar__bar__action--nav-back-text[data-v-0c6fe6ee]{margin-left:%?10?%}.tn-custom-nav-bar__bar__content[data-v-0c6fe6ee]{position:absolute;text-align:center;left:0;right:0;bottom:0;margin:auto;font-size:%?32?%;cursor:none;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}',""]),t.exports=e},"59f7":function(t,e,a){"use strict";a.r(e);var n=a("0d2c"),i=a.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(o);e["default"]=i.a},"5a8e":function(t,e,a){"use strict";a.r(e);var n=a("9717"),i=a("b3f1");for(var o in i)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(o);a("72ac");var r=a("828b"),s=Object(r["a"])(i["default"],n["b"],n["c"],!1,null,"43755f2e",null,!1,n["a"],void 0);e["default"]=s.exports},"5c4b":function(t,e,a){"use strict";a.r(e);var n=a("12c1"),i=a.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(o);e["default"]=i.a},"72ac":function(t,e,a){"use strict";var n=a("c4d2"),i=a.n(n);i.a},"7a95":function(t,e,a){"use strict";a.r(e);var n=a("9d12"),i=a("5c4b");for(var o in i)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(o);a("7fa2");var r=a("828b"),s=Object(r["a"])(i["default"],n["b"],n["c"],!1,null,"0c6fe6ee",null,!1,n["a"],void 0);e["default"]=s.exports},"7dd2":function(t,e,a){var n=a("c86c");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.wrapper[data-v-43755f2e]{padding:%?30?%}\n/* 快速充值列表 start */.quick-recharge-list[data-v-43755f2e]{width:100%;padding:%?30?%;background-color:#fff;display:flex;flex-wrap:wrap;border-radius:%?15?%}.quick-recharge-list .item-selected[data-v-43755f2e]{background-color:#33aafc}.quick-recharge-list .recharge-item[data-v-43755f2e]{width:calc(33.3333333333% - %?20?%);margin:%?10?%;border-radius:%?15?%;overflow:hidden;color:#fff}.quick-recharge-list .recharge-item .item-top[data-v-43755f2e]{width:100%;display:flex;align-items:center;justify-content:center;padding:%?30?% %?0?%;background-color:rgba(51,170,252,.5);border-bottom:%?1?% dashed #fff;font-size:%?40?%}.quick-recharge-list .recharge-item .item-top .unit[data-v-43755f2e]{-webkit-transform:scale(.6) translateY(%?-10?%);transform:scale(.6) translateY(%?-10?%);-webkit-transform-origin:center bottom;transform-origin:center bottom}.quick-recharge-list .recharge-item .item-bottom[data-v-43755f2e]{display:flex;align-items:center;justify-content:center;padding:%?8?% %?0?%;background-color:rgba(51,170,252,.5);font-size:%?24?%;color:#fff}\n/* 快速充值列表 end */\n/* 自定义充值金额 start */.custom-recharge[data-v-43755f2e]{padding:%?30?%;margin-top:%?40?%;border-radius:%?15?%\n /* 输入框 start */\n /* 输入框 end */\n /* 提交按钮 start */\n /* 提交按钮 end */}.custom-recharge .input-item[data-v-43755f2e]{width:100%;display:flex;align-items:center}.custom-recharge .input-item .content[data-v-43755f2e]{flex:1;margin-left:%?20?%;padding:%?10?% %?0?%;border-bottom:%?1?% solid #aaa}.custom-recharge .input-item .content .input[data-v-43755f2e]{width:100%;background-color:initial;padding:%?0?%}.custom-recharge .submit-btn[data-v-43755f2e]{width:80%;padding:%?20?%;display:flex;align-items:center;justify-content:center;border-radius:%?100?%;margin:auto;margin-top:%?40?%;background-color:#33aafc;color:#fff}\n/* 自定义充值金额 end */.modal[data-v-43755f2e]{padding-bottom:%?120?%}.header-title[data-v-43755f2e]{padding:%?20?%;padding-top:%?24?%;font-size:%?32?%}\n/* 支付列表 start */.pay-type-list[data-v-43755f2e]{padding:%?30?%}.pay-type-list .pay-type-item + .pay-type-item[data-v-43755f2e]{margin-top:%?30?%}.pay-type-list .pay-type-item[data-v-43755f2e]{position:relative;padding:%?20?%;border-radius:%?15?%;background-color:#fff\n /* 第三方支付标识 start */\n /* 第三方支付标识 end */}.pay-type-list .pay-type-item.disabled[data-v-43755f2e]{opacity:.5;background-color:#e7e7e7}.pay-type-list .pay-type-item.payding[data-v-43755f2e]{background-color:#dedede}.pay-type-list .pay-type-item .item-icon[data-v-43755f2e]{font-size:%?56?%}.pay-type-list .pay-type-item .item-data[data-v-43755f2e]{flex:1;margin-left:%?20?%}.pay-type-list .pay-type-item .item-data .data-content[data-v-43755f2e]{flex:1}.pay-type-list .pay-type-item .item-data .data-content .data-title[data-v-43755f2e]{font-size:%?32?%;font-weight:700}.pay-type-list .pay-type-item .item-data .data-content .data-recommend[data-v-43755f2e]{padding:%?6?% %?12?%;border-radius:%?6?%;font-size:%?24?%;margin-left:%?14?%}.pay-type-list .pay-type-item .item-data .data-content .data-tips[data-v-43755f2e]{margin-top:%?10?%}.pay-type-list .pay-type-item .third-pay-mark[data-v-43755f2e]{position:absolute;top:50%;right:%?20?%;width:%?120?%;height:%?120?%;font-size:%?80?%;border-radius:50%;border:%?1?% solid rgba(0,0,0,.01);color:rgba(0,0,0,.01);-webkit-transform:translateY(-50%) rotate(45deg);transform:translateY(-50%) rotate(45deg)}\n/* 支付列表 end */',""]),t.exports=e},"7fa2":function(t,e,a){"use strict";var n=a("91cb"),i=a.n(n);i.a},"8c60":function(t,e,a){"use strict";a.r(e);var n=a("e8e7"),i=a("59f7");for(var o in i)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(o);a("31f0");var r=a("828b"),s=Object(r["a"])(i["default"],n["b"],n["c"],!1,null,"1ccee06c",null,!1,n["a"],void 0);e["default"]=s.exports},"91cb":function(t,e,a){var n=a("4df5");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("967d").default;i("e3174358",n,!0,{sourceMap:!1,shadowMode:!1})},9717:function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return n}));var n={tnNavBar:a("7a95").default},i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"wrapper"},[a("tn-nav-bar",{attrs:{fixed:!0}},[t._v("充值保证金")]),a("v-uni-view",{staticClass:"custom-recharge tn-shadow tn-margin",style:{marginTop:t.vuex_custom_bar_height+10+"px"}},[a("v-uni-view",{staticClass:"input-item"},[a("v-uni-view",{staticClass:"title"},[t._v("充值金额")]),a("v-uni-view",{staticClass:"content"},[a("v-uni-input",{staticClass:"input",attrs:{type:"digit",placeholder:"请输入待充值金额"},model:{value:t.price,callback:function(e){t.price=e},expression:"price"}})],1)],1),a("v-uni-view",{staticClass:"submit-btn",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.createOrder.apply(void 0,arguments)}}},[t._v("确认充值")])],1),a("bottom-modal",{attrs:{"no-padding":!0,"close-mask":!1},on:{close:function(e){arguments[0]=e=t.$handleEvent(e),t.handleModalClose.apply(void 0,arguments)}},model:{value:t.showSelectModal,callback:function(e){t.showSelectModal=e},expression:"showSelectModal"}},[a("v-uni-view",{staticClass:"modal"},[a("v-uni-view",{staticClass:"header-title tn-flex-center tn-border-bottom tn-border-gray--light"},[t._v("订单待支付"),a("v-uni-text",{staticClass:"tn-color-red"},[t._v("RM"+t._s(t.orderFee))]),t.remainingCountDownTimes?[t._v(", 请在"),a("v-uni-text",{staticClass:"tn-color-red tn-margin-left-xs tn-margin-right-xs"},[t._v(t._s(t.payRemainingTime.minutes)+":"+t._s(t.payRemainingTime.second))]),t._v("内支付")]:t._e()],2),a("v-uni-view",{staticClass:"pay-type-list"},[t._l(t.payment,(function(e,n){return["credit"!==e.value?a("v-uni-view",{key:n+"_0",staticClass:"pay-type-item tn-flex-row-center tn-shadow",class:{payding:t.isPayding&&t.paydingIndex===n},attrs:{"hover-class":"tn-btn-hover-class","hover-stay-time":150},on:{click:function(a){a.stopPropagation(),arguments[0]=a=t.$handleEvent(a),t.handlePayEvent(e.value,n)}}},[a("v-uni-view",{staticClass:"item-icon"},["shangpu_pay"==e.value?a("v-uni-text",{staticClass:"tn-icon-payment-wechat tn-color-green"}):t._e(),"alipay"==e.value?a("v-uni-text",{staticClass:"tn-icon-payment-alipay tn-color-blue"}):t._e()],1),a("v-uni-view",{staticClass:"item-data tn-flex-center-between",staticStyle:{display:"flex"}},[a("v-uni-view",{staticClass:"data-content"},[a("v-uni-view",{staticClass:"data-title tn-flex-row-center",staticStyle:{"justify-content":"start"}},[a("v-uni-view",{staticClass:"title-value"},[t._v(t._s(t.payTitleValues[e.value]))]),a("v-uni-view",{staticClass:"data-recommend tn-color-orange tn-border-orange"},[t._v("推荐使用")])],1),a("v-uni-view",{staticClass:"data-tips tn-color-gray"},[t._v("便捷生活, 一点就好")])],1),a("v-uni-view",{staticClass:"item-arrow tn-color-gray"},[t._v(t._s(t.isPayding&&t.paydingIndex===n?"支付中...":"")),a("v-uni-text",{staticClass:"tn-icon-right tn-color-gray"})],1)],1),e.value.startsWith("helibao")?a("v-uni-view",{staticClass:"third-pay-mark tn-flex-center"},[t._v("合")]):e.value.startsWith("lichu")?a("v-uni-view",{staticClass:"third-pay-mark tn-flex-center"},[t._v("利")]):t._e()],1):t._e()]}))],2)],1)],1)],1)},o=[]},"9d12":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"tn-custom-nav-bar-class tn-custom-nav-bar",style:[t.navBarStyle]},[a("v-uni-view",{staticClass:"tn-custom-nav-bar__bar",class:[t.barClass],style:[t.barStyle]},[t.isBack?a("v-uni-view",[t.customBack?a("v-uni-view",[a("v-uni-view",{style:{width:t.customBackStyleInfo.width+"px",height:t.customBackStyleInfo.height+"px",marginLeft:t.customBackStyleInfo.left+"px"}},[t._t("back")],2)],1):a("v-uni-view",{staticClass:"tn-custom-nav-bar__bar__action",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.handlerBack.apply(void 0,arguments)}}},[a("v-uni-text",{staticClass:"tn-custom-nav-bar__bar__action--nav-back",class:["tn-icon-"+t.backIcon]}),t.backTitle?a("v-uni-text",{staticClass:"tn-custom-nav-bar__bar__action--nav-back-text"},[t._v(t._s(t.backTitle))]):t._e()],1)],1):t._e(),a("v-uni-view",{staticClass:"tn-custom-nav-bar__bar__content",style:[t.contentStyle]},[t._t("default")],2),a("v-uni-view",[t._t("right")],2)],1)],1)},i=[]},b3f1:function(t,e,a){"use strict";a.r(e);var n=a("017e"),i=a.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(o);e["default"]=i.a},c158:function(t,e,a){a("64aa"),t.exports={data:function(){},props:{backgroundColor:{type:String,default:""},fontColor:{type:String,default:""},fontSize:{type:Number,default:0},fontUnit:{type:String,default:"rpx"}},computed:{backgroundColorStyle:function(){return this.$t.color.getBackgroundColorStyle(this.backgroundColor)},backgroundColorClass:function(){return this.$t.color.getBackgroundColorInternalClass(this.backgroundColor)},fontColorStyle:function(){return this.$t.color.getFontColorStyle(this.fontColor)},fontColorClass:function(){return this.$t.color.getFontColorInternalClass(this.fontColor)},fontSizeStyle:function(){return this.$t.string.getLengthUnitValue(this.fontSize,this.fontUnit)}},methods:{}}},c4d2:function(t,e,a){var n=a("7dd2");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("967d").default;i("3b94205c",n,!0,{sourceMap:!1,shadowMode:!1})},e8e7:function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.openModal?a("v-uni-view",{staticClass:"bottom-modal",style:[t.modalStyle]},[t.mask?a("v-uni-view",{staticClass:"bottom-modal__mask",class:[{transparent:t.transparentMask}],on:{touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e)},click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.closeModal("mask")}}}):t._e(),a("v-uni-view",{staticClass:"bottom-modal__wrapper",class:[{"no-padding":t.noPadding,"tn-shadow":t.transparentMask}],style:[t.wrapperStyle]},[t.closeBtn?a("v-uni-view",{staticClass:"bottom-modal__close-btn",style:[t.closeBtnStyle],on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.closeModal("btn")}}},[a("v-uni-text",{staticClass:"tn-icon-close"})],1):t._e(),t._t("default")],2)],1):t._e()},i=[]},efe0:function(t,e,a){var n=a("1266");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("967d").default;i("7bded162",n,!0,{sourceMap:!1,shadowMode:!1})}}]);
|