提交 9c84bbb7 编写于 作者: guangjun.yang's avatar guangjun.yang

Merge branch 'dev-question-bank-0916' of...

Merge branch 'dev-question-bank-0916' of http://192.168.110.53/com.pica.cloud.education.frontend/pica-professional-exam into dev-question-bank-0916

* 'dev-question-bank-0916' of http://192.168.110.53/com.pica.cloud.education.frontend/pica-professional-exam:
  学科详情页样式调整2
  学科详情页样式调整
  题库详情页接口联调及处理
...@@ -118,7 +118,7 @@ export default { ...@@ -118,7 +118,7 @@ export default {
goShare() { goShare() {
this.$sendBuriedData({ this.$sendBuriedData({
component_tag: `882#88209` component_tag: `882#88209`
}); });
let _this = this; let _this = this;
let videoUrl = this.$route.query.videoUrl || ''; let videoUrl = this.$route.query.videoUrl || '';
let info = ""; let info = "";
...@@ -131,15 +131,15 @@ export default { ...@@ -131,15 +131,15 @@ export default {
} else { } else {
info = JSON.stringify({ info = JSON.stringify({
projectId: this.projectId, projectId: this.projectId,
}) })
} }
let param = { let param = {
channel: 1, // 分享渠道 1:APP channel: 1, // 分享渠道 1:APP
info: info, info: info,
type: 3, // 业务类型 1:教培项目 2:继教项目 3:职称考项目 type: 3, // 业务类型 1:教培项目 2:继教项目 3:职称考项目
token: _this.userInfo.userToken, token: _this.userInfo.userToken,
setEntry: true setEntry: true
}; };
_this.NEW_POST("portal/shareParam/save", param).then(res => { _this.NEW_POST("portal/shareParam/save", param).then(res => {
if (res.code == "000000") { if (res.code == "000000") {
let url = getWebPageUrl(`profexam/#/sharecoop?uuid=${res.data}`); let url = getWebPageUrl(`profexam/#/sharecoop?uuid=${res.data}`);
...@@ -148,7 +148,7 @@ export default { ...@@ -148,7 +148,7 @@ export default {
} }
}).catch( e => { }).catch( e => {
console.error(e);; console.error(e);;
}); });
}, },
//分享 //分享
...@@ -232,6 +232,12 @@ export default { ...@@ -232,6 +232,12 @@ export default {
font-weight: 700; font-weight: 700;
color: rgba(51, 51, 51, 1); color: rgba(51, 51, 51, 1);
line-height: 26px; line-height: 26px;
display: inline-block;
max-width: 230px;
height: 36px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
} }
} }
.nav-part { .nav-part {
......
此差异已折叠。
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册