Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
store-assistant-assemble
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit ef7a6370
authored
Jun 29, 2023
by
杨明
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
发现
1 parent
5743f564
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
31 additions
and
17 deletions
pages/tab/discovery/discovery.js
project.config.json
project.private.config.json
utils/request/environment.js
pages/tab/discovery/discovery.js
View file @
ef7a637
...
@@ -149,6 +149,20 @@ Component({
...
@@ -149,6 +149,20 @@ Component({
// tabIndex: option?.tabIndex || 0
// tabIndex: option?.tabIndex || 0
// })
// })
this
.
getActivityRecord
()
this
.
getActivityRecord
()
const
app
=
getApp
()
app
.
getBaseData
().
then
(
res
=>
{
const
productData
=
res
[
0
].
subList
const
systemData
=
res
[
1
].
subList
// this.getSceneData(productData)
this
.
setData
({
[
`tabList[0].name`
]:
res
[
0
].
name
,
[
`tabList[1]name`
]:
res
[
1
].
name
,
systemData
,
systemDataId
:
res
[
1
].
id
,
productData
,
productDataId
:
res
[
0
].
id
,
})
})
},
},
emitUserInfo
(
options
)
{
emitUserInfo
(
options
)
{
...
@@ -267,20 +281,20 @@ Component({
...
@@ -267,20 +281,20 @@ Component({
},
},
pageLifetimes
:
{
pageLifetimes
:
{
show
()
{
show
()
{
const
app
=
getApp
()
//
const app = getApp()
app
.
getBaseData
().
then
(
res
=>
{
//
app.getBaseData().then(res => {
const
productData
=
res
[
0
].
subList
//
const productData = res[0].subList
const
systemData
=
res
[
1
].
subList
//
const systemData = res[1].subList
// this.getSceneData(productData)
//
// this.getSceneData(productData)
this
.
setData
({
//
this.setData({
[
`tabList[0].name`
]:
res
[
0
].
name
,
//
[`tabList[0].name`]: res[0].name,
[
`tabList[1]name`
]:
res
[
1
].
name
,
//
[`tabList[1]name`]: res[1].name,
systemData
,
//
systemData,
systemDataId
:
res
[
1
].
id
,
//
systemDataId: res[1].id,
productData
,
//
productData,
productDataId
:
res
[
0
].
id
,
//
productDataId: res[0].id,
})
//
})
})
//
})
}
}
}
}
...
...
project.config.json
View file @
ef7a637
{
{
"appid"
:
"wx
c50d04ae5aa9984a
"
,
"appid"
:
"wx
96c8f2a3e76907cb
"
,
"projectname"
:
"business-assistant"
,
"projectname"
:
"business-assistant"
,
"compileType"
:
"miniprogram"
,
"compileType"
:
"miniprogram"
,
"packOptions"
:
{
"packOptions"
:
{
...
...
project.private.config.json
View file @
ef7a637
...
@@ -120,7 +120,7 @@
...
@@ -120,7 +120,7 @@
}
}
},
},
"setting"
:
{
"setting"
:
{
"urlCheck"
:
tru
e
"urlCheck"
:
fals
e
},
},
"projectname"
:
"store-assistant-assemble"
"projectname"
:
"store-assistant-assemble"
}
}
\ No newline at end of file
\ No newline at end of file
utils/request/environment.js
View file @
ef7a637
...
@@ -110,7 +110,7 @@ const domain = {
...
@@ -110,7 +110,7 @@ const domain = {
dev
:
{
dev
:
{
dj
:
'https://dj.dev.glsx.com.cn'
,
dj
:
'https://dj.dev.glsx.com.cn'
,
scrm
:
'https://scrm.dev.glsx.com.cn'
,
scrm
:
'https://scrm.dev.glsx.com.cn'
,
merchant
:
"http
s
://rop-merchant.dev.glsx.com.cn"
,
merchant
:
"http://rop-merchant.dev.glsx.com.cn"
,
},
},
uat
:
{
uat
:
{
dj
:
'https://dj.test.glsx.com.cn'
,
dj
:
'https://dj.test.glsx.com.cn'
,
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment