| | |
| | | <view> |
| | | <view class="list"> |
| | | <view class="list-call"> |
| | | <u--input v-model="username" |
| | | <!-- <u--input v-model="username" |
| | | clearable |
| | | maxlength="32" |
| | | type="text" |
| | | placeholder="请输入手机号" |
| | | prefixIcon="account" |
| | | prefixIconStyle="font-size: 22px;color: #909399"></u--input> |
| | | prefixIconStyle="font-size: 22px;color: #909399"></u--input> --> |
| | | <customPagination |
| | | style="width:100%; height: 60rpx; font-size: 30rpx;" |
| | | :options="userList" |
| | | :value="username" |
| | | v-model="username" |
| | | @changeInput="changeInput2" |
| | | @input="handleInput2" |
| | | :placeholder="'请选择手机号'" |
| | | ></customPagination> |
| | | </view> |
| | | <view class="list-call"> |
| | | <u--input v-model="password" |
| | |
| | | <script> |
| | | import { apiLoginPassword } from '@/api/publicInterface.js'; |
| | | import { mapMutations } from 'vuex'; |
| | | import customPagination from './user.vue' |
| | | import { setName, setToken, setRefreshToken, setUsernameKey, setCustomerId, redirectHome } from '@/utils/status.js'; |
| | | export default { |
| | | name: 'userPassword', |
| | |
| | | btnText: { |
| | | type: Number, |
| | | default: 0 |
| | | }, |
| | | userList: { |
| | | type: Array, |
| | | default: () => { |
| | | return []; |
| | | } |
| | | } |
| | | }, |
| | | components: { |
| | | customPagination |
| | | }, |
| | | data() { |
| | | return { |
| | |
| | | }, |
| | | methods: { |
| | | ...mapMutations(['setUserTabbar']), |
| | | changeInput2(e){ |
| | | this.username=e.username |
| | | // this.password=e.password |
| | | }, |
| | | handleInput2(e){ |
| | | }, |
| | | //登录 |
| | | async submit() { |
| | | uni.showLoading({ |