Commit cc98ee00 by 李嘉林

多主题方法修改

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