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

禁用分享等

上级 2cf676ef
......@@ -2,11 +2,11 @@
<section class="bind-cart-wrapper">
<article class="left">
<div class="top">
<span class="discount">{{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 class="discount">{{cardInfo.costPrice | formatMoney}}</span> -->
<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> -->
</span>
</div>
<div class="bottom">
<img src="../../images/cme/phrase2/info.png" />
......
......@@ -8,19 +8,17 @@ export const envConfig = {
// baseUrl: 'http://10.177.15.180:10202/',
// baseUrl: 'http://192.168.140.14:10201/',
// apiUrl: 'https://dev-api.yunqueyi.com/',
// webPageUrl: 'https://dev-phome.yunqueyi.com/',
// baseUrl: 'https://dev-sc.yunqueyi.com/',
// hactiveUrl: 'https://dev-hactive.yunqueyi.com',
// appId: 'wxf4e66242d31c81c2', // 用于微信授权登录
baseUrl: 'https://sc.yunqueyi.com/',
apiUrl: 'https://api.yunqueyi.com/',
webPageUrl: 'https://phome.yunqueyi.com/',
hactiveUrl: 'https://hactive.yunqueyi.com',
appId: 'wx2c577552a2d28550', // 用于微信授权登录
apiUrl: 'https://dev-api.yunqueyi.com/',
webPageUrl: 'https://dev-phome.yunqueyi.com/',
baseUrl: 'https://dev-sc.yunqueyi.com/',
hactiveUrl: 'https://dev-hactive.yunqueyi.com',
appId: 'wxf4e66242d31c81c2', // 用于微信授权登录
// 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
// baseUrl: 'https://test1-sc.yunqueyi.com/',
......
......@@ -76,6 +76,7 @@ export const wxShare = (option = {}, successCB = () => {}) => {
};
export const wxDisabledShare = () => {
console.log('in wxDisabledShare');
wx.ready(() => {
wx.hideMenuItems({
menuList: [
......@@ -110,5 +111,6 @@ export const wechatShare = async (option = {}, successCB = () => {}) => {
};
Vue.prototype.wechatShare = wechatShare
Vue.prototype.wxDisabledShare = wxDisabledShare;
......@@ -808,18 +808,19 @@ export default {
}
// let shareUrl = encodeURIComponent(location.href);
this.wechatShare(
{
link: location.href,
title: this.project.projectName,
friendtitle: this.project.projectName,
desc: this.project.projectName,
imgUrl: "https://file.yunqueyi.com/logo.png"
},
() => {
console.log("share success...");
}
);
this.wxDisabledShare();
// this.wechatShare(
// {
// link: location.href,
// title: this.project.projectName,
// friendtitle: this.project.projectName,
// desc: this.project.projectName,
// imgUrl: "https://file.yunqueyi.com/logo.png"
// },
// () => {
// console.log("share success...");
// }
// );
console.log('hasBindCard, limitTimes', _this.hasBindCard, _this.limitTimes);
}
});
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册