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
提交
b34eb124
提交
b34eb124
编写于
8月 24, 2020
作者:
guangjun.yang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
禁用分享等
上级
2cf676ef
变更
4
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
29 行增加
和
28 行删除
+29
-28
bind-card-button-share.vue
src/components/cme/bind-card-button-share.vue
+4
-4
env-config.js
src/utils/env-config.js
+10
-12
wxShare.js
src/utils/wxShare.js
+2
-0
share-merge-detail.vue
src/views/share-merge-detail.vue
+13
-12
未找到文件。
src/components/cme/bind-card-button-share.vue
浏览文件 @
b34eb124
...
@@ -2,11 +2,11 @@
...
@@ -2,11 +2,11 @@
<section
class=
"bind-cart-wrapper"
>
<section
class=
"bind-cart-wrapper"
>
<article
class=
"left"
>
<article
class=
"left"
>
<div
class=
"top"
>
<div
class=
"top"
>
<
span
class=
"discount"
>
¥
{{
cardInfo
.
costPrice
|
formatMoney
}}
</span
>
<
!--
<span
class=
"discount"
>
¥
{{
cardInfo
.
costPrice
|
formatMoney
}}
</span>
--
>
<
!--
<span
class=
"discount"
>
¥
{{
(
cardInfo
.
couponPrice
||
cardInfo
.
preferentialPrice
||
cardInfo
.
costPrice
)
|
formatMoney
}}
</span>
--
>
<
span
class=
"discount"
>
¥
{{
(
cardInfo
.
couponPrice
||
cardInfo
.
preferentialPrice
||
cardInfo
.
costPrice
)
|
formatMoney
}}
</span
>
<
!--
<
span
v-show=
"cardInfo.couponPrice || cardInfo.preferentialPrice"
class=
"price"
>
<span
v-show=
"cardInfo.couponPrice || cardInfo.preferentialPrice"
class=
"price"
>
<del>
原价¥
{{
cardInfo
.
costPrice
|
formatMoney
}}
</del>
<del>
原价¥
{{
cardInfo
.
costPrice
|
formatMoney
}}
</del>
</span>
-->
</span>
</div>
</div>
<div
class=
"bottom"
>
<div
class=
"bottom"
>
<img
src=
"../../images/cme/phrase2/info.png"
/>
<img
src=
"../../images/cme/phrase2/info.png"
/>
...
...
src/utils/env-config.js
浏览文件 @
b34eb124
...
@@ -8,19 +8,17 @@ export const envConfig = {
...
@@ -8,19 +8,17 @@ export const envConfig = {
// baseUrl: 'http://10.177.15.180:10202/',
// baseUrl: 'http://10.177.15.180:10202/',
// baseUrl: 'http://192.168.140.14:10201/',
// baseUrl: 'http://192.168.140.14:10201/',
// apiUrl: 'https://dev-api.yunqueyi.com/',
apiUrl
:
'https://dev-api.yunqueyi.com/'
,
// webPageUrl: 'https://dev-phome.yunqueyi.com/',
webPageUrl
:
'https://dev-phome.yunqueyi.com/'
,
// baseUrl: 'https://dev-sc.yunqueyi.com/',
baseUrl
:
'https://dev-sc.yunqueyi.com/'
,
// hactiveUrl: 'https://dev-hactive.yunqueyi.com',
hactiveUrl
:
'https://dev-hactive.yunqueyi.com'
,
// appId: 'wxf4e66242d31c81c2', // 用于微信授权登录
appId
:
'wxf4e66242d31c81c2'
,
// 用于微信授权登录
baseUrl
:
'https://sc.yunqueyi.com/'
,
apiUrl
:
'https://api.yunqueyi.com/'
,
webPageUrl
:
'https://phome.yunqueyi.com/'
,
hactiveUrl
:
'https://hactive.yunqueyi.com'
,
appId
:
'wx2c577552a2d28550'
,
// 用于微信授权登录
// baseUrl: 'https://sc.yunqueyi.com/',
// apiUrl: 'https://api.yunqueyi.com/',
// webPageUrl: 'https://phome.yunqueyi.com/',
// hactiveUrl: 'https://hactive.yunqueyi.com',
// appId: 'wx2c577552a2d28550', // 用于微信授权登录
// http://dev-hactive.yunqueyi.com/message_push/#/study-card
// http://dev-hactive.yunqueyi.com/message_push/#/study-card
// baseUrl: 'https://test1-sc.yunqueyi.com/',
// baseUrl: 'https://test1-sc.yunqueyi.com/',
...
...
src/utils/wxShare.js
浏览文件 @
b34eb124
...
@@ -76,6 +76,7 @@ export const wxShare = (option = {}, successCB = () => {}) => {
...
@@ -76,6 +76,7 @@ export const wxShare = (option = {}, successCB = () => {}) => {
};
};
export
const
wxDisabledShare
=
()
=>
{
export
const
wxDisabledShare
=
()
=>
{
console
.
log
(
'in wxDisabledShare'
);
wx
.
ready
(()
=>
{
wx
.
ready
(()
=>
{
wx
.
hideMenuItems
({
wx
.
hideMenuItems
({
menuList
:
[
menuList
:
[
...
@@ -110,5 +111,6 @@ export const wechatShare = async (option = {}, successCB = () => {}) => {
...
@@ -110,5 +111,6 @@ export const wechatShare = async (option = {}, successCB = () => {}) => {
};
};
Vue
.
prototype
.
wechatShare
=
wechatShare
Vue
.
prototype
.
wechatShare
=
wechatShare
Vue
.
prototype
.
wxDisabledShare
=
wxDisabledShare
;
src/views/share-merge-detail.vue
浏览文件 @
b34eb124
...
@@ -808,18 +808,19 @@ export default {
...
@@ -808,18 +808,19 @@ export default {
}
}
// let shareUrl = encodeURIComponent(location.href);
// let shareUrl = encodeURIComponent(location.href);
this
.
wechatShare
(
this
.
wxDisabledShare
();
{
// this.wechatShare(
link
:
location
.
href
,
// {
title
:
this
.
project
.
projectName
,
// link: location.href,
friendtitle
:
this
.
project
.
projectName
,
// title: this.project.projectName,
desc
:
this
.
project
.
projectName
,
// friendtitle: this.project.projectName,
imgUrl
:
"https://file.yunqueyi.com/logo.png"
// desc: this.project.projectName,
},
// imgUrl: "https://file.yunqueyi.com/logo.png"
()
=>
{
// },
console
.
log
(
"share success..."
);
// () => {
}
// console.log("share success...");
);
// }
// );
console
.
log
(
'hasBindCard, limitTimes'
,
_this
.
hasBindCard
,
_this
.
limitTimes
);
console
.
log
(
'hasBindCard, limitTimes'
,
_this
.
hasBindCard
,
_this
.
limitTimes
);
}
}
});
});
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录