Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
business-assistant
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 f1df9238
authored
Jun 27, 2023
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
发现模块动态化加一级
1 parent
22394a0e
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
7 deletions
package-lock.json
package.json
pages/tab/index/index.js
pages/tab/index/index.scss
pages/tab/index/index.wxml
package-lock.json
View file @
f1df923
...
...
@@ -10,9 +10,9 @@
"integrity"
:
"sha512-R2FyCk0mK2xvUX2dMgVZjVG512RKBj7ELMDxjRJjhQWtw4495WBgbl5Yb4v2A6d4vWJe6z9toKgDJTciN0Bo9A=="
},
"glsx-applet-component"
:
{
"version"
:
"1.1.1
3
"
,
"resolved"
:
"https://registry.npmjs.org/glsx-applet-component/-/glsx-applet-component-1.1.1
3
.tgz"
,
"integrity"
:
"sha512-
erZj/7TIXcckvf2h+Mlr5rMt6YHQLUq9LysgkgbbYA/u6OCVY6pQcT70HBl0WwsoFT4CMbPZ+4gqUKWOP2RocA
=="
"version"
:
"1.1.1
4
"
,
"resolved"
:
"https://registry.npmjs.org/glsx-applet-component/-/glsx-applet-component-1.1.1
4
.tgz"
,
"integrity"
:
"sha512-
mmVildU3qr7ripx2a6PGGvoxGCx4ilFg1aaxczMutdQZMt/CDcShxyqcKxho3cM42YmedczUtWRlL7WiLRQ9CQ
=="
}
}
}
package.json
View file @
f1df923
...
...
@@ -5,7 +5,7 @@
"main"
:
"app.js"
,
"dependencies"
:
{
"@vant/weapp"
:
"^1.10.7"
,
"glsx-applet-component"
:
"^1.1.1
3
"
"glsx-applet-component"
:
"^1.1.1
4
"
},
"devDependencies"
:
{},
"scripts"
:
{
...
...
pages/tab/index/index.js
View file @
f1df923
...
...
@@ -459,8 +459,8 @@ Page({
// 获取看产值数据
const
app
=
getApp
()
app
.
getBaseData
().
then
(
res
=>
{
const
productData
=
res
[
0
].
l
ist
const
systemData
=
res
[
1
].
l
ist
const
productData
=
res
[
0
].
subL
ist
const
systemData
=
res
[
1
].
subL
ist
this
.
setData
({
systemData
,
systemDataId
:
res
[
1
].
id
,
...
...
pages/tab/index/index.scss
View file @
f1df923
...
...
@@ -10,6 +10,14 @@ page {
color
:
transparent
;
}
.sub-menu-active-custom
{
background
:
#F0F4FF
!
important
;
color
:
#3666FE
!
important
;
}
.
sidebar-active-custom
:
:
after
{
background
:
#3666FE
!
important
;
}
.reclaim
{
background
:
#fff
;
...
...
pages/tab/index/index.wxml
View file @
f1df923
...
...
@@ -24,7 +24,7 @@
headerHeight="{{headerHeight}}"
bindrefresherrefresh="refresherrefresh" /> -->
<block wx:if="{{tabIndx == 0}}">
<gl-scenario list="{{productData}}" activityList="{{activityList}}" bindactivityClick="activityClick" bindproClick="proClick" bind:videoClick="videoClick" bindsenceClick="senceClick" bindleftClick="leftClick"></gl-scenario>
<gl-scenario list="{{productData}}" activityList="{{activityList}}"
sub-menu-active-custom="sub-menu-active-custom" sidebar-active-custom="sidebar-active-custom"
bindactivityClick="activityClick" bindproClick="proClick" bind:videoClick="videoClick" bindsenceClick="senceClick" bindleftClick="leftClick"></gl-scenario>
</block>
<!-- 看线索内容 -->
<!-- <indexClue
...
...
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