From 530be4864b4f960530004dfce9b8c811029200cc Mon Sep 17 00:00:00 2001 From: java110 <928255095@qq.com> Date: Tue, 23 Jun 2020 01:26:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E5=85=A5=E8=8F=9C=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wechatMenuManage/wechatMenuManage.html | 25 +++++++++++-------- .../wechatMenuManage/wechatMenuManage.js | 8 +++--- 2 files changed, 20 insertions(+), 13 deletions(-) diff --git a/public/pages/property/wechatMenuManage/wechatMenuManage.html b/public/pages/property/wechatMenuManage/wechatMenuManage.html index 2cc7f1ff6..cc7fa6622 100644 --- a/public/pages/property/wechatMenuManage/wechatMenuManage.html +++ b/public/pages/property/wechatMenuManage/wechatMenuManage.html @@ -1,5 +1,5 @@
- +
@@ -10,7 +10,8 @@ 发布菜单 - @@ -19,10 +20,11 @@
- + + @@ -30,12 +32,12 @@ - + - + + @@ -71,7 +73,8 @@
二级菜单
- @@ -84,6 +87,7 @@
+ @@ -93,7 +97,8 @@ - + + diff --git a/public/pages/property/wechatMenuManage/wechatMenuManage.js b/public/pages/property/wechatMenuManage/wechatMenuManage.js index a1929fbed..9a0ce8dcc 100644 --- a/public/pages/property/wechatMenuManage/wechatMenuManage.js +++ b/public/pages/property/wechatMenuManage/wechatMenuManage.js @@ -57,16 +57,16 @@ _listSubWechatMenus: function () { - if($that.wechatMenuManageInfo.parentMenuId == ''){ + if($that.wechatMenuManageInfo.curParentMenuId == ''){ return ; } var param = { params: { page: 1, - row: 3, + row: 5, communityId: vc.getCurrentCommunity().communityId, - parentMenuId: $that.wechatMenuManageInfo.parentMenuId, + parentMenuId: $that.wechatMenuManageInfo.curParentMenuId, menuLevel: '202' } }; @@ -90,6 +90,8 @@ vc.toast("请先选择一级菜单"); return ; } + }else{ + $that.wechatMenuManageInfo.curParentMenuId = '-1'; } vc.emit('addWechatMenu', 'openAddWechatMenuModal', { menuLevel:_menuLevel,
菜单名称 菜单类型菜单顺序 AppId 小程序地址
{{wechatMenu.menuName}}{{wechatMenu.menuType}}{{wechatMenu.menuTypeName}}{{wechatMenu.seq}} {{wechatMenu.menuValue}} {{wechatMenu.appId}} {{wechatMenu.pagepath}}
菜单名称 菜单类型菜单顺序 AppId 小程序地址
{{wechatMenu.menuName}}{{wechatMenu.menuType}}{{wechatMenu.menuTypeName}}{{wechatMenu.seq}} {{wechatMenu.menuValue}} {{wechatMenu.appId}} {{wechatMenu.pagepath}}