Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-cooperation-cme
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
com.pica.cloud.education.frontend
pica-cooperation-cme
提交
4dd32193
提交
4dd32193
编写于
9月 02, 2020
作者:
guangjun.yang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
1、修改not-found页面
2、打开激活与购买按钮 3、添加项目详情页面(空)
上级
e9e4d1fe
变更
7
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
104 行增加
和
27 行删除
+104
-27
cell-list-detail-share.vue
src/components/business/cell-list-detail-share.vue
+1
-1
cell-list-detail.vue
src/components/business/cell-list-detail.vue
+1
-1
bind-card-button.vue
src/components/cme/bind-card-button.vue
+12
-13
router.js
src/router/router.js
+10
-2
goods-detail.vue
src/views/goods-detail.vue
+15
-0
not-found.vue
src/views/not-found.vue
+49
-0
share-merge-detail.vue
src/views/share-merge-detail.vue
+16
-10
未找到文件。
src/components/business/cell-list-detail-share.vue
浏览文件 @
4dd32193
...
...
@@ -9,7 +9,7 @@
<van-collapse-item
v-for=
"(portalModule, index) in component.portalModuleDTOS"
:key=
"index"
:title=
"
(parseInt(index) + 1) + '.' +
portalModule.moduleName | shortName(19)"
:title=
"portalModule.moduleName | shortName(19)"
:name=
"portalModule.expandKey"
:value=
"portalModule.value"
:disabled=
"portalModule.disabled"
...
...
src/components/business/cell-list-detail.vue
浏览文件 @
4dd32193
...
...
@@ -11,7 +11,7 @@
<van-collapse-item
v-for=
"(portalModule, index) in component.portalModuleDTOS"
:key=
"index"
:title=
"
(parseInt(index) + 1) + '.' +
portalModule.moduleName | shortName(19)"
:title=
"portalModule.moduleName | shortName(19)"
:name=
"portalModule.expandKey"
:value=
"portalModule.value"
:disabled=
"portalModule.disabled"
...
...
src/components/cme/bind-card-button.vue
浏览文件 @
4dd32193
...
...
@@ -2,8 +2,8 @@
<section
class=
"bind-cart-wrapper"
>
<article
class=
"left"
>
<div
class=
"top"
>
<span
class=
"discount"
>
¥
{{
(
cardInfo
.
preferentialPrice
||
cardInfo
.
costPrice
)
|
formatMoney
}}
</span>
<span
v-show=
"cardInfo.preferentialPrice"
class=
"price"
>
<span
class=
"discount"
>
¥
{{
(
cardInfo
.
couponPrice
||
cardInfo
.
preferentialPrice
||
cardInfo
.
costPrice
)
|
formatMoney
}}
</span>
<span
v-show=
"cardInfo.
couponPrice || cardInfo.
preferentialPrice"
class=
"price"
>
<del>
原价¥
{{
cardInfo
.
costPrice
|
formatMoney
}}
</del>
</span>
</div>
...
...
@@ -97,25 +97,24 @@ export default {
justify-content: center;
width: 80px;
font-size: 14px;
font-weight:
4
00;
font-weight:
7
00;
text-align: center;
color: #7f7f7f;
border: 1px solid #d2b573;
&.left {
border-radius: 20px 0px 0px 20px;
border: 1px solid rgba(255, 122, 75, 1);
border-right-style: none;
//
color: #ff7a4b;
color: #ff7a4b;
}
&.right {
//
background: linear-gradient(
//
137deg,
//
rgba(255, 166, 95, 1) 0%,
//
rgba(255, 122, 75, 1) 100%
//
);
background: linear-gradient(
137deg,
rgba(255, 166, 95, 1) 0%,
rgba(255, 122, 75, 1) 100%
);
border-radius: 0px 20px 20px 0px;
//
color: #fff;
color: #fff;
}
}
}
}
</
style
>
\ No newline at end of file
</
style
>
src/router/router.js
浏览文件 @
4dd32193
...
...
@@ -11,6 +11,8 @@ const creditedit = r => require.ensure([], () => r(require('../views/credit-edit
const
creditdetail
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'../views/credit-detail'
)),
'credit-detail'
)
const
excgtips
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'../views/exchange-tips'
)),
'exchange-tips'
)
const
icreditdetail
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'../views/I-credit-detail'
)),
'I-credit-detail'
)
const
notFound
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'../views/not-found'
)),
'not-found'
)
const
goodsDetail
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'../views/goods-detail'
)),
'goods-detail'
)
export
default
[{
path
:
'/'
,
...
...
@@ -68,7 +70,13 @@ export default [{
path
:
'/icredit-detail'
,
component
:
icreditdetail
},
{
path
:
'/not-found'
,
component
:
notFound
},
{
path
:
'/goods-detail'
,
component
:
goodsDetail
},
]
}]
src/views/goods-detail.vue
0 → 100644
浏览文件 @
4dd32193
<
template
>
<div
class=
"goods-details-wrapper"
>
商品详情页面
</div>
</
template
>
<
script
>
export
default
{
}
</
script
>
<
style
lang=
"less"
scoped
>
.goods-details-wrapper {
font-size: 14px;
}
</
style
>
\ No newline at end of file
src/views/not-found.vue
0 → 100644
浏览文件 @
4dd32193
<
template
>
<div
class=
"not-found"
>
<img
class=
"img"
src=
"~@/images/no-content.png"
alt
/>
<p
class=
"tip"
>
{{
tips
}}
</p>
<p
class=
"tip-2"
>
更多内容,请前往云鹊医APP学习
</p>
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
tips
:
"此课程已下架,无法查看"
,
fromPage
:
"2"
};
},
mounted
()
{
this
.
fromPage
=
this
.
$route
.
query
.
fromPage
||
'2'
;
// 1: 来处项目详情页; 2: 来处课程详情页
if
(
this
.
fromPage
==
2
)
{
this
.
tips
=
"此项目已下架, 无法查看"
;
}
},
methods
:
{}
};
</
script
>
<
style
lang=
"less"
scoped
>
.not-found {
.img {
display: block;
width: 120px;
margin: 100px auto 0;
}
.tip {
font-size: 18px;
font-weight: 700;
color: #373839;
text-align: center;
}
.tip-2 {
margin-top: 12px;
font-size: 14px;
font-weight: 400;
color: #676869;
text-align: center;
}
}
</
style
>
src/views/share-merge-detail.vue
浏览文件 @
4dd32193
...
...
@@ -152,19 +152,19 @@
<!--
<div
v-if=
"project.cmeType == 2 && !isWeb"
style=
"padding-top: 30px"
></div>
-->
<div
style=
"padding-top: 20px"
></div>
<
!--
<
BindCardButton
v-if=
"project.cmeType == 2 && !hasBindCard
&& !isWeb
"
<BindCardButton
v-if=
"project.cmeType == 2 && !hasBindCard"
:cardInfo=
"cardInfo"
@
changeClick=
"changeClick"
@
gotoBuy=
"confirm"
></BindCardButton>
-->
></BindCardButton>
<BindCardButtonShare
<
!--
<
BindCardButtonShare
v-if=
"!hasBindCard"
:cardInfo=
"cardInfo"
@
changeClick=
"changeClick"
@
gotoBuy=
"confirm"
></BindCardButtonShare>
></BindCardButtonShare>
-->
<!--去激活-->
<ChangeCard
...
...
@@ -234,7 +234,8 @@ import { mapGetters, mapActions } from "vuex";
import
vueFilters
from
"@/utils/filter"
;
import
{
Toast
}
from
"vant"
;
// import CardPopup from "@/components/cme/card-popup";
import
BindCardButtonShare
from
"@/components/cme/bind-card-button-share"
;
import
BindCardButton
from
"@/components/cme/bind-card-button"
;
// import BindCardButtonShare from "@/components/cme/bind-card-button-share";
import
ChangeCard
from
"@/components/cme/change-card"
;
import
CourseCovers
from
"@/components/course/course-covers"
;
import
PicaVideo
from
'@/components/course/pica-video'
;
...
...
@@ -369,7 +370,8 @@ export default {
// CardPopup,
// CommonAdertImg,
NoMoreContent
,
BindCardButtonShare
,
BindCardButton
,
// BindCardButtonShare,
ChangeCard
,
CourseCovers
,
PicaVideo
...
...
@@ -429,7 +431,7 @@ export default {
this
.
GET
(
`portal/shareParam/queryByUuid`
,
param
).
then
(
res
=>
{
if
(
res
.
code
==
"000000"
)
{
this
.
shareParam
=
JSON
.
parse
(
res
.
data
||
"{}"
);
this
.
projectId
=
this
.
shareParam
.
projectId
||
0
;
// 178
this
.
projectId
=
this
.
shareParam
.
projectId
||
1781
;
// 178
this
.
getProjectParticularsV2
();
console
.
log
(
'queryByUuid'
,
res
);
}
...
...
@@ -603,8 +605,9 @@ export default {
// this.$sendBuriedData({
// component_tag: `882#88203`
// });
window
.
location
.
href
=
"https://a.app.qq.com/o/simple.jsp?pkgname=com.picahealth.yunque"
;
let
jumpUrl
=
getWebPageUrl
(
`profexam/#/goods-detail?goodsId=
${
this
.
goodsId
}
&token=
${
this
.
token
}
`
);
window
.
location
.
href
=
jumpUrl
;
// "https://a.app.qq.com/o/simple.jsp?pkgname=com.picahealth.yunque";
},
// 首次进入考试时记录(点击‘我知道了’时调用)
...
...
@@ -931,6 +934,9 @@ export default {
console
.
log
(
"share success..."
);
}
);
}
else
{
_this
.
showLoading
=
false
;
_this
.
$router
.
replace
(
'/not-found?fromPage=2'
);
}
});
},
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录