|
@@ -1,24 +1,41 @@
|
|
<template>
|
|
<template>
|
|
<div class="section">
|
|
<div class="section">
|
|
- <div class="title">
|
|
|
|
- <!-- 成为交易专家 -->
|
|
|
|
- {{ $t('follow.l4') }}
|
|
|
|
- </div>
|
|
|
|
- <div class="lab">
|
|
|
|
- <!-- 赚取 10 % 分润 -->
|
|
|
|
- {{ $t('follow.l5') }}
|
|
|
|
- </div>
|
|
|
|
- <div class="flex">
|
|
|
|
- <div class="btn" @click="$router.push('/copy')">
|
|
|
|
- <!-- 立即申请 -->
|
|
|
|
- {{ $t('join.l12') }}
|
|
|
|
|
|
+ <template v-if="expertInfo.status == 1">
|
|
|
|
+ <div class="title title1">
|
|
|
|
+ <!-- 交易专家主页 -->
|
|
|
|
+ {{ $t('follow.l167') }}
|
|
</div>
|
|
</div>
|
|
- </div>
|
|
|
|
|
|
+ <div class="flex">
|
|
|
|
+ <div class="btn" @click="$router.push('/my-copy')">
|
|
|
|
+ <!-- 进入管理 -->
|
|
|
|
+ {{ $t('follow.l168') }}
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
|
|
+ <template v-else>
|
|
|
|
+ <div class="title">
|
|
|
|
+ <!-- 成为交易专家 -->
|
|
|
|
+ {{ $t('follow.l4') }}
|
|
|
|
+ </div>
|
|
|
|
+ <div class="lab">
|
|
|
|
+ <!-- 赚取 10 % 分润 -->
|
|
|
|
+ {{ $t('follow.l5') }}
|
|
|
|
+ </div>
|
|
|
|
+ <div class="flex">
|
|
|
|
+ <div class="btn" @click="$router.push('/copy')">
|
|
|
|
+ <!-- 立即申请 -->
|
|
|
|
+ {{ $t('join.l12') }}
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
<script>
|
|
<script>
|
|
|
|
+import { mapGetters } from "vuex";
|
|
export default {
|
|
export default {
|
|
-
|
|
|
|
|
|
+ computed: {
|
|
|
|
+ ...mapGetters(['expertInfo']),
|
|
|
|
+ },
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|
|
<style lang="less" scoped>
|
|
<style lang="less" scoped>
|
|
@@ -32,6 +49,9 @@ export default {
|
|
font-weight: 600;
|
|
font-weight: 600;
|
|
font-size: 20px;
|
|
font-size: 20px;
|
|
margin-bottom: 6px;
|
|
margin-bottom: 6px;
|
|
|
|
+ &.title1 {
|
|
|
|
+ margin-bottom: 28px;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
.lab {
|
|
.lab {
|
|
font-size: 12px;
|
|
font-size: 12px;
|