diff --git a/src/assets/css/custom.css b/src/assets/css/custom.css
index 602781f..c86f637 100644
--- a/src/assets/css/custom.css
+++ b/src/assets/css/custom.css
@@ -899,6 +899,7 @@ color: #514DA7;opacity:1;
}
.single-author-comments{ width: 1000px; display: block; position: absolute; bottom: 0; left: 0; right: 0; margin: 0 auto; height: 100%;}
.s-user-comments { display: block; position: absolute; bottom: 37px; width: 400px;}
+ .s-user-comment { display: block; position: absolute; bottom: 37px; width: 300px;padding:50px}
.single-author-li-comments{ width: 100%; display: block; float: left; position: relative; z-index: 1;}
.a-intro-comments{background: #FFFFFF; width: 100%; padding: 15px; float: left; margin-bottom: 15px; position: relative;
border: 1px solid #201E6A;
@@ -1400,7 +1401,7 @@ input:focus{ outline: none;}
background-position: left bottom; }
.read-time a{ font-weight: 500; color: #000; opacity: 0.5; font-size: 10px;display: block; float: left;margin: 10px 0px 0 18px;}
.read-time a img{ width: 13px; display: block; float: left; margin-right: 7px; margin-top: 1px;}
-.insight-two-img{width: 100%; position: relative;}
+.insight-two-img{width: 100%; position: relative;border-top-right-radius: 25px;border-top-left-radius: 25px;}
.m-screen-hidden{width: 382px;overflow: hidden; height:702px;margin: 0 auto;}
.s-l-left-section{ width: 600px; display: block; float: left; margin-top: 57px;}
.s-l-right-section{ width: 300px; display: block; float: left;}
diff --git a/src/components/AuthorReadingBreak.vue b/src/components/AuthorReadingBreak.vue
index 48d2b00..138188d 100644
--- a/src/components/AuthorReadingBreak.vue
+++ b/src/components/AuthorReadingBreak.vue
@@ -21,11 +21,11 @@
{{ currentSlideData.payload.comments[0].comment }} @@ -37,7 +37,7 @@
{{ currentSlideData.payload.comments[1].comment }} diff --git a/src/components/NoScreenshotSingleAuthor.vue b/src/components/NoScreenshotSingleAuthor.vue index b4342b3..397d9c8 100644 --- a/src/components/NoScreenshotSingleAuthor.vue +++ b/src/components/NoScreenshotSingleAuthor.vue @@ -686,8 +686,11 @@ export default { }, }); }, - createComment() { + createComment() { console.log("===", this.comment); + if(!this.usertoken){ + this.goToLogin(); + } var obj = { caseStudyId: this.currentSlideData.caseStudyId, slideId: this.currentSlideData.slideId, @@ -711,8 +714,10 @@ export default { } }); }, - createChildComment(cmnt) { - console.log(cmnt,"===", this.comment); + createChildComment(cmnt) { + if(!this.usertoken){ + this.goToLogin(); + } console.log(cmnt,"===", this.comment); var obj = { caseStudyId: this.currentSlideData.caseStudyId, slideId: this.currentSlideData.slideId, @@ -783,10 +788,8 @@ export default { $("#open_ct_box, .c_hide").show(); $(".footer-top").addClass("white-bg"); }, - open_ct_box() { - if(!this.usertoken){ - this.goToLogin(); - } + open_ct_box() { + $("#cht_box_close").addClass("cht_close"); $("#open_ct_box, .c_hide").hide(); $(".footer-top").removeClass("white-bg"); diff --git a/src/components/SingleMobileScreenInsightOne.vue b/src/components/SingleMobileScreenInsightOne.vue index 48265f8..84f1451 100644 --- a/src/components/SingleMobileScreenInsightOne.vue +++ b/src/components/SingleMobileScreenInsightOne.vue @@ -651,8 +651,11 @@ export default { }, }); }, - createComment() { + createComment() { console.log("===", this.comment); + if(!this.usertoken){ + this.goToLogin(); + } var obj = { caseStudyId: this.currentSlideData.caseStudyId, slideId: this.currentSlideData.slideId, @@ -676,8 +679,10 @@ export default { } }); }, - createChildComment(cmnt) { - console.log(cmnt,"===", this.comment); + createChildComment(cmnt) { + if(!this.usertoken){ + this.goToLogin(); + } console.log(cmnt,"===", this.comment); var obj = { caseStudyId: this.currentSlideData.caseStudyId, slideId: this.currentSlideData.slideId, @@ -751,10 +756,8 @@ export default { $("#open_ct_box, .c_hide").show(); $(".footer-top").addClass("white-bg"); }, - open_ct_box() { - if(!this.usertoken){ - this.goToLogin(); - } + open_ct_box() { + $("#cht_box_close").addClass("cht_close"); $("#open_ct_box, .c_hide").hide(); $(".footer-top").removeClass("white-bg"); diff --git a/src/components/SingleMobileScreenInsightTwo.vue b/src/components/SingleMobileScreenInsightTwo.vue index e46bbc9..1df9a55 100644 --- a/src/components/SingleMobileScreenInsightTwo.vue +++ b/src/components/SingleMobileScreenInsightTwo.vue @@ -717,8 +717,11 @@ export default { }, }); }, - createComment() { + createComment() { console.log("===", this.comment); + if(!this.usertoken){ + this.goToLogin(); + } var obj = { caseStudyId: this.currentSlideData.caseStudyId, slideId: this.currentSlideData.slideId, @@ -742,8 +745,10 @@ export default { }); }, - createChildComment(cmnt) { - console.log(cmnt, "===", this.comment); + createChildComment(cmnt) { + if(!this.usertoken){ + this.goToLogin(); + } console.log(cmnt, "===", this.comment); var obj = { caseStudyId: this.currentSlideData.caseStudyId, slideId: this.currentSlideData.slideId, @@ -819,10 +824,8 @@ export default { $("#open_ct_box, .c_hide").show(); $(".footer-top").addClass("white-bg"); }, - open_ct_box() { - if(!this.usertoken){ - this.goToLogin(); - } + open_ct_box() { + $("#cht_box_close").addClass("cht_close"); $("#open_ct_box, .c_hide").hide(); $(".footer-top").removeClass("white-bg"); diff --git a/src/components/TwoScreenWithInsight.vue b/src/components/TwoScreenWithInsight.vue index 52f41c6..4889305 100644 --- a/src/components/TwoScreenWithInsight.vue +++ b/src/components/TwoScreenWithInsight.vue @@ -654,8 +654,11 @@ export default { }, }); }, - createComment() { + createComment() { console.log("===", this.comment); + if(!this.usertoken){ + this.goToLogin(); + } var obj = { caseStudyId: this.currentSlideData.caseStudyId, slideId: this.currentSlideData.slideId, @@ -678,8 +681,10 @@ export default { } }); }, - createChildComment(cmnt) { - console.log(cmnt, "===", this.comment); + createChildComment(cmnt) { + if(!this.usertoken){ + this.goToLogin(); + } console.log(cmnt, "===", this.comment); var obj = { caseStudyId: this.currentSlideData.caseStudyId, slideId: this.currentSlideData.slideId, @@ -751,10 +756,8 @@ export default { $("#open_ct_box, .c_hide").show(); $(".footer-top").addClass("white-bg"); }, - open_ct_box() { - if(!this.usertoken){ - this.goToLogin(); - } + open_ct_box() { + $("#cht_box_close").addClass("cht_close"); $("#open_ct_box, .c_hide").hide(); $(".footer-top").removeClass("white-bg"); diff --git a/src/components/TwoScreenWithoutInsight.vue b/src/components/TwoScreenWithoutInsight.vue index 56f0719..ea61b98 100644 --- a/src/components/TwoScreenWithoutInsight.vue +++ b/src/components/TwoScreenWithoutInsight.vue @@ -388,10 +388,10 @@ class="m-screen insight-two-img" />