Blame view

src/components/NoScreenshotSingleAuthor.vue 20.7 KB
de0f96bc5   Gurvinder Singh   new files
1
2
  <template>
    <main class="landing-page">
de0f96bc5   Gurvinder Singh   new files
3
      <div class="container-fluid episode-intro">
c65b51996   Digvijay Singh   new ui changes
4
        <nav class="navbar navbar-expand-sm spotLight-nav">
56f4b7548   Digvijay Singh   landing page url ...
5
          <a class="navbar-brand" href="javascript:void(0);"
c65b51996   Digvijay Singh   new ui changes
6
7
8
9
10
11
12
13
14
15
16
            ><img src="../assets/images/logo.png"
          /></a>
          <button
            class="navbar-toggler"
            type="button"
            data-toggle="collapse"
            data-target="#navbarsExample03"
            aria-controls="navbarsExample03"
            aria-expanded="false"
            aria-label="Toggle navigation"
          >
de0f96bc5   Gurvinder Singh   new files
17
18
19
20
21
            <span class="navbar-toggler-icon"></span>
            <span class="navbar-toggler-icon"></span>
            <span class="navbar-toggler-icon"></span>
          </button>
          <div class="user-profile-photo insights-profile">
56f4b7548   Digvijay Singh   landing page url ...
22
            <a href="javascript:void(0);"><img src="../assets/images/lock.svg" /></a>
de0f96bc5   Gurvinder Singh   new files
23
24
25
          </div>
        </nav>
        <!-- menu wrapper -->
c65b51996   Digvijay Singh   new ui changes
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
        <div class="intro-startup">
  
          <!-- chat box -->
          <div class="bounce-board-wrp" id="cht_box_close">
            <div class="inner-wrp-bc">
              <div class="bc-top-head">
                <span class="bc-head">
                  <img src="../assets/images/bounce-icon.svg" /> Bounce Board
                </span>
                <div class="action-sort">
                  <span class="sort-by">SORT BY</span>
                  <div class="btn-group">
                    <button
                      type="button"
                      class="bc-sort-list dropdown-toggle"
c65b51996   Digvijay Singh   new ui changes
41
42
43
44
45
46
47
                      data-toggle="dropdown"
                      aria-haspopup="true"
                      aria-expanded="false"
                    >
                      BEST
                    </button>
                    <div class="dropdown-menu short_by">
d0186c77a   Digvijay Singh   changes in ui
48
49
50
51
52
53
54
55
56
                      <a class="dropdown-item" href="javasript:void(0);"
                        >BEST 1</a
                      >
                      <a class="dropdown-item" href="javasript:void(0);"
                        >BEST 2</a
                      >
                      <a class="dropdown-item" href="javasript:void(0);"
                        >BEST 3</a
                      >
c65b51996   Digvijay Singh   new ui changes
57
58
59
60
61
62
63
64
65
66
67
68
69
                    </div>
                  </div>
                  <a
                    href="javasript:void(0);"
                    @click="chtbox_close"
                    class="close_chat_bx"
                    ><img src="../assets/images/close.png" alt="close" /></a
                  ><!-- close -->
                </div>
                <!-- action sort -->
              </div>
              <!-- top head -->
              <div class="bounce-board-body">
d0186c77a   Digvijay Singh   changes in ui
70
                
c65b51996   Digvijay Singh   new ui changes
71
72
                <!-- all user comments -->
                <ul class="bounced-user-comments">
d0186c77a   Digvijay Singh   changes in ui
73
                  <li class="bc_border" v-for="(cmnt, j) in commentList" :key="j">
c65b51996   Digvijay Singh   new ui changes
74
75
76
77
78
                    <div class="bc_brd_l"></div>
                    <!-- border -->
                    <div class="parent-full-width">
                      <div class="full-width">
                        <div class="b-user-head">
d0186c77a   Digvijay Singh   changes in ui
79
80
                          <img :src="cmnt.user.profilePic" />
                          <span class="head-content">{{ cmnt.user.name }} </span>
c65b51996   Digvijay Singh   new ui changes
81
82
83
                          <ul>
                            <li>
                              <span></span
d0186c77a   Digvijay Singh   changes in ui
84
85
86
                              ><img src="../assets/images/u-info-icon.png" />{{
                                cmnt.user.karmaPoints
                              }}pts
c65b51996   Digvijay Singh   new ui changes
87
                            </li>
d0186c77a   Digvijay Singh   changes in ui
88
                            <li><span></span>{{dateGenerator(cmnt.createdAt)}}days ago</li>
c65b51996   Digvijay Singh   new ui changes
89
90
91
92
                          </ul>
                        </div>
                        <!-- header -->
                        <p>
d0186c77a   Digvijay Singh   changes in ui
93
                          {{ cmnt.comment }}
c65b51996   Digvijay Singh   new ui changes
94
95
96
97
98
99
                        </p>
                        <div class="joined_wrapper">
                          <ul class="joined-info info_bc_spc">
                            <li>
                              <img src="../assets/images/purple-heart.png" />
                            </li>
d0186c77a   Digvijay Singh   changes in ui
100
                            <li><a href="javasript:void(0);"> 0</a></li>
c65b51996   Digvijay Singh   new ui changes
101
102
103
                            <li class="comment-spc">
                              <img src="../assets/images/purple-comment.png" />
                            </li>
d0186c77a   Digvijay Singh   changes in ui
104
                            <li><a href="javasript:void(0);"> {{cmnt.children.length}}</a></li>
c65b51996   Digvijay Singh   new ui changes
105
                          </ul>
d0186c77a   Digvijay Singh   changes in ui
106
107
108
109
110
111
112
                          <div class="add_rply" v-if="!cmnt.childInput">
                            <input
                              type="text"
                              @click="eachRply(cmnt)"
                              class="add_Rply_C"
                              placeholder="Add your reply"
                            />
c65b51996   Digvijay Singh   new ui changes
113
114
                          </div>
                          <!-- rly form -->
c65b51996   Digvijay Singh   new ui changes
115
116
117
118
119
                        </div>
                        <!-- joined wrapper -->
                      </div>
                      <!-- full width -->
                    </div>
d0186c77a   Digvijay Singh   changes in ui
120
121
122
123
124
125
126
127
128
129
130
131
132
133
                    <div class="comments-footer each-ft" v-if="cmnt.childInput">
                      <textarea v-model="comment"></textarea>
                      <div class="comments-footer-wrp">
                        <a
                          @click="createChildComment(cmnt)"
                          href="javasript:void(0);"
                          class="add_comments_chat reply-Wdth"
                          >Reply</a
                        >
                        <a href="javasript:void(0);" class="discard_bt"
                          @click="discardRply(cmnt)"><img src="../assets/images/discard.svg"
                        /></a>
                      </div>
                    </div>
c65b51996   Digvijay Singh   new ui changes
134
                    <!-- parent -->
d0186c77a   Digvijay Singh   changes in ui
135
                    <div class="child-full-width" v-for="(childCmnt, i) in cmnt.children" :key="i">
c65b51996   Digvijay Singh   new ui changes
136
137
                      <div class="full-width">
                        <div class="b-user-head">
d0186c77a   Digvijay Singh   changes in ui
138
139
                          <img :src="childCmnt.user.profilePic" />
                          <span class="head-content">{{childCmnt.user.name }} </span>
c65b51996   Digvijay Singh   new ui changes
140
141
142
                          <ul>
                            <li>
                              <span></span
d0186c77a   Digvijay Singh   changes in ui
143
                              ><img src="../assets/images/u-info-icon.png" />{{childCmnt.user.karmaPoints}}pts
c65b51996   Digvijay Singh   new ui changes
144
                            </li>
d0186c77a   Digvijay Singh   changes in ui
145
                            <li><span></span>{{dateGenerator(childCmnt.createdAt)}}days ago</li>
c65b51996   Digvijay Singh   new ui changes
146
147
148
                          </ul>
                        </div>
                        <p>
d0186c77a   Digvijay Singh   changes in ui
149
                          {{childCmnt.comment}}
c65b51996   Digvijay Singh   new ui changes
150
151
152
153
154
155
                        </p>
                        <div class="joined_wrapper">
                          <ul class="joined-info info_bc_spc">
                            <li>
                              <img src="../assets/images/purple-heart.png" />
                            </li>
d0186c77a   Digvijay Singh   changes in ui
156
157
                            <li><a href="javasript:void(0);"> {{childCmnt.likes.length}}</a></li>
                            
c65b51996   Digvijay Singh   new ui changes
158
                          </ul>
d0186c77a   Digvijay Singh   changes in ui
159
                          
c65b51996   Digvijay Singh   new ui changes
160
161
                        </div>
                      </div>
d0186c77a   Digvijay Singh   changes in ui
162
163
164
165
                    </div>
                    <!-- eree -->
                    
                    <!-- comments footer -->
c65b51996   Digvijay Singh   new ui changes
166
167
168
169
                  </li>
                </ul>
              </div>
              <!-- bounce board body -->
d0186c77a   Digvijay Singh   changes in ui
170
171
              <div class="comments-footer" v-if="parentInput">
                <textarea v-model="comment"></textarea>
c65b51996   Digvijay Singh   new ui changes
172
                <div class="comments-footer-wrp">
d0186c77a   Digvijay Singh   changes in ui
173
174
175
176
                  <a
                    href="javasript:void(0);"
                    class="add_comments_chat"
                    @click="createComment"
c65b51996   Digvijay Singh   new ui changes
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
                    ><img src="../assets/images/add-comment.svg" /> Comment</a
                  >
                </div>
              </div>
              <!-- comments footer -->
            </div>
          </div>
          <!-- bounceboard wrp -->
          <!-- chat box -->
  
  
          <div class="single-author-comments">
            <!-- <img class="s-user-comments" src="../assets/images/u-info.png" /> -->
            <div class="ct-l-400">
                   <div class="single-author-li-comments">
                <div class="a-intro-comments right-corner">
                  <p>
                    {{currentSlideData.payload.comments[0].comment}}
                  </p>
                  <ul class="rly-comment-set">
                    <li>
                      <img src="../assets/images/color-heart.svg" />
                      <a href="javascript:void(0);">0</a>
                    </li>
                    <li>
                      <img src="../assets/images/rply.svg" />
                      <a href="javascript:void(0);" @click="open_ct_box">Reply</a>
                    </li>
                  </ul>
                </div>
                <!-- comments box -->
              </div>
            </div>
            <img
              class="s-user-comments m-0"
              :src="currentSlideData.payload.metaData.authorImage"
            />
            <div class="comments-a-wrp ct-width">           
              <div class="single-author-li-comments">
                <div class="a-intro-comments">
                  <p>
                    {{currentSlideData.payload.comments[0].comment}}
                  </p>
                  <ul class="rly-comment-set">
                    <li>
                      <img src="../assets/images/color-heart.svg" />
                      <a href="javascript:void(0);">0</a>
                    </li>
                    <li>
                      <img src="../assets/images/rply.svg" />
                      <a href="javascript:void(0);" @click="open_ct_box">Reply</a>
                    </li>
                  </ul>
                </div>
                <!-- comments box -->
              </div>
              <!-- single author comments -->
              <div class="single-author-li-comments">
                <div class="a-intro-comments">
                  <p>
                    {{currentSlideData.payload.comments[1].comment}}
                  </p>
                  <ul class="rly-comment-set">
                    <li>
                      <img src="../assets/images/color-heart.svg" />
                      <a href="javascript:void(0);">0</a>
                    </li>
                    <li>
                      <img src="../assets/images/rply.svg" />
                      <a href="javascript:void(0);" @click="open_ct_box">Reply</a>
                    </li>
                  </ul>
                </div>
                <!-- comments box -->
              </div>
              <div class="single-author-li-comments">
                <div class="a-intro-comments">
                  <p>
                    {{currentSlideData.payload.comments[2].comment}}
                  </p>
                  <!-- <p>
                    Before I dive in to showcase my observations and userflows
                    that stood out to me in the app, I want to call out that the
                    situation or time-frame in which I was using the app is
                    extremely important for what I am about to show as well.
                  </p> -->
                  <ul class="rly-comment-set">
                    <li>
                      <img src="../assets/images/color-heart.svg" />
56f4b7548   Digvijay Singh   landing page url ...
266
                      <a href="javascript:void(0);">0</a>
c65b51996   Digvijay Singh   new ui changes
267
268
269
270
271
272
273
274
275
276
277
                    </li>
                    <li>
                      <img src="../assets/images/rply.svg" />
                      <a href="javascript:void(0);" @click="open_ct_box">Reply</a>
                    </li>
                  </ul>
                </div>
                <!-- comments box -->
              </div>
              <!-- single author comments -->
              <!-- <div class="a-intro-comments custom-selected-author-style">
de0f96bc5   Gurvinder Singh   new files
278
279
                <img src="../assets/images/org-rect.svg" class="rect" />
                <div class="top-wrp">
56f4b7548   Digvijay Singh   landing page url ...
280
               Product Insight <a href="javascript:void(0);"><img src="../assets/images/org-link.svg" /></a>
de0f96bc5   Gurvinder Singh   new files
281
282
283
284
285
                </div>
                <div class="top-head">Automate your customer support for better engagement</div>
                 <p>Only 9% of consumers believe it’s acceptable to wait up to one minute to speak with an agent. Automated service is a critical step in giving customers a platform to become self-sufficient. </p>
  
              
c65b51996   Digvijay Singh   new ui changes
286
287
                  </div> -->
              <!-- comments box -->
de0f96bc5   Gurvinder Singh   new files
288
            </div>
c65b51996   Digvijay Singh   new ui changes
289
          </div>
d0186c77a   Digvijay Singh   changes in ui
290
       <!-- single author comments -->
c65b51996   Digvijay Singh   new ui changes
291
292
293
294
295
          <div class="footer-nav">
            <div class="footer-top white-bg">
              <div class="row">
                <div class="col-6 col-sm-6 col-md-6 col-lg-6 c_hide">
                  <div class="row h-100p">
d0186c77a   Digvijay Singh   changes in ui
296
297
298
                    <div
                      class="col-12 col-sm-12 col-md-12 col-lg-12 col-xl-12 bord-r"
                    >
c65b51996   Digvijay Singh   new ui changes
299
300
                      <div class="ft-comments-group testi-photos-ct">
                        <div class="c-with-photos">
d0186c77a   Digvijay Singh   changes in ui
301
302
                          <span class="count-comments"
                            >{{ commentList.length - 1 }}+ Comments</span
c65b51996   Digvijay Singh   new ui changes
303
304
                          ><!-- count commets -->
                          <ul class="comments-photos">
d0186c77a   Digvijay Singh   changes in ui
305
306
307
308
                            <!-- <li><img src="../assets/images/c-photo-1.png" /></li>
                            <li><img src="../assets/images/c-photo-2.png" /></li> -->
                            <!-- <li><img src="../assets/images/c-photo-3.png" /></li> -->
                            <!-- <li><img :src="commentList[commentList.length - 1].user.profilePic" /></li> -->
c65b51996   Digvijay Singh   new ui changes
309
310
311
312
                          </ul>
                          <!-- comment photos -->
                        </div>
                        <div class="comments-detail all-c-space">
d0186c77a   Digvijay Singh   changes in ui
313
314
315
316
317
318
                          <span
                            >{{ commentList[commentList.length - 1].user.name }}
                            <a href="javascript:void(0);" @click="open_ct_box"
                              >View All</a
                            ></span
                          >
c65b51996   Digvijay Singh   new ui changes
319
320
321
                          <p>
                            <!-- I wonder what the difference between “Dunzo Assistant”
                            and “Pickup and Drop... -->
d0186c77a   Digvijay Singh   changes in ui
322
                            {{ commentList[commentList.length - 1].comment }}
c65b51996   Digvijay Singh   new ui changes
323
324
325
326
327
                          </p>
                        </div>
                        <!-- comments detail -->
                      </div>
                      <!-- comments Group -->
de0f96bc5   Gurvinder Singh   new files
328
                    </div>
c65b51996   Digvijay Singh   new ui changes
329
                  </div>
de0f96bc5   Gurvinder Singh   new files
330
                </div>
c65b51996   Digvijay Singh   new ui changes
331
                <div class="col-4 col-sm-4 col-md-4 col-lg-4 c_hide">
d0186c77a   Digvijay Singh   changes in ui
332
                  <div class="comment-frm no-c-frm">
c65b51996   Digvijay Singh   new ui changes
333
334
335
                    <div class="row">
                      <div class="col-8 col-sm-8 col-md-8 col-lg-10 col-xl-10">
                        <div class="form-group frm-wdth addfrm-spc">
c65b51996   Digvijay Singh   new ui changes
336
337
338
                          <input
                            type="text"
                            class="form-control"
d0186c77a   Digvijay Singh   changes in ui
339
340
341
                            placeholder="Kathy, Something on your mind?"
                            id="open_ct_box"
                            v-model="comment"
c65b51996   Digvijay Singh   new ui changes
342
343
344
345
                          />
                        </div>
                      </div>
                      <div class="col-2 col-sm-4 col-md-4 col-lg-4 col-xl-2">
d0186c77a   Digvijay Singh   changes in ui
346
347
348
349
                        <a
                          href="javascript:void(0);"
                          @click="createComment"
                          class="add-comment"
c65b51996   Digvijay Singh   new ui changes
350
351
352
353
354
355
356
357
                          ><img src="../assets/images/add-comment.svg" />
                          Comment</a
                        >
                      </div>
                    </div>
                    <!-- comment from -->
                  </div>
                </div>
d0186c77a   Digvijay Singh   changes in ui
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
                <div class="col-2 col-sm-2 col-md-2 col-lg-2 col-xl-2">
                  <ul class="top-intro-bt">
                    <li>
                      <a href="javascript:void(0);" @click="goBack"
                        ><img src="../assets/images/skip-prev.svg" /> Prev</a
                      >
                    </li>
                    <li>
                      <a href="javascript:void(0);" @click="goNext"
                        ><img src="../assets/images/skip-next.svg" /> Skip to next
                        slide</a
                      >
                    </li>
                  </ul>
                </div>
                <!-- buttons list -->
c65b51996   Digvijay Singh   new ui changes
374
375
376
377
378
379
380
381
382
383
384
385
386
              </div>
            </div>
            <!-- footer top -->
            <div class="footer-bottom">
              <ul>
                <li class="active"></li>
                <li></li>
              </ul>
            </div>
            <!-- footer top -->
          </div>
          <!-- footer -->
        </div>
de0f96bc5   Gurvinder Singh   new files
387
388
389
390
391
392
393
394
395
        <!-- body wrapper -->
      </div>
      <!-- main wrapper -->
    </main>
  </template>
  
  <script>
  import Vue from "vue";
  import router from "../router";
d0186c77a   Digvijay Singh   changes in ui
396
397
  import axios from "axios";
  import moment from 'moment';
de0f96bc5   Gurvinder Singh   new files
398
399
  
  export default {
d0186c77a   Digvijay Singh   changes in ui
400
    name: "noscreenshotSingleautho",
de0f96bc5   Gurvinder Singh   new files
401
402
  
    data() {
c65b51996   Digvijay Singh   new ui changes
403
404
405
406
      return {
        allSlide: [],
        currentSlideIndex: null,
        currentSlideData: null,
d0186c77a   Digvijay Singh   changes in ui
407
408
409
410
411
        //
        usertoken: null,
        commentList: [],
        comment: null,
        parentInput:true,
c65b51996   Digvijay Singh   new ui changes
412
413
414
415
416
417
418
419
420
421
      };
    },
    mounted() {
      var allSlideData = localStorage.getItem(
        "spotlight_slide" + this.$route.params.caseStudyId
      );
      if (allSlideData) {
        this.allSlide = JSON.parse(allSlideData);
        this.getCurrentSlideData();
      }
d0186c77a   Digvijay Singh   changes in ui
422
423
424
425
426
427
        var userdata = localStorage.getItem("spotlight_usertoken");
       if (userdata) {
         userdata = JSON.parse(userdata);
         this.usertoken = userdata.token;
         this.getComment();
       }
de0f96bc5   Gurvinder Singh   new files
428
    },
de0f96bc5   Gurvinder Singh   new files
429
    methods: {
c65b51996   Digvijay Singh   new ui changes
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
      getCurrentSlideData() {
        var i = this.allSlide.findIndex(
          (slide_) => slide_.slideId == this.$route.params.slideId
        );
        this.currentSlideIndex = i;
        this.currentSlideData = this.allSlide[i];
        console.log("currentSlideData", this.currentSlideData);
      },
      goNext() {
        this.currentSlideIndex++;
        this.$router.push({
          name: this.allSlide[this.currentSlideIndex].ur,
          params: {
            caseStudyId: this.allSlide[this.currentSlideIndex].caseStudyId,
            slideId: this.allSlide[this.currentSlideIndex].slideId,
          },
        });
      },
      goBack() {
        this.currentSlideIndex--;
        this.$router.push({
          name: this.allSlide[this.currentSlideIndex].ur,
          params: {
            caseStudyId: this.allSlide[this.currentSlideIndex].caseStudyId,
            slideId: this.allSlide[this.currentSlideIndex].slideId,
          },
        });
      },
d0186c77a   Digvijay Singh   changes in ui
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
    createComment() {
        console.log("===", this.comment);
        var obj = {
          caseStudyId: this.currentSlideData.caseStudyId,
          slideId: this.currentSlideData.slideId,
          comment: this.comment,
         
        };
        axios
          .post("/bounceBoard/comment", obj, {
            headers: {
              Authorization: "Bearer " + this.usertoken,
            },
          })
          .then((response) => {
            this.comment = null;
            this.getComment();
            console.log(response);
          })
          .catch((error) => {
            if (error.response) {
              this.$toaster.error(error.response.data.message);
            }
          });
      },
    createChildComment(cmnt) {
        console.log(cmnt,"===", this.comment);
        var obj = {
          caseStudyId: this.currentSlideData.caseStudyId,
          slideId: this.currentSlideData.slideId,
          comment: this.comment,
          parentId: cmnt._id,
         
        };
        axios
          .post("/bounceBoard/comment", obj, {
            headers: {
              Authorization: "Bearer " + this.usertoken,
            },
          })
          .then((response) => {
            this.comment = null;
            this.discardRply(cmnt);
            this.getComment();
            console.log(response);
          })
          .catch((error) => {
            if (error.response) {
              this.$toaster.error(error.response.data.message);
            }
          });
      },
      getComment() {
        axios
          .get(
            `/bounceBoard/comments?slideId=${this.currentSlideData.slideId}&caseStudyId=${this.currentSlideData.caseStudyId}`,
            {
              headers: {
                Authorization: "Bearer " + this.usertoken,
              },
            }
          )
          .then((response) => {
            console.log(response.data);
            var comments = [];
           var keys = Object.keys(response.data.data)
            response.data.data
            keys.forEach((key_) => {
              comments.push(response.data.data[key_])
            });
            comments.forEach((coment_)=>{
              coment_.childInput = false;
            });
            console.log("comments",comments)
            this.commentList = comments;
          })
          .catch((error) => console.log(error));
      },
      dateGenerator(curreDate){
         var todayDate = moment(new Date(), "DD.MM.YYYY");
          var endDate = moment(new Date(curreDate), "DD.MM.YYYY");
          var result = todayDate.diff(endDate, 'days');
          return result;
      },
de0f96bc5   Gurvinder Singh   new files
542
      goToLogin() {
56f4b7548   Digvijay Singh   landing page url ...
543
        this.$router.push("/login");
de0f96bc5   Gurvinder Singh   new files
544
545
      },
      goToSignUp() {
56f4b7548   Digvijay Singh   landing page url ...
546
        this.$router.push("/");
de0f96bc5   Gurvinder Singh   new files
547
      },
d0186c77a   Digvijay Singh   changes in ui
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
      chtbox_close() {
        $("#cht_box_close").removeClass("cht_close");
        $("#open_ct_box, .c_hide").show();
        $(".footer-top").addClass("white-bg");
      },
      open_ct_box() {
        $("#cht_box_close").addClass("cht_close");
        $("#open_ct_box, .c_hide").hide();
        $(".footer-top").removeClass("white-bg");
      },
      eachRply(cmnt) {
        cmnt.childInput = true;
        this.parentInput = false;
      },
      discardRply(cmnt) {
        cmnt.childInput = false;
        this.parentInput = true;
c65b51996   Digvijay Singh   new ui changes
565
      },
de0f96bc5   Gurvinder Singh   new files
566
567
    },
  };
c65b51996   Digvijay Singh   new ui changes
568
  //
de0f96bc5   Gurvinder Singh   new files
569
  </script>