| | |
| | | </view> |
| | | <view class="bg_w rd8 ptb30 pl40 bbox com-input flex input-height"> |
| | | <image src="@/static/login_ic_code@2x.png" mode="" class="img40 mr25"></image> |
| | | <u--input placeholder="企业代码" border="none"></u--input> |
| | | <u--input placeholder="企业代码" border="none" v-model="loginForm.companyId"></u--input> |
| | | </view> |
| | | <view class="bg_w rd8 ptb30 pl40 bbox mt40 flex input-height"> |
| | | <image src="@/static/login_ic_phone@2x.png" mode="" class="img40 mr25"></image> |
| | | <u--input placeholder="手机号" border="none"></u--input> |
| | | <u--input placeholder="手机号" border="none" v-model="loginForm.account"></u--input> |
| | | </view> |
| | | <view class="bg_w rd8 ptb30 pl40 bbox mt40 flex input-height"> |
| | | <image src="@/static/login_ic_password@2x.png" mode="" class="img40 mr25"></image> |
| | | <u--input placeholder="密码" border="none"></u--input> |
| | | <u--input placeholder="密码" border="none" v-model="loginForm.password"></u--input> |
| | | </view> |
| | | <view class="login-btn mt80">立即登录</view> |
| | | <view class="login-btn mt80" @click="loginAction">立即登录</view> |
| | | </view> |
| | | </template> |
| | | |
| | |
| | | export default { |
| | | data() { |
| | | return { |
| | | bgImg: require('@/static/login_bg@2x.png') |
| | | loginForm: { |
| | | companyId: '', |
| | | account: '', |
| | | password: '' |
| | | } |
| | | }; |
| | | }, |
| | | methods: { |
| | | loginAction() { |
| | | uni.reLaunch({ |
| | | url: '/pages/workbench/workbench' |
| | | }) |
| | | } |
| | | } |
| | | } |
| | | </script> |