|
@@ -96,7 +96,7 @@
|
|
name: '我的追剧',
|
|
name: '我的追剧',
|
|
type: 'link',
|
|
type: 'link',
|
|
model: 'tab',
|
|
model: 'tab',
|
|
- link: '/pages/client/tuan/zui',
|
|
|
|
|
|
+ link: '/pages/client/zui',
|
|
icon: this.$config.zystaticUrl + '/static/img/wode/zhuij.png',
|
|
icon: this.$config.zystaticUrl + '/static/img/wode/zhuij.png',
|
|
show: 1
|
|
show: 1
|
|
},
|
|
},
|
|
@@ -194,8 +194,7 @@
|
|
},
|
|
},
|
|
memberLinkTo(e) {
|
|
memberLinkTo(e) {
|
|
let index = parseInt(e.currentTarget.dataset.index);
|
|
let index = parseInt(e.currentTarget.dataset.index);
|
|
- console.log("this.getMenus[index].model", this.getMenus[index].model, 'this.getMenus[index].link', this
|
|
|
|
- .getMenus[index].link)
|
|
|
|
|
|
+
|
|
if (this.getMenus[index].link != '') {
|
|
if (this.getMenus[index].link != '') {
|
|
if (this.getMenus[index].model == 'integral') {
|
|
if (this.getMenus[index].model == 'integral') {
|
|
uni.redirectTo({
|
|
uni.redirectTo({
|
|
@@ -226,22 +225,21 @@
|
|
copyId(uid) {
|
|
copyId(uid) {
|
|
console.log('uid', uid);
|
|
console.log('uid', uid);
|
|
uni.setClipboardData({
|
|
uni.setClipboardData({
|
|
- data: uid,
|
|
|
|
|
|
+ data: uid+"",
|
|
success: () => {
|
|
success: () => {
|
|
uni.showToast({
|
|
uni.showToast({
|
|
title: '复制成功',
|
|
title: '复制成功',
|
|
icon: "none"
|
|
icon: "none"
|
|
})
|
|
})
|
|
},
|
|
},
|
|
- error: (err) => {
|
|
|
|
- uni.showToast({
|
|
|
|
- title: err,
|
|
|
|
- icon: "none"
|
|
|
|
- })
|
|
|
|
|
|
+ fail: function(err) {
|
|
|
|
+ uni.showToast({
|
|
|
|
+ title: '复制失败',
|
|
|
|
+ duration: 2000,
|
|
|
|
+ icon: 'none'
|
|
|
|
+ });
|
|
}
|
|
}
|
|
})
|
|
})
|
|
-
|
|
|
|
-
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|