This commit is contained in:
2024-03-16 15:12:48 +08:00
parent 583487a52e
commit 47558cdaee
5 changed files with 54 additions and 44 deletions

View File

@ -1,37 +1,37 @@
{
"version": "1",
"prompt": "template",
"title": "用户协议与隐私政策",
"message": "请你务必审慎阅读、充分理解“用户协议与隐私政策”各条款,包括但不限于:为了更好的向你提供服务,我们需要收集你的设备标识、操作日志等信息用于分析、优化应用性能。<br/>  你可阅读<a href=\"https://app.xinelu.cn/privacypolicy/content.html\">《用户协议与隐私政策》</a>了解详细信息。如果你同意,请点击下面按钮开始接受我们的服务。",
"buttonAccept": "同意并接受",
"buttonRefuse": "暂不同意",
"hrefLoader": "system|default",
"second": {
"title": "确认提示",
"message": "进入应用前,你需先同意<a href=\"https://app.xinelu.cn/privacypolicy/content.html\">《用户协议与隐私政策》</a>,否则将退出应用。",
"buttonAccept": "同意并继续",
"buttonRefuse": "退出应用"
},
"disagreeMode": {
"support": false,
"loadNativePlugins": false,
"visitorEntry": false,
"showAlways": false
},
"styles": {
"backgroundColor": "#ffffff",
"borderRadius": "5px",
"title": {
"color": "#000000"
},
"buttonAccept": {
"color": "#000000"
},
"buttonRefuse": {
"color": "#000000"
},
"buttonVisitor": {
"color": "#000000"
}
}
"version" : "1",
"prompt" : "template",
"title" : "用户协议与隐私政策",
"message" : "请你务必审慎阅读、充分理解“用户协议与隐私政策”各条款,包括但不限于:为了更好的向你提供服务,我们需要收集你的设备标识、操作日志等信息用于分析、优化应用性能。<br/>  你可阅读<a href=\"https://app.xinelu.cn/privacypolicy/content.html\">《用户协议与隐私政策》</a>了解详细信息。如果你同意,请点击下面按钮开始接受我们的服务。",
"buttonAccept" : "同意并接受",
"buttonRefuse" : "暂不同意",
"hrefLoader" : "system|default",
"second" : {
"title" : "确认提示",
"message" : "进入应用前,你需先同意<a href=\"https://app.xinelu.cn/privacypolicy/content.html\">《用户协议与隐私政策》</a>,否则将退出应用。",
"buttonAccept" : "同意并继续",
"buttonRefuse" : "退出应用"
},
"disagreeMode" : {
"support" : false,
"loadNativePlugins" : false,
"visitorEntry" : false,
"showAlways" : false
},
"styles" : {
"backgroundColor" : "#ffffff",
"borderRadius" : "5px",
"title" : {
"color" : "#000000"
},
"buttonAccept" : {
"color" : "#000000"
},
"buttonRefuse" : {
"color" : "#000000"
},
"buttonVisitor" : {
"color" : "#000000"
}
}
}

View File

@ -31,7 +31,6 @@
}
},
onLoad(e) {
console.log(e)
if (e) {
this.list = JSON.parse(e.list)
}

View File

@ -14,8 +14,7 @@
</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="请输入用户名" 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> -->
@ -58,6 +57,10 @@
// this.password = options.password
// }
// },
onShow() {
this.personAccount = uni.getStorageSync('loginform').personAccount
this.personPassword = uni.getStorageSync('loginform').personPassword
},
methods: {
...mapMutations(['scoket']),
login() {
@ -76,6 +79,11 @@
duration: '1500'
})
} else if (res.data.data.status == 2 || res.data.data.status == 1) {
let form = {
personAccount: this.personAccount,
personPassword: this.personPassword
}
uni.setStorageSync('loginform', form);
that.$refs.uToast.show({
title: '登录成功',
type: 'success',

View File

@ -27,7 +27,7 @@
<image src="../../static/huijiantou.png" mode=""></image>
</view>
</view>
<!-- <view class="myorder titles">
<!-- <view class="myorder titles">
<view class="title">
检查更新
</view>
@ -213,7 +213,8 @@
uni.closeSocket();
}
uni.closeSocket();
uni.clearStorageSync();
uni.removeStorageSync('id');
uni.removeStorageSync('status');
that.$refs.uToast.show({
title: '退出账号成功',
type: 'success',
@ -463,4 +464,4 @@
}
}
}
</style>
</style>

View File

@ -339,7 +339,8 @@
senderName: that.currentItem.doctorName,
messageType: 1,
sendTime: new Date(),
content: this.formData.content
content: this.formData.content,
sourcePlatform: 'APP'
}
that.formData.content = '' //
sendMessage(obj).then(res => {
@ -491,7 +492,8 @@
senderName: that.currentItem.doctorName,
messageType: 2,
sendTime: new Date(),
content: fileurls.fileUrl
content: fileurls.fileUrl,
sourcePlatform: 'APP'
}
sendMessage(obj).then(respp => {
if (respp.code == 200) {
@ -849,4 +851,4 @@
bottom: 38rpx;
}
}
</style>
</style>