Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mayi-mp-shop
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
程默
mayi-mp-shop
Commits
cc98ee00
Commit
cc98ee00
authored
May 07, 2021
by
李嘉林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
多主题方法修改
parent
823408c3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
src/main.js
+8
-8
src/utils/themeModule.js
+0
-0
No files found.
src/main.js
View file @
cc98ee00
...
...
@@ -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
...
...
src/utils/themeModule.js
View file @
cc98ee00
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment