xg
This commit is contained in:
parent
583487a52e
commit
47558cdaee
@ -1,37 +1,37 @@
|
|||||||
{
|
{
|
||||||
"version": "1",
|
"version" : "1",
|
||||||
"prompt": "template",
|
"prompt" : "template",
|
||||||
"title": "用户协议与隐私政策",
|
"title" : "用户协议与隐私政策",
|
||||||
"message": "请你务必审慎阅读、充分理解“用户协议与隐私政策”各条款,包括但不限于:为了更好的向你提供服务,我们需要收集你的设备标识、操作日志等信息用于分析、优化应用性能。<br/> 你可阅读<a href=\"https://app.xinelu.cn/privacypolicy/content.html\">《用户协议与隐私政策》</a>了解详细信息。如果你同意,请点击下面按钮开始接受我们的服务。",
|
"message" : "请你务必审慎阅读、充分理解“用户协议与隐私政策”各条款,包括但不限于:为了更好的向你提供服务,我们需要收集你的设备标识、操作日志等信息用于分析、优化应用性能。<br/> 你可阅读<a href=\"https://app.xinelu.cn/privacypolicy/content.html\">《用户协议与隐私政策》</a>了解详细信息。如果你同意,请点击下面按钮开始接受我们的服务。",
|
||||||
"buttonAccept": "同意并接受",
|
"buttonAccept" : "同意并接受",
|
||||||
"buttonRefuse": "暂不同意",
|
"buttonRefuse" : "暂不同意",
|
||||||
"hrefLoader": "system|default",
|
"hrefLoader" : "system|default",
|
||||||
"second": {
|
"second" : {
|
||||||
"title": "确认提示",
|
"title" : "确认提示",
|
||||||
"message": "进入应用前,你需先同意<a href=\"https://app.xinelu.cn/privacypolicy/content.html\">《用户协议与隐私政策》</a>,否则将退出应用。",
|
"message" : "进入应用前,你需先同意<a href=\"https://app.xinelu.cn/privacypolicy/content.html\">《用户协议与隐私政策》</a>,否则将退出应用。",
|
||||||
"buttonAccept": "同意并继续",
|
"buttonAccept" : "同意并继续",
|
||||||
"buttonRefuse": "退出应用"
|
"buttonRefuse" : "退出应用"
|
||||||
},
|
},
|
||||||
"disagreeMode": {
|
"disagreeMode" : {
|
||||||
"support": false,
|
"support" : false,
|
||||||
"loadNativePlugins": false,
|
"loadNativePlugins" : false,
|
||||||
"visitorEntry": false,
|
"visitorEntry" : false,
|
||||||
"showAlways": false
|
"showAlways" : false
|
||||||
},
|
},
|
||||||
"styles": {
|
"styles" : {
|
||||||
"backgroundColor": "#ffffff",
|
"backgroundColor" : "#ffffff",
|
||||||
"borderRadius": "5px",
|
"borderRadius" : "5px",
|
||||||
"title": {
|
"title" : {
|
||||||
"color": "#000000"
|
"color" : "#000000"
|
||||||
},
|
},
|
||||||
"buttonAccept": {
|
"buttonAccept" : {
|
||||||
"color": "#000000"
|
"color" : "#000000"
|
||||||
},
|
},
|
||||||
"buttonRefuse": {
|
"buttonRefuse" : {
|
||||||
"color": "#000000"
|
"color" : "#000000"
|
||||||
},
|
},
|
||||||
"buttonVisitor": {
|
"buttonVisitor" : {
|
||||||
"color": "#000000"
|
"color" : "#000000"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -31,7 +31,6 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad(e) {
|
onLoad(e) {
|
||||||
console.log(e)
|
|
||||||
if (e) {
|
if (e) {
|
||||||
this.list = JSON.parse(e.list)
|
this.list = JSON.parse(e.list)
|
||||||
}
|
}
|
||||||
|
|||||||
@ -14,8 +14,7 @@
|
|||||||
</view> -->
|
</view> -->
|
||||||
<view class="name">
|
<view class="name">
|
||||||
<u-form :model="form" ref="uForm" label-width="110">
|
<u-form :model="form" ref="uForm" label-width="110">
|
||||||
<u-form-item label="用户名:"><u-input placeholder="请输入用户名" maxlength="11"
|
<u-form-item label="用户名:"><u-input placeholder="请输入用户名" v-model="personAccount" /></u-form-item>
|
||||||
v-model="personAccount" /></u-form-item>
|
|
||||||
<u-form-item label="密码:">
|
<u-form-item label="密码:">
|
||||||
<u-input placeholder="请输入密码" :password-icon="true" type="password" v-model="personPassword" />
|
<u-input placeholder="请输入密码" :password-icon="true" type="password" v-model="personPassword" />
|
||||||
<!-- <span class="pwd">忘记密码</span> -->
|
<!-- <span class="pwd">忘记密码</span> -->
|
||||||
@ -58,6 +57,10 @@
|
|||||||
// this.password = options.password
|
// this.password = options.password
|
||||||
// }
|
// }
|
||||||
// },
|
// },
|
||||||
|
onShow() {
|
||||||
|
this.personAccount = uni.getStorageSync('loginform').personAccount
|
||||||
|
this.personPassword = uni.getStorageSync('loginform').personPassword
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
...mapMutations(['scoket']),
|
...mapMutations(['scoket']),
|
||||||
login() {
|
login() {
|
||||||
@ -76,6 +79,11 @@
|
|||||||
duration: '1500'
|
duration: '1500'
|
||||||
})
|
})
|
||||||
} else if (res.data.data.status == 2 || res.data.data.status == 1) {
|
} 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({
|
that.$refs.uToast.show({
|
||||||
title: '登录成功',
|
title: '登录成功',
|
||||||
type: 'success',
|
type: 'success',
|
||||||
|
|||||||
@ -27,7 +27,7 @@
|
|||||||
<image src="../../static/huijiantou.png" mode=""></image>
|
<image src="../../static/huijiantou.png" mode=""></image>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- <view class="myorder titles">
|
<!-- <view class="myorder titles">
|
||||||
<view class="title">
|
<view class="title">
|
||||||
检查更新
|
检查更新
|
||||||
</view>
|
</view>
|
||||||
@ -213,7 +213,8 @@
|
|||||||
uni.closeSocket();
|
uni.closeSocket();
|
||||||
}
|
}
|
||||||
uni.closeSocket();
|
uni.closeSocket();
|
||||||
uni.clearStorageSync();
|
uni.removeStorageSync('id');
|
||||||
|
uni.removeStorageSync('status');
|
||||||
that.$refs.uToast.show({
|
that.$refs.uToast.show({
|
||||||
title: '退出账号成功',
|
title: '退出账号成功',
|
||||||
type: 'success',
|
type: 'success',
|
||||||
@ -463,4 +464,4 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@ -339,7 +339,8 @@
|
|||||||
senderName: that.currentItem.doctorName,
|
senderName: that.currentItem.doctorName,
|
||||||
messageType: 1,
|
messageType: 1,
|
||||||
sendTime: new Date(),
|
sendTime: new Date(),
|
||||||
content: this.formData.content
|
content: this.formData.content,
|
||||||
|
sourcePlatform: 'APP'
|
||||||
}
|
}
|
||||||
that.formData.content = '' //清空输入框的文本
|
that.formData.content = '' //清空输入框的文本
|
||||||
sendMessage(obj).then(res => {
|
sendMessage(obj).then(res => {
|
||||||
@ -491,7 +492,8 @@
|
|||||||
senderName: that.currentItem.doctorName,
|
senderName: that.currentItem.doctorName,
|
||||||
messageType: 2,
|
messageType: 2,
|
||||||
sendTime: new Date(),
|
sendTime: new Date(),
|
||||||
content: fileurls.fileUrl
|
content: fileurls.fileUrl,
|
||||||
|
sourcePlatform: 'APP'
|
||||||
}
|
}
|
||||||
sendMessage(obj).then(respp => {
|
sendMessage(obj).then(respp => {
|
||||||
if (respp.code == 200) {
|
if (respp.code == 200) {
|
||||||
@ -849,4 +851,4 @@
|
|||||||
bottom: 38rpx;
|
bottom: 38rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
Loading…
Reference in New Issue
Block a user