Commit 1b652dc3 authored by mengcuiguang's avatar mengcuiguang

代码优化

parent da5fed19
......@@ -65,8 +65,6 @@
handler: function(newVal, oldVal) {
if (newVal) {
this.handleShow();
} else {
this.$refs.kefuPop.close('bottom');
}
},
immediate: true
......
......@@ -20,10 +20,11 @@
// #endif
{
"path": "pages/home",
"style": {
"style": {
"navigationBarTitleText": "寻觅短剧",
"navigationStyle": "default",
"navigationBarBackgroundColor": "#ffffff",
"navigationBarTextStyle": "#000000"
"navigationBarTextStyle": "black"
}
}, {
"path": "pages/brower/brower",
......
......@@ -137,12 +137,12 @@
},
methods: {
async onShareAppMessage(option) {
const title = '寻觅短剧';
const title = this.share.title;
let that = this
return {
title, // 这是要转发的小程序标题
desc: this.share.title,
desc: '',
path: this.share.path + getApp().globalData.userId,
imageUrl: this.share.imageUrl,
templateId: "920405b4ghj2fla2gc",
......
......@@ -329,7 +329,7 @@
success: ({
data
}) => {
message.notify("恭喜您,10分钟内可免费解锁两集!")
// message.notify("领取成功")
}
});
},
......
......@@ -90,10 +90,10 @@
},
methods: {
async onShareAppMessage(option) {
const title = '寻觅短剧';
const title = this.share.title;
return {
title, // 这是要转发的小程序标题
desc: this.share.title,
desc: '',
path: this.share.path + getApp().globalData.userId,
imageUrl: this.share.imageUrl,
templateId: "920405b4ghj2fla2gc",
......@@ -102,7 +102,7 @@
},
fail() {
message.notify('分享失败');
// message.notify('分享失败');
},
};
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment