Commit cc98ee00 by 李嘉林

多主题方法修改

parent 823408c3
......@@ -12,13 +12,13 @@ import classificationApi from "./api/classification";
import spokesmanApi from './api/spokesman'
import { DFSImg, concatUrl } from "@/utils/index";
import fenxiaoModel from "@/utils/fenxiaoModel";
// import {
// $themeAddToCard,
// $themeArticleLike,
// getCoupon,
// themeMemberCardClick
// } from "@/utils/mayi";
import { $themeToLink, $themeAddToCard, $themeArticleLike } from "@/utils/mayi";
import {
$themeAddToCard,
$themeArticleLike,
getCoupon,
themeMemberCardClick
} from "@/utils/mayi";
// import { $themeToLink, $themeAddToCard, $themeArticleLike } from "@/utils/mayi";
import "@/utils/themeModule";
// import { themeToLinkInit } from "@/utils/themeModule";
import shop from "./api/shop";
......@@ -86,7 +86,7 @@ mpApp.indexBgCallBack = function(){ }
// 全局数据
mpApp.processEnv = process.env;
// 全局跳转 data为link对象
mpApp.$themeToLink = $themeToLink
// mpApp.$themeToLink = $themeToLink
console.log('3555555', wx)
// 全局加入购物车
mpApp.$themeAddToCard = $themeAddToCard
......
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