complain_info.html 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. {extend name="default/base/base_seller" /}
  2. {block name="seller_main"}
  3. <div class="dssc-flow-layout" id="dsscComplainFlow">
  4. <div class="dssc-flow-container">
  5. <div class="title">
  6. <h3>{$Think.lang.complain_trade_complaint}</h3>
  7. </div>
  8. <div class="dssc-flow-step">
  9. <dl id="state_new" class="step-first current">
  10. <dt>{$Think.lang.complain_state_new}</dt>
  11. <dd class="bg"></dd>
  12. </dl>
  13. <dl id="state_appeal" class="">
  14. <dt>{$Think.lang.complain_state_appeal}</dt>
  15. <dd class="bg"></dd>
  16. </dl>
  17. <dl id="state_talk" class="">
  18. <dt>{$Think.lang.complain_state_talk}</dt>
  19. <dd class="bg"></dd>
  20. </dl>
  21. <dl id="state_handle" class="">
  22. <dt>{$Think.lang.complain_state_handle}</dt>
  23. <dd class="bg"></dd>
  24. </dl>
  25. <dl id="state_finish" class="">
  26. <dt>{$Think.lang.complain_state_finish}</dt>
  27. <dd class="bg"></dd>
  28. </dl>
  29. </div>
  30. <div class="dssc-form-default">
  31. <h3>{$Think.lang.complain_message}</h3>
  32. <dl>
  33. <dt>{$Think.lang.complain_complainant_space|raw}:</dt>
  34. <dd>{$complain_info.accuser_name}</dd>
  35. <dt>{$Think.lang.complain_subject_content}{$Think.lang.ds_colon}</dt>
  36. <dd>{$complain_info.complain_subject_content}</dd>
  37. <dt>{$Think.lang.complain_datetime}{$Think.lang.ds_colon}</dt>
  38. <dd>{$complain_info.complain_datetime|date="Y-m-d H:i:s"}</dd>
  39. <dt>{$Think.lang.complain_content}{$Think.lang.ds_colon}</dt>
  40. <dd>{$complain_info.complain_content}</dd>
  41. <dt>{$Think.lang.complain_evidence}{$Think.lang.ds_colon}</dt>
  42. <dd>
  43. {if empty($complain_info.complain_pic1) && empty($complain_info.complain_pic2) && empty($complain_info.complain_pic3)}
  44. {$Think.lang.complain_pic_none}
  45. {else/}
  46. {notempty name="$complain_info.complain_pic1"}
  47. <a href="{:ds_get_pic(ATTACH_PATH.'/complain',$complain_info.complain_pic1)}" target="_blank" data-lightbox="lightbox-image"><img class="show_image" src="{:ds_get_pic(ATTACH_PATH.'/complain',$complain_info.complain_pic1)}" width="50"></a>
  48. {/notempty}
  49. {notempty name="$complain_info.complain_pic2"}
  50. <a href="{:ds_get_pic(ATTACH_PATH.'/complain',$complain_info.complain_pic2)}" target="_blank" data-lightbox="lightbox-image"><img class="show_image" src="{:ds_get_pic(ATTACH_PATH.'/complain',$complain_info.complain_pic2)}" width="50"></a>
  51. {/notempty}
  52. {notempty name="$complain_info.complain_pic3"}
  53. <a href="{:ds_get_pic(ATTACH_PATH.'/complain',$complain_info.complain_pic3)}" target="_blank" data-lightbox="lightbox-image"><img class="show_image" src="{:ds_get_pic(ATTACH_PATH.'/complain',$complain_info.complain_pic3)}" width="50"></a>
  54. {/notempty}
  55. {/if}
  56. </dd>
  57. </dl>
  58. <h3>{$Think.lang.complain_appeal_message}</h3>
  59. <dl>
  60. <dt>{$Think.lang.complain_appeal_datetime}{$Think.lang.ds_colon}</dt>
  61. <dd>{$complain_info.appeal_datetime|date="Y-m-d H:i:s"}</dd>
  62. <dt>{$Think.lang.complain_appeal_content}{$Think.lang.ds_colon}</dt>
  63. <dd>{$complain_info.appeal_message}</dd>
  64. <dt>{$Think.lang.complain_appeal_evidence}{$Think.lang.ds_colon}</dt>
  65. <dd>
  66. {if empty($complain_info.appeal_pic1) && empty($complain_info.appeal_pic2) && empty($complain_info.appeal_pic3)}
  67. {$Think.lang.complain_pic_none}
  68. {else/}
  69. {notempty name="$complain_info.appeal_pic1"}
  70. <a href="{:ds_get_pic(ATTACH_PATH.'/complain',$complain_info.appeal_pic1)}" target="_blank" data-lightbox="lightbox-image-1"><img class="show_image" src="{:ds_get_pic(ATTACH_PATH.'/complain',$complain_info.appeal_pic1)}" width="50"></a>
  71. {/notempty}
  72. {notempty name="$complain_info.appeal_pic2"}
  73. <a href="{:ds_get_pic(ATTACH_PATH.'/complain',$complain_info.appeal_pic2)}" target="_blank" data-lightbox="lightbox-image-1"><img class="show_image" src="{:ds_get_pic(ATTACH_PATH.'/complain',$complain_info.appeal_pic2)}" width="50"></a>
  74. {/notempty}
  75. {notempty name="$complain_info.appeal_pic3"}
  76. <a href="{:ds_get_pic(ATTACH_PATH.'/complain',$complain_info.appeal_pic3)}" target="_blank" data-lightbox="lightbox-image-1"><img class="show_image" src="{:ds_get_pic(ATTACH_PATH.'/complain',$complain_info.appeal_pic3)}" width="50"></a>
  77. {/notempty}
  78. {/if}
  79. </dd>
  80. </dl>
  81. {if $complain_info.complain_state > 20}
  82. {include file="default/seller/sellercomplain/complain_talk_info" /}
  83. {/if}
  84. {if $complain_info.complain_state == '99'}
  85. <h3>{$Think.lang.final_handle_message}</h3>
  86. <dl>
  87. <dt>{$Think.lang.complain_processing_opinion}{$Think.lang.ds_colon}</dt>
  88. <dd>{$complain_info.final_handle_message}&nbsp; </dd>
  89. <dt>{$Think.lang.final_handle_datetime}{$Think.lang.ds_colon}</dt>
  90. <dd>{$complain_info.final_handle_datetime|date="Y-m-d H:i:s"}</dd>
  91. </dl>
  92. {/if}
  93. <div class="bottom pt10 pb10"><a href="javascript:history.go(-1);" class="dssc-btn"><i class="iconfont">&#xe74e;</i>{$Think.lang.complain_returns_list}</a></div>
  94. </div>
  95. </div>
  96. {include file="default/seller/sellercomplain/complain_order_info" /}
  97. </div>
  98. <link rel="stylesheet" href="{$Think.PLUGINS_SITE_ROOT}/js/jquery.lightbox/css/lightbox.min.css">
  99. <script src="{$Think.PLUGINS_SITE_ROOT}/js/jquery.lightbox/js/lightbox.min.js"></script>
  100. <script type="text/javascript">
  101. $(document).ready(function(){
  102. var state = {$complain_info.complain_state|default='0'};
  103. if(state <= 10) {
  104. $("#state_new").addClass('current');
  105. }
  106. if(state == 20 ){
  107. $("#state_new").addClass('current');
  108. $("#state_appeal").addClass('current');
  109. }
  110. if(state == 30 ){
  111. $("#state_new").addClass('current');
  112. $("#state_appeal").addClass('current');
  113. $("#state_talk").addClass('current');
  114. }
  115. if(state == 40 ){
  116. $("#state_new").addClass('current');
  117. $("#state_appeal").addClass('current');
  118. $("#state_talk").addClass('current');
  119. $("#state_handle").addClass('current');
  120. }
  121. if(state == 99 ){
  122. $("#state_new").addClass('current');
  123. $("#state_appeal").addClass('current');
  124. $("#state_talk").addClass('current');
  125. $("#state_handle").addClass('current');
  126. $("#state_finish").addClass('current');
  127. }
  128. });
  129. </script>
  130. {/block}