完善签到
This commit is contained in:
@ -88,21 +88,14 @@
|
||||
addCart,
|
||||
getPoster,
|
||||
getCartNum
|
||||
} from '@/api/store';
|
||||
} from '@/api/store'
|
||||
import {
|
||||
toLogin
|
||||
} from '@/utils/login'
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
list: [
|
||||
{
|
||||
image: "http://jianbing-media.stnav.com/frontend/img/banner.png",
|
||||
title: "昨夜星辰昨夜风,画楼西畔桂堂东",
|
||||
},
|
||||
{
|
||||
image: "http://jianbing-media.stnav.com/frontend/img/banner.png",
|
||||
title: "身无彩凤双飞翼,心有灵犀一点通",
|
||||
}
|
||||
],
|
||||
id: 0,
|
||||
showSpec: false,
|
||||
goods: []
|
||||
@ -139,7 +132,7 @@
|
||||
|
||||
// 购买商品
|
||||
onBuy() {
|
||||
console.log(this.isLogin);
|
||||
if (!this.isLogin) return toLogin();
|
||||
uni.navigateTo({
|
||||
url: `/pages/order_now/order_now`
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user