Commit 39abf119 by 莫晓莉

mxl

parent b70cf6fb
......@@ -33,16 +33,16 @@
</view>
<view class="login-area">
<view class="login-item bt">
<image class="login-icon" src="../../static/login/mine.png"></image>
<image class="login-icon" src="../../static/login/phone.png"></image>
<input type="number" class="login-item-input" placeholder="请输入手机号" v-model="loginForm.phone" />
</view>
<view class="login-item bt">
<image class="login-icon" src="../../static/login/password.png"></image>
<image class="login-icon" src="../../static/login/code.png"></image>
<input v-model="loginForm.code" class="login-item-input" placeholder="请输入验证码" />
<view class="code-btn" @click="codeInfo.clickType ? getCode() : ''">{{codeInfo.msg}}</view>
</view>
<view class="login-item bt">
<image class="login-icon" src="../../static/login/code.png"></image>
<image class="login-icon" src="../../static/login/password.png"></image>
<input class="login-item-input" placeholder="请输入密码" v-model="loginForm.password"/>
</view>
</view>
......@@ -72,7 +72,7 @@
</template>
<script>
import service from '../../service.js';
// import service from '../../service.js';
import {
mapState,
mapMutations
......
......@@ -102,6 +102,7 @@
],
user:{},//用户信息
token:''
}
},
......@@ -118,6 +119,12 @@
},
onShow() {
// this.mylike();
// var token=uni.getStorageSync('token');
// var user=uni.getStorageSync('user');
// console.log('token:',token);
// console.log('user:',user);
// this.user=user;
// this.token=token;
},
methods: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment