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
21 KiB
1 lines
21 KiB
{"version":3,"sources":["uni-app:///main.js","webpack:///D:/Documents/high-mini/pages/pay/payment/payment.vue?7212","webpack:///D:/Documents/high-mini/pages/pay/payment/payment.vue?4344","webpack:///D:/Documents/high-mini/pages/pay/payment/payment.vue?1031","webpack:///D:/Documents/high-mini/pages/pay/payment/payment.vue?ba98","uni-app:///pages/pay/payment/payment.vue","webpack:///D:/Documents/high-mini/pages/pay/payment/payment.vue?594f","webpack:///D:/Documents/high-mini/pages/pay/payment/payment.vue?ddfe"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,uG;AACAA,UAAU,CAACC,gBAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAoH;AACpH;AAC2D;AACL;AACc;;;AAGpE;AAC+L;AAC/L,gBAAgB,wMAAU;AAC1B,EAAE,6EAAM;AACR,EAAE,kFAAM;AACR,EAAE,2FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,sFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjBA;AAAA;AAAA;AAAA;AAAmuB,CAAgB,wvBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC+DvvB,gE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,mB,eACA,EACA,IADA,kBACA,CACA,SACA,SADA,EAEA,aAFA,EAGA,WAHA,EAIA,WAJA,EAIA;AACA,iBALA,EAMA,QANA,EAOA,YAPA,GASA,CAXA,EAYA,MAZA,kBAYA,CAZA,EAYA,kBACA,yBACA,yBACA,2BACA,oCACA,wBACA,uBACA,CAFA,MAEA,wBACA,uBACA,CAFA,MAEA,CACA,kBACA,CACA,8CACA,iBACA,mBADA,EAEA,8BACA,wBACA,4BACA,CAFA,MAEA,CACA,iCACA,CACA,oBACA,mBADA,IAGA,CAXA,IAaA,CAtCA,EAuCA,WACA;AACA,cAFA,wBAEA,CACA,gBACA,8BACA,kBACA,eADA,IAGA,eACA,uBADA,EAEA,+BAFA,EAGA,2BAHA,GAKA,kDACA,kCAEA,qBACA,8BADA,EAEA,oCAFA,EAGA,kCAHA,EAIA,+BAJA;AAKA,+BALA;AAMA,oDANA;AAOA;AACA;AACA;AACA,+BADA;;AAGA;AACA,+DADA;;AAGA,eAfA;AAgBA;AACA;AACA;AACA,eAnBA;;AAqBA,WAvBA,MAuBA;AACA;AACA,mCADA;AAEA,0BAFA;;AAIA;AACA,SA9BA;AA+BA,OAxCA,MAwCA;AACA;AACA,uBADA;AAEA,+BAFA;AAGA;AACA;AACA;AACA,+BADA;;AAGA;AACA,uCADA;;AAGA;AACA;AACA;AACA;AACA,iCADA;;AAGA;AACA,iEADA;;;AAIA,iBATA,MASA;AACA;AACA,yCADA;AAEA,gCAFA;;AAIA;AACA,eAhBA;AAiBA,aAxBA,MAwBA;AACA,WA7BA;;AA+BA,OAhCA,MAgCA;AACA;AACA,0BADA;AAEA,sBAFA;AAGA,wBAHA;;AAKA;AACA,KAnFA,EAvCA,E;;;;;;;;;;;;;ACpEA;AAAA;AAAA;AAAA;AAA60C,CAAgB,8yCAAG,EAAC,C;;;;;;;;;;;ACAj2C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/pay/payment/payment.js","sourcesContent":["import 'uni-pages';\nimport Vue from 'vue'\nimport Page from './pages/pay/payment/payment.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./payment.vue?vue&type=template&id=7774a4a6&\"\nvar renderjs\nimport script from \"./payment.vue?vue&type=script&lang=js&\"\nexport * from \"./payment.vue?vue&type=script&lang=js&\"\nimport style0 from \"./payment.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\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/pay/payment/payment.vue\"\nexport default component.exports","export * from \"-!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./payment.vue?vue&type=template&id=7774a4a6&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n if (!_vm._isMounted) {\n _vm.e0 = function($event) {\n _vm.paytype = \"jinbi\"\n }\n\n _vm.e1 = function($event) {\n _vm.paytype = \"wxpay\"\n }\n }\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./payment.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./payment.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=\"content\">\r\n\t\t\t\t<view class=\"orderinfo\">\r\n\t\t\t\t\t<!-- <view class=\"row\">\r\n\t\t\t\t\t\t<view class=\"nominal\">订单名称:</view>\r\n\t\t\t\t\t\t<view class=\"text\">{{orderName}}</view>\r\n\t\t\t\t\t</view> -->\r\n\t\t\t\t\t<view class=\"row\">\r\n\t\t\t\t\t\t<view class=\"nominal\">订单金额:</view>\r\n\t\t\t\t\t\t<view class=\"text\" v-if=\"pryType == 1\">{{amount}} 元</view>\r\n\t\t\t\t\t\t<view class=\"text\" v-if=\"pryType == 2\">{{amount*100}} 个金币 (当前金币:{{user.gold}})</view>\r\n\t\t\t\t\t\t<view class=\"text\" v-if=\"pryType == 3\">{{amount}}元(当前金币:{{user.gold}})</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='jinbi'\" v-if=\"pryType == 2 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ExNC42IDMtMTIuMSAwLjEtMjIuOS04LjMtMjUuNC0yMC4xIDAtMC4yLTAuMS0wLjQtMC4xLTAuNi0zLjQtMTYuMSA4LjMtMzEuNCAyNC44LTMxLjggMTE4LTIuNyAyNDUuOS0xMC42IDMzOC4zLTIyLjggMTEuNi0xLjUgMjIuNyA0LjkgMjcuMiAxNS43bDEuMSAyLjZjNi42IDE1LjgtMy40IDMzLjYtMjAuNCAzNS44LTM2LjkgNC45LTc3LjIgOC43LTExOS4zIDExLjktMTMuNSAxLTIzLjkgMTIuMy0yMy45IDI1Ljl2MTcuM2MwIDE0LjMgMTEuNiAyNS45IDI1LjkgMjUuOWg5N2MxNC4zIDAgMjUuOSAxMS42IDI1LjkgMjUuOXYxNTguM3oiIGZpbGw9IiNGRkZGRkYiIHAtaWQ9IjI0MDciPjwvcGF0aD48L3N2Zz4=\">\r\n\t\t\t\t\t\t\t</image>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"center\">\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=\"right\">\r\n\t\t\t\t\t\t\t<radio :checked=\"paytype=='jinbi'\" color=\"#f06c7a\" />\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=\"row\" @tap=\"paytype='wxpay'\" v-if=\"pryType == 1 || pryType==3 \">\r\n\t\t\t\t\t\t<view class=\"left\">\r\n\t\t\t\t\t\t\t<image src=\"/static/img/wxpay.png\"></image>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"center\">\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=\"right\">\r\n\t\t\t\t\t\t\t<radio :checked=\"paytype=='wxpay'\" color=\"#f06c7a\" />\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=\"pay\">\r\n\t\t\t<view class=\"btn\" @tap=\"orderToPay\">立即支付</view>\r\n\t\t\t<view class=\"tis\">\r\n\t\t\t\t点击立即支付,即代表您同意<view class=\"terms\">\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 {\r\n\t\torderToPay,\r\n\t\torderToGoldPay\r\n\t} from '../../../Utils/Api.js'\r\n\tlet app = getApp()\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tamount: 0,\r\n\t\t\t\torderName: '',\r\n\t\t\t\tpryType: '',\r\n\t\t\t\tpaytype: '', //支付类型\r\n\t\t\t\torderNo: '',\r\n\t\t\t\tuser: '',\r\n\t\t\t\tcouponId : ''\r\n\t\t\t};\r\n\t\t},\r\n\t\tonLoad(e) {\r\n\t\t\tthis.pryType = e.paytype;\r\n\t\t\tthis.orderNo = e.orderId;\r\n\t\t\tthis.couponId = e.couponId;\r\n\t\t\tthis.user = app.globalData.userInfo;\r\n\t\t\tif (this.pryType == 1) {\r\n\t\t\t\tthis.paytype = 'wxpay';\r\n\t\t\t} else if (this.pryType == 2) {\r\n\t\t\t\tthis.paytype = 'jinbi'\r\n\t\t\t} else {\r\n\t\t\t\tthis.paytype = ''\r\n\t\t\t}\r\n\t\t\tthis.amount = parseFloat(e.amount).toFixed(2);\r\n\t\t\tuni.getStorage({\r\n\t\t\t\tkey: 'paymentOrder',\r\n\t\t\t\tsuccess: (e) => {\r\n\t\t\t\t\tif (e.data.length > 1) {\r\n\t\t\t\t\t\tthis.orderName = '多商品合并支付'\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tthis.orderName = e.data[0].name;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tuni.removeStorage({\r\n\t\t\t\t\t\tkey: 'paymentOrder'\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\tmethods: {\r\n\t\t\t//获取订单数据\r\n\t\t\torderToPay() {\r\n\t\t\t\tlet that = this;\r\n\t\t\t\tif (that.paytype == 'wxpay') {\r\n\t\t\t\t\tuni.showLoading({\r\n\t\t\t\t\t\ttitle: '支付中...'\r\n\t\t\t\t\t})\r\n\t\t\t\t\tlet params = {\r\n\t\t\t\t\t\t\"orderId\": that.orderNo,\r\n\t\t\t\t\t\t\"openId\": app.globalData.openId,\r\n\t\t\t\t\t\t\"orderScene\": \"GOODS_ORDER\"\r\n\t\t\t\t\t}\r\n\t\t\t\t\torderToPay(params).then(res => {\r\n\t\t\t\t\t\tif (res.return_code == '000000') {\r\n\r\n\t\t\t\t\t\t\tuni.requestPayment({\r\n\t\t\t\t\t\t\t\t\"appId\": res.return_data.appId,\r\n\t\t\t\t\t\t\t\t\"nonceStr\": res.return_data.nonceStr,\r\n\t\t\t\t\t\t\t\t\"package\": res.return_data.package,\r\n\t\t\t\t\t\t\t\t\"paySign\": res.return_data.sign,\r\n\t\t\t\t\t\t\t\t\"signType\": \"MD5\",\r\n\t\t\t\t\t\t\t\t\"timeStamp\": res.return_data.timeStamp,\r\n\t\t\t\t\t\t\t\tsuccess: function(res) {\r\n\t\t\t\t\t\t\t\t\tuni.hideLoading();\r\n\t\t\t\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\t\t\t\ttitle: '支付成功'\r\n\t\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\t\tuni.reLaunch({\r\n\t\t\t\t\t\t\t\t\t\turl: '../success/success?id=' + that.couponId\r\n\t\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\tfail: function(err) {\r\n\t\t\t\t\t\t\t\t\tuni.hideLoading();\r\n\t\t\t\t\t\t\t\t\tconsole.log('fail:' + JSON.stringify(err));\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\t\ttitle: res.return_msg,\r\n\t\t\t\t\t\t\t\ticon: 'none'\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t})\r\n\t\t\t\t} else if (that.paytype == 'jinbi') {\r\n\t\t\t\t\tuni.showModal({\r\n\t\t\t\t\t\ttitle: '金币支付',\r\n\t\t\t\t\t\tcontent: '确认是否用金币支付?',\r\n\t\t\t\t\t\tsuccess: (res) => {\r\n\t\t\t\t\t\t\tif (res.confirm) {\r\n\t\t\t\t\t\t\t\tuni.showLoading({\r\n\t\t\t\t\t\t\t\t\ttitle: '支付中...'\r\n\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\tlet params = {\r\n\t\t\t\t\t\t\t\t\t\"orderId\": that.orderNo\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\torderToGoldPay(params).then(res => {\r\n\t\t\t\t\t\t\t\t\tif (res.return_code == '000000') {\r\n\t\t\t\t\t\t\t\t\t\tuni.hideLoading();\r\n\t\t\t\t\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\t\t\t\t\ttitle: '支付成功'\r\n\t\t\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\t\t\tuni.reLaunch({\r\n\t\t\t\t\t\t\t\t\t\t\turl: '../success/success?id=' + that.couponId\r\n\t\t\t\t\t\t\t\t\t\t});\r\n\r\n\t\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\t\t\t\t\ttitle: res.return_msg,\r\n\t\t\t\t\t\t\t\t\t\t\ticon: 'none'\r\n\t\t\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t} else if (res.cancel) {}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t\t} else {\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle: '请选择支付方式',\r\n\t\t\t\t\t\ticon: 'none',\r\n\t\t\t\t\t\tduration: 2000\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</script>\r\n\r\n<style lang=\"scss\">\r\n\t.block {\r\n\t\twidth: 94%;\r\n\t\tpadding: 0 3% 40upx 3%;\r\n\r\n\t\t.title {\r\n\t\t\twidth: 100%;\r\n\t\t\tfont-size: 34upx;\r\n\t\t}\r\n\r\n\t\t.content {\r\n\t\t\t.orderinfo {\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\tborder-bottom: solid 1upx #eee;\r\n\r\n\t\t\t\t.row {\r\n\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\theight: 90upx;\r\n\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\talign-items: center;\r\n\r\n\t\t\t\t\t.nominal {\r\n\t\t\t\t\t\tflex-shrink: 0;\r\n\t\t\t\t\t\tfont-size: 32upx;\r\n\t\t\t\t\t\tcolor: #7d7d7d;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t.text {\r\n\t\t\t\t\t\twidth: 70%;\r\n\t\t\t\t\t\tmargin-left: 10upx;\r\n\t\t\t\t\t\toverflow: hidden;\r\n\t\t\t\t\t\ttext-overflow: ellipsis;\r\n\t\t\t\t\t\twhite-space: nowrap;\r\n\t\t\t\t\t\tfont-size: 32upx;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\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\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\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\r\n\t\t\t\t\t\timage {\r\n\t\t\t\t\t\t\twidth: 80upx;\r\n\t\t\t\t\t\t\theight: 80upx;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\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\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\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\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\r\n\t\t.tis {\r\n\t\t\tmargin-top: 10upx;\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\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</style>\n","import mod from \"-!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./payment.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./payment.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1617950406310\n var cssReload = require(\"E:/hBuilderX/HBuilderXv3.0.5.20210107/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} |