From 07c0f76a80262cf48da3438dffd3ad3c04f9cf44 Mon Sep 17 00:00:00 2001
From: yangan <yangan0921@163.com>
Date: 星期五, 21 六月 2024 17:13:28 +0800
Subject: [PATCH] fix:库管首页点击装卸 弹窗问题

---
 pages/login/userPassword.vue |   29 +++++++++++++++++++++++++++--
 1 files changed, 27 insertions(+), 2 deletions(-)

diff --git a/pages/login/userPassword.vue b/pages/login/userPassword.vue
index 8608e2c..848871a 100644
--- a/pages/login/userPassword.vue
+++ b/pages/login/userPassword.vue
@@ -2,13 +2,22 @@
 	<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"
@@ -33,6 +42,7 @@
 <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',
@@ -41,7 +51,16 @@
 			btnText: {
 				type: Number,
 				default: 0
+			},
+			userList: {
+				type: Array,
+				default: () => {
+					return [];
+				}
 			}
+		},
+		components: {
+			customPagination
 		},
 		data() {
 			return {
@@ -56,6 +75,12 @@
 		},
 		methods: {
 			...mapMutations(['setUserTabbar']),
+			changeInput2(e){
+				this.username=e.username
+				// this.password=e.password
+			},
+			handleInput2(e){
+			},
 			//鐧诲綍
 			async submit() {
 				uni.showLoading({

--
Gitblit v1.9.1