Commit f1df9238 by chenwq

发现模块动态化加一级

1 parent 22394a0e
...@@ -10,9 +10,9 @@ ...@@ -10,9 +10,9 @@
"integrity": "sha512-R2FyCk0mK2xvUX2dMgVZjVG512RKBj7ELMDxjRJjhQWtw4495WBgbl5Yb4v2A6d4vWJe6z9toKgDJTciN0Bo9A==" "integrity": "sha512-R2FyCk0mK2xvUX2dMgVZjVG512RKBj7ELMDxjRJjhQWtw4495WBgbl5Yb4v2A6d4vWJe6z9toKgDJTciN0Bo9A=="
}, },
"glsx-applet-component": { "glsx-applet-component": {
"version": "1.1.13", "version": "1.1.14",
"resolved": "https://registry.npmjs.org/glsx-applet-component/-/glsx-applet-component-1.1.13.tgz", "resolved": "https://registry.npmjs.org/glsx-applet-component/-/glsx-applet-component-1.1.14.tgz",
"integrity": "sha512-erZj/7TIXcckvf2h+Mlr5rMt6YHQLUq9LysgkgbbYA/u6OCVY6pQcT70HBl0WwsoFT4CMbPZ+4gqUKWOP2RocA==" "integrity": "sha512-mmVildU3qr7ripx2a6PGGvoxGCx4ilFg1aaxczMutdQZMt/CDcShxyqcKxho3cM42YmedczUtWRlL7WiLRQ9CQ=="
} }
} }
} }
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
"main": "app.js", "main": "app.js",
"dependencies": { "dependencies": {
"@vant/weapp": "^1.10.7", "@vant/weapp": "^1.10.7",
"glsx-applet-component": "^1.1.13" "glsx-applet-component": "^1.1.14"
}, },
"devDependencies": {}, "devDependencies": {},
"scripts": { "scripts": {
......
...@@ -459,8 +459,8 @@ Page({ ...@@ -459,8 +459,8 @@ Page({
// 获取看产值数据 // 获取看产值数据
const app = getApp() const app = getApp()
app.getBaseData().then(res => { app.getBaseData().then(res => {
const productData = res[0].list const productData = res[0].subList
const systemData = res[1].list const systemData = res[1].subList
this.setData({ this.setData({
systemData, systemData,
systemDataId: res[1].id, systemDataId: res[1].id,
......
...@@ -10,6 +10,14 @@ page { ...@@ -10,6 +10,14 @@ page {
color: transparent; color: transparent;
} }
.sub-menu-active-custom {
background: #F0F4FF !important;
color: #3666FE !important;
}
.sidebar-active-custom::after {
background: #3666FE !important;
}
.reclaim { .reclaim {
background: #fff; background: #fff;
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
headerHeight="{{headerHeight}}" headerHeight="{{headerHeight}}"
bindrefresherrefresh="refresherrefresh" /> --> bindrefresherrefresh="refresherrefresh" /> -->
<block wx:if="{{tabIndx == 0}}"> <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> </block>
<!-- 看线索内容 --> <!-- 看线索内容 -->
<!-- <indexClue <!-- <indexClue
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!