feat:去掉充值
This commit is contained in:
@@ -40,7 +40,7 @@ export default {
|
||||
methods: {
|
||||
/* 拉取海报 */
|
||||
async getPoster() {
|
||||
const { bizcode, data } = await getSharePoster({ type: 0 });
|
||||
const { bizcode, data } = await getSharePoster({ type: 1 });
|
||||
if (bizcode === 100 && data.length) {
|
||||
this.sharePoster = data[0];
|
||||
} else {
|
||||
@@ -67,9 +67,9 @@ export default {
|
||||
},
|
||||
goDetail() {
|
||||
this.clearTimer();
|
||||
if (this.sharePoster.id) {
|
||||
if (this.sharePoster.goodsId) {
|
||||
uni.navigateTo({
|
||||
url: `/pages/other_package/productInfo/productInfo?id=${this.sharePoster.id}&isSplash=true`,
|
||||
url: `/pages/other_package/productInfo/productInfo?id=${this.sharePoster.goodsId}&isSplash=true`,
|
||||
});
|
||||
} else {
|
||||
uni.switchTab({ url: "/pages/home/home" });
|
||||
|
||||
Reference in New Issue
Block a user