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
73528bfc
Commit
73528bfc
authored
Sep 10, 2019
by
赵雅纹
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_7.1.0' into feature-zyw-sc
parents
ab57f58b
afaf6234
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
12 deletions
+6
-12
bottomTabs.js
src/component/bottomTabs/bottomTabs.js
+1
-1
index.js
src/config/index.js
+3
-2
userCenter.wxml
src/pages/userCenter/userCenter.wxml
+1
-1
common.js
src/utils/common.js
+1
-7
utils.wxs
src/wxs/utils.wxs
+0
-1
No files found.
src/component/bottomTabs/bottomTabs.js
View file @
73528bfc
...
...
@@ -80,7 +80,7 @@ Component({
wxService
.
openCard
()
}
}
else
if
(
curItemType
.
link
.
type
==
6
)
{
wxService
.
router
(
`
/
${
currentClickType
}
`
)
wxService
.
router
(
`
${
currentClickType
}
`
)
}
else
if
(
curItemType
.
link
.
type
==
7
)
{
// 集点详情
wxService
.
router
(
`
${
currentClickType
}
`
)
...
...
src/config/index.js
View file @
73528bfc
...
...
@@ -2,14 +2,15 @@ const PROJECT_ENV = 'dev' // 生产 prod, 开发 dev, 测试 test, 预生产 pre
const
needMock
=
''
//
// appid_dev_wx wxc3b64b09b1d3dfc2
// appid_test_wx wx857ea77f4f7f4f34
// appid_test_wx wx857ea77f4f7f4f34
wxac09792264c49b5c
// appid_pre_711 wx358b56af62edbde1
// appid_prod_711 wx700028bf32a3be66
// 1 2 3 步!!!!!!!!!!!!!!!!!!!!!! prod appid brandId
// const devCtx = 'http://111.231.86.64'
const
devCtx
=
'http://buyer.devapi.bigaka.net'
// 开发环境
const
devCtx
=
'http://buyer.devapi.bigaka.net'
// 开发环境 1
// const devCtx = 'http://dev-sellerapi.bigaka.net' // 开发环境 2
const
testCtx
=
'https://crm-b.bigaka.net/api'
// 发测试时解开此注释
const
preCtx
=
'https://crm-b.bigaka.com/api'
// 发预生产时解开此注释
const
prodCtx
=
'https://crm-b.bigaka.com/api'
// 发生产时解开此注释
...
...
src/pages/userCenter/userCenter.wxml
View file @
73528bfc
...
...
@@ -9,7 +9,7 @@
<person-center person-data="{{pItem.customer}}" />
</view>
<view class="" wx:if="{{pItem.type == 3}}">
<pic-nav pic-nav="{{pItem.navigation.images}}" />
<pic-nav pic-nav="{{pItem.navigation.images}}"
bind:getAuth="_getUserInfo" currentHasUserInfo="{{currentHasUserInfo}}"
/>
</view>
<view class="" wx:if="{{pItem.type == 4}}">
<bottom bottom="{{pItem.bottom}}" />
...
...
src/utils/common.js
View file @
73528bfc
...
...
@@ -51,7 +51,7 @@ HandlerLink.prototype = {
}
else
if
(
type
==
3
)
{
return
item
}
else
if
(
type
==
4
)
{
return
`
${
item
.
link
.
url
}
`
return
`
${
(
item
.
link
.
url
).
trim
()
}
`
}
else
if
(
type
==
5
)
{
let
currentOpen
=
''
if
(
item
.
link
.
url
==
1
)
{
...
...
@@ -142,16 +142,10 @@ HandlerLinkRow.prototype = {
}
else
if
(
type
==
7
)
{
return
`
${
item
.
link
.
url
}
`
}
else
if
(
type
==
8
)
{
console
.
log
(
'----'
,
item
)
return
`
${
item
.
url
}
`
}
else
if
(
type
==
9
)
{
console
.
log
(
'----'
,
item
.
name
)
return
`id=
${
item
.
url
}
&name=
${
item
.
name
}
`
}
}
}
...
...
src/wxs/utils.wxs
View file @
73528bfc
...
...
@@ -24,7 +24,6 @@ function formateUrl(url, BASE_IMG_URL){
if(url){
url = url.indexOf('http') > -1 ? url : BASE_IMG_URL + url;
}
console.log('url', url)
return url;
}
...
...
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