726

parent 6f8c0510
......@@ -11,4 +11,4 @@
position: fixed;
background: #f4f4f4;
}
/* html{font-size: 1px;} */</style><link href=static/css/app.91d2eea1dfca80994de99748f577fac4.css rel=stylesheet></head><body><div id=app></div><script src=https://res.wx.qq.com/open/js/jweixin-1.3.2.js></script><script></script><script type=text/javascript src=static/js/manifest.adbac863e2f3e26b90f4.js></script><script type=text/javascript src=static/js/vendor.5c7b919633d1497d7060.js></script><script type=text/javascript src=static/js/app.ea8ce2bfd58a082956ac.js></script></body></html>
\ No newline at end of file
/* html{font-size: 1px;} */</style><link href=static/css/app.91d2eea1dfca80994de99748f577fac4.css rel=stylesheet></head><body><div id=app></div><script src=https://res.wx.qq.com/open/js/jweixin-1.3.2.js></script><script></script><script type=text/javascript src=static/js/manifest.d0f7f822783464587d25.js></script><script type=text/javascript src=static/js/vendor.5d7f312b4e27ca12aa18.js></script><script type=text/javascript src=static/js/app.8a955169f611d7d1df5e.js></script></body></html>
\ No newline at end of file
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -256,9 +256,6 @@
if(this.groupDetail.goods_type === 2 && !this.type){
json.buy_type = 2
}
if(this.group_order_id){
json.group_order_id = this.group_order_id
}
if(this.invite_code){
json.invite_code = this.invite_code
}
......
This diff is collapsed.
This diff is collapsed.
......@@ -342,9 +342,6 @@ export default {
// window.scrollTo(0,0);
let that = this
// localStorageFn.set('liuyi',true)
// debugger
// cookie.delete('liuyi')
// console.log(html2canvas)
this.unlook = localStorage.getItem('unlook');
if(document.body.clientWidth>700){
that.orientationchange=true
......
......@@ -40,9 +40,9 @@ Vue.component('scroll', scroll);
// Vue.prototype.$throw = (error)=> errorHandler(error,this);
/* eslint-disable no-new */
if (process.env.NODE_ENV != 'production') {
new VConsole();
}
// if (process.env.NODE_ENV != 'production') {
// new VConsole();
// }
router.beforeEach((to, from, next) => {
next()
......
......@@ -445,6 +445,14 @@ const router = new Router({
noNew: true,
}
},
{
path: '/passShop',
name: 'passShop',
component: e => require(['@/components/buy/passShop'], e),
meta: {
noNew: true,
}
},
{
path: '*',
component: e => require(['@/components/error'], e),
......@@ -491,7 +499,7 @@ router.beforeEach((to, from, next) => {
next()
}
};
if (to.name === 'author' || to.name === 'bindMobile' || to.name === 'noWechat' || to.name === 'inspectorActivit') {
if (to.name === 'author' || to.name === 'bindMobile' || to.name === 'noWechat' || to.name === 'inspectorActivit' || to.name === 'passShop' ) {
// 无需登录的页面
console.log(488)
next()
......
......@@ -350,4 +350,8 @@ export const getReceiveCouponApi = function (goods_id) {
export const getCountTimeApi = function () {
return Vue.prototype.$fetch(`/api/client/user/watch/time`)
};
///api/client/user/watch/time
//领取商品可用优惠券
export const getPassGoodInfoApi = function (goods_id) {
return Vue.prototype.$fetch(`/api/client/goods/info/no/auth/${goods_id}`)
};
///goods/info/no/auth/{goods_id}
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