This commit is contained in:
2023-12-20 13:36:30 +08:00
parent cf092099fb
commit dfd5665ca4
3 changed files with 21 additions and 16 deletions

View File

@ -142,7 +142,7 @@
uni.connectSocket({
url: that.SOCKETURL
})
}, 3 * 1000)
}, 1000)
}
})
uni.onSocketClose(err => {
@ -153,7 +153,7 @@
uni.connectSocket({
url: that.SOCKETURL
})
}, 3 * 1000)
}, 1000)
}
})
} catch (e) {
@ -184,7 +184,7 @@
})
}
})
}, 5000)
}, 1000)
},
//
goseekadvicefrom(item) {

View File

@ -14,7 +14,8 @@
</view>
<view class="name">
<u-form :model="form" ref="uForm" label-width="110">
<u-form-item label="用户名:"><u-input placeholder="请输入用户名" maxlength="11" v-model="personAccount" /></u-form-item>
<u-form-item label="用户名:"><u-input placeholder="请输入用户名" maxlength="11"
v-model="personAccount" /></u-form-item>
<u-form-item label="密码:">
<u-input placeholder="请输入密码" :password-icon="true" type="password" v-model="personPassword" />
<!-- <span class="pwd">忘记密码</span> -->
@ -37,8 +38,8 @@
export default {
data() {
return {
personAccount: 'wangxiaoyan',
personPassword: 'Ww851108.',
personAccount: '',
personPassword: '',
form: {
name: '',
}

View File

@ -543,6 +543,10 @@
content: JSON.parse(res.data).message,
messageType: Number(JSON.parse(res.data).messageType)
})
query.select('.input-box').boundingClientRect(data => {
that.inputboxtop = data.height //
that.scrollTop = that.scrollTop + 1;
}).exec();
that.Read()
})
} catch (e) {
@ -567,7 +571,7 @@
})
}
})
}, that.timeout)
}, 1000)
},
back() {
uni.navigateBack({