tijiao
This commit is contained in:
@@ -136,8 +136,11 @@
|
||||
|
||||
backClick() {
|
||||
if (this.options.backType == "order") {
|
||||
// uni.switchTab({
|
||||
// url: "/pages/home/index",
|
||||
// });
|
||||
uni.switchTab({
|
||||
url: "/pages/home/index",
|
||||
url: "/pages/doctors/index",
|
||||
});
|
||||
} else {
|
||||
uni.navigateBack({
|
||||
|
||||
@@ -309,8 +309,11 @@ export default {
|
||||
this.isLongPress = false; //重置状态
|
||||
}
|
||||
uni.setStorageSync('homeParams', { data: item, index: index, type: 'patient' });
|
||||
// uni.switchTab({
|
||||
// url: '/pages/home/index'
|
||||
// });
|
||||
uni.switchTab({
|
||||
url: '/pages/home/index'
|
||||
url: '/pages/doctors/index'
|
||||
});
|
||||
},
|
||||
//触摸开始(防抖)
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<br clear="both" />
|
||||
</view>
|
||||
|
||||
<view class="modal_vip" v-if="$platform=='android'">
|
||||
<!-- <view class="modal_vip" v-if="$platform=='android'">
|
||||
<template>
|
||||
<view class="chong_zhi boxShadow box_fillet vip_box">
|
||||
<view class="noVip">
|
||||
@@ -47,7 +47,7 @@
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
</view>
|
||||
</view> -->
|
||||
|
||||
<view class="recharge_block">
|
||||
<view class="chong_zhi boxShadow box_fillet chongzhi_box">
|
||||
@@ -130,16 +130,16 @@ export default {
|
||||
return {
|
||||
userMes: {},
|
||||
pageList: [
|
||||
{
|
||||
name: "我的病历夹",
|
||||
url: "/pages/folder/index",
|
||||
type: "pageJump",
|
||||
},
|
||||
{
|
||||
name: "会话记录",
|
||||
url: "/pages/my/recordsList",
|
||||
type: "pageJump",
|
||||
},
|
||||
// {
|
||||
// name: "我的病历夹",
|
||||
// url: "/pages/folder/index",
|
||||
// type: "pageJump",
|
||||
// },
|
||||
// {
|
||||
// name: "会话记录",
|
||||
// url: "/pages/my/recordsList",
|
||||
// type: "pageJump",
|
||||
// },
|
||||
{
|
||||
name: "我的订单",
|
||||
url: "/pages/order/index",
|
||||
|
||||
@@ -64,8 +64,11 @@ export default {
|
||||
//点击会话跳转到首页记录
|
||||
clickRecord(item, index){
|
||||
uni.setStorageSync('homeParams', { data: item, index: index });
|
||||
// uni.switchTab({
|
||||
// url: '/pages/home/index'
|
||||
// });
|
||||
uni.switchTab({
|
||||
url: '/pages/home/index'
|
||||
url: '/pages/doctors/index'
|
||||
});
|
||||
},
|
||||
onPageJump(url) {
|
||||
|
||||
@@ -417,8 +417,11 @@ export default {
|
||||
|
||||
setTimeout(() => {
|
||||
uni.setStorageSync("isJump", "false");
|
||||
// uni.reLaunch({
|
||||
// url: "/pages/home/index"
|
||||
// });
|
||||
uni.reLaunch({
|
||||
url: "/pages/home/index"
|
||||
url: "/pages/doctors/index"
|
||||
});
|
||||
}, 100);
|
||||
}).catch(e => {
|
||||
@@ -456,8 +459,11 @@ export default {
|
||||
title: "登录成功",
|
||||
});
|
||||
setTimeout(() => {
|
||||
// uni.reLaunch({
|
||||
// url: "/pages/home/index"
|
||||
// });
|
||||
uni.reLaunch({
|
||||
url: "/pages/home/index"
|
||||
url: "/pages/doctors/index"
|
||||
});
|
||||
}, 500);
|
||||
}).catch(e => {
|
||||
|
||||
Reference in New Issue
Block a user