mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 19:36:43 +08:00
增加引导页、兴趣偏好弹窗显示。
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
<p class="personal-name">{{userInfo.name}} {{userInfo.userNo}}
|
||||
<span class="grade">LV.1</span>
|
||||
</p>
|
||||
|
||||
|
||||
<p class="personal-info">{{userInfo.departName}}</p>
|
||||
<!-- <a href="../study/task.vue"> -->
|
||||
<div class="personal-box"><span>代办</span><span>3个待处理 <img src="/images/homeWu/Pending.png" alt=""> </span> <img class="personal-box-img"
|
||||
@@ -142,7 +142,7 @@
|
||||
<interactBar :type="1" :data="item" :couseViews="true" :shares="false" :views="false"></interactBar>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
@@ -374,13 +374,13 @@
|
||||
</div>
|
||||
<portal-footer></portal-footer>
|
||||
<portalFloatTools></portalFloatTools>
|
||||
<interest-Collection></interest-Collection> <!-- 兴趣偏好 -->
|
||||
<guide-box></guide-box> <!-- 引导页 -->
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {
|
||||
mapGetters
|
||||
} from 'vuex';
|
||||
import { mapGetters } from 'vuex';
|
||||
import portalHeader from '@/components/PortalHeader.vue';
|
||||
import portalFooter from '@/components/PortalFooter.vue';
|
||||
import portalFloatTools from '@/components/PortalFloatTools.vue';
|
||||
@@ -396,6 +396,8 @@
|
||||
import interactRowBar from '@/components/Portal/interactRowBar.vue';
|
||||
import courseImage from '@/components/Course/courseImage.vue';
|
||||
import articleImage from '@/components/Article/articleImage.vue';
|
||||
import InterestCollection from '@/components/Portal/interestCollection.vue'
|
||||
import GuideBox from '@/components/Portal/guideBox.vue'
|
||||
import {
|
||||
toScore,
|
||||
cutFullName
|
||||
@@ -409,6 +411,8 @@
|
||||
import apiStart from '@/api/phase2/stat.js'
|
||||
import apiIndex from '@/api/phase2/index.js'
|
||||
|
||||
|
||||
|
||||
export default {
|
||||
name: 'index',
|
||||
components: {
|
||||
@@ -421,7 +425,9 @@
|
||||
authorInfo,
|
||||
interactRowBar,
|
||||
interactBar,
|
||||
courseImage
|
||||
courseImage,
|
||||
InterestCollection,
|
||||
GuideBox
|
||||
},
|
||||
computed: {
|
||||
...mapGetters(['userInfo'])
|
||||
@@ -584,7 +590,7 @@
|
||||
window.open('https://m.qingxuetang.com/x/?appId=qxtcorp306130', '_blank');
|
||||
},
|
||||
toCourseDetail(item) {
|
||||
|
||||
|
||||
if (item.type == 10) {
|
||||
return this.webBaseUrl + '/course/micro?id=' + item.id;
|
||||
} else if (item.type == 20) {
|
||||
|
||||
Reference in New Issue
Block a user