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 line
5.8 KiB

10 months ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-login-login"],{"544d":function(t,e,i){"use strict";var n=i("d8a6"),a=i.n(n);a.a},"67f6":function(t,e,i){"use strict";i.r(e);var n=i("9d4f"),a=i("84d0");for(var s in a)["default"].indexOf(s)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(s);i("544d");var o=i("828b"),r=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"290eb706",null,!1,n["a"],void 0);e["default"]=r.exports},"84d0":function(t,e,i){"use strict";i.r(e);var n=i("b3fe"),a=i.n(n);for(var s in n)["default"].indexOf(s)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(s);e["default"]=a.a},"9d4f":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"bg"},[i("v-uni-image",{staticClass:"title-img",attrs:{src:"https://static.ticket.sz-trip.com/tourGuide/images/login/title.png",mode:""}}),i("v-uni-view",{staticClass:"item flex-between",staticStyle:{"margin-top":"83rpx"}},[i("v-uni-image",{staticClass:"icon",attrs:{src:"https://static.ticket.sz-trip.com/tourGuide/images/login/phone.png",mode:""}}),i("v-uni-input",{attrs:{"adjust-position":!1,type:"text",placeholder:"请输入手机号"},model:{value:t.form.username,callback:function(e){t.$set(t.form,"username",e)},expression:"form.username"}})],1),i("v-uni-view",{staticClass:"item flex-between"},[i("v-uni-image",{staticClass:"icon",attrs:{src:"https://static.ticket.sz-trip.com/tourGuide/images/login/code.png",mode:""}}),i("v-uni-input",{attrs:{"adjust-position":!1,type:"text",placeholder:"请输入图形验证码"},model:{value:t.form.captchaCodeId,callback:function(e){t.$set(t.form,"captchaCodeId",e)},expression:"form.captchaCodeId"}}),i("v-uni-image",{staticClass:"code-img",attrs:{src:t.codeImg,mode:""},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.getCodeImg.apply(void 0,arguments)}}})],1),i("v-uni-view",{staticClass:"item flex-between"},[i("v-uni-image",{staticClass:"icon",attrs:{src:"https://static.ticket.sz-trip.com/tourGuide/images/login/password.png",mode:""}}),i("v-uni-input",{attrs:{"adjust-position":!1,type:"text",password:t.showPassword,placeholder:"请输入密码"},model:{value:t.form.password,callback:function(e){t.$set(t.form,"password",e)},expression:"form.password"}}),t.showPassword?i("v-uni-image",{staticClass:"eye-img",attrs:{src:"https://static.ticket.sz-trip.com/tourGuide/images/login/eye.png",mode:""},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showPassword=!1}}}):i("v-uni-image",{staticClass:"eye-img",attrs:{src:"https://static.ticket.sz-trip.com/tourGuide/images/login/closeEye.png",mode:""},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showPassword=!0}}})],1),i("v-uni-view",{staticClass:"btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.login.apply(void 0,arguments)}}},[t._v("立即登录")])],1)},a=[]},b3fe:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("4626"),i("5ac7");var n={data:function(){return{form:{username:"",captchaCodeId:"",password:""},showPassword:!0,codeImg:""}},onShow:function(){this.getCodeImg()},methods:{getCodeImg:function(){var t=this;this.Post({},"/api/Merchants/get_graphic").then((function(e){t.codeImg=e.data.code}))},login:function(){var t=this;this.Post(this.form,"/api/Merchants/login_member").then((function(e){t.$store.commit("changeUserInfo",e.data),t.$store.state.user.toPath.includes("user/user")?uni.switchTab({url:t.$store.state.user.toPath}):t.goBack()}))}}};e.default=n},b86e:function(t,e,i){var n=i("c86c");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整��