diff --git a/dist/dev/.sourcemap/mp-weixin/pages/lanhu_denglu/index.js.map b/dist/dev/.sourcemap/mp-weixin/pages/lanhu_denglu/index.js.map
index 21cfc76..db08de4 100644
--- a/dist/dev/.sourcemap/mp-weixin/pages/lanhu_denglu/index.js.map
+++ b/dist/dev/.sourcemap/mp-weixin/pages/lanhu_denglu/index.js.map
@@ -1 +1 @@
-{"version":3,"sources":["uni-app:///src/main.js","webpack:///./src/pages/lanhu_denglu/index.vue?2db8","webpack:///./src/pages/lanhu_denglu/index.vue?fbba","webpack:///./src/pages/lanhu_denglu/index.vue?87ca","webpack:///./src/pages/lanhu_denglu/index.vue?25f1","uni-app:///src/pages/lanhu_denglu/index.vue","webpack:///./src/pages/lanhu_denglu/index.vue?28c6","webpack:///./src/pages/lanhu_denglu/index.vue?486a"],"names":["createPage","Page"],"mappings":";;;;;;;;;;;;AAAA;;AACA;;AACA;;;;AACAA,UAAU,CAACC,cAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkH;AAClH;AACyD;AACL;AACa;;;AAGjE;AACmI;AACnI,gBAAgB,gJAAU;AAC1B,EAAE,2EAAM;AACR,EAAE,gFAAM;AACR,EAAE,yFAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,oFAAU;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;AAAkc,CAAgB,8dAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eCoDtd;AACA,MADA,kBACA;AACA;AACA,mBADA;AAEA,iBAFA;AAGA;AAHA;AAKA,GAPA;AAQA;AACA,UADA,oBACA;AACA;AACA;AACA,kDADA;AACA;AACA,sBAFA;AAEA;AACA;AACA,iCADA;AAEA;AAFA,SAHA;AAOA;AACA,4CADA,CACA;;AADA,SAPA;AAUA;AACA;AACA;AACA,iCADA;AAEA,0BAFA;AAEA;AACA,4BAHA,CAGA;;AAHA;AAKA,WANA,MAMA;AACA;AAEA;AACA,2BADA;AAEA,0BAFA;AAEA;AACA,4BAHA,CAGA;;AAHA;AAKA;AACA;AACA;AACA,uDADA,CACA;;AADA;AAGA,aALA,EAKA,IALA,EARA,CAaA;AACA;AAEA,SAjCA;AAkCA;AACA,6BADA,CACA;AACA;AApCA;AAsCA,KAzCA;AA0CA,SA1CA,mBA0CA;AACA;AACA,uCADA,CACA;;AADA;AAGA;AA9CA;AARA,C;;;;;;;;;;;;;;ACpDA;AAAA;AAAA;AAAA;AAAqpB,CAAgB,ypBAAG,EAAC,C;;;;;;;;;;;ACAzqB;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/lanhu_denglu/index.js","sourcesContent":["import 'uni-pages';\nimport Vue from 'vue'\nimport Page from './pages/lanhu_denglu/index.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=311cd8b8&\"\nvar renderjs\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../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/lanhu_denglu/index.vue\"\nexport default component.exports","export * from \"-!../../../node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--14-0!../../../node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=template&id=311cd8b8&\"","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 \"-!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js&\"","\r\n\t\r\n\t\t\r\n\t\t\t登录\r\n\t\t\t\r\n\t\t\r\n\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\r\n\t\t\t\t\t\r\n\r\n\t\t\t\t\r\n\r\n\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t接受\r\n\t\t\t\t\t\t用户协议\r\n\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\r\n\t\t\t\t\r\n\t\t\t\t\t立即登录\r\n\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\r\n\t\r\n\r\n\r\n","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1708403838458\n var cssReload = require(\"D:/shipin_qianduan/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":""}
\ No newline at end of file
+{"version":3,"sources":["uni-app:///src/main.js",null,"webpack:///./src/pages/lanhu_denglu/index.vue?fbba","webpack:///./src/pages/lanhu_denglu/index.vue?87ca","webpack:///./src/pages/lanhu_denglu/index.vue?25f1","uni-app:///src/pages/lanhu_denglu/index.vue","webpack:///./src/pages/lanhu_denglu/index.vue?28c6","webpack:///./src/pages/lanhu_denglu/index.vue?486a"],"names":["createPage","Page"],"mappings":";;;;;;;;;;;;AAAA;;AACA;;AACA;;;;AACAA,UAAU,CAACC,cAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkH;AAClH;AACyD;AACL;AACa;;;AAGjE;AACmI;AACnI,gBAAgB,gJAAU;AAC1B,EAAE,2EAAM;AACR,EAAE,gFAAM;AACR,EAAE,yFAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,oFAAU;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;AAAkc,CAAgB,8dAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eC0Dtd;AACA,MADA,kBACA;AACA;AACA,mBADA;AAEA,iBAFA;AAGA,kBAHA;AAIA;AAJA;AAMA,GARA;AASA;AACA,cADA,wBACA;AAAA;;AACA;AACA;AACA,yBADA;AAEA,sBAFA;AAEA;AACA,wBAHA,CAGA;;AAHA;AAKA;AACA;;AACA;AACA,wDADA;AACA;AACA,sBAFA;AAEA;AACA;AACA,4CADA,CACA;;AADA,SAHA;AAMA;AACA;AADA,SANA;AAUA;AACA;AACA;AACA,iCADA;AAEA,0BAFA;AAEA;AACA,4BAHA,CAGA;;AAHA;AAKA,WANA,MAMA;AACA;AACA,2BADA;AAEA,0BAFA;AAEA;AACA,4BAHA,CAGA;;AAHA;AAKA;AACA;AAEA,SA1BA;AA2BA;AACA,6BADA,CACA;AACA;AA7BA;AA+BA,KAzCA;AA0CA,UA1CA,oBA0CA;AACA;AACA;AACA,kDADA;AACA;AACA,sBAFA;AAEA;AACA;AACA,iCADA;AAEA;AAFA,SAHA;AAOA;AACA,4CADA,CACA;;AADA,SAPA;AAUA;AACA;AACA;AACA,iCADA;AAEA,0BAFA;AAEA;AACA,4BAHA,CAGA;;AAHA;AAKA,WANA,MAMA;AACA;AAEA;AACA,2BADA;AAEA,0BAFA;AAEA;AACA,4BAHA,CAGA;;AAHA;AAKA;AACA;AACA;AACA,uDADA,CACA;;AADA;AAGA,aALA,EAKA,IALA,EARA,CAaA;AACA;AAEA,SAjCA;AAkCA;AACA,6BADA,CACA;AACA;AApCA;AAsCA,KAlFA;AAmFA,SAnFA,mBAmFA;AACA;AACA,uCADA,CACA;;AADA;AAGA;AAvFA;AATA,C;;;;;;;;;;;;;;AC1DA;AAAA;AAAA;AAAA;AAAqpB,CAAgB,ypBAAG,EAAC,C;;;;;;;;;;;ACAzqB;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/lanhu_denglu/index.js","sourcesContent":["import 'uni-pages';\nimport Vue from 'vue'\nimport Page from './pages/lanhu_denglu/index.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=311cd8b8&\"\nvar renderjs\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../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/lanhu_denglu/index.vue\"\nexport default component.exports","export * from \"-!../../../node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--14-0!../../../node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=template&id=311cd8b8&\"","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 \"-!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js&\"","\r\n\t\r\n\t\t\r\n\t\t\t登录\r\n\t\t\t\r\n\t\t\r\n\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\r\n\t\t\t\t\t\r\n\r\n\t\t\t\t\r\n\r\n\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\r\n\t\t\t\t\t\r\n\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\t\r\n\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\t\r\n\t\t\t\t\r\n\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t接受\r\n\t\t\t\t\t\t用户协议\r\n\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\r\n\t\t\t\t\r\n\t\t\t\t\t立即登录\r\n\t\t\t\t\r\n\t\t\t\t注册\r\n\t\t\t\t其他登录方式\r\n\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\r\n\t\r\n\r\n\r\n","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1708486385721\n var cssReload = require(\"D:/shipin_qianduan/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":""}
\ No newline at end of file
diff --git a/dist/dev/mp-weixin/pages/lanhu_denglu/index.js b/dist/dev/mp-weixin/pages/lanhu_denglu/index.js
index 4bb5b80..7c98c7d 100644
--- a/dist/dev/mp-weixin/pages/lanhu_denglu/index.js
+++ b/dist/dev/mp-weixin/pages/lanhu_denglu/index.js
@@ -194,15 +194,73 @@ exports.default = void 0;
//
//
//
+//
+//
+//
+//
+//
+//
var _default = {
data: function data() {
return {
constants: {},
account: '',
- password: ''
+ password: '',
+ yanzheng: 1
};
},
methods: {
+ yanzhengma: function yanzhengma() {
+ var _this = this;
+
+ if (!this.account) {
+ uni.showToast({
+ title: '请输入手机号',
+ icon: 'none',
+ // 如果要纯文本,将值设为 'none'
+ duration: 2000 // 持续时间为 2 秒
+
+ });
+ return;
+ }
+
+ uni.request({
+ url: getApp().globalData.baseUrl + 'sendSmsCode',
+ // 接口地址
+ method: 'POST',
+ // 请求方法
+ header: {
+ 'content-type': 'application/json' // 默认值
+
+ },
+ data: {
+ 'phone': this.account
+ },
+ success: function success(res) {
+ if (res.data.status != 200) {
+ uni.showToast({
+ title: res.data.msg,
+ icon: 'none',
+ // 如果要纯文本,将值设为 'none'
+ duration: 2000 // 持续时间为 2 秒
+
+ });
+ } else {
+ uni.showToast({
+ title: '获取成功',
+ icon: 'none',
+ // 如果要纯文本,将值设为 'none'
+ duration: 2000 // 持续时间为 2 秒
+
+ });
+ _this.yanzheng = 2;
+ }
+ },
+ fail: function fail(err) {
+ console.error(err); // 请求失败时处理错误
+ }
+ });
+ },
denglu: function denglu() {
console.log(4414);
uni.request({
diff --git a/dist/dev/mp-weixin/pages/lanhu_denglu/index.wxml b/dist/dev/mp-weixin/pages/lanhu_denglu/index.wxml
index fe91d32..a4478d9 100644
--- a/dist/dev/mp-weixin/pages/lanhu_denglu/index.wxml
+++ b/dist/dev/mp-weixin/pages/lanhu_denglu/index.wxml
@@ -1 +1 @@
-登录接受用户协议及隐私政策立即登录注册
\ No newline at end of file
+登录获取验证码已发送接受用户协议及隐私政策立即登录注册其他登录方式
\ No newline at end of file
diff --git a/dist/dev/mp-weixin/project.private.config.json b/dist/dev/mp-weixin/project.private.config.json
new file mode 100644
index 0000000..844f0e5
--- /dev/null
+++ b/dist/dev/mp-weixin/project.private.config.json
@@ -0,0 +1,51 @@
+{
+ "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
+ "condition": {
+ "miniprogram": {
+ "list": [
+ {
+ "name": "pages/lanhu_denglu/index",
+ "pathName": "pages/lanhu_denglu/index",
+ "query": "",
+ "launchMode": "default",
+ "scene": null
+ },
+ {
+ "name": "pages/lanhu_zhuce/index",
+ "pathName": "pages/lanhu_zhuce/index",
+ "query": "",
+ "launchMode": "default",
+ "scene": null
+ },
+ {
+ "name": "pages/lanhu_kunbangqinqinghao/index",
+ "pathName": "pages/lanhu_kunbangqinqinghao/index",
+ "query": "",
+ "launchMode": "default",
+ "scene": null
+ },
+ {
+ "name": "pages/lanhu_daoruxuesheng/index",
+ "pathName": "pages/lanhu_daoruxuesheng/index",
+ "query": "",
+ "launchMode": "default",
+ "scene": null
+ },
+ {
+ "name": "pages/lanhu_zhuce/index",
+ "pathName": "pages/lanhu_zhuce/index",
+ "query": "",
+ "launchMode": "default",
+ "scene": null
+ },
+ {
+ "name": "pages/lanhu_denglu/index",
+ "pathName": "pages/lanhu_denglu/index",
+ "query": "",
+ "launchMode": "default",
+ "scene": null
+ }
+ ]
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/pages/lanhu_denglu/index.vue b/src/pages/lanhu_denglu/index.vue
index 58fdc05..cf6e4b5 100644
--- a/src/pages/lanhu_denglu/index.vue
+++ b/src/pages/lanhu_denglu/index.vue
@@ -7,24 +7,30 @@
-
+
-
+
-
-
+
-
-
+
+ 获取验证码
+
+
+
+ 已发送
+
+
@@ -40,11 +46,11 @@
立即登录
注册
-
+
@@ -56,9 +62,51 @@
constants: {},
account: '',
password: '',
+ yanzheng:1,
};
},
methods: {
+ yanzhengma() {
+ if (!this.account) {
+ uni.showToast({
+ title: '请输入手机号',
+ icon: 'none', // 如果要纯文本,将值设为 'none'
+ duration: 2000 // 持续时间为 2 秒
+ });
+ return
+ }
+ uni.request({
+ url: getApp().globalData.baseUrl + 'sendSmsCode', // 接口地址
+ method: 'POST', // 请求方法
+ header: {
+ 'content-type': 'application/json' // 默认值
+ },
+ data: {
+ 'phone': this.account
+
+ },
+ success: (res) => {
+ if (res.data.status != 200) {
+ uni.showToast({
+ title: res.data.msg,
+ icon: 'none', // 如果要纯文本,将值设为 'none'
+ duration: 2000 // 持续时间为 2 秒
+ });
+ } else {
+ uni.showToast({
+ title: '获取成功',
+ icon: 'none', // 如果要纯文本,将值设为 'none'
+ duration: 2000 // 持续时间为 2 秒
+ });
+ this.yanzheng = 2
+ }
+
+ },
+ fail: (err) => {
+ console.error(err); // 请求失败时处理错误
+ }
+ });
+ },
denglu() {
console.log(4414)
uni.request({
@@ -80,7 +128,7 @@
});
} else {
uni.setStorageSync('token', res.data.data.token)
-
+
uni.showToast({
title: '登录成功',
icon: 'none', // 如果要纯文本,将值设为 'none'