{extend name="default/base/base_home" /} {block name="mall_main"}

#### {$Think.lang.goods_index_goods_consult}

{$Think.lang.want_questions}
{notempty name="consult_list"} {foreach name="consult_list" item="v"}

{$Think.lang.consulting_net_friend}{$Think.lang.ds_colon}
  {if $v.member_id=='0'}{$Think.lang.ds_guest} {elseif $v.consult_isanonymous == '1'} {:str_cut($v.member_name,2)}*** {else /} {:str_cut($v.member_name,8)} {/if} {$Think.lang.consulting_type}：{$consult_type[$v.consulttype_id]['consulttype_name']} {:date('Y-m-d H:i:s',$v.consult_addtime)}

{$Think.lang.goods_index_consult_content}{$Think.lang.ds_colon}

  {:nl2br($v.consult_content)}

{if $v.consult_reply != ''}

{$Think.lang.goods_index_seller_reply}

  {:nl2br($v.consult_reply)}

  [{:date('Y-m-d H:i:s',$v.consult_replytime)}]

{/if}
{/foreach}
{$show_page|raw}
{else /}
{$Think.lang.goods_index_no_reply}
{/notempty}
{if $consult_able}

#### {$Think.lang.published_consulting}

{notpresent name="type_name"} {/notpresent}
{notempty name="consult_type"}

{$Think.lang.consulting_type}：
  {foreach name="consult_type" item="val"} {$val.consulttype_name} {/foreach}

{/notempty} {foreach name="consult_type" item="val"}
{$val.consulttype_introduce|raw}
{/foreach}
{if session('member_id')} {$Think.lang.goods_index_member_name}{$Think.lang.ds_colon}{:session('member_name')} {$Think.lang.goods_index_anonymous_publish} {/if}

{$Think.lang.consulting_content}：

  {if $Think.config.ds_config.captcha_status_goodsqa == '1'}
  {/if} {$Think.lang.goods_index_publish_consult}

{/if}
{/block}