Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
7
7-Eleven
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
高淑倩
7-Eleven
Commits
07b020cc
Commit
07b020cc
authored
Sep 18, 2019
by
高淑倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
ad3cf858
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
19 deletions
+1
-19
utils.wxs
src/wxs/utils.wxs
+1
-19
No files found.
src/wxs/utils.wxs
View file @
07b020cc
...
...
@@ -27,23 +27,6 @@ function formateUrl(url, BASE_IMG_URL){
return url;
}
// 不需要授权页面 首页/种草列表/种草详情/分类/商品列表/商品详情
function hanlerLinkNoNeedAuth(item){
if(item.link){
if(typeof(item.link && item.link.newPath) != undefined){
console.log('link--url', item.desc, item.link.url)
} else {
console.log('link----new', item.desc, item.link.newPath)
}
} else if(item.row){
if(item.row && item.row.newPath) {
console.log('row-----new', item.desc, item.row.newPath)
} else {
console.log('row----url', item.desc, item.row.url)
}
}
}
// 授权路径 我的/购物车/我的奖励/邀请好友/推广商品/我的地址/我的订单
function hanlerLinkNeedAuth(link){
var flag = false
...
...
@@ -67,6 +50,5 @@ module.exports = {
numberFormat: numberFormat,
date: date,
handerNickName: handerNickName,
hanlerLinkNeedAuth: hanlerLinkNeedAuth,
hanlerLinkNoNeedAuth: hanlerLinkNoNeedAuth
hanlerLinkNeedAuth: hanlerLinkNeedAuth
}
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