frontend_h5/static/js/pages-product-Pay.b9ca37be.js

1 line
4.8 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-product-Pay"],{"11e8":function(t,i,e){var a=e("20cc");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=e("4f06").default;n("0114f9fa",a,!0,{sourceMap:!1,shadowMode:!1})},"20cc":function(t,i,e){var a=e("24fb");i=a(!1),i.push([t.i,"uni-page-body[data-v-705c32b4]{background:#f5f5f5!important}body.?%PAGE?%[data-v-705c32b4]{background:#f5f5f5!important}.three[data-v-705c32b4]{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}",""]),t.exports=i},"4a95":function(t,i,e){"use strict";e.d(i,"b",(function(){return n})),e.d(i,"c",(function(){return s})),e.d(i,"a",(function(){return a}));var a={"u-Input":e("1096").default,uIcon:e("626f").default},n=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("v-uni-view",{staticClass:"bgwhite",staticStyle:{height:"100vh"}},[e("v-uni-view",{staticClass:"flex_column p30 mt30"},[e("v-uni-text",{staticClass:"f26",staticStyle:{color:"#9E9E9E"}},[t._v("温馨提示")]),e("v-uni-view",{staticClass:"mt20 f26",staticStyle:{color:"#9E9E9E"}},[e("v-uni-view",[t._v("1.此商品不支持七天无理由退换货,如非您所需,请谨慎购买;")]),e("v-uni-view",[t._v("2.刷信誉、兼职等理由均为欺诈骗术,请勿相信任何诱导行为。")])],1),e("v-uni-text",{staticClass:"f26 mt30",staticStyle:{color:"#4D4D4D"}},[t._v("待充账号")]),e("u--input",{staticClass:"mt30",attrs:{fontSize:"14",placeholder:"请输入手机号",border:"surround"},model:{value:t.form.phone,callback:function(i){t.$set(t.form,"phone",i)},expression:"form.phone"}})],1),e("v-uni-view",{staticStyle:{width:"100%",height:"30rpx",background:"#f5f5f5"}}),e("v-uni-view",{staticClass:"ptb30 plr50"},[e("v-uni-view",{staticClass:"flex_start"},[e("v-uni-view",[e("v-uni-image",{staticStyle:{width:"168rpx",height:"168rpx","border-radius":"12rpx"},attrs:{src:t.info.img,mode:""}})],1),e("v-uni-view",{staticClass:"ml30 flex_column",staticStyle:{height:"168rpx",width:"100%"}},[e("v-uni-view",{staticClass:"flex_between flex_items"},[e("v-uni-view",{staticClass:"f30 bold three",staticStyle:{width:"320rpx"}},[t._v(t._s(t.info.name))]),e("v-uni-text",{staticClass:"f24",staticStyle:{color:"#4d4d4d"}},[t._v(t._s(t.info.price)+" 积分")])],1),e("v-uni-text",{staticClass:"mt30 f26",staticStyle:{color:"#888"}},[t._v("数量1")])],1)],1),e("v-uni-view",{staticClass:"flex_between flex_items mt30 pb30 bbe9s"},[e("v-uni-view",{staticClass:"flex_start flex_items"},[e("v-uni-image",{staticStyle:{width:"24rpx",height:"24rpx"},attrs:{src:t.imgUrl+"jian.png",mode:""}}),e("v-uni-text",{staticClass:"ml10 f22",staticStyle:{color:"#4D4D4D"}},[t._v("积分立减")])],1),e("v-uni-view",{staticClass:"flex_start flex_items f22",staticStyle:{color:"#4D4D4D"}},[e("v-uni-text",{staticClass:"mr20"},[t._v("暂无可用")]),e("u-icon",{attrs:{name:"arrow-right",color:"#4d4d4d",size:"15"}})],1)],1),e("v-uni-view",{staticClass:"flex_end flex_items mt40 f26",staticStyle:{color:"#00524C"}},[t._v("小计:"+t._s(t.info.price)+"积分")])],1),e("v-uni-view",{staticClass:"flex_items flex_center",staticStyle:{position:"fixed",left:"0",bottom:"20rpx",width:"100%"}},[e("v-uni-view",{staticClass:"f32 flex_items flex_center",staticStyle:{width:"638rpx",height:"108rpx",background:"linear-gradient(90deg, #FF898E 0%, #F43139 100%)","border-radius":"54rpx"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.submit.apply(void 0,arguments)}}},[e("v-uni-text",{staticStyle:{color:"#fff"}},[t._v("立即支付"+t._s(t.info.price)+"积分")])],1)],1)],1)},s=[]},"9c98":function(t,i,e){"use strict";e.r(i);var a=e("a42d"),n=e.n(a);for(var s in a)["default"].indexOf(s)<0&&function(t){e.d(i,t,(function(){return a[t]}))}(s);i["default"]=n.a},a237:function(t,i,e){"use strict";var a=e("11e8"),n=e.n(a);n.a},a42d:function(t,i,e){"use strict";e("7a82"),Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var a={data:function(){return{form:{phone:""},info:{}}},onLoad:function(t){this.info=JSON.parse(t.data)},methods:{submit:function(){var t=this;uni.showModal({title:"支付",content:"确认支付"+t.info.price+"积分?",success:function(i){i.confirm&&(uni.showLoading({title:"支付中..."}),t.form.product_id=t.info.id,t.form.pay_type=1,t.api.createorder(t.form).then((function(i){console.log(i),200==i.data.code?uni.reLaunch({url:"/pages/product/paying?order_no="+i.data.data.order_no+"&money="+t.info.price}):uni.showToast({icon:"none",title:i.data.message}),uni.hideLoading()})))}})}}};i.default=a},a734:function(t,i,e){"use strict";e.r(i);var a=e("4a95"),n=e("9c98");for(var s in n)["default"].indexOf(s)<0&&function(t){e.d(i,t,(function(){return n[t]}))}(s);e("a237");var o=e("f0c5"),r=Object(o["a"])(n["default"],a["b"],a["c"],!1,null,"705c32b4",null,!1,a["a"],void 0);i["default"]=r.exports}}]);