|
|
|
|
@ -1,6 +1,7 @@
|
|
|
|
|
<template>
|
|
|
|
|
<div id="home">
|
|
|
|
|
<van-nav-bar title="我的名片" right-text="人脈紀錄" @click-right="showUserConn = true"/>
|
|
|
|
|
<van-nav-bar title="我的名片" v-if="nolog == 1"/>
|
|
|
|
|
<van-nav-bar title="我的名片" right-text="人脈紀錄" @click-right="showUserConn = true" v-else/>
|
|
|
|
|
<div class="tab-section" v-cloak>
|
|
|
|
|
<van-tabs :lazy-render="true" v-model:active="activeName" v-show="user.nc_type > 1 && cid !== '1'">
|
|
|
|
|
<van-tab title="我的名片" name="0">
|
|
|
|
|
@ -125,10 +126,12 @@ export default {
|
|
|
|
|
|
|
|
|
|
let flexRef = ref(null)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//取得user id
|
|
|
|
|
let token = encodeURIComponent(new URLSearchParams(window.location.search).get('params'))
|
|
|
|
|
let cardid = encodeURIComponent(new URLSearchParams(window.location.search).get('cardid'))
|
|
|
|
|
let nouc = encodeURIComponent(new URLSearchParams(window.location.search).get('nouc'))
|
|
|
|
|
let nolog = ref(encodeURIComponent(new URLSearchParams(window.location.search).get('nolog')))
|
|
|
|
|
|
|
|
|
|
cid.value = cardid
|
|
|
|
|
|
|
|
|
|
@ -330,6 +333,7 @@ export default {
|
|
|
|
|
showUserConn,
|
|
|
|
|
activeName,
|
|
|
|
|
cid,
|
|
|
|
|
nolog,
|
|
|
|
|
flexRef,
|
|
|
|
|
isIOs,
|
|
|
|
|
userConnections,
|
|
|
|
|
|