fangdoujieliu.js.map
12.0 KB
{"version":3,"sources":["uni-app:///main.js","webpack:///C:/Users/15121/Desktop/lianxi/pages/denglu/fangdoujieliu.vue?a863","webpack:///C:/Users/15121/Desktop/lianxi/pages/denglu/fangdoujieliu.vue?2c4b","webpack:///C:/Users/15121/Desktop/lianxi/pages/denglu/fangdoujieliu.vue?63a2","webpack:///C:/Users/15121/Desktop/lianxi/pages/denglu/fangdoujieliu.vue?43b1","uni-app:///pages/denglu/fangdoujieliu.vue","webpack:///C:/Users/15121/Desktop/lianxi/pages/denglu/fangdoujieliu.vue?470b","webpack:///C:/Users/15121/Desktop/lianxi/pages/denglu/fangdoujieliu.vue?ec5b"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;;AAGA;AACA,8G,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,sBAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA0H;AAC1H;AACiE;AACL;AACc;;;AAG1E;AACuL;AACvL,gBAAgB,2LAAU;AAC1B,EAAE,mFAAM;AACR,EAAE,wFAAM;AACR,EAAE,iGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,4FAAU;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;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAA8sB,CAAgB,6rBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACqBluB,kE;;;;;;;;;;;;;;;;;;;AADA,S,eAIA,EACA,IADA,kBACA,CACA,SACA,UADA,EAEA,qBAFA,EAGA,aAHA,CAGA;AAHA,MAKA,CAPA,EAQA,MARA,oBAQA,CACA,YACA,CAVA,EAWA,MAXA,oBAWA,CAEA,CAbA,EAcA,WACA,QADA,sBACA,kBACA,oDACA;AACA,4BADA;AAEA,sBAFA;;AAIA,OALA,MAKA;AACA,4BADA,CACA;AACA;AACA,sBADA;AAEA,sBAFA;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAJA,MAIA;AACA;AACA;AACA;AACA;AACA,SAVA,EAUA,IAVA;;AAYA;AACA,KA7BA;;AA+BA;AACA,gBAhCA,0BAgCA;;AAEA,4DAFA,SAEA,GAFA;AAGA;AACA;AAJA;AAMA;AACA,oCADA;AAEA,8BAFA;;AAIA,yDAVA;;AAYA,KA5CA;AA6CA;AACA,QA9CA,kBA8CA;AACA;AACA,8BADA;;AAGA,KAlDA,EAdA,E;;;;;;;;;;;;;ACxBA;AAAA;AAAA;AAAA;AAAy0C,CAAgB,ouCAAG,EAAC,C;;;;;;;;;;;ACA71C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/denglu/fangdoujieliu.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/denglu/fangdoujieliu.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./fangdoujieliu.vue?vue&type=template&id=656ae855&\"\nvar renderjs\nimport script from \"./fangdoujieliu.vue?vue&type=script&lang=js&\"\nexport * from \"./fangdoujieliu.vue?vue&type=script&lang=js&\"\nimport style0 from \"./fangdoujieliu.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../Program Files/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/denglu/fangdoujieliu.vue\"\nexport default component.exports","export * from \"-!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./fangdoujieliu.vue?vue&type=template&id=656ae855&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./fangdoujieliu.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./fangdoujieliu.vue?vue&type=script&lang=js&\"","<template>\r\n\t<!-- 节流和防抖的区别\r\n\t 节流:每两秒内触发一次事件,2秒内再点击函数不会被触发事件。\r\n\t 防抖:在次时间段内触发几次事件,就延迟触发几次,并只触发最后一次\r\n\t -->\r\n\t<view>\r\n\t\t<view class=\"mainbox\">\r\n\t\t\t<view class=\"box\">\r\n\t\t\t\t<view class=\"phone\">手机号:</view>\r\n\t\t\t\t<input type=\"number\" placeholder=\"请输入手机号\" maxlength=\"11\" v-model=\"mobile\"\r\n\t\t\t\t\tplaceholder-style=\"width:90%;font-size:28rpx;\">\r\n\t\t\t</view>\r\n\t\t\t<view class=\"code\" @click=\"checking()\">{{checkingcode}}</view>\r\n\t\t</view>\r\n\t\t<!-- 按钮 -->\r\n\t\t<view class=\"next\" @click=\"next()\">下一个</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\tvar that;\r\n\timport {\r\n\t\tgetmobilesms\r\n\t} from '@/api/mycenter.js'\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tmobile: '',\r\n\t\t\t\tcheckingcode: '获取验证码',\r\n\t\t\t\tcountdown: '', //倒计时,\r\n\t\t\t};\r\n\t\t},\r\n\t\tonshow() {\r\n\t\t\tthat = this\r\n\t\t},\r\n\t\tonLoad() {\r\n\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tchecking() {\r\n\t\t\t\tif (!(/^[1][3,4,5,7,8][0-9]{9}$/).test(this.mobile)) {\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})\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis.getmobilesms() //发送验证码\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})\r\n\t\t\t\t\tlet i = 5\r\n\t\t\t\t\tthis.countdown = i\r\n\t\t\t\t\tthis.checkingcode = i + 's'\r\n\t\t\t\t\tlet timeBack = setInterval(() => {\r\n\t\t\t\t\t\tif (i != 0) {\r\n\t\t\t\t\t\t\ti--;\r\n\t\t\t\t\t\t\tthis.countdown = i;\r\n\t\t\t\t\t\t\tthis.checkingcode = i + 's'\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tthis.countdown = 0\r\n\t\t\t\t\t\t\tclearInterval(timeBack);\r\n\t\t\t\t\t\t\tthis.checkingcode = '获取验证码'\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}, 1000)\r\n\r\n\t\t\t\t}\r\n\t\t\t},\r\n\r\n\t\t\t//获取验证码接口\r\n\t\t\tasync getmobilesms() {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tconst res = await getmobilesms(this.mobile)\r\n\t\t\t\t\tconsole.log('getmobilesms', res)\r\n\t\t\t\t\t// 保存数据\r\n\t\t\t\t} catch (err) {\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle: err,\r\n\t\t\t\t\t\ticon: 'none'\r\n\t\t\t\t\t})\r\n\t\t\t\t\tconsole.log('getmobilesms', err)\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t//跳转下一页\r\n\t\t\tnext() {\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: './fangdoujieliu'\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.mainbox {\r\n\t\tmargin: 0 32rpx;\r\n\t}\r\n\r\n\t.box {\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tmargin-top: 32rpx;\r\n\t\tborder-bottom: 1rpx solid #f0f0f0;\r\n\t\theight: 88rpx;\r\n\t}\r\n\r\n\t.phone {\r\n\t\tfont-size: 32rpx;\r\n\t\tfont-weight: 400;\r\n\t\tmargin-right: 16rpx;\r\n\t}\r\n\r\n\t.next {\r\n\t\tposition: fixed;\r\n\t\tright: 32rpx;\r\n\t\tbottom: 32rpx;\r\n\t\tbackground: white;\r\n\t\tborder-radius: 15rpx;\r\n\t\tborder: 1rpx solid #000;\r\n\t\talign-items: center;\r\n\t\ttext-align: center;\r\n\t\tfont-size: 28rpx;\r\n\t\tfont-weight: 400;\r\n\t\tcolor: black;\r\n\t\theight: 40rpx;\r\n\t\twidth: 100rpx;\r\n\t}\r\n\r\n\t.code {\r\n\t\tmargin-top: 32rpx;\r\n\t\tfont-size: 28rpx;\r\n\t\tfont-weight: 400;\r\n\t\ttext-align: right;\r\n\t}\r\n</style>\n","import mod from \"-!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./fangdoujieliu.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./fangdoujieliu.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1667894258119\n var cssReload = require(\"C:/Program Files/HBuilderX/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":""}