You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

1 lines
24 KiB

{"version":3,"sources":["uni-app:///main.js","webpack:///F:/ZONGYRJ/miniAPP/cancmini/pages/user/chongzhi.vue?da2c","webpack:///F:/ZONGYRJ/miniAPP/cancmini/pages/user/chongzhi.vue?968e","webpack:///F:/ZONGYRJ/miniAPP/cancmini/pages/user/chongzhi.vue?c973","webpack:///F:/ZONGYRJ/miniAPP/cancmini/pages/user/chongzhi.vue?69ae","uni-app:///pages/user/chongzhi.vue","webpack:///F:/ZONGYRJ/miniAPP/cancmini/pages/user/chongzhi.vue?6682"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","renderjs","component","options","__file","components","uniPopup","e","message","indexOf","console","error","render","_vm","this","_h","$createElement","g0","_self","_c","giftamountList","length","g1","m0","Number","inputAmount","m1","gitmoney","_isMounted","e0","$event","paytype","$mp","data","Object","assign","$root","recyclableRender","staticRenderFns","_withStripped","maskclose","custom","amountList","yue","seleteindex","timerId","lessmoney","lessdesc","userinfo","onLoad","onShow","methods","getuserinfo","action","uid","aid","reinfo","getbaseinfo","key","getdata","wxpay","openid","addmoney","t","uni","provider","timeStamp","nonceStr","package","signType","paySign","success","title","setTimeout","url","fail","icon","select","inputamountchange","doDeposit","doclose","doaddmoney","totx"],"mappings":"8IAAA,MAGA,aACA,YAFAA,EAAGC,kCAAoCC,EAGvCC,EAAWC,a,gFCLX,oIACIC,EADJ,QASIC,EAAY,qBACd,aACA,YACA,sBACA,EACA,KACA,KACA,MACA,EACA,gBACAD,GAGFC,EAAUC,QAAQC,OAAS,0BACZ,aAAAF,E,0CCvBf,uQ,iCCAA,IAAIG,EAAJ,0LACA,IACEA,EAAa,CACXC,SAAU,WACR,OAAO,+DAKX,MAAOC,GACP,IAC+C,IAA7CA,EAAEC,QAAQC,QAAQ,wBACa,IAA/BF,EAAEC,QAAQC,QAAQ,QAWlB,MAAMF,EATNG,QAAQC,MAAMJ,EAAEC,SAChBE,QAAQC,MAAM,mBACdD,QAAQC,MACN,uFAEFD,QAAQC,MACN,mDAMN,IAAIC,EAAS,WACX,IAAIC,EAAMC,KACNC,EAAKF,EAAIG,eAETC,GADKJ,EAAIK,MAAMC,GACVN,EAAIO,eAAeC,QACxBC,EAAKT,EAAIO,eAAeC,OACxBE,EAAKC,OAAOX,EAAIY,aAChBC,EAAKF,OAAOX,EAAIc,UACfd,EAAIe,aACPf,EAAIgB,GAAK,SAAUC,GACjBjB,EAAIkB,QAAU,UAGlBlB,EAAImB,IAAIC,KAAOC,OAAOC,OACpB,GACA,CACEC,MAAO,CACLnB,GAAIA,EACJK,GAAIA,EACJC,GAAIA,EACJG,GAAIA,MAKRW,GAAmB,EACnBC,EAAkB,GACtB1B,EAAO2B,eAAgB,G,iCCrDvB,yHAAiwB,eAAG,G,6QC0GpwB,CACAlC,YAAAC,YACA2B,gBACA,OACAO,aACAC,UACAhB,eACAiB,uBACAtB,kBACAW,gBACAY,MACAC,eACAjB,aACAkB,aACAC,YACAC,iBACAC,cAGAC,qBAGAC,kBACA,mCACA,iCACA,6BACA,+BAEAC,SACAC,0BAAA,0JACA,iBAAAC,kBAAAC,MAAAC,QAAA,OAAAC,SACA,iBACA,4DAHA,IAMAC,wBAAA,0JACA,iBAAAJ,kBAAAK,QAAA,OAAAC,SACA,kBACA,kBACA,yBACA,gBACA,iCACA,sCAGA,0CAVA,IAaAC,sBAAA,4IACA,OAAAZ,+BAAA,SACA,gBAAAK,iBAAAQ,SAAAC,WAAAR,MAAAC,YAAA,OAAAC,SACA9C,oBACAqD,EACAC,kBACAC,iBACAC,2BACAC,yBACAC,uBACAC,eACAC,uBACAC,oBAEAP,aACAQ,eAEAC,wBACAT,YACAU,2BAEA,MAGAC,iBAEAX,aACAQ,mBAAAI,iBAGA,0CA9BA,IAgCAC,qBACA,mBACA,oBAEAC,8BACApE,kCAEAqE,qBACA,mCACA,gCACAf,cACAU,8BAEA,CAEA,GADAhE,mCACA,gCAEA,YADAsD,aAAAQ,mCAAAI,cAGA,kDAEA,YADAZ,aAAAQ,gBAAAI,cAOA,yEAEA,YADAZ,aAAAQ,qBAAAI,cAGA,0BAIAI,mBACA,iBACA,0BAEAC,sBACA,uBACA,gBACA,+BACA,6BACAvE,2CAEAwE,gBACAlB,cAAAU,8BAGA,c,6DC5OA,yHAA45C,eAAG,G","file":"pages/user/chongzhi.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/user/chongzhi.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./chongzhi.vue?vue&type=template&id=845e375a&\"\nvar renderjs\nimport script from \"./chongzhi.vue?vue&type=script&lang=js&\"\nexport * from \"./chongzhi.vue?vue&type=script&lang=js&\"\nimport style0 from \"./chongzhi.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/user/chongzhi.vue\"\nexport default component.exports","export * from \"-!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--17-0!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./chongzhi.vue?vue&type=template&id=845e375a&\"","var components\ntry {\n components = {\n uniPopup: function () {\n return import(\n /* webpackChunkName: \"components/uni-popup/uni-popup\" */ \"@/components/uni-popup/uni-popup.vue\"\n )\n },\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var g0 = _vm.giftamountList.length\n var g1 = _vm.giftamountList.length\n var m0 = Number(_vm.inputAmount)\n var m1 = Number(_vm.gitmoney)\n if (!_vm._isMounted) {\n _vm.e0 = function ($event) {\n _vm.paytype = \"wxpay\"\n }\n }\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n g0: g0,\n g1: g1,\n m0: m0,\n m1: m1,\n },\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./chongzhi.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./chongzhi.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view>\r\n\t\t<view class=\"block\">\r\n\t\t\t<!-- <view class=\"title\">\r\n\t\t\t\t我的账户\r\n\t\t\t</view> -->\r\n\t\t\t<view class=\"content\">\r\n\t\t\t\t<view class=\"my\">\r\n\t\t\t\t\t我的账户余额:{{yue}} 元\r\n\t\t\t\t\t<text v-if=\"userinfo.djmoney\" style=\"font-size: 25upx;color: red;\">--冻结:{{userinfo.djmoney}}</text>\r\n\t\t\t\t\t<view class=\"tx\" @click=\"totx()\">提现</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view v-if=\"userinfo.djmoney\" style=\"font-size: 24upx;color: red;margin-top: 30upx;\">温馨提示:申请提现待到账金额为冻结金额</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"block\">\r\n\t\t\t<view class=\"title\">\r\n\t\t\t\t充值金额\r\n\t\t\t</view>\r\n\t\t\t<view class=\"content\">\r\n\t\t\t\t<view class=\"amount\">\r\n\t\t\t\t\t<view class=\"list\">\r\n\t\t\t\t\t\t<view v-if=\"!giftamountList.length\" class=\"box\" v-for=\"(amount,index) in amountList\" :key=\"index\" @tap=\"select(amount,index)\" :class=\"{'on':amount == inputAmount}\">\r\n\t\t\t\t\t\t\t{{amount}}元\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view v-if=\"giftamountList.length\" class=\"box\" v-for=\"(amount,index) in amountList\" :key=\"index\" @tap=\"select(amount,index)\" :class=\"{'on':amount == inputAmount}\">\r\n\t\t\t\t\t\t\t{{amount}}元送{{giftamountList[index]}}元\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"num\">\r\n\t\t\t\t\t\t<view class=\"text\">\r\n\t\t\t\t\t\t\t自定义充值金额\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"input\">\r\n\t\t\t\t\t\t\t<input v-model=\"inputAmount\" :placeholder=\"lessdesc\" @input='inputamountchange'/>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"block\">\r\n\t\t\t<view class=\"title\">\r\n\t\t\t\t选择支付方式\r\n\t\t\t</view>\r\n\t\t\t<view class=\"content\">\r\n\t\t\t\t<view class=\"pay-list\">\r\n\t\t\t\t\t<view class=\"row\" @tap=\"paytype='wxpay'\">\r\n\t\t\t\t\t\t\t<view class=\"left\">\r\n\t\t\t\t\t\t\t\t<image src=\"/static/img/wxpay.png\"></image>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view class=\"center\">\r\n\t\t\t\t\t\t\t\t微信支付\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view class=\"right\">\r\n\t\t\t\t\t\t\t\t<radio :checked=\"paytype=='wxpay'\" color=\"#f06c7a\" />\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<uni-popup ref=\"popup\" type=\"center\" :maskClick=\"maskclose\" :custom=\"custom\">\r\n\t\t\t<view class=\"order\">\r\n\t\t\t\t<view class=\"colseorder\" @click=\"doclose\">\r\n\t\t\t\t<image src=\"/static/img/close.png\"></image>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"ordercontent\">\r\n\t\t\t\t\t<view class=\"title\">订单信息</view>\r\n\t\t\t\t\t<view class=\"info\">\r\n\t\t\t\t\t\t<view class=\"infolist\">\r\n\t\t\t\t\t\t\t<view class=\"addnumtitle\">类型:</view>\r\n\t\t\t\t\t\t\t<view class=\"addnumtitle\">余额充值</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"infolist\">\r\n\t\t\t\t\t\t\t<view class=\"addnumtitle\">支付金额:</view>\r\n\t\t\t\t\t\t\t<view class=\"addnum\">{{inputAmount}}元</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"infolist\">\r\n\t\t\t\t\t\t\t<view class=\"addnumtitle\">优惠金额:</view>\r\n\t\t\t\t\t\t\t<view class=\"addnum\">{{gitmoney}}元</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"infolist\">\r\n\t\t\t\t\t\t\t<view class=\"addnumtitle\">到账金额:</view>\r\n\t\t\t\t\t\t\t<view class=\"addnum\">{{(Number(inputAmount)+Number(gitmoney))}}元</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"addbt\" @click=\"doaddmoney\">确认充值</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</uni-popup>\r\n\t\t<view class=\"pay\">\r\n\t\t\t<view class=\"btn\" @tap=\"doDeposit\">立即充值</view>\r\n\t\t\t<!-- <view class=\"tis\">\r\n\t\t\t\t点击立即充值,即代表您同意\r\n\t\t\t\t<view class=\"terms\">\r\n\t\t\t\t\t<navigator url=\"../../../pages/xieyi/xieyi?type=1\">\r\n\t\t\t\t\t\t《条款协议》\r\n\t\t\t\t\t</navigator>\r\n\t\t\t\t\t\r\n\t\t\t\t</view>\r\n\t\t\t</view> -->\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport uniPopup from \"@/components/uni-popup/uni-popup.vue\"\r\n\texport default {\r\n\t\tcomponents: {uniPopup},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tmaskclose:false,\r\n\t\t\t\tcustom:true,\r\n\t\t\t\tinputAmount:'',//金额\r\n\t\t\t\tamountList:[10,50,100],//预设3个可选快捷金额\r\n\t\t\t\tgiftamountList:[],//送金额\r\n\t\t\t\tpaytype:'wxpay',//支付类型,\r\n\t\t\t\tyue:0.00,\r\n\t\t\t\tseleteindex:-1,//选中赠送列表下标\r\n\t\t\t\tgitmoney:'0',\r\n\t\t\t\ttimerId: null,\r\n\t\t\t\tlessmoney:1,\r\n\t\t\t\tlessdesc:'不低于1元',\r\n\t\t\t\tuserinfo:[]\r\n\t\t\t}\r\n\t\t},\r\n\t\tonLoad(e){\r\n\t\t\r\n\t\t},\r\n\t\tonShow(){\r\n\t\t\tlet getuserinfo=uni.getStorageSync('userinfo');\r\n\t\t\tthis.getbaseinfo('defaultmoney');\r\n\t\t\tthis.getbaseinfo('lessczje');;\r\n\t\t\tthis.getuserinfo(getuserinfo.uid,getuserinfo.aid);\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tasync getuserinfo(uid,aid) {\r\n\t\t\t\tlet reinfo=await this.$api.userinfo({action:'userinfo',uid:uid,aid:aid});\r\n\t\t\t\tthis.yue=reinfo.data.yue;\r\n\t\t\t\tthis.userinfo=reinfo.data;\r\n\t\t\t},\r\n\t\t\t//获取充值活动数据\r\n\t\t\tasync getbaseinfo(key){\r\n\t\t\t\tlet getdata= await this.$api.baseinfo({action:'baseinfo',key:key});\r\n\t\t\t\tif(getdata.data.info!=''){\r\n\t\t\t\t\tif(key=='defaultmoney'){\r\n\t\t\t\t\t\tthis.amountList=getdata.data.info;\r\n\t\t\t\t\t}else if(key=='lessczje'){\r\n\t\t\t\t\t\tthis.lessdesc=\"不低于\"+getdata.data.info+\"元\";\r\n\t\t\t\t\t\tthis.lessmoney=parseFloat(getdata.data.info);\r\n\t\t\t\t\t}\r\n\t\t\t\t\t//this.giftamountList=info.data.giftamountList;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t},\r\n\t\t\tasync wxpay(money,openid,uid) {\r\n\t\t\t\tlet userinfo = uni.getStorageSync('userinfo');\r\n\t\t\t\tlet reinfo=await this.$api.czwxpay({action:'czwxpay',openid:openid,addmoney:money,uid:uid,aid:userinfo.aid});\r\n\t\t\t\tconsole.log(reinfo,'返回');\r\n\t\t\t\tlet t=this;\r\n\t\t\t\tuni.requestPayment({\r\n\t\t\t\t provider: 'wxpay',\r\n\t\t\t\t timeStamp: reinfo.data.timeStamp,\r\n\t\t\t\t nonceStr: reinfo.data.nonceStr,\r\n\t\t\t\t package: reinfo.data.package,\r\n\t\t\t\t signType: 'MD5',\r\n\t\t\t\t paySign: reinfo.data.paySign,\r\n\t\t\t\t success: function (res) {\r\n\t\t\t\t //console.log('success:' + JSON.stringify(res));\r\n\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\ttitle:'充值成功'\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t\tsetTimeout(function(e){\r\n\t\t\t\t\t\t\tuni.reLaunch({\r\n\t\t\t\t\t\t\t\turl:'/pages/user/user'\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t},1000)\r\n\t\t\t\t\t\t\r\n\t\t\t\t },\r\n\t\t\t\t fail: function (err) {\r\n\t\t\t\t \r\n\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\ttitle:'支付失败'+reinfo.msg,icon:'fail'\r\n\t\t\t\t\t\t})\r\n\t\t\t\t }\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t\tselect(amount,index){\r\n\t\t\t\tthis.inputAmount = amount;\r\n\t\t\t\tthis.seleteindex=index;\r\n\t\t\t},\r\n\t\t\tinputamountchange(val){\r\n\t\t\t\tconsole.log(val.target.value,'输入')\r\n\t\t\t},\r\n\t\t\tdoDeposit(){\r\n\t\t\t\tlet getuserinfo=uni.getStorageSync('userinfo');\r\n\t\t\t\tif(getuserinfo.openid==''||getuserinfo.openid==null){\r\n\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\turl:'/pages/user/login'\r\n\t\t\t\t\t})\r\n\t\t\t\t}else{\r\n\t\t\t\t\tconsole.log(this.lessmoney,'最低金额')\r\n\t\t\t\t\tif(this.inputAmount<this.lessmoney){\r\n\t\t\t\t\t\tuni.showToast({title:'充值金额不低于'+this.lessmoney+'元',icon:'none'});\r\n\t\t\t\t\t\treturn ;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (parseFloat(this.inputAmount).toString() == \"NaN\") {\r\n\t\t\t\t\t\tuni.showToast({title:'请输入正确金额',icon:'none'});\r\n\t\t\t\t\t\treturn ;\r\n\t\t\t\t\t}\r\n\t\t\t\t\t// if(this.inputAmount%10!=0){\r\n\t\t\t\t\t// \tuni.showToast({title:'请输入10的整数金额',icon:'none'});\r\n\t\t\t\t\t// \treturn ;\r\n\t\t\t\t\t// }\r\n\t\t\t\t\tif(parseFloat(this.inputAmount).toFixed(2)!=parseFloat(this.inputAmount)){\r\n\t\t\t\t\t\tuni.showToast({title:'最多只能输入两位小数哦~',icon:'none'});\r\n\t\t\t\t\t\treturn ;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.$refs.popup.open();\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t},\r\n\t\t\tdoclose(){\r\n\t\t\t\tthis.btstatus=false;\r\n\t\t\t\tthis.$refs.popup.close()\r\n\t\t\t},\r\n\t\t\tdoaddmoney(){\r\n\t\t\t\tvar getmoney=this.inputAmount;\r\n\t\t\t\tvar getgifmoney=this.gitmoney;\r\n\t\t\t\tlet getuserinfo=uni.getStorageSync('userinfo');\r\n\t\t\t\tthis.wxpay(getmoney,getuserinfo.openid,getuserinfo.uid)\r\n\t\t\t\tconsole.log(getgifmoney+'--'+this.inputAmount,'金额');\r\n\t\t\t},\r\n\t\t\ttotx(){\r\n\t\t\t\tuni.navigateTo({url:'/pages/user/tixian'})\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\t.block{\r\n\t\twidth: 100%;\r\n\t\tpadding: 20upx 3%;\r\n\t\t.title{\r\n\t\t\twidth: 100%;\r\n\t\t\tfont-size: 34upx;\r\n\t\t}\r\n\t\t.content{\r\n\t\t\t.my{\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\theight: 120upx;\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\talign-items: center;\r\n\t\t\t\tfont-size: 30upx;\r\n\t\t\t\tborder-bottom: solid 1upx #eee;\r\n\t\t\t}\r\n\t\t\t.tx{\r\n\t\t\t\tpadding: 15rpx 35rpx;\r\n\t\t\t\tbackground-color: #00B7B8;\r\n\t\t\t\tcolor: #FFFFFF;\r\n\t\t\t\tfloat: right;\r\n\t\t\t\tposition: absolute;\r\n\t\t\t\tright: 20rpx;\r\n\t\t\t\ttop: 45rpx;\r\n\t\t\t\tborder-radius: 10upx;\r\n\t\t\t}\r\n\t\t\t.amount{\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\t\r\n\t\t\t\t.list{\r\n\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\tflex-flow:row wrap;\r\n\t\t\t\t\tjustify-content: space-between;\r\n\t\t\t\t\tpadding: 20upx 0;\r\n\t\t\t\t\t\r\n\t\t\t\t\t.box{\r\n\t\t\t\t\t\twidth: 31%;\r\n\t\t\t\t\t\theight: 120upx;\r\n\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\tjustify-content: center;\r\n\t\t\t\t\t\talign-items: center;\r\n\t\t\t\t\t\tborder-radius: 10upx;\r\n\t\t\t\t\t\tbox-shadow: 0upx 5upx 20upx rgba(0,0,0,0.05);\r\n\t\t\t\t\t\tfont-size: 36upx;\r\n\t\t\t\t\t\tbackground-color: #52B4F5;\r\n\t\t\t\t\t\tcolor: #FFFFFF;\r\n\t\t\t\t\t\tmargin-top:15upx;\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t&.on{\r\n\t\t\t\t\t\t\tbackground-color: #f06c7a;\r\n\t\t\t\t\t\t\tcolor: #fff;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t.num{\r\n\t\t\t\t\tmargin-top: 10upx;\r\n\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\tjustify-content: flex-end;\r\n\t\t\t\t\talign-items: center;\r\n\t\t\t\t\t.text{\r\n\t\t\t\t\t\tpadding-right: 10upx;\r\n\t\t\t\t\t\tfont-size: 30upx;\r\n\t\t\t\t\t}\r\n\t\t\t\t\t.input{\r\n\t\t\t\t\t\twidth: 30.2vw;\r\n\t\t\t\t\t\tborder-bottom: solid 2upx #999;\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tjustify-content: flex-end;\r\n\t\t\t\t\t\talign-items: center;\r\n\t\t\t\t\t\tinput{\r\n\t\t\t\t\t\t\tmargin: 0 20upx;\r\n\t\t\t\t\t\t\theight: 60upx;\r\n\t\t\t\t\t\t\tfont-size: 30upx;\r\n\t\t\t\t\t\t\tcolor: #f06c7a;\r\n\t\t\t\t\t\t\tjustify-content: flex-end;\r\n\t\t\t\t\t\t\talign-items: center;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t.pay-list{\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\tborder-bottom: solid 1upx #eee;\r\n\t\t\t\t.row{\r\n\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\theight: 120upx;\r\n\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\talign-items: center;\r\n\t\t\t\t\t.left{\r\n\t\t\t\t\t\twidth: 100upx;\r\n\t\t\t\t\t\tflex-shrink: 0;\r\n\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\talign-items: center;\r\n\t\t\t\t\t\timage{\r\n\t\t\t\t\t\t\twidth: 60upx;\r\n\t\t\t\t\t\t\theight: 60upx;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\t.center{\r\n\t\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\t\tfont-size: 30upx;\r\n\t\t\t\t\t}\r\n\t\t\t\t\t.right{\r\n\t\t\t\t\t\twidth: 100upx;\r\n\t\t\t\t\t\tflex-shrink: 0;\r\n\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\tjustify-content: flex-end;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\t.pay{\r\n\t\tmargin-top: 20upx;\r\n\t\twidth: 100%;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: center;\r\n\t\tflex-wrap: wrap;\r\n\t\t.btn{\r\n\t\t\twidth: 70%;\r\n\t\t\theight: 80upx;\r\n\t\t\tborder-radius: 80upx;\r\n\t\t\tdisplay: flex;\r\n\t\t\tjustify-content: center;\r\n\t\t\talign-items: center;\r\n\t\t\tcolor: #fff;\r\n\t\t\tbackground-color: #f06c7a;\r\n\t\t\tbox-shadow: 0upx 5upx 10upx rgba(0,0,0,0.2);\r\n\t\t}\r\n\t\t.tis{\r\n\t\t\tmargin-top: 20upx;\r\n\t\t\twidth: 100%;\r\n\t\t\tfont-size: 24upx;\r\n\t\t\tdisplay: flex;\r\n\t\t\tjustify-content: center;\r\n\t\t\talign-items: baseline;\r\n\t\t\tcolor: #999;\r\n\t\t\t.terms{\r\n\t\t\t\tcolor: #5a9ef7;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\t.order{\r\n\t\twidth: 550rpx;\r\n\t\theight: 580rpx;\r\n\t\tbackground-color: #FFFFFF;\r\n\t\tborder-radius: 25rpx;\r\n\t}\r\n\t.colseorder{\r\n\t\t position: absolute;\r\n\t\t right: -8px;\r\n\t\t top: -8px;\r\n\t\timage{\r\n\t\t\twidth: 60rpx;\r\n\t\t\theight: 60rpx;\r\n\t\t}\r\n\t}\r\n\t.ordercontent{\r\n\t\tpadding: 20rpx;\r\n\t}\r\n\t.title{\r\n\t\tcolor:#444f62;\r\n\t\tborder-bottom: 1rpx #e7e8ea solid;\r\n\t}\r\n\t.infolist{\r\n\t\tpadding: 20rpx 5rpx;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: space-around;\r\n\t\tborder-bottom: 1rpx #e7e8ea solid;\r\n\t\talign-items: center;\r\n\t}\r\n\t.addnum{\r\n\t\tcolor: #ff1f3a;\r\n\t\tfont-weight: bold;\r\n\t\tmargin-left: 50rpx;\r\n\t\tfont-size: 30rpx;\r\n\t}\r\n\t.addnumtitle{\r\n\t\tmargin-left: -50rpx;\r\n\t\tcolor:#444f62;\r\n\t\t\r\n\t}\r\n\t.addnumtitle{\r\n\t\tmargin-left: -50rpx;\r\n\t\tcolor: #49586d;\r\n\t\tfont-size: 30rpx;\r\n\t}\r\n\t.addbt{\r\n\t\tcolor: #FFFFFF;\r\n\t\tfont-size: 35rpx;\r\n\t\tbackground-color: #00bca2;\r\n\t\tpadding: 10rpx 30rpx;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: center;\r\n\t\tmargin-top: 30rpx;\r\n\t\tborder-radius: 15rpx;\r\n\t}\r\n</style>\r\n","import mod from \"-!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./chongzhi.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./chongzhi.vue?vue&type=style&index=0&lang=scss&\""],"sourceRoot":""}