|
|
|
@ -1,7 +1,7 @@ |
|
|
|
|
<template> |
|
|
|
|
<view class="page-content " :class="(PageCur=='home'||PageCur=='scan')?'my-bg':''"> |
|
|
|
|
<!-- <uni-nav-bar left-icon="back" left-text="返回" right-text="菜单" title="导航栏组件"></uni-nav-bar> --> |
|
|
|
|
<home ref='homecheck' v-if="PageCur=='home'||PageCur=='scan'" :user-account="userAccount" @changMenus='changMenus' :site="userAccount" :menusList = 'menusList' :checkUser = 'checkUser'></home> |
|
|
|
|
<home ref='homecheck' v-if="PageCur==='home'||PageCur==='scan'" :user-account="userAccount" @changMenus='changMenus' :site="userAccount" :menusList = 'menusList' :checkUser = 'checkUser'></home> |
|
|
|
|
<setup v-if="PageCur=='setup'"></setup> |
|
|
|
|
<view class="bottom-view"> |
|
|
|
|
<view class="padding-top radius shadow bottom-bar-fixed"> |
|
|
|
@ -134,23 +134,23 @@ |
|
|
|
|
this.menusList =data |
|
|
|
|
}, |
|
|
|
|
longiCheck(){ |
|
|
|
|
let userInfo = uni.getStorageSync('loginUser'), |
|
|
|
|
_that =this |
|
|
|
|
let userInfo = uni.getStorageSync('loginUser') |
|
|
|
|
const _that = this |
|
|
|
|
//console.log(userInfo) |
|
|
|
|
oliUserApi.getByPhone(userInfo.userPhone).then((res)=>{ |
|
|
|
|
//console.log('调用') |
|
|
|
|
if(res.code == 20000){ |
|
|
|
|
_that.checkList = 'show' |
|
|
|
|
_that.oliList = res.data |
|
|
|
|
_that.checkList = 'show' |
|
|
|
|
_that.changeChannel.username = _that.loginUser.userPhone |
|
|
|
|
_that.changeChannel.unionId = uni.getStorageSync('unionId') |
|
|
|
|
this.$refs.homecheck.oliList = res.data |
|
|
|
|
}else{ |
|
|
|
|
uni.showToast({ |
|
|
|
|
title:'请求失败,请稍后再试', |
|
|
|
|
icon:'none' |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
Splicing(list){ |
|
|
|
|