| 1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-chat-message-hand_pin"],{"06b9":function(t,n,e){"use strict";var a=e("ac0a"),i=e.n(a);i.a},"1d52":function(t,n,e){var a=e("24fb");n=a(!1),n.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */uni-page-body[data-v-6ec7c175]{background-color:#f3f3f3}body.?%PAGE?%[data-v-6ec7c175]{background-color:#f3f3f3}uni-view[data-v-6ec7c175]{display:flex;flex-wrap:wrap}.tabr[data-v-6ec7c175]{width:94%;height:%?105?%;padding:0 3%;border-bottom:solid %?1?% #dedede}.tabr uni-view[data-v-6ec7c175]{width:50%;height:%?100?%;justify-content:center;align-items:center;font-size:%?28?%;color:#999}.tabr .on[data-v-6ec7c175]{color:#cf3c35}.tabr .border[data-v-6ec7c175]{height:%?4?%;background-color:#cf3c35;transition:all .3s ease-out}.tabr .border.normal[data-v-6ec7c175]{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}.content[data-v-6ec7c175]{width:100%;height:80vh;overflow:hidden}.content.normal .luck[data-v-6ec7c175]{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}.content.normal .normal[data-v-6ec7c175]{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}.content .luck[data-v-6ec7c175], .content .normal[data-v-6ec7c175]{transition:all .3s ease-out}.content .normal[data-v-6ec7c175]{-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}.content .row[data-v-6ec7c175], .content .tis[data-v-6ec7c175], .content .blessing[data-v-6ec7c175], .content .hand[data-v-6ec7c175]{width:94%}.content .row[data-v-6ec7c175], .content .tis[data-v-6ec7c175], .content .blessing[data-v-6ec7c175]{border-bottom:#dedede solid %?1?%}.content .row[data-v-6ec7c175], .content .blessing[data-v-6ec7c175]{padding:0 3%;background-color:#fff}.content .row[data-v-6ec7c175], .content .blessing[data-v-6ec7c175], .content .hand[data-v-6ec7c175]{height:%?100?%;align-items:center}.content .row[data-v-6ec7c175]{justify-content:space-between;flex-wrap:nowrap}.content .row .term[data-v-6ec7c175], .content .row .input[data-v-6ec7c175]{width:50%}.content .row .input[data-v-6ec7c175]{flex-shrink:0;flex-wrap:nowrap;justify-content:flex-end;align-items:center}.content .row .input uni-input[data-v-6ec7c175]{height:%?50?%;display:flex;justify-content:flex-end;align-items:center;text-align:right;margin-right:%?20?%;font-size:%?30?%}.content .tis[data-v-6ec7c175]{height:%?60?%;padding:%?20?% 3%;font-size:%?30?%;color:#999}.content .blessing uni-input[data-v-6ec7c175]{width:100%;height:%?50?%;font-size:%?32?%}.content .hand[data-v-6ec7c175]{margin:%?30?% 3%;background-color:#cf3c35;color:#fff;font-size:%?34?%;justify-content:center;border-radius:%?10?%;height:%?90?%}',""]),t.exports=n},"4f22":function(t,n,e){"use strict";e("7a82");var a=e("4ea4").default;Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e("e25e");var i=a(e("1552")),c=a(e("a620")),s=(a(e("e89f")),{data:function(){return{typeClass:"luck",number:"",money:"",luckMoney:"",blessing:"",click:!0,disable:!1,page_params:{}}},onLoad:function(t){this.page_params=t,1==this.page_params.msg_type?this.typeClass="luck":(this.number=1,this.disable=!0,this.typeClass="normal")},onShow:function(){c.default.routeTabBarHook()},methods:{switchType:function(t){if(1==this.page_params.msg_type)return!1;this.typeClass=t},hand:function(t){var n=this,e={type:"luck"==t?2:1,num:this.number,hongbao_msg:this.blessing,amount:this.money};return"luck"==t&&(e.amount=this.luckMoney),!e.amount||e.amount<=0?uni.showToast({title:"金额不能为空",icon:"none"}):e.num!=Math.abs(parseInt(e.num))?uni.showToast({title:"数量填写大于0的整数",icon:"none"}):(e.hongbao_msg=e.hongbao_msg||"恭喜发财",e=Object.assign(this.page_params,e),void i.default.checkBeforePay(e,(function(t){i.default.createLeiHongBao(e,(function(t){uni.navigateTo({url:"../message?list_id="+n.page_params.list_id})}),(function(t){n.click=!0,uni.showToast({title:t.msg,icon:"none"})}))}),(function(t){uni.showToast({title:t.msg,icon:"none"})})))},getPassword:function(t){console.log("参数传递",t);var n=this;if(!n.click)return!1;n.click=!1,uni.showLoading({title:"提交中"}),i.default.createHongBao(t,(function(t){uni.navigateTo({url:"../message?list_id="+n.page_params.list_id})}),(function(t){n.click=!0}))}}});n.default=s},"7fe2":function(t,n,e){"use strict";e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return i})),e.d(n,"a",(function(){}));var a=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("v-uni-view",[e("v-uni-view",{staticClass:"content",class:t.typeClass},[e("v-uni-view",{staticClass:"luck"},[e("v-uni-view",{staticClass:"row"},[e("v-uni-view",{staticClass:"term"},[t._v("红包个数")]),e("v-uni-view",{staticClass:"input"},[e("v-uni-input",{attrs:{type:"number",placeholder:"输入红包个数"},model:{value:t.number,callback:function(n){t.number=n},expression:"number"}}),t._v("个")],1)],1),e("v-uni-view",{staticClass:"row"},[e("v-uni-view",{staticClass:"term"},[t._v("总金额")]),e("v-uni-view",{staticClass:"input"},[e("v-uni-input",{attrs:{type:"number",placeholder:"输入金额"},model:{value:t.luckMoney,callback:function(n){t.luckMoney=n},expression:"luckMoney"}}),t._v("元")],1)],1),e("v-uni-view",{staticClass:"tis"},[t._v("小伙伴领取的金额随机")]),e("v-uni-view",{staticClass:"blessing"},[e("v-uni-input",{attrs:{type:"text",maxlength:"12",placeholder:"恭喜发财"},model:{value:t.blessing,callback:function(n){t.blessing=n},expression:"blessing"}})],1),e("v-uni-view",{staticClass:"hand",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.hand("luck")}}},[t._v("发红包")])],1),e("v-uni-view",{staticClass:"normal"},[e("v-uni-view",{staticClass:"row"},[e("v-uni-view",{staticClass:"term"},[t._v("红包个数")]),e("v-uni-view",{staticClass:"input"},[e("v-uni-input",{attrs:{type:"number",disabled:t.disable,placeholder:"输入红包个数"},model:{value:t.number,callback:function(n){t.number=n},expression:"number"}}),t._v("个")],1)],1),e("v-uni-view",{staticClass:"row"},[e("v-uni-view",{staticClass:"term"},[t._v("单个金额")]),e("v-uni-view",{staticClass:"input"},[e("v-uni-input",{attrs:{type:"number",placeholder:"输入金额"},model:{value:t.money,callback:function(n){t.money=n},expression:"money"}}),t._v("元")],1)],1),e("v-uni-view",{staticClass:"tis"},[t._v("小伙伴领取的金额相同")]),e("v-uni-view",{staticClass:"blessing"},[e("v-uni-input",{attrs:{type:"text",maxlength:"12",placeholder:"恭喜发财"},model:{value:t.blessing,callback:function(n){t.blessing=n},expression:"blessing"}})],1),e("v-uni-view",{staticClass:"hand",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.hand("normal")}}},[t._v("发红包")])],1)],1)],1)},i=[]},"9bc4":function(t,n,e){"use strict";e.r(n);var a=e("7fe2"),i=e("cbf8");for(var c in i)["default"].indexOf(c)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(c);e("06b9");var s=e("f0c5"),o=Object(s["a"])(i["default"],a["b"],a["c"],!1,null,"6ec7c175",null,!1,a["a"],void 0);n["default"]=o.exports},a620:function(t,n,e){"use strict";e("7a82");var a=e("4ea4").default;Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=a(e("c44c")),c={routeTabBarHook:function(){i.default.routeTool(),i.default.setStatusTips(),i.default.getWebUrl()},routeSonHook:function(){i.default.routeTool()}};n.default=c},ac0a:function(t,n,e){var a=e("1d52");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=e("4f06").default;i("cb84d882",a,!0,{sourceMap:!1,shadowMode:!1})},cbf8:function(t,n,e){"use strict";e.r(n);var a=e("4f22"),i=e.n(a);for(var c in a)["default"].indexOf(c)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(c);n["default"]=i.a}}]);
|