3
0

2 Коммиты d3a88defdf ... 6632bde5e5

Автор SHA1 Сообщение Дата
  wangjiawen 6632bde5e5 Merge branch 'master' of http://49.4.49.126:3000/Gyee_web/sisMobilePhone 4 лет назад
  wangjiawen db12dcc549 左侧导航地图显示问题 4 лет назад
2 измененных файлов с 20 добавлено и 5 удалено
  1. 8 1
      components/drawer/forecastThreeLineDrawer.vue
  2. 12 4
      components/drawer/threeLineDrawer.vue

+ 8 - 1
components/drawer/forecastThreeLineDrawer.vue

@@ -77,7 +77,14 @@
 			closeDrawer: function() {
 			closeDrawer: function() {
 				
 				
 				this.drawerIsShow = false;
 				this.drawerIsShow = false;
-				this.$parent.leftbar();
+				//#ifdef H5
+				   this.$emit("leftbar");
+				//#endif
+				
+				//#ifdef APP-PLUS
+				   this.$parent.leftbar();
+				//#endif
+				
 			},
 			},
 			clickChangeColor: function(index) {
 			clickChangeColor: function(index) {
 				this.changeGary = index;
 				this.changeGary = index;

+ 12 - 4
components/drawer/threeLineDrawer.vue

@@ -65,11 +65,19 @@
 				this.leftNavigationtitle = leftNavigationtitle;
 				this.leftNavigationtitle = leftNavigationtitle;
 			},
 			},
 			closeDrawer: function() {
 			closeDrawer: function() {
+
 				this.drawerIsShow = false;
 				this.drawerIsShow = false;
-				if(this.$parent!=undefined)
-				{
-					this.$parent.leftbar();
-				}
+
+				//#ifdef H5
+				
+				   this.$root.leftbar();
+
+				//#endif
+				
+				//#ifdef APP-PLUS
+				   this.$parent.leftbar();
+				//#endif
+
 			},
 			},
 			clickChangeColor: function(index) {
 			clickChangeColor: function(index) {
 				this.changeGary = index;
 				this.changeGary = index;