diff --git a/src/lycomponents/iHeader/index.vue b/src/lycomponents/iHeader/index.vue index 18ceb0f..08a99ac 100644 --- a/src/lycomponents/iHeader/index.vue +++ b/src/lycomponents/iHeader/index.vue @@ -57,6 +57,7 @@ + 登录 @@ -111,8 +112,13 @@ export default { this.setHeaderType(1); this.$router.push("/index"); }, + goLogin() { + this.setHeaderType(1); + this.$router.push("/login"); + }, handleChange(val) { this.setCommTime({ sTimeType: val }); + this.setCtime2({ sTimeType: val }); //子页面同步时间 this.reload(); }, // 点击个人中心 @@ -220,6 +226,12 @@ export default { color: #ffffff; margin-left: 8px; } + .s4 { + display: inline-block; + font-size: 16px; + color: #ffffff; + margin-right: 8px; + } .m1 { display: inline-block; margin-left: 60px; diff --git a/src/lycomponents/iHeaderBrand/index.vue b/src/lycomponents/iHeaderBrand/index.vue index b60ff77..e3f242f 100644 --- a/src/lycomponents/iHeaderBrand/index.vue +++ b/src/lycomponents/iHeaderBrand/index.vue @@ -141,6 +141,7 @@ export default { if (this.form.sTimeType != 4) { this.form.sStartTime = ""; this.form.sEndTime = ""; + this.setCommTime({sTimeType: this.form.sTimeType}); this.selTime = null; this.reload(); } diff --git a/src/views/BrandComparison/BrandComparison.vue b/src/views/BrandComparison/BrandComparison.vue index 793e061..180a054 100644 --- a/src/views/BrandComparison/BrandComparison.vue +++ b/src/views/BrandComparison/BrandComparison.vue @@ -101,8 +101,8 @@