Merge remote-tracking branch 'origin/dev' into dev

# Conflicts:
#	pagesC/Onlinesigning/Onlinesigning.vue
This commit is contained in:
shidongli 2023-11-13 15:56:44 +08:00
commit a2f8c3e6e5
7 changed files with 33 additions and 18 deletions

View File

@ -12,8 +12,9 @@
}, { }, {
"path": "pages/message/message", "path": "pages/message/message",
"style": { "style": {
"enablePullDownRefresh": false, "navigationBarTitleText": "消息中心",
"navigationBarTitleText": "消息中心" "onReachBottomDistance": 40, // px
"enablePullDownRefresh": true //true
} }
}, { }, {
"path": "pages/homepage/homepage", "path": "pages/homepage/homepage",

View File

@ -51,7 +51,7 @@
<view class="item" v-for="item in listthree" v-if="listthree.length>0" @tap='goseekadvicefrom(item)'> <view class="item" v-for="item in listthree" v-if="listthree.length>0" @tap='goseekadvicefrom(item)'>
<image src="../../static/docHead.png" mode=""></image> <image src="../../static/docHead.png" mode=""></image>
<view class="title"> <view class="title">
服务推送 {{item.senderName}}
</view> </view>
<view class="time"> <view class="time">
{{item.sendTime}} {{item.sendTime}}
@ -137,7 +137,16 @@
} }
}) })
}, },
} },
onReachBottom() { //
},
onPullDownRefresh() { //
this.info();
setTimeout(function() {
uni.stopPullDownRefresh();
}, 1000);
},
} }
</script> </script>
@ -199,4 +208,4 @@
} }
} }
} }
</style> </style>

View File

@ -383,9 +383,17 @@
}, },
// //
Signing() { Signing() {
uni.navigateTo({ if (uni.getStorageSync('region') == 3) {
url: '/pagesB/mysigning/mysigning' this.$refs.uToast.show({
}) title: '当前地区不支持,请选择其它地区',
type: 'error',
})
} else {
uni.navigateTo({
url: '/pagesB/mysigning/mysigning'
})
}
}, },
// //
gologin() { gologin() {
@ -527,4 +535,4 @@
<style lang="scss"> <style lang="scss">
@import './myinformation.scss' @import './myinformation.scss'
</style> </style>

View File

@ -259,7 +259,7 @@
title: '请选择现住区县', title: '请选择现住区县',
type: 'error', type: 'error',
}) })
} // }
// else if (!this.query.townName) { // else if (!this.query.townName) {
// this.$refs.uToast.show({ // this.$refs.uToast.show({
// title: '/', // title: '/',
@ -270,8 +270,7 @@
// title: '/', // title: '/',
// type: 'error', // type: 'error',
// }) // })
// } } else if (!this.query.address) {
else if (!this.query.address) {
this.$refs.uToast.show({ this.$refs.uToast.show({
title: '请输入详细地址', title: '请输入详细地址',
type: 'error', type: 'error',
@ -388,7 +387,7 @@
type: 'success', type: 'success',
duration: 1500, duration: 1500,
back: 1, back: 1,
}) })
// uni.switchTab({ // uni.switchTab({
// url: "/pages/homepage/homepage" // url: "/pages/homepage/homepage"
@ -611,7 +610,6 @@
}, },
// //
residentAutographPath(data) { residentAutographPath(data) {
console.log(data,'1111')
this.query.residentAutographPath = data.residentAutographPath this.query.residentAutographPath = data.residentAutographPath
// this.protocolshow = false // this.protocolshow = false
}, },

View File

@ -161,7 +161,6 @@
} }
}) })
uni.onSocketMessage(res => { uni.onSocketMessage(res => {
console.log("webScoket监听收到的信息", res);
this.uploadType = 2 this.uploadType = 2
this.number = JSON.parse(res.data).fbg this.number = JSON.parse(res.data).fbg
this.$forceUpdate() this.$forceUpdate()

View File

@ -89,7 +89,7 @@
this.$refs.uToast.show({ this.$refs.uToast.show({
title: '预约成功', title: '预约成功',
type: 'success', type: 'success',
url: '/pagesC/ServiceAppointment/ServiceAppointment' // url: '/pagesC/ServiceAppointment/ServiceAppointment'
}) })
} else if (res.code == '500') { } else if (res.code == '500') {
this.$refs.uToast.show({ this.$refs.uToast.show({

View File

@ -469,7 +469,7 @@
that.newsList.push({ that.newsList.push({
senderName: that.currentItem.doctorName, senderName: that.currentItem.doctorName,
content: JSON.parse(res.data).message, content: JSON.parse(res.data).message,
messageType: JSON.parse(res.data).messageType messageType: Number(JSON.parse(res.data).messageType)
}) })
setTimeout(() => { setTimeout(() => {
let query = uni.createSelectorQuery().in(this); let query = uni.createSelectorQuery().in(this);
@ -767,4 +767,4 @@
bottom: 38rpx; bottom: 38rpx;
} }
} }
</style> </style>